-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[CP Staging] Fix that user was able to dismiss the onboarding modal on android #50015
[CP Staging] Fix that user was able to dismiss the onboarding modal on android #50015
Conversation
@ikevin127 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] |
@allgandalf will work on the checklist, as this is a regression from our previous PR 😄 cc @ikevin127 |
Cool, in case you need me to Approve in order to move this along once the checklist is completed, fill free to tag me and will do. |
How is that process, I guess if anyone who posts from @ - Expensify/ contributor-plus then the checklist will pass, lets see though i will ping you just in case |
Reviewer Checklist
Screenshots/VideosAndroid: Native372598075-c826bc71-7f9e-413c-b2c2-99eff129baf5.movAndroid: mWeb ChromeiOS: NativeScreen.Recording.2024-10-02.at.2.00.49.AM.moviOS: mWeb SafariScreen.Recording.2024-10-02.at.2.01.57.AM.movMacOS: Chrome / SafariScreen.Recording.2024-10-02.at.1.54.45.AM.movMacOS: DesktopScreen.Recording.2024-10-02.at.2.04.00.AM.mov |
Can't wait to get my hands on the hybrid app repo i tell you 😮 , seems complex but really interesting |
@allgandalf I'm finishing the day, so please verify the onboarding opens well on each platform 🙏 Thank you! |
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.
Looks good, thanks for the quick work 🙇
…ndroid [CP Staging] Fix that user was able to dismiss the onboarding modal on android (cherry picked from commit 6daf561) (CP triggered by jasperhuangg)
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Cherry-picked to staging by https://github.com/jasperhuangg in version: 9.0.42-2 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.0.42-3 🚀
|
Details
The problem on android was that
isOnboardingCompleted
was loaded first, which caused the onboarding to be opened for the first time, thenisHybridAppOnboardingCompleted
was loaded which reopened onboarding for a second time. WithisLoadingOnyxValue
in place we make sure the logic is fired once when both values are loaded.Fixed Issues
$ #49990
PROPOSAL: N/A
Tests
Offline tests
N/A
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 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
Android: Native
Screen.Recording.2024-10-01.at.20.05.31.mov