-
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: IOU-Submit expense on foreign currency, total briefly greyed out on top #49540
Conversation
@@ -3220,6 +3220,10 @@ const styles = (theme: ThemeColors) => | |||
color: theme.heading, | |||
}, | |||
|
|||
moneyRequestLoadingHeight: { | |||
height: 27, |
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.
is this necessary ? what is the default height ?
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.
Can you give me a side by side comparison of both the styles one without custom height and one with height
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.
The default height of the ActivityIndicator
is 20. Without a custom height, the loading indicator causes the UI to shift momentarily. Below is a comparison of both cases.
With custom height
New-Expensify-1.mp4
Without custom height
New-Expensify-2.mp4
@allgandalf 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] |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-09-23.at.11.12.18.AM.movAndroid: mWeb ChromeScreen.Recording.2024-09-23.at.11.14.32.AM.moviOS: NativeScreen.Recording.2024-09-23.at.11.09.07.AM.moviOS: mWeb SafariScreen.Recording.2024-09-23.at.11.07.58.AM.movMacOS: Chrome / SafariScreen.Recording.2024-09-23.at.10.50.45.AM.movMacOS: DesktopScreen.Recording.2024-09-23.at.11.05.07.AM.mov |
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.
LGTM and tests well on all platforms
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.
LGTM
@Expensify/design for a final look |
That looks great to me! 👏 Keen to get @dannymcclain's eyes on it as well to double check |
Yeah I think it looks lovely 👏 |
Thanks guys, appreciate your quick responses 😄 |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/luacmartins in version: 9.0.40-0 🚀
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 9.0.40-6 🚀
|
Details
Fixed Issues
$ #48478
PROPOSAL: #48478 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.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
New-Expensify-Native-Android.mp4
Android: mWeb Chrome
New-Expensify-Chrome-Android.mp4
iOS: Native
New-Expensify-Native-iOS.mp4
iOS: mWeb Safari
New-Expensify-Safari-iOS.mp4
MacOS: Chrome / Safari
New-Expensify-Chrome-MacOS.mp4
MacOS: Desktop
New-Expensify-Desktop.mp4