Prevent Vacation Delegate error when online#77805
Prevent Vacation Delegate error when online#77805LorenzoBloedow wants to merge 3 commits intoExpensify:mainfrom
Conversation
|
@aimane-chnaif 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] |
|
@Expensify/design @iwiznia |
|
Are we fine to leave edge case (user created from start new chat) as is now? |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
@aimane-chnaif It seems when optimistically selecting the user offline, we always get this error, i.e., Screen.Recording.2025-12-16.at.3.19.01.PM.mov |
trjExpensify
left a comment
There was a problem hiding this comment.
I have a question on the parent issue re: this #77509 (comment)
What are the next steps here? |
Explanation of Change
We're filtering out optimistic users when online, so that only users that already exist appear, preventing the "Account doesn't exist" error. When offline, we let the user select optimistic users as we can't check if they exist or not.
Fixed Issues
$ #77509
PROPOSAL: #77509 (comment)
Tests
Offline tests
QA Steps
Same as tests and offline tests.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand 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
Android.-.Native.mov
Android: mWeb Chrome
Android.-.Chrome.mov
iOS: Native
iOS.-.Native.mov
iOS: mWeb Safari
iOS.-.Safari.mov
MacOS: Chrome / Safari
macOS.-.Chrome.mov