Repository navigation
[Payment due @Pujan92] Compose supporting details in four MenuItem call sites - #107394
Conversation
Co-authored-by: Pujan Shah <Pujan92@users.noreply.github.com>
Co-authored-by: Pujan Shah <Pujan92@users.noreply.github.com>
Codex Review Summary: ✅ CompletedThis 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. |
|
@chuckdries Please 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] |
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
|
🤖 Android test steps verification results: ❌ fail Verification on standalone Android NewDot was blocked by email security-code verification. Profile checks were partially completed; no regression was established.
|
JmillsExpensify
left a comment
There was a problem hiding this comment.
No product review required.
Co-authored-by: Pujan Shah <Pujan92@users.noreply.github.com>
|
🤖 Web test steps verification results: ❌ fail Browser verification was blocked by a blank dev page; this does not establish a PR regression.
Pushed 5ac4e3ef1: moved private-row authentication into the press handler, restoring all seven lost compiler-cache guards. React Compiler Compliance now passes. Also passed: 94 focused tests, lint, typecheck, spelling, formatting hook and Storybook smoke test. Full-suite local runs timed out. Independent approval still requires reviewer action. view run · no recording available |
|
|
| size={CONST.ICON_SIZE.MEDIUM} | ||
| /> | ||
| <Text | ||
| style={[styles.furtherDetailsText, styles.ph2, styles.pt1]} |
There was a problem hiding this comment.
| style={[styles.furtherDetailsText, styles.ph2, styles.pt1]} | |
| style={[styles.furtherDetailsText, styles.pl2, styles.pt1]} |
@MelvinBot As we do have gap for row children, let's apply only left padding for text
There was a problem hiding this comment.
🤖 Web test steps verification results: ❌ fail
Verification was blocked by a blank dev page; no moderation action was submitted. Applied your exact suggestion in 25147c38fe, replacing ph2 with pl2 and retaining pt1; lint, typecheck and 17 focused tests passed, while full Jest timed out.
| Step | Status |
|---|---|
| ❌ |
view run · no recording available
|
@MelvinBot TextPicker still has the unused |
Co-authored-by: Pujan Shah <Pujan92@users.noreply.github.com>
|
|
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safarihttps://github.com/user-attachments/assets/2a065e09-d8a0-402b-85e3-6f425360f9e4 |
Co-authored-by: Pujan Shah <Pujan92@users.noreply.github.com>
|
🤖 Web test steps verification results: ❌ fail Confirmed none of the four TextPicker usages passes
view run · no recording available |
|
🎯 @Pujan92, thanks for reviewing and testing this PR! 🎉 A payment issue will be created for your review once this PR is deployed to production. If payment is not needed (e.g., regression PR review fix etc), react with 👎 to this comment to prevent the payment issue from being created. |
|
@roryabraham I think we don't need App/src/pages/settings/Profile/ProfilePage.tsx Lines 386 to 388 in 1413619 |
|
@MelvinBot create a follow-up issue to remove MenuItemGroup, label Daily, assign to @Pujan92 and @roryabraham. |
|
Created Remove MenuItemGroup, labeled Daily and assigned to |
|
🚧 roryabraham 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! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/roryabraham in version: 9.5.52-1 🚀
|
|
No help site update needed — this PR refactors existing components and removes an unused prop without introducing a new workflow, changing named UI, removing a beta, or making existing article instructions incorrect. |













Explanation of Change
Migrate the four requested legacy further-details call sites to MenuItem composition without adding shared API: Profile private details, ValuePicker, flag-comment severity choices, and the expense merchant row.
Each supporting detail is the last child of MenuItem.Content. Content's gap1 supplies spacing; no extra top margin is added. Preserve field placeholders, error dots, chevrons, authenticated actions, form refs, masking and disabled behavior. Keep merchant copying, unlimited value wrapping, and the Google search link's original merchant source and event propagation behavior. Preserve the native single-navigation guard for private Profile rows and delegate access restrictions.
This is a partial Phase 6 migration, not completion of the parent issue.
AI Tests
findLostCacheGuardshelper reproduced all seven reported regressions before the change and reported none afterward.check-changedcommand timed out, so the cache comparison helper was run directly instead.Contributor branch ownership
This PR uses an upstream branch because MelvinBot cannot push to
Pujan92's fork. To copy it to your fork:You can then close this PR and open a replacement from your fork if desired.
Fixed Issues
#105531
PROPOSAL: #105531 (comment)
Tests
// TODO: The human co-author must record manual tests performed. Automated validation and the blocked browser attempt are documented in AI Tests above.
Offline tests
// TODO: The human co-author must record offline testing performed. Expected checks are included in QA step 7 below.
QA Steps
These steps are instructions, not completed QA results. Repeat on narrow and wide web and supported native platforms.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, I verified the components usingAvatarare working as expected)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