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:
Manualrequest.Case2:
Distancerequest.Case3:
enter the passwordCase4:
Avatarand then upload a photo.Edit photopage has a different background color when hovering.Case5:
Cancelbutton on the Confirm modal has a different background color when hovering.Offline tests
QA Steps
The same with Tests step
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)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
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