-
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
Setup Lottie #14393
Setup Lottie #14393
Conversation
Hey, I noticed you changed some webpack configuration files. This can break production builds. Did you remember to run a production build locally to verify they still work? |
@stitesExpensify 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] |
🧪🧪 Use the links below to test this build in android and iOS. Happy testing! 🧪🧪
|
Bump – don't want this getting too stale |
Reviewer Checklist
Screenshots/VideosWeblottieWeb.mp4Mobile Web - ChromelottieAndroidWeb.mp4Mobile Web - SafarilottieIOSweb.mp4DesktoplottieDesktop.mp4iOSsee below Androidrunning into some unrelated issues with the emulator, in the PR body it seems to be working great so I wont hold on this |
Tested on physical device, looking great! |
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.
This is looking great, thanks for working on this! To push this forward, I will merge the PR since I have tested it on all platforms and it seems to work great. Only tested one page but QA can catch the other ones
Performance Comparison Report 📊Significant Changes To DurationThere are no entries Meaningless Changes To DurationShow entries
Show details
|
🚀 Deployed to staging by https://github.com/mountiny in version: 1.2.76-5 🚀
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 1.2.76-7 🚀
|
1 similar comment
🚀 Deployed to production by https://github.com/yuwenmemon in version: 1.2.76-7 🚀
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 1.2.76-7 🚀
|
There is a console error bug while we defined the |
Details
Sets up Lottie animations in E/App. Replaces the two gifs we already have in place with their Lottie equivalent.
I wanted to set up
.lottie
files because they're only about 10% the size of their.json
equivalent, but it looks like it's going to be a bit more involved because neither lottie-react-native nor react-native-web-lottie currently support that format. Will address this in a follow-up issue, but I don't think it's critical right now.Fixed Issues
$ (partial) #12261
Tests
true
ROUTES.SETTINGS_PAYMENTS
withROUTES.ENABLE_PAYMENTS
.<ActivateStep userWallet={this.props.userWallet} />
Payments
. Verify that you see the scanning animation and it looks good.isGoldWallet
on this line withtrue
.Offline tests
None.
QA Steps
This should be covered by regression tests. As you go through the regression tests for wallet setup and bank account connection, verify that the animations appear as they normally do.
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)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)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.Screenshots/Videos
Web
EnableScanning.mov
EnableFireworks.mov
WorkspaceLoading.mov
Mobile Web - Chrome
screen-20230210-131750.mp4
screen-20230210-131723.mp4
screen-20230210-131647.mp4
Mobile Web - Safari
RPReplay_Final1676063478.MP4
RPReplay_Final1676063454.MP4
RPReplay_Final1676063396.MP4
Desktop
EnableFireworks.mov
EnableScanning.mov
WorkspaceScanning.mov
iOS
RPReplay_Final1676060397.MP4
RPReplay_Final1676061300.MP4
RPReplay_Final1676061390.MP4
Android
screen-20230210-130106.mp4
screen-20230210-130142.mp4
screen-20230210-130220.mp4