Repository navigation
Fix missing Profile GBR when home address is required - #99837
Conversation
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
@FitseTLT @francoisl @robertjchen One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
| HAS_LOGIN_LIST_ERROR: 'hasLoginListError', | ||
| HAS_WALLET_TERMS_ERRORS: 'hasWalletTermsErrors', | ||
| HAS_LOGIN_LIST_INFO: 'hasLoginListInfo', | ||
| HAS_HOME_ADDRESS_INFO: 'hasHomeAddressInfo', |
There was a problem hiding this comment.
BTW if we desire to display DebugTabView for this new info we need to add the corresponding copy and routes likeHAS_LOGIN_LIST_INFO
There was a problem hiding this comment.
I don't think we need it for now
There was a problem hiding this comment.
Will handle it once #99788 is merged since that PR changes the Route handler.
Reviewer Checklist
Screenshots/VideosAndroid: HybridApp2026-09-01.00-07-56.mp4Android: mWeb Chrome2026-09-01.00-10-23.mp4iOS: HybridAppiOS: mWeb Safari2026-09-01.00-13-04.mp4MacOS: Chrome / Safari2026-09-01.00-10-39.mp4 |
|
🚧 francoisl has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/francoisl in version: 9.4.66-0 🚀
|
|
No help site changes are required for this PR. I did not create a docs PR. Why: this PR only changes when an existing indicator appears. It threads I checked
One pre-existing gap, out of scope here: the Exclude commutes setting on workspace distance rates — including the Calculate by home and office option that drives this indicator — isn't documented anywhere in @fedirjh, please review the linked help site PR and confirm it reflects the current behavior. Then mark the linked help site PR |
|
🚀 Deployed to staging by https://github.com/francoisl in version: 9.4.68-0 🚀
|
|
🤖 No help site changes are required for this PR, so I did not create a docs PR. This PR only changes when an existing info GBR (green dot) renders on the Why no docs change is needed1. The change is a visual indicator, and HelpDot doesn't document indicators. 2. No documented behavior changed. 3. The underlying feature is still beta-gated, so documenting it now would be premature.
Correspondingly,
Suggested follow-up (not this PR): once @fedirjh, please confirm you agree no help site update is needed here. If you'd rather I document |
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.4.68-1 🚀
Bundle Size Analysis (Sentry): |


Explanation of Change
This PR updates the initial Settings menu so the
Account -> Profilerow shows an info GBR as soon as commuter exclusions require a home address and the user does not have one saved.The fix keeps the existing home-address detection in App and threads
shouldShowAddHomeAddressintogetProfilePageBrickRoadIndicator(...), so the parent Profile row becomes formally flagged immediately instead of waiting for the user to enter the Profile page.Fixed Issues
$ #99720
PROPOSAL: N/A
Tests
Calculate by home and office.Settings > Account > Profile.Profilemenu row shows an info GBR.Profile.Home addressrow still shows the same info GBR.ProfileandHome address.Offline tests
Same as tests.
QA Steps
Same as tests.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos