-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Self-guided tours][V2] Add tour links to onboarding tasks #51153
[Self-guided tours][V2] Add tour links to onboarding tasks #51153
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@c3024 @rushatgabhane couple small comments
src/libs/API/types.ts
Outdated
@@ -881,6 +882,7 @@ type WriteCommandParameters = { | |||
|
|||
// Invoice API | |||
[WRITE_COMMANDS.SET_INVOICING_TRANSFER_BANK_ACCOUNT]: Parameters.SetInvoicingTransferBankAccountParams; | |||
[WRITE_COMMANDS.SELF_TOUR_VIEWED]: null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not invoice API, can you move it to a more appropriate section please?
src/libs/onboardingSelectors.ts
Outdated
if (Array.isArray(onboarding)) { | ||
return true; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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; | |
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okayy
@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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
✋ 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 🚀
|
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 Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.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