[Home Page] Remove Getting started slot from Home whenever all onboarding to-dos are complete#94047
Conversation
…lete Previously the Getting started slot stayed on Home for the full 60-day window regardless of progress. Hide it as soon as every onboarding to-do is complete, while keeping the 60-day window as an upper bound.
|
@ZhenjaHorbach 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] |
| const buildResult = (builtItems: GettingStartedItem[]): UseGettingStartedItemsResult => { | ||
| if (builtItems.every((item) => item.isComplete)) { | ||
| return emptyResult; | ||
| } | ||
| return {shouldShowSection: true, items: builtItems}; | ||
| }; |
There was a problem hiding this comment.
@JmillsExpensify
If we fill out all the checkboxes, but then fail to meet the conditions of one of the fields (for example, delete a custom category and the category checkbox will reset), the Getting Started slot will return
Are we okay with that?
There was a problem hiding this comment.
I think that's probably fine. Sounds like a bit of an edge case if you go to the effort of adding custom categories, just to delete them all to leave the defaults.
trjExpensify
left a comment
There was a problem hiding this comment.
Makes sense, nice improvement. 👍
Reviewer Checklist
Screenshots/VideosAndroid: HybridApp2026-06-22.17.30.49.movAndroid: mWeb Chrome2026-06-22.17.29.44.moviOS: HybridApp2026-06-22.17.30.49.moviOS: mWeb Safari2026-06-22.17.29.44.movMacOS: Chrome / Safari2026-06-22.16.56.04.mov |
|
@grgia |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚧 grgia 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/grgia in version: 9.4.21-2 🚀
|
|
This PR failing because of the issue #94773 |
|
Deploy Blocker #94773 was identified to be related to this PR. |
Explanation of Change
Getting startedslot stayed on the Home page for the full 60-day onboarding window, even after a user had finished everything.Fixed Issues
$ #93106
PROPOSAL:
Tests
Offline tests
QA Steps
Manage my team's expensesorTrack my company's expensesand confirm theGetting startedsection appears on Home while at least one to-do is still incomplete.Getting startedsection.Getting startedsection disappears from Home once all to-dos are complete, instead of lingering for the rest of the 60-day window.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-06-19.at.15.14.24.mov