Move "Create report" in the "Move expenses" flow to the top of the list#82076
Move "Create report" in the "Move expenses" flow to the top of the list#82076jasperhuangg merged 5 commits intoExpensify:mainfrom
Conversation
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.
|
|
@eVoloshchak 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] |
joekaufmanexpensify
left a comment
There was a problem hiding this comment.
Good from product 👍
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2026-02-18.at.23.32.22.movAndroid: mWeb ChromeScreen.Recording.2026-02-18.at.23.33.22.moviOS: HybridAppScreen.Recording.2026-02-18.at.23.28.25.moviOS: mWeb SafariScreen.Recording.2026-02-18.at.23.29.44.movMacOS: Chrome / SafariScreen.Recording.2026-02-18.at.23.25.16.mov |
RCAWith many reports in the list, the "Create report" option is hidden because we pass SolutionWe could use a conditional like: initiallyFocusedItemKey={createReportOption ? undefined : selectedReportID}But with this change, the selected report no longer gets the focus/highlight. We can still see the checkmark, but the focus styling is missing
To keep both the highlight and the header visible, I've added a Please let me know what do you think about this approach @eVoloshchak |
|
Can we just set |
|
I've tried |
|
I see, thank you |
|
Got it, I've updated the PR |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚧 @jasperhuangg 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! 🧪🧪
|


Explanation of Change
Move
createReportOptionfromlistFooterContenttocustomListHeaderContentso it appears at the top of the list. Keep the "Remove from report" option inlistFooterContentsince it should remain at the bottom.Fixed Issues
$ #81555
PROPOSAL: #81555 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
Precondition:
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.mp4
Android: mWeb Chrome
Android-mWeb.Chrome.mp4
iOS: Native
iOS-Native.mp4
iOS: mWeb Safari
iOS-mWeb.Safari.mp4
MacOS: Chrome / Safari
MacOS-Chrome.mp4