-
Notifications
You must be signed in to change notification settings - Fork 3k
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
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 |
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 |
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.
LGTM
@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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coming from #55073: After closing the modal, we should clear the input search to ensure the current search value is reset.
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 Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.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
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