[Self-guided tours][V3] Add tour link to FAB#51136
Conversation
|
I like that, this way it also won't compete with the green icon we use for creating a workspace from the global create menu right? |
|
Yeah, though there's a question of whether we should use the same treatment for that too? Actually. Let's just quickly take this to Slack before posting the final mocks here. |
|
PR ready with udpated styles from slack
Hovered
|
src/pages/home/sidebar/SidebarScreen/FloatingActionButtonAndPopover.tsx
Outdated
Show resolved
Hide resolved
|
Looks great from a visual perspective 👍 |
Reviewer Checklist
Screenshots/VideosAndroid: Nativev3Android.mp4Android: mWeb Chromev3AndroidmWeb.mp4iOS: Nativev3iOS.mp4iOS: mWeb Safariv3iOSmWeb.mp4MacOS: Chrome / Safariv3Chrome.mp4MacOS: Desktopv3Desktop.mp4 |
|
Just to confirm - does the tour open up in a new tab/new window? I think so, but just want to double check. |
|
New Tab |
|
Sweet thanks for confirming! |
|
Design-wise this looks good to me 👍 |
mountiny
left a comment
There was a problem hiding this comment.
This is mostly same as the v2 review here #51153 (review)
|
@mountiny changes done. we should merge this PR first because v2 relies on it |
mountiny
left a comment
There was a problem hiding this comment.
I think we can go with this one now!
| * Selector to get the value of selfTourViewed from the Onyx store | ||
| * | ||
| * `undefined` means the value is not loaded yet | ||
| * `true` means the user has completed the NewDot onboarding flow |
There was a problem hiding this comment.
| * `true` means the user has completed the NewDot onboarding flow | |
| * `true` means the user has seen the navattic tour already |
| * | ||
| * `undefined` means the value is not loaded yet | ||
| * `true` means the user has completed the NewDot onboarding flow | ||
| * `false` means the user has not completed the NewDot onboarding flow |
There was a problem hiding this comment.
| * `false` means the user has not completed the NewDot onboarding flow | |
| * `false` means the user has not seen the navattic tour yet |
|
✋ 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 🚀
|
|
#52095 looks like a regression coming from this PR. Would be great if anyone can please take a look @rushatgabhane @c3024 |
| export default withOnyx<FloatingActionButtonAndPopoverProps & RefAttributes<FloatingActionButtonAndPopoverRef>, FloatingActionButtonAndPopoverOnyxProps>({ | ||
| allPolicies: { | ||
| key: ONYXKEYS.COLLECTION.POLICY, | ||
| selector: policySelector, | ||
| }, | ||
| isLoading: { | ||
| key: ONYXKEYS.IS_LOADING_APP, | ||
| }, | ||
| quickAction: { | ||
| key: ONYXKEYS.NVP_QUICK_ACTION_GLOBAL_CREATE, | ||
| }, | ||
| quickActionReport: { | ||
| key: ({quickAction}) => `${ONYXKEYS.COLLECTION.REPORT}${quickAction?.chatReportID}`, | ||
| }, | ||
| quickActionPolicy: { | ||
| key: ({quickActionReport}) => `${ONYXKEYS.COLLECTION.POLICY}${quickActionReport?.policyID}`, | ||
| }, | ||
| personalDetails: { | ||
| key: ONYXKEYS.PERSONAL_DETAILS_LIST, | ||
| }, | ||
| session: { | ||
| key: ONYXKEYS.SESSION, | ||
| }, | ||
| hasSeenTrackTraining: { | ||
| key: ONYXKEYS.NVP_HAS_SEEN_TRACK_TRAINING, | ||
| }, |
There was a problem hiding this comment.
I have started experiencing this #51242 again and i beleive withOnyx -> useOnyx migration in this PR caused it
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.0.58-2 🚀
|
| iconFill: theme.icon, | ||
| text: translate('tour.takeATwoMinuteTour'), | ||
| description: translate('tour.exploreExpensify'), | ||
| onSelected: () => { |
There was a problem hiding this comment.
Not redirecting the user to signin page for anonymous user resulted in #63105 . We fixed this in the mentioned issue.



Details
Fixed Issues
$ #50926
PROPOSAL: N.A.
Tests
Admin
Other onboarding purpose
Old accounts that have not completed onboarding ever.
If a user has never completed onboarding, then they won't see the tour link in FAB.
They should see in search page tho.
Old accounts that have completed onboarding should be able to see tour link.
Offline tests
QA Steps
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
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
Screen.Recording.2024-10-28.at.06.38.36.mov
MacOS: Chrome / Safari
Screen.Recording.2024-10-26.at.09.21.06.mov
Hovered
Without hover
MacOS: Desktop