-
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
Migrated user welcome modal #53225
base: main
Are you sure you want to change the base?
Migrated user welcome modal #53225
Conversation
…ate animation handling in MigratedUserWelcomeModal
@rayane-djouah 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] |
function dismissProductTrainingElement(elementName: string) { | ||
// const optimisticData = [ | ||
// { | ||
// onyxMethod: Onyx.METHOD.MERGE, | ||
// key: ONYXKEYS.NVP_DISMISSED_PRODUCT_TRAINING, | ||
// value: { | ||
// dismissedProductTrainingElements: { | ||
// [elementName]: Date.now(), | ||
// }, | ||
// }, | ||
// }, | ||
// ]; | ||
|
||
const date = new Date(); | ||
Onyx.merge(ONYXKEYS.NVP_DISMISSED_PRODUCT_TRAINING, { | ||
[elementName]: DateUtils.getDBTime(date.valueOf()), | ||
}); | ||
|
||
// API.write(WRITE_COMMANDS.DISMISS_PRODUCT_TRAINING_ELEMENT, {elementName}, {optimisticData}); | ||
} |
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.
Backend not ready yet, need to fix this once its ready
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.
cc @puneetlath
migratedUserWelcomeModal: { | ||
title: 'Travel and expense at the speed of chat!', | ||
subtitle: 'New Expensify has the same great automation, but now with amazing collaboration:', | ||
confirmText: "Let's go!", | ||
features: { | ||
chat: '<strong>Chat directly on any expense</strong>, report, or workspace', | ||
scanReceipt: '<strong>Scan receipts</strong> and get paid back', | ||
crossPlatform: 'Do <strong>everything</strong> from your phone or browser', | ||
}, | ||
}, |
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.
i'll ask for translation, and update this
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.
Let us know when this is ready for a design review. |
@rayane-djouah Can you give this a initial review from code side of things, i'll ask and update the translation shortly |
…ps to FeatureTrainingModal
gentle bump @rayane-djouah |
@Expensify/design This open for your review as well, i have updated latest screenshots in PR author checklist. |
We've recently made some changes and are now going to make these illustrations modals into full bleed removing the padding, like so: Sorry for the last minute change, but could you implement those changes as well 😇 THANK YOU! cc @Expensify/design team |
Also, could we tweak the spacing between the text a bit more to the mock? Or better yet, replicate the spacing/component from this PR |
Explanation of Change
Fixed Issues
$ #53085
PROPOSAL:
Tests
src/hooks/useOnboardingFlow.ts
Or
open app and Go to settings Troublshoot > enable Client side logging, then click on "View debug console" execute below command
Click on "Lets's go button" verify it close the modal
Reload window/ close and Reopen the App, Verify Modal not opens
Offline tests
QA Steps
Not ready for QA testing (need to confirm how can this be tested by QA)
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)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
Screen.Recording.2024-11-29.at.12.07.20.AM.mov
Android: mWeb Chrome
Screen.Recording.2024-11-29.at.12.35.57.AM.mov
iOS: Native
Simulator.Screen.Recording.-.iPhone.15.-.2024-11-28.at.22.14.32.mp4
iOS: mWeb Safari
Simulator.Screen.Recording.-.iPhone.15.-.2024-11-28.at.22.27.31.mp4
MacOS: Chrome / Safari
Screen.Recording.2024-11-28.at.10.16.18.PM.mov
MacOS: Desktop
Screen.Recording.2024-11-29.at.12.32.57.AM.mov