-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[HOLD for payment 2023-08-03] Web - 'Edit' Button in Paypal account name is not highlighted when the cursor comes near to it #23196
Comments
ProposalPlease re-state the problem that we are trying to solve in this issue.'Edit' Button in Paypal accoun name is not highlighted when the cursor comes near to it What is the root cause of that problem?The edit button doesn't have success or danger prop App/src/pages/settings/Payments/PaymentsPage/BasePaymentsPage.js Lines 476 to 480 in be2c81f
That makes it doesn't have App/src/components/Button/index.js Lines 297 to 299 in 38890e2
What changes do you think we should make in order to solve the problem?We should define a hover for normal button that doesn't success or danger button
App/src/components/Button/index.js Lines 297 to 299 in 38890e2
What alternative solutions did you explore? (Optional)If we only want to add hover style for some buttons, we can add an extra prop in And add a condition here to control hover style with this prop
App/src/components/Button/index.js Lines 297 to 299 in 38890e2
And then with each button that we want to add hover style, we can pass |
Triggered auto assignment to @zanyrenney ( |
Bug0 Triage Checklist (Main S/O)
|
Incase this is considered as a bug, please let me know I'll create a PR to fix it since it's regression from my previous PR: |
We have another issue about hover style of normal button #22658 |
Seems it's dupe of #22658 |
@duken0307 @hungvu193 The issue #22658 is only about cancel button for Bank account modal, and for Delete workspace and Remove members. This issue is about the 'Edit' Button. You can see the discussion for better clarification. |
The root cause is the same and we can fix it easy in a single PR. |
This Proposal comes from my alternative solution on July 11 on another issue. ProposalPlease re-state the problem that we are trying to solve in this issue.Web - 'Edit' Button in Paypal account name is not highlighted when the cursor comes near to it What is the root cause of that problem?The 'Edit' button does not use the default hovered style, and is neither success nor danger(which would set their own hovered styles), so it gets no hovered style applied. What changes do you think we should make in order to solve the problem?App/src/pages/settings/Payments/PaymentsPage/BasePaymentsPage.js Lines 453 to 469 in 82669ae
We should update the first button to: <Button
onPress={this.navigateToAddPaypalRoute}
style={[styles.mb4]}
text={this.props.translate('common.edit')}
shouldUseDefaultHover
/> This will work after this PR gets merged, or I could handle this issue as part of that PR too (@Yokabdk). |
Very similar issue - #22658 (comment) i suspect that issue might fix this one, asked @conorpendergrast for his thoughts as the BZ assignee. |
CLosing this in favour of that earlier issue where this can be tackled - as said above, it can be included in that PR seeing as it is just one line of code. |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.46-2 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2023-08-03. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
@zanyrenney is this issue has still payment for contributing? I got confused because of melvin-bot's awaiting payment reminder. |
@Yokabdk For context: this issue was found while fixing #22658, and we have fixed it in the same PR #23464. The payment for the other issue was made. I don't know if the guides would imply any payment for reporting/fixing this one, thinking @zanyrenney knows better! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
The 'Edit' button should be highlighted when the cursor comes near to it
Actual Result:
The 'Edit' button is not highlighted when the cursor comes near to it
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.42-21
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
new.BR.41.mp4
Recording.3766.mp4
Expensify/Expensify Issue URL:
Issue reported by: @Yokabdk
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1689713081865409
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: