Repository navigation
MenuItem decomposition - brick road indicator - #100704
roryabraham merged 17 commits into
Conversation
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
@codex review |
|
🤖 Reviewed the full diff (44 files). No blocking bugs found. The new 1.
|
|
Codex Review: Didn't find any major issues. 👍 Reviewed commit: ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
…ll be handled separately
…ll be handled separately
|
@Pujan92 all AI comments resolved, PR is all yours 😄 |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d036fe760e
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb Safari |
|
@Pujan92 review addressed 😄 |
…icator # Conflicts: # src/pages/workspace/accounting/netsuite/export/DynamicNetSuiteInvoiceItemPreferenceSelectPage.tsx
|
The |
|
🚧 roryabraham has triggered a test Expensify/App build. You can view the workflow run here. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/roryabraham in version: 9.4.80-0 🚀
|
|
🤖 No help site changes are required for this PR. I did not create a docs PR. This is an internal component refactor with no user-visible change. The red/green dot renders in the same place, in the same colors, on the same rows as before — only the code that produces it moved. What I checkedThe change is structural, not behavioral. The diff is a prop rename across ~30 accounting and card pages — The new component preserves the existing semantics. No copy changed. No The articles that mention the dot stay accurate. I searched
|
|
🚀 Deployed to production by https://github.com/luacmartins in version: 9.4.80-0 🚀
Bundle Size Analysis (Sentry): |

Explanation of Change
Adds
MenuItem.BrickRoadIndicator— a composable leaf rendering the red/green dot insideMenuItem.Trailing, announcing "your review is required" to screen readers viaMenuItemAccessibilityContext. Migrates ~30 accounting/card pages fromMenuItemWithTopDescription+brickRoadIndicatorprop toMenuItemField+ the new child. Adds a comparison story.Fixed Issues
$ #100312
PROPOSAL:
Tests
Sign in to an account with a Collect/Control workspace.
Go to Workspace > Accounting and connect (or use an already connected) QuickBooks Online policy.
Open Import — verify each row renders label above value, with a chevron on the right.
Force an error on one of the imported settings (e.g. fail a setting update while offline, then go online so
errorFieldsis populated for that setting).Verify a red dot appears left of the chevron on the affected row, and that the row is still tappable and navigates to the correct page.
Repeat steps 3–5 for Export and Advanced on QuickBooks Online, QuickBooks Desktop, NetSuite, Sage Intacct, Xero, Rillet, Dual Entry and Certinia — verify no row lost its label, value, chevron or dot vs.
main.Turn on VoiceOver (iOS) / TalkBack (Android) and focus a row that shows the dot — verify the row announces the label, the value, and "your review is required".
Go to Settings > Wallet and open a personal card's details.
Tap Card name, submit a name change that fails (or fails while offline), and return to the details page.
Verify a red dot appears on the Card name row left of the chevron, and that the same holds for Transaction start date when
scrapeMinDateis in error.Open Workspace > Company cards, select a card, and open its details page.
Verify rows with settings in error show the red dot, rows without it show only the chevron, and every row navigates as before.
Offline tests
errorFieldsis set, and clears after a successful retry.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
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari