Fix: Unable to scroll troubleshoot panel#64717
Conversation
|
@QichenZhu 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] |
|
Here is the summary of the changes in the PR:
cc @hungvu193 |
|
Oh, thanks for the tag here @nyomanjyotisa. This PR is totally slipped from my list 🤦 |
| const height = isAuthenticated ? defaultHeight : '55%'; | ||
| const defaultHeight = shouldUseNarrowLayout ? '78%' : 654; | ||
| const height = isAuthenticated ? defaultHeight : 400; | ||
|
|
There was a problem hiding this comment.
I wonder, what's the issue with using percent? And what's the reason for 654 and 400 number?
There was a problem hiding this comment.
Since the Use profiling and Client side logging menu items have been removed and replaced with Record Troubleshoot Data, the default content in the modal is no longer enough to fill 75% of the screen height. This results in an empty gap at the bottom of the modal
| Before | After |
|---|---|
![]() |
![]() |
We chose 654 and 400 (should have been 398) as the fixed height values because the default content height of the test tools modal is 654 when the user is authenticated
and 398 when the user is not authenticated
We also kept the 78% height for narrow layouts because on mWeb Safari, setting the modal height to 654px causes it to take up the entire screen
There was a problem hiding this comment.
Thanks. Let me double check.
Also I'm facing issue on Android app, the splash screen is stuck and I couldn't verify the bugs. I'll try again for a while.
There was a problem hiding this comment.
Is there a Slack convo you can link for posterity where the 654 and 400 numbers were discussed/chosen?
Could you also add comments in code briefly explaining the reasoning for each number?
There was a problem hiding this comment.
There isn’t a specific Slack conversation where 654 and 400 were discussed—these numbers were derived by visually inspecting the modal content height after the removal of the Use profiling and Client side logging menu items
I’ll add comments to explain this for reference
|
I think this can be a bug. When I press back from Console page on Android, I'm navigated to Troubleshoot screen. Screen.Recording.2025-07-01.at.17.41.39.movhere's on the web, which looks expected to me: Screen.Recording.2025-07-01.at.17.43.38.mov |
I think this happens because when we access the test tools modal directly via link ( Android-Native.mp4 |
|
Thanks. Looks much better! |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid.movAndroid: mWeb ChromemChrome.moviOS: HybridAppiOS: mWeb SafariScreen.Recording.2025-07-03.at.15.55.10.movMacOS: Chrome / SafariScreen.Recording.2025-07-03.at.15.52.25.movMacOS: DesktopDesk.mov |
|
We did not find an internal engineer to review this PR, trying to assign a random engineer to #64550 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
|
@neil-marcellini 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] |
|
I have not been able to get to this pull request review yet. The past two weeks have been very busy and I've been focusing on internal PR reviews. I'm going to be out of office July 4th through 16th. Working 0%. Therefore, I have reassigned this to another internal engineer who can move it forward while I'm gone. Thank you 🙇 |
amyevans
left a comment
There was a problem hiding this comment.
One small request, thanks!
| const height = isAuthenticated ? defaultHeight : '55%'; | ||
| const defaultHeight = shouldUseNarrowLayout ? '78%' : 654; | ||
| const height = isAuthenticated ? defaultHeight : 400; | ||
|
|
There was a problem hiding this comment.
Is there a Slack convo you can link for posterity where the 654 and 400 numbers were discussed/chosen?
Could you also add comments in code briefly explaining the reasoning for each number?
|
🚀 Deployed to staging by https://github.com/amyevans in version: 9.1.80-0 🚀
|
|
🚀 Deployed to production by https://github.com/luacmartins in version: 9.1.80-8 🚀
|




Explanation of Change
This PR addresses several issues related to the Test Tools modal
Fixed Issues
$ #64550
#64431
PROPOSAL: N/A
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android-Native.mp4
Android: mWeb Chrome
Android-mWeb.Chrome.mp4
iOS: Native
iOS-Native.mp4
iOS: mWeb Safari
iOS-mWeb.Safari.mp4
MacOS: Chrome / Safari
MacOS-Chrome.mp4
MacOS: Desktop
MacOS-Desktop.mp4