-
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
[Onboarding - Stage 1] Onboarding Flow #37733
[Onboarding - Stage 1] Onboarding Flow #37733
Conversation
* Implement progress bar * Render progressBar with precedence of header * Story for progressBar * Missing semicolons * Drop shouldShowProgressBar * Fix double header rendered * Wrap around useMemo --------- Co-authored-by: Mateusz Rajski <mateusz.rajski@swmansion.com>
[Wave9] Detect first time users - check display name and purpose
🎯 @hoangzinh, thanks for reviewing and testing this PR! 🎉 An E/App issue has been created to issue payment here: #39632. |
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 everyone for bringing this across!!!
I am going to go ahead and merge this to unblock the Stage 2 works
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.
thank you
🚀 Deployed to staging by https://github.com/mountiny in version: 1.4.61-0 🚀
|
🚀 Deployed to staging by https://github.com/mountiny in version: 1.4.61-0 🚀
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.4.61-8 🚀
|
const menuItems: MenuItemProps[] = Object.values(CONST.ONBOARDING_CHOICES).map((choice) => { | ||
const translationKey = `onboarding.purpose.${choice}` as const; | ||
const isSelected = selectedPurpose === choice; | ||
return { |
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.
We should had passed one more property numberOfLinesTitle
here and set it to 0
, this way we would have avoided the truncation of sentence in the onboarding modal, this caused #43804, but i also know that this was a large enough PR and the bug would not have been easily noticed
Coming from #45619, there were some console errors we missed handling when showing the welcome video during the onboarding flow. Details is here #45619 (comment) |
Coming from #48930, we missed adding App/src/libs/Navigation/AppNavigator/createCustomStackNavigator/CustomRouter.ts Lines 19 to 20 in bbe7d38
|
Details
In order to invoke the Onboarding Flow, replace a button of your choice in the app:
Or a direct invoke using URL:
https://dev.new.expensify.com:8082/onboarding
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/351581
PROPOSAL:
Tests
Offline tests
QA Steps
Account creation -> Name + surname screen
Account creation -> Name + surname screen -> What do you want to do today? screen
Account creation -> Onboarding modal completed -> Chats
Account creation -> Onboarding modal completed -> [Offline mode] Onboarding video
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.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 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
Screenshots/Videos
Android: Native
ANDROID-NATIVE.mov
Android: mWeb Chrome
ANDROID-CHROME.mov
iOS: Native
IOS-NATIVE.mov
iOS: mWeb Safari
IOS-SAFARI.mov
MacOS: Chrome / Safari
CHROME.mov
MacOS: Desktop
DESKTOP.mov