feat: PushRowWithModal component#51173
Conversation
|
@hungvu193 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] |
|
Is there any way to test it? |
|
Also can you please merge main? We recently merged a PR to update node version which might lead to reassure tests failing |
It's not used anywhere yet. Next issue that I'm planning to work on will be using it.
Done |
…h-row-with-modal
Yes please, it can be simple as much as possible. |
|
@hungvu193 I've added it to the first screen of the frame of the flow I've previously added. Do you want me to add videos for all platforms as well? |
|
Yes please 🙇. TIA |
|
Updated the description with videos and short QA steps |
Reviewer Checklist
Screenshots/VideosAndroid: Native// running issue Android: mWeb ChromemAndroid.moviOS: Native// running issue iOS: mWeb SafariScreen.Recording.2024-10-22.at.15.33.44.movMacOS: Chrome / SafariChrome.movMacOS: DesktopDesktop.mov |
|
@madmax330 looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
|
✋ 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 staging by https://github.com/madmax330 in version: 9.0.53-0 🚀
|
|
🚀 Deployed to staging by https://github.com/madmax330 in version: 9.0.53-0 🚀
|
|
@hungvu193 @madmax330 We Is there any snippet to be run? Bug6643733_1729716879087.bandicam_2024-10-23_23-47-34-363.mp4 |
|
It's development only so I'm not sure if QA team can verify it |
|
Issue was failed because of this issue #51385 |
|
It's development only, so I don't think this issue causes #51385 |
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 9.0.53-1 🚀
|
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 9.0.53-1 🚀
|
|
|
||
| return ( | ||
| <Modal | ||
| onClose={onClose} |
There was a problem hiding this comment.
Coming from #55073: After closing the modal, we should clear the input search to ensure the current search value is reset.
| isVisible={isVisible} | ||
| type={CONST.MODAL.MODAL_TYPE.RIGHT_DOCKED} | ||
| onModalHide={onClose} | ||
| shouldUseCustomBackdrop |
There was a problem hiding this comment.
Browser navigation back should be allowed for PushRowModal which is missed here and that caused the issue #67355
Details
Added a new component that is uses PushRowModal and MenuWithItemDescription that accepts list of options to display. It will be used to display various lists from Corpay, States, Provinces, European countries etc.
No test steps as it's not used anywhere yet.
Fixed Issues
$ #50895
PROPOSAL:
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.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
pushrow-android-native.mov
Android: mWeb Chrome
pushrow-android-chrome.mov
iOS: Native
pushrow-ios-native.mov
iOS: mWeb Safari
pushrow-ios-safari.mov
MacOS: Chrome / Safari
pushrow-web.mov
MacOS: Desktop
pushrow-desktop.mov