Repository navigation
Migrate Table row long-press selection to the global modal stack - #106082
Conversation
Co-authored-by: daledah <daledah@users.noreply.github.com>
|
I created this draft PR from an upstream branch because I don't have push access to To copy the branch to your fork: git remote add upstream https://github.com/Expensify/App.git
git fetch upstream claude-tableGlobalSelectionMenu
git checkout -b claude-tableGlobalSelectionMenu upstream/claude-tableGlobalSelectionMenu
git push -u origin claude-tableGlobalSelectionMenuYou can then close this PR and open one from your fork if you prefer to manage updates there. |
|
🤖 Android test steps verification results: Verified on standalone Android NewDot using genuine Workspace Categories and Members Tables. Completed onboarding and created a workspace as setup; console access, fully disabled-row fixtures, and rapid-tap timing limited coverage.
|
Co-authored-by: daledah <daledah@users.noreply.github.com>
|
Pushed f4f69a9 to fix the Oxfmt failure. Only formatting changed in the three flagged files. Validation passed: formatter, lint, typecheck, spelling, React Compiler checks, Storybook smoke tests, and all 103 targeted tests. Full Jest timed out after 1,860 passing suites, with no failures reported before timeout. The independent-approval gate still requires human approval; it was not changed. Checks for the new commit have not yet been confirmed. |
|
|
This comment has been minimized.
This comment has been minimized.
Co-authored-by: daledah <daledah@users.noreply.github.com>
|
🤖 Web test steps verification results: ❌ fail Resolved the conflict and pushed 050337d, preserving both the Table selection label and upstream filter/display labels; GitHub now reports the branch as mergeable. All 103 targeted tests, typecheck, changed-file lint/spelling, Storybook smoke tests, explicit-file React Compiler command, and code review passed; full lint/Jest timed out, formatter validation was unavailable, and web smoke testing was blocked because the handed-over session remained blank after a bounded wait—not a confirmed PR regression.
view run · no recording available |
|
|
|
@MelvinBot please open this PR and fill the Tests section on your checklist |
|
Marked the PR ready for review and filled Tests with reproducible steps, recorded results, and outstanding coverage. Checked the local-test-steps and unit-tests checklist items; unverified testing items remain unchecked. |
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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 050337dc1f
ℹ️ 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/VideosiOS: HybridAppios.movMacOS: Chrome / Safariweb.mov |
This comment has been minimized.
This comment has been minimized.
|
Added your exact text to Offline tests and QA Steps, and checked the two corresponding documentation checklist items. No tests were rerun. |
dylanexpensify
left a comment
There was a problem hiding this comment.
looks good from product pov
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚧 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.34-0 🚀
|
|
No FullStory changes needed — this PR refactors the existing Table long-press selection menu into the global modal stack and preserves its behavior, without adding new user-facing features, screens, user properties, or sensitive content. |
|
No help site update needed — this PR preserves the existing long-press selection workflow while changing internal modal handling; it adds no new feature, removes no beta, and makes no existing article sentence incorrect. |
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 9.5.34-1 🚀
Bundle Size Analysis (Sentry): |









Explanation of Change
Migrate Table row long-press selection to the global modal stack, following the Search migration and the report transaction migration.
CONFIRM.CONST.SELECTION_LIST_WITH_MODAL_TEST_ID, add the Table Sentry label, and ignore Select presses while the menu is hiding.Coding-standard exception: CONSISTENCY-1: the existing iOS platform check is intentionally relocated behind an opt-in, as explicitly requested, rather than changing other callers or duplicating the wrapper. Automated code/accessibility review found no must-fix violations.
AI Tests
main, retaining both the Table selection Sentry label and upstream filter/display labels. Passed changed-file lint, typecheck, changed-file spelling, all 103 targeted Jest tests in three suites, Storybook smoke tests, explicit-file React Compiler command, and coding-standard review. Full lint and full Jest each exceeded 10 minutes; no Jest failures were reported before timeout.prettieris not a repository script; the standalone Oxfmt check was denied by the runner. Compilercheck-changedremains blocked by an empty base-ref setting. Web smoke verification was blocked by a blank application page, not a confirmed PR regression.npm run fmtproduced no diff. No behavior changes.prettieris not a repository script; Oxfmt is the current formatter. Compilercheck-changedremains blocked by an empty base-ref setting; explicit-file checks passed.npm run lint,npm run lint-changed,npm run typecheck, andnpm run spell-changed.checkon all six changed component/hook files, and Storybook--smoke-test --ci.check-changedcould not resolveorigin/with an empty base-ref setting; explicit-file compiler checks passed instead. The repository has noprettierscript, and the runner denied the separate formatter invocation.Fixed Issues
$ #103510
PROPOSAL: #103510 (comment)
Tests
Manual test steps (use a workspace with multiple selectable Categories rows):
Recorded results, not a claim of completed all-platform QA:
Android verification before the main-branch merge: steps 1–3 passed; the selection-disabled owner row did not open Select. A fully disabled-row fixture and rapid repeated-tap coverage were unavailable.
Post-merge validation: 103 targeted Jest tests in three suites, typecheck, changed-file lint/spelling, Storybook smoke tests, and the explicit-file React Compiler command passed. Full lint/Jest timed out; formatter validation was unavailable.
Post-merge Web manual verification was blocked by a blank application page. Wide-layout behavior, native iOS focus behavior, rapid repeated taps, offline behavior, and full accessibility checks remain outstanding. Unit tests cover the selection/dismissal guards, repeated Select handling, preserved test ID, and iOS focus-suppression cleanup; they do not replace device verification.
Verify that no errors appear in the JS console
Offline tests
Same as Tests. This flow makes no API calls, so it behaves the same offline.
QA Steps
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
Conflict-resolution follow-up: web smoke test could not reach the Table because the application remained blank.
Browser check blocked by a blank application page before interaction: