-
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
Fix that onboarding tasks are duplicated when switching chat #52585
Fix that onboarding tasks are duplicated when switching chat #52585
Conversation
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-11-15.at.12.14.53.AM.movAndroid: mWeb ChromeScreen.Recording.2024-11-15.at.12.21.40.AM.moviOS: NativeScreen.Recording.2024-11-15.at.12.28.08.AM.moviOS: mWeb SafariScreen.Recording.2024-11-15.at.12.26.55.AM.movMacOS: Chrome / SafariScreen.Recording.2024-11-14.at.11.53.59.PM.movMacOS: DesktopScreen.Recording.2024-11-15.at.12.00.14.AM.mov |
Okay this makes sense to me! |
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.
Great job @blazejkustra , this works well on all platforms 🚀
Fix that onboarding tasks are duplicated when switching chat (cherry picked from commit 93ae75f) (CP triggered by francoisl)
✋ 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/francoisl in version: 9.0.62-4 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
I hope there are no other regressions, thanks for a quick review @allgandalf 🚀 |
🚀 Deployed to production by https://github.com/mountiny in version: 9.0.62-4 🚀
|
Explanation of Change
Fixes a regression #52543 that was caused by #46052
The problem was that we generated onboarding messages twice, first for onboarding flow and then first time a report was opened. Now we check NVP_ONBOARDING so that messages are never duplicated.
Fixed Issues
$ #52543
PROPOSAL: N/A
Tests
Usual onboarding
Workspace Non-admin:
Workspace Admin:
DM / Group Chat:
Start a chatis checked off & struck through.User-created Room:
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
Onboarding
bug.mov
Invite from chat
chat.1.mov
member.mov