-
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
fix loading indicator when the app is loading #56314
base: main
Are you sure you want to change the base?
Conversation
@hungvu193 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] |
@shawnborton Here is the result
![]()
![]() |
Here is the reason I added the |
I guess that makes sense, but I don't understand why the loading bar isn't using absolute positioning. Either way, @hungvu193 can you please move forward with the review here? |
I think @getusha is the correct reviewer here, I can do review if @getusha can't do it. |
Ah okay either way works for me, let's just try to get this one reviewed soon if we can. Thanks! |
will review this. Having trouble building for native. |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2025-02-09.at.12.38.59.in.the.afternoon.movAndroid: mWeb ChromeScreen.Recording.2025-02-09.at.12.33.01.in.the.afternoon.moviOS: NativeScreen.Recording.2025-02-09.at.12.40.38.in.the.afternoon.moviOS: mWeb SafariScreen.Recording.2025-02-09.at.12.30.58.in.the.afternoon.movMacOS: Chrome / SafariScreen.Recording.2025-02-09.at.12.29.59.in.the.afternoon.movMacOS: DesktopScreen.Recording.2025-02-09.at.12.35.18.in.the.afternoon.mov |
Oh good spotting. We generally have a 12px padding on all content but this seems like an exception. I feel like adding 12px padding between the button and loading bar would make it too big. Part of me wonder if it should be under the Keen to hear if the designers have any ideas |
@getusha Added paddingTop 12px for the search bar in the small screen, Screen.Recording.2025-02-11.at.00.54.37.mov |
Hmm I guess the gap between the tabs and the expense rows is quite small. I think I would lean on just adding the 12px gap above the "Expenses" dropdown button for consistency with other pages? Then we should really revisit our header heights like we talked about previously. Even just making everything consistent at 72px tall would be a good place to start (and then this way we don't have the difference between 72 and 80 like we do now) |
Yeah I agree—let's go ahead and add the 12px like in the video. And then separately, we should make everything consistent at 72px. |
Great plan. Agree with that 👍 |
Explanation of Change
fix loading indicator when the app is loading
Fixed Issues
$ #55842
PROPOSAL:
Tests
Offline tests
Same
QA Steps
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.2025-02-04.at.17.16.02.mov
Android: mWeb Chrome
Screen.Recording.2025-02-04.at.17.11.02.mov
iOS: Native
Screen.Recording.2025-02-04.at.17.14.03.mov
iOS: mWeb Safari
Screen.Recording.2025-02-04.at.17.12.03.mov
MacOS: Chrome / Safari
Screen.Recording.2025-02-04.at.17.09.03.mov
MacOS: Desktop
Screen.Recording.2025-02-04.at.17.19.11.mov