-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Fix hover issue with ButtonWithDropdownMenu #39054
Fix hover issue with ButtonWithDropdownMenu #39054
Conversation
@shawnborton pushed a fix |
Just to clarify, I think it is possible to have a split button that is in size large. Can you confirm that both medium (regular) and large sizes work well for this button type? cc @Expensify/design for extra eyes too. |
But regarding this specific PR, the split button on a report preview (which I believe is medium) and in the send money confirmation (large) are both looking good. 👍 |
@shawnborton and @dannymcclain - based on all info above - what should we do? Just leave as we have now - for split button right side will be medium and it's looks good. |
I think ideally we implement the correct split button styling across small, medium, and large. @narefyev91 can you take a look at the split buttons here and see if that is enough guidance? |
Though I guess if small doesn't exist anywhere yet, maybe no need to build it now. |
Sure thing - will re-visit medium and large and build them based on figma |
@shawnborton @dannymcclain - updated based on the design. Also fixed icon size - which was not reflecting based on large/medium sizes |
Looks pretty good to me - mind showing a quick video of the hover styles too for posterity? Thanks! |
Sure! Screen.Recording.2024-03-28.at.18.32.38.mov |
Sorry, but can you also show the medium hover styles? I think that button can be found when going to pay for a request. Also, you can probably just show examples right from Storybook, right? |
Screen.Recording.2024-03-28.at.21.11.18.mov |
@shawnborton are we good to go here? |
Nice, that looks good to me, let's get this merged. |
@akinwale can you please review this one |
I'll review today. |
@narefyev91 Please add a verify step to the test steps. In this case, it would be to verify that the hover effect displays correctly when the user hovers the button. |
updated |
Reviewer Checklist
Screenshots/VideosAndroid: Native39054-android-native.mp4Android: mWeb Chrome39054-android-chrome.mp4iOS: Native39054-ios-native.mp4iOS: mWeb Safari39054-ios-safari.mp4MacOS: Chrome / Safari39054-web-hover.mp439054-web-click.mp4MacOS: Desktop39054-desktop-hover.mp439054-desktop-click.mp4 |
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.
We did not find an internal engineer to review this PR, trying to assign a random engineer to #39020 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
@francoisl 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. |
Tests were passing, not an emergency. |
🚀 Deployed to staging by https://github.com/francoisl in version: 1.4.59-0 🚀
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.4.60-13 🚀
|
Details
The split button should have hover zones that line up with the two button areas that are split by a border
Fixed Issues
$ #39020
PROPOSAL:
Tests
Pre-condition - user has add card to be able to pay with it
Offline tests
Pre-condition - user has add card to be able to pay with it
QA Steps
Pre-condition - user has add card to be able to pay with it
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
android.mov
Android: mWeb Chrome
android-web.mov
iOS: Native
ios.mov
iOS: mWeb Safari
ios-web.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov