-
Notifications
You must be signed in to change notification settings - Fork 3.3k
fix: Remove mobile offline indicator on "Start chat" page #61367
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: Remove mobile offline indicator on "Start chat" page #61367
Conversation
@srikarparsi 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] |
@chrispader Do we have a generic way to handle all these cases? I did a round of tests and found a lots of screens that have the same problem. All of these screens are RHP.
|
Let's make sure all the RHP screens won't have extra space at the bottom when it's offline. There are a few screens that don't have fixed footer button, we should test them carefully. Screen.Recording.2025-05-05.at.13.52.24.mov |
@hungvu193 thanks for the catch! I've now implemented a generic solution to this problem in narrow pane navigators, such as the The
This way, all of the logic is implemented once (DRY) in the cc @lakchote |
This should now be fully fixed. Please give it another review! 🙌🏼 |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppandroid.movAndroid1.movAndroid: mWeb ChromemAndroid.moviOS: HybridAppScreen.Recording.2025-05-12.at.22.10.12.moviOS: mWeb SafariScreen.Recording.2025-05-12.at.22.03.56.movMacOS: Chrome / SafariScreen.Recording.2025-05-12.at.17.11.17.mp4MacOS: DesktopScreen.Recording.2025-05-12.at.22.06.19.mov |
🎯 @hungvu193, thanks for reviewing and testing this PR! 🎉 An E/App issue has been created to issue payment here: #61858. |
@hungvu193 @lakchote let me handle #61782 in this PR as well, as the issue is related |
Yes. Please go ahead |
Actually it was not directly related, but still just added a fix. This is a very minor change |
perf tests are failing @chrispader |
@lakchote this was some issue with the pipeline. Fixed by merging latest main! |
✋ 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 production by https://github.com/mountiny in version: 9.1.46-12 🚀
|
@lakchote @nlemma
Explanation of Change
Fixes an issue on the "Start chat" page where the "Next button" and "Start a chat" referral banner are moved up when the user goes offline.
Fixed Issues
$ #60438 (comment)
PROPOSAL:
Tests
Offline tests
QA Steps
Same as in Tests.
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
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Widescreen:
mWeb / Small screens:
MacOS: Desktop