Repository navigation
[Resizable RHP] Basic drag logic - #104573
Conversation
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
# Conflicts: # src/ONYXKEYS.ts
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
ReviewI found two issues to fix before merge. The drag logic, the 1. A failing CI test comes from this PR. 2. The resizable width also applies when the beta is off.
This causes two visible effects for users without the beta:
To fix both, have The other non-passing checks are |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 66d9d7f61b
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
@Krishna2323 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] |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d6788ab063
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
@Krishna2323 how is this looking? |
|
NAB: Enabling/Disabling beta opens up "Validate your account" RHP: Monosnap.screencast.2026-10-26.03-05-50.mp4 |
Krishna2323
left a comment
There was a problem hiding this comment.
Looks good to me, apart from the NABs above.
Monosnap.screencast.2026-10-26.03-05-50.mp4
|
@Krishna2323 all reported issues should be addressed! |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safariweb_chrome.mp4 |
…drag # Conflicts: # src/CONST/index.ts # src/components/Table/columnResize/useColumnResize/index.ts # src/libs/Navigation/AppNavigator/ModalStackNavigators/useModalStackScreenOptions.ts # src/libs/Navigation/AppNavigator/useRHPScreenOptions.ts
Krishna2323
left a comment
There was a problem hiding this comment.
LGTM!
@war-in please resolve conflicts when you get a chance. Thanks!
|
Main merged! I think the failing perf test is just flaky and unrelated to the branch |
JS00001
left a comment
There was a problem hiding this comment.
reviewed & approving at marcins request since vit is out
|
@war-in I reran the perf tests a few times, could you double check its not related please? |
|
@JS00001 merging main helped 😄 |
|
looks like we are good! |
|
🚧 JS00001 has triggered a test Expensify/App build. You can view the workflow run here. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/JS00001 in version: 9.5.24-1 🚀
|
|
No help site update needed. The resizable RHP is gated behind the new |
|
Deploy Blocker #105269 was identified to be related to this PR. |
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.5.24-8 🚀
Bundle Size Analysis (Sentry): |
Explanation of Change
Behind the
resizableRHPbeta, users can drag the single RHP's left edge on wide web layouts to resize it (380px to the wide RHP width minus 40px). Mid-drag the width is written to a scoped--rhp-widthCSS variable, so nothing re-renders. On release it's saved to Onyx (singleRHPWidth). The drag lifecycle and size math are now shared with resizable table columns.Fixed Issues
$ #103561
PROPOSAL:
Tests
resizableRHPbeta. On a wide web window, go to Account > Profile and open Timezone in the RHP.col-resizeand a green line shows just outside the card's left border.resizableRHPbeta enabled, open an expense report in the RHP (a wide or super-wide RHP).resizableTableColumnsbeta and open a table with resizable columns (for example, Workspace > Members).Offline tests
resizableRHPbeta enabled, open a single RHP and drag its left edge to a new width.QA Steps
Same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, I verified the components usingAvatarare working as expected)npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari