-
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 action button width, disable sorting by Taxes #43140
Conversation
@shawnborton @dannymcclain here's the PR to fix the action button width |
From your video the action column/buttons are looking good! Random question: at the end of your video, what's going on with the hover state of that report/group of expenses? It seems to flash wildly as you're moving your cursor around? |
I think it's because the cursor is moving from focusing the row item to the action button, which applies the hover style to each respective element, i.e. when the cursor is on the row item, the row is highlighted vs when it's on the action button, just the action button is highlighted. |
Ah gotcha yeah that makes sense. @shawnborton @dubielzyk-expensify do you feel like we should try to make it where if you're hovering over the action button for a row, the row maintains its hover style? Or is that confusing because clicking on the row does something and clicking on the button does something different? Curious for your thoughts! |
I think it feels more confusing to remove the hover style when you hover over the button, so I would opt to just keep the hover effect on that entire report card while your mouse is over any part of it. Alternatively, we could style this so that each row in the card gets some kind of hover style, though that seems a bit more complex to build (but TOTALLY possible if we wanted to) |
Hmm. Yeah I think it's quite weird that there's two individual hover styles for button vs the row itself. If they both go to the same place I feel like if you hover over the button, it should also trigger the hover style for the row. Cause currently it seems like the UI is telling me that there's two separate actions on the rows. |
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 👍
Well I think this is true. If you click on the row, you open the item in the RHP. If you click on the button, you perform that action on the item. right? But I still think that if your cursor is anywhere inside the row, we should keep the row hover active. |
Cool, we can address the hover styles in a follow up. Trying to get these critical issues in by EOD to get more testing done before we release the feature |
Reviewer Checklist
Screenshots/VideosAndroid: mWeb ChromeMacOS: DesktopScreen.Recording.2024-06-06.at.21.34.18.mov |
Bug: after sorting by any column, the Screen.Recording.2024-06-06.at.20.59.58.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
@youssef-lr 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] |
We're solving that here |
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.
videos look good
✋ 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 production by https://github.com/luacmartins in version: 1.4.81-11 🚀
|
…ns-fixButtonWidthDisableTaxSorting
…ns-fixButtonWidthDisableTaxSorting
…ns-fixButtonWidthDisableTaxSorting
…ns-fixButtonWidthDisableTaxSorting
🚀 Deployed to staging by https://github.com/srikarparsi in version: 9.0.5-0 🚀
|
🚀 Deployed to staging by https://github.com/srikarparsi in version: 9.0.5-2 🚀
|
Details
Adds an 80px fixed width to the action button on the search page and disables sorting by tax since that's not implemented in the backend yet.
Fixed Issues
$ #42856
Coming from this comment
Tests
Profile > Troubleshoot > New Search page
Tax
columnOffline tests
N/A
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
Screen.Recording.2024-06-05.at.1.11.14.PM.mov
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop