-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[CP Staging] Fix: Scroll Issue on Reports Page, side pane appearing after language change #57831
[CP Staging] Fix: Scroll Issue on Reports Page, side pane appearing after language change #57831
Conversation
FYI, this should also resolve a performance issue on the Reports screen. The issue was that all reports were being rendered at once, including those outside the visible area. This not only caused performance problems but also made scrolling impossible since the reports were technically present but positioned off-screen 😓 |
🚧 @shawnborton has triggered a test hybrid app build. You can view the workflow run here. |
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
Even in Spanish I can manually enable Pane: bug.mov |
There is something strange happening when I change the report search type, it only happens on iOS - Safari mWeb: iosm.web-.bug.movOn other platforms it works fine: Screenshots/VideosAndroid: mWeb Chrome57831-android-web.moviOS: Native57831_ios_native.moviOS: mWeb Safari - Bug aboveMacOS: Chrome / Safari57831-web-chrome.mov57831-web-safari.movMacOS: Desktop57831-web-desktop.mov |
This seems to have fixed the Reports page scrolling for me. |
Hi @brunovjk |
Reviewer Checklist
Screenshots/VideosAndroid: NativeWhatsApp.Video.2025-03-05.at.20.09.02.mp4Android: mWeb ChromeiOS: NativeScreen.Recording.2025-03-05.at.20.06.38.movMacOS: Chrome / SafariScreen.Recording.2025-03-05.at.19.59.56.mov |
}, | ||
}, | ||
fullScreen: { | ||
...commonScreenOptions, | ||
// We need to turn off animation for the full screen to avoid delay when closing screens. | ||
animation: Animations.NONE, | ||
web: { | ||
cardStyle: { | ||
height: '100%', |
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.
NAB - Down the line we can probably move this to a style utils too.
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.
retrigger checklist
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
…ts-screen [CP Staging] Fix: Scroll Issue on Reports Page, side pane appearing after language change (cherry picked from commit a99a5fe) (CP triggered by francoisl)
🚀 Cherry-picked to staging by https://github.com/francoisl in version: 9.1.9-3 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by https://github.com/puneetlath in version: 9.1.9-8 🚀
|
Explanation of Change
Issue was reported by @shawnborton on Slack here. Fixing two big issues in one PR:
Fixed Issues
$ #56988
PROPOSAL: N/A
Tests
Open Reports page on web (safari desktop, chrome desktop, safari ios, chrome android)
Verify that the page works well and user can scroll the reports
Make sure you have Help nvp disabled:
Offline tests
N/A
QA Steps
Same as tests
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: mWeb Chrome
and.webm
iOS: mWeb Safari
Simulator.Screen.Recording.-.iPhone.16.Pro.-.2025-03-05.at.09.54.50.mp4
MacOS: Chrome
Screen.Recording.2025-03-05.at.09.53.01.mov
MacOS: Safari
Screen.Recording.2025-03-05.at.09.53.27.mov