-
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
fix hightlight button when hovering #27627
fix hightlight button when hovering #27627
Conversation
Hi @ntdiary have you got any feedback for this PR? |
@suneox, yeah, it seems there are more things than expected, I'm still gathering the usage data for the |
Here is a pdf file has password I have tested (PW: 123456) |
The "Default" buttons above are what I've found so far, there's no need to rush to make changes, we can decide how to proceed after some discussion. : ) |
Should we apply the alternative solution set |
Hi @shawnborton, these are all the default buttons I could find, you can expand the Additionally, since the success and danger styles have higher priority, we don't need to worry about the default hover style overriding them. |
That sounds good to me, thanks for laying this out so clearly! |
@suneox, so let's first try changing the default value of |
Hi @ntdiary I have changed |
@suneox, let's clean them up. : ) |
@suneox, we need to merge |
@ntdiary I have cleanup redundant props and merged the main into the current branch, next time I'll be careful before pushing :) |
Reviewer Checklist
Screenshots/VideosWeb27627-web.mp4Mobile Web - Chrome27627-mobile-chrome.mp4Mobile Web - Safari27627-mobile-safari.mp4Desktop27627-desktop.mp4iOS27627-mobile-ios.mp4Android27627-mobile-android.mp4 |
This is a tiny UI PR that just enables the hover background-color for "Default" buttons, and it does not affect mobile platforms or any of the |
By the way, @suneox, I recommend you split the test steps into several cases: Note: The hover feature is only supported on web and desktop app.
case2:
case3:
case4:
case5:
|
@ntdiary thank you so much for detail feedback I'll update QA steps clearly and capture on other platforms today |
I have updated the details based on the feedback above |
✋ 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/joelbettner in version: 1.3.74-0 🚀
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 1.3.74-3 🚀
|
Details
Fixed Issues
$ #25687
PROPOSAL: #25687 (comment)
Tests
Note: The hover feature is only supported on web and desktop app.
Case1:
Manual
request.Case2:
Distance
request.Case3:
enter the password
Case4:
Avatar
and then upload a photo.Edit photo
page has a different background color when hovering.Case5:
Cancel
button on the Confirm modal has a different background color when hovering.Offline tests
QA Steps
The same with Tests step
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)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
Web
Case 1
show-more.mp4
Case 2
add-stop.mp4
Case 3
pdf.mp4
Case 4
rotate.mp4
Case 5
cancel.mp4
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android