-
Notifications
You must be signed in to change notification settings - Fork 3.2k
fix Lottie Animation Scaling and container width in Trips Empty State Illustration #61996
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
base: main
Are you sure you want to change the base?
fix Lottie Animation Scaling and container width in Trips Empty State Illustration #61996
Conversation
…nd visual balance
…cross screen sizes on native and web
Not sure why you didn't get autoassigned here, @jayeshmangwani |
It’s possible the contributor made a mistake in the checklist while adding the issue link. |
@nabi-ebrahimi Not a big deal, but we should've added the Android screenshot/video to the checklist. |
@jayeshmangwani I'll do it soon—my previous setup seems to be broken, and I’m currently unable to run the app on Android. I'm working on fixing it and will get it done as soon as possible. |
Videos look good to me so far 👍 |
Can we also double check that the animation looks good when you access Book Travel through the global create button? Thanks! |
… '100%' on larger screens
book-a-travel.mov |
@jayeshmangwani PR is ready for review. thanks. |
Looking good, thanks for confirming! |
@@ -272,7 +272,7 @@ function EmptySearchView({type, hasResults}: EmptySearchViewProps) { | |||
titleStyles={content.titleStyles} | |||
subtitle={content.subtitle} | |||
buttons={content.buttons} | |||
headerContentStyles={[styles.h100, styles.w100, ...content.headerContentStyles]} | |||
headerContentStyles={[styles.h100, styles.w100, ...content.headerContentStyles] as Array<ViewStyle & ImageStyle>} |
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.
Please revert this change , I don't think it's needed here.
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 need to either update the type of the headerContentStyles
prop or leave it as is, since removing it leads to a type error.
Currently, its type is ViewStyle & ImageStyle
in the EmptyStateComponent
, so we’d also need to update the types in EmptyStateComponent
accordingly.
Explanation of Change
Fixed Issues
$ #60963
PROPOSAL: #60963 (commnet)
Tests
Offline tests
Same as Tests
QA Steps
Same as Tests
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectioncanBeMissing
param foruseOnyx
toggleReport
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.2025-05-15.at.11.52.27.AM.mov
Android: mWeb Chrome
android-web-1.mov
iOS: Native
ios-native-1.mov
iOS: mWeb Safari
Screen.Recording.2025-05-15.at.11.46.17.AM.mov
MacOS: Chrome / Safari
desktop-web-record.mov
MacOS: Desktop
macos-desktop.mov