[Self-guided tours][V2] Add tour links to onboarding tasks#51153
[Self-guided tours][V2] Add tour links to onboarding tasks#51153mountiny merged 10 commits intoExpensify:mainfrom
Conversation
|
@rushatgabhane 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] |
Reviewer Checklist
Screenshots/VideosAndroid: mWeb ChromeiOS: NativeScreen.Recording.2024-10-28.at.06.43.28.moviOS: mWeb SafariScreen.Recording.2024-10-28.at.06.35.40.movMacOS: Chrome / SafariScreen.Recording.2024-10-28.at.06.31.33.mov |
|
@Expensify/design hope this looks good? |
|
Visually looks good to me 👍 |
|
@c3024 please resolve conflicts. |
mountiny
left a comment
There was a problem hiding this comment.
@c3024 @rushatgabhane couple small comments
src/libs/API/types.ts
Outdated
|
|
||
| // Invoice API | ||
| [WRITE_COMMANDS.SET_INVOICING_TRANSFER_BANK_ACCOUNT]: Parameters.SetInvoicingTransferBankAccountParams; | ||
| [WRITE_COMMANDS.SELF_TOUR_VIEWED]: null; |
There was a problem hiding this comment.
This is not invoice API, can you move it to a more appropriate section please?
| if (Array.isArray(onboarding)) { | ||
| return true; | ||
| } |
There was a problem hiding this comment.
Given this answer, I think that if the onboarding NVP is not set yet, so old account, we still want to show them the tour option.
| if (Array.isArray(onboarding)) { | |
| return true; | |
| } | |
| if (Array.isArray(onboarding)) { | |
| return false; | |
| } |
|
@c3024 please merge main |
|
Merged output-task.mp4and that has nothing to do with this PR. All other choices work well and here are the videos. This PR can be merged. tourTask.mp4Screen.Recording.2024-11-05.at.7.03.46.AM.mov |
|
✋ 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/mountiny in version: 9.0.58-0 🚀
|
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.0.58-2 🚀
|
|
We did not include |
| SMB: 'smb', | ||
| } as const; | ||
|
|
||
| const selfGuidedTourTask: OnboardingTaskType = { |
There was a problem hiding this comment.
Task titles and descriptions for onboarding tasks were in this file when we added this task. Extracted this self tour task to an object because this is repetitive for several onboarding intents.
Would anyone mind if I open an issue to have these moved somewhere else so that we only keep CONSTs in this file?
Not at all, sounds like a good idea!
There was a problem hiding this comment.
Yep agreed, we can move anything dynamic out of this file to keep it purely consts


Details
Fixed Issues
$ #50926
PROPOSAL: N/A
Tests
Test 1:
Test2:
Test 3:
Offline tests
NA
QA Steps
Same as Tests.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))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
tourAndroid.mp4
Android: mWeb Chrome
tourAndroidmWeb.mp4
iOS: Native
touriOS.mp4
iOS: mWeb Safari
touriOSmWeb.mp4
MacOS: Chrome / Safari
tourChrome1.mp4
tourChrome2.mp4
MacOS: Desktop
tourDesktop.mp4