Move pre-selected vacation delegates and workspace members to top#92765
Conversation
…o prioritize initial selections
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
…ace-members-order
…ace-members-order
…ace-members-order
|
@linhvovan29546 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] |
…ace-members-order
joekaufmanexpensify
left a comment
There was a problem hiding this comment.
Good for product 👍
…ace-members-order
|
@linhvovan29546, gentle bump. thanks. |
…ace-members-order
…ace-members-order
…ace-members-order
|
@linhvovan29546 friendly bump. thanks |
|
@linhvovan29546, quick bump. thanks. |
|
I’ll review this tomorrow when I have a chance |
|
@linhvovan29546, friendly bump. thanks. |
Reviewer Checklist
Screenshots/VideosAndroid: HybridApptelegram-cloud-document-5-6170278930876997817.mp4Android: mWeb Chrometelegram-cloud-document-5-6170278930876997816.mp4iOS: HybridAppScreen.Recording.2026-06-18.at.22.39.19.moviOS: mWeb SafariScreen.Recording.2026-06-18.at.21.42.42.movScreen.Recording.2026-06-18.at.21.43.18.movMacOS: Chrome / SafariScreen.Recording.2026-06-18.at.21.35.28.movScreen.Recording.2026-06-18.at.21.36.52.movScreen.Recording.2026-06-18.at.21.38.34.mov |
|
@marufsharifi The Unit Tests failed |
|
@linhvovan29546 The test has passed now, can you check again ? thanks |
|
Please don't merge this yet—I'm still testing it. Thanks! |
…ace-members-order
…e and filter options based on search term
… detail search selector
…pture config and improve test clarity
|
@robertjchen, could you please check this pr, when you get a chance? thanks. |
…ace-members-order
…DARD_LIST_ITEM_LIMIT
|
merging as Joe had previously approved |
|
🚧 robertjchen 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/robertjchen in version: 9.4.27-1 🚀
|
|
🤖 Help site review — no doc changes required. This PR is a UI ordering refinement: it pins the originally-selected item (vacation delegate, workspace member, and category/tag approver) to the top of the selector list when it reopens, while preserving normal search behavior and preventing reordering during live selection. It doesn't add, remove, or rename any feature, setting, tab, or button. I reviewed the help articles that cover the affected flows and none of them document the internal ordering of a selection list — so there's nothing to update:
Because no help site content describes this behavior, no draft PR was created. If you'd like the picker's "selected item on top" behavior documented anyway, let me know and I'll draft it. @marufsharifi, please confirm you agree no help site changes are needed here. If you'd like a docs PR created regardless, reply and I'll open one. |
|
🚀 Deployed to production by https://github.com/grgia in version: 9.4.27-2 🚀
Bundle Size Analysis (Sentry): |
Explanation of Change
This PR updates the vacation delegate selector and WorkspaceMembersSelectionList to keep the originally selected item pinned to the top when the list opens, while preserving normal search behavior and preventing the list from reordering during live selection changes.
Fixed Issues
$ #69184
PROPOSAL: #69184 (Comment)
Tests
Preconditions (common to all flows)
Flow 1: Category Approver
Flow 2: Tag Approver
Flow 3: Personal Vacation Delegate
Offline tests
Same as Tests.
QA Steps
Same as Tests.
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, 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.ScrollViewcomponent to make it scrollable when more elements are added to the page.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
Flow 1:
Screen.Recording.2026-06-10.at.2.55.52.PM.mov
Flow 2:
Screen.Recording.2026-06-10.at.2.58.22.PM.mov
Flow 3:
Screen.Recording.2026-06-10.at.2.59.31.PM.mov
Android: mWeb Chrome
Flow 1:
Recording_20260610_141556.mp4
Flow 2:
Recording_20260610_143256.mp4
Flow 3:
Recording_20260610_143432.mp4
iOS: Native
Flow 1:
Screen.Recording.2026-06-10.at.2.38.57.PM.mov
Flow 2:
Screen.Recording.2026-06-10.at.2.40.20.PM.mov
Flow 3:
Screen.Recording.2026-06-10.at.2.41.12.PM.mov
iOS: mWeb Safari
Flow 1:
Screen.Recording.2026-06-10.at.2.43.33.PM.mov
Flow 2:
Screen.Recording.2026-06-10.at.2.44.05.PM.mov
Flow 3:
Screen.Recording.2026-06-10.at.2.44.39.PM.mov
MacOS: Chrome / Safari
Flow 1:
Screen.Recording.2026-06-10.at.2.13.31.PM.mov
Flow 2:
Screen.Recording.2026-06-10.at.2.14.04.PM.mov
Flow 3:
Screen.Recording.2026-06-10.at.2.14.35.PM.mov