-
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
feature: Add loading indicator when ReconnectApp is running #52272
base: main
Are you sure you want to change the base?
Conversation
@nkdengineer what did we change here? what was the issue? |
|
@getusha friendly bump |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-11-25.at.2.28.59.in.the.afternoon.movAndroid: mWeb ChromeScreen.Recording.2024-11-25.at.2.15.33.in.the.afternoon.moviOS: NativeScreen.Recording.2024-11-26.at.10.25.05.at.night.moviOS: mWeb SafariScreen.Recording.2024-11-25.at.2.18.00.in.the.afternoon.movMacOS: Chrome / SafariScreen.Recording.2024-11-25.at.2.12.46.in.the.afternoon.movMacOS: DesktopScreen.Recording.2024-11-25.at.2.21.44.in.the.afternoon.mov |
Hi @getusha, how is this coming along? Do you think we can get this merged today or tomorrow? |
I'll try to wrap this up today 🙇 |
@nkdengineer
Screen.Recording.2024-11-26.at.10.20.12.at.night.mov |
@getusha Fixed this bug. |
@getusha Friendly bump. |
Co-authored-by: Getabalew <[email protected]>
@srikarparsi We're waiting for your review. |
@srikarparsi I have a requestion before the final review: with the current approach, LHN on large screen and Report screen on small screen always have a component with 2px like this. But if we change the height to 0 after the loading is hidden, a bit of jumping appears when the loading is shown again like this Screen.Recording.2024-12-10.at.15.56.30.movScreen.Recording.2024-12-10.at.15.56.16.movWhat do you think? |
I think @Expensify/design might have more of an opinion for this question. Just a thought, if we don't like the jumping (all the content underneath the loading bar shifts down), then maybe we can have the loading bar render into the header (so that nothing shifts)? But the header would be a little smaller (since the loading bar would take up a little of the bottom of it) when the loading indicator does show up. |
We definitely do not want the jumping, we should do some kind of absolute positioning on the loader. I thought that's what we had before? |
Big agree. I don't feel super strongly about how we fix the jumping, but I feel strongly that we do need to fix it. Also watching that video made me remember how great this little loader is and I neeeeeeeeed it back in the app! I love it 🙏 |
Agree with @shawnborton and @dannymcclain |
@shawnborton What do you think if we move the loading the the Screen.Recording.2024-12-13.at.15.05.45.movand Screen.Recording.2024-12-13.at.15.10.08.movcc @srikarparsi |
I think the idea is that it should be absolutely positioned at the bottom of the two areas you are showing above. When the loader is not active, you should not see it at all. Let me know if that makes sense. |
Details
Fixed Issues
$ #46611
PROPOSAL: #46611 (comment)
Tests
Offline tests
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
android.mov
Android: mWeb Chrome
android-mweb.mov
iOS: Native
ios.mov
iOS: mWeb Safari
ios-mweb.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov