Repository navigation
Fix auto-select for uniquely resolved dependent tags - #99340
Conversation
|
@ahmedGaber93 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] |
trjExpensify
left a comment
There was a problem hiding this comment.
LGTM, thanks for the quick work. 👍
|
@ahmedGaber93 All yours! |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2026-08-25.at.12.54.26.PM.movAndroid: mWeb ChromeScreen.Recording.2026-08-25.at.1.00.04.PM.moviOS: HybridAppiOS: mWeb SafariScreen.Recording.2026-08-25.at.12.27.13.PM.movMacOS: Chrome / SafariScreen.Recording.2026-08-25.at.12.13.07.PM.mov |
|
We did not find an internal engineer to review this PR, trying to assign a random engineer to #99339 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
|
🚧 deetergp 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/deetergp in version: 9.4.62-1 🚀
|
Help site review — docs update required ✅This PR fixes New Expensify's dependent-tag auto-select so it matches Classic: when a parent tag selection leaves exactly one valid option in the next dependent level, that value now fills in automatically. The New Expensify multi-level tags article ( Draft help site PR: #99603
No other help articles reference this behavior, so no further doc changes are needed. @dukenv0307, please review the linked help site PR and confirm it reflects the current behavior. Then mark the linked help site PR |
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 9.4.62-4 🚀
Bundle Size Analysis (Sentry): |
Explanation of Change
Auto-select now parent-filters the next tag level before counting, matching Classic. It used to count every enabled tag on the level, so a unique child never filled in.
Fixed Issues
$ #99339
PROPOSAL:
Tests
Precondition:
Original Merchant, Modified Merchant, Posted date, Sales date, Modified Sales date, Original Amount, Modified Amount, Currency, Split, Category, Tag, Email, Card name, Expense status, Report name, Report status, Submitted to, Report URL, Comment, External ID, Report ID, Category GL Code, First name, Last name, Policy name, Policy ID, Transaction ID, Final Approve Date, MCC, Submission Date, Bank, Custom card name
Offline tests
Same as above
QA Steps
Same as above
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)Avatar, 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
Screen.Recording.2026-08-24.at.18.56.23.mov