-
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
[HOLD for payment 2023-05-16] [$1000] No hover effect on Amount and Description fields on new send money page #17635
Comments
Triggered auto assignment to @michaelhaxhiu ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
<MenuItemWithTopDescription
shouldShowRightIcon
title={formattedAmount}
description={this.props.translate('iou.amount')}
- interactive={false} // This is so the menu item's background doesn't change color on hover
onPress={() => this.props.navigateToStep(0)}
style={styles.moneyRequestMenuItem}
titleStyle={styles.moneyRequestConfirmationAmount}
/>
<MenuItemWithTopDescription
shouldShowRightIcon
title={this.props.iou.comment}
description={this.props.translate('common.description')}
- interactive={false} // This is so the menu item's background doesn't change color on hover
onPress={() => Navigation.navigate(ROUTES.MONEY_REQUEST_DESCRIPTION)}
style={styles.moneyRequestMenuItem}
/>
Adding proposal before help label as per new guid line |
Looks like something related to As a reminder, please make sure that all proposals are not workarounds and that any and all attempt to fix the issue holistically have been made before proceeding with a solution. Proposals to change our Feel free to drop a note in #expensify-open-source with any questions. |
Looks intentional, #16919 (comment). @shawnborton what are your thoughts on this? |
Interesting, I guess we should keep them consistent so I would say we should add the hover effect. |
@shawnborton I wonder why this was originally implemented to remove the hover effect. Are the future design looking for removing the hover effect on Menu Items? |
I think we should add hover effect since we are using same MenuItem components as used other which has hover effect |
Hmm yeah, @yuwenmemon is there more context as for why we removed the hover effect from those rows? cc @cristipaval who's worked on these push rows in other contexts too. I think my vote would be to treat them consistently everywhere. I am fine with the background color changing, or we could do something more subtle and only change the hover color of the right arrow? |
@michaelhaxhiu Eep! 4 days overdue now. Issues have feelings too... |
Same, consistency is the goal. If there wasn't a (very) good reason to have this behave inconsistently, we should fix it now and keep it that way going forward. |
Pinging slack thread to make sure Yuwen gets an eye on this... I want to label I'm just trying to make sure I'm not missing sight of something key here cc @yuwenmemon |
@shawnborton never even thought about hovering there. Let's add it in! |
ProposalPlease re-state the problem that we are trying to solve in this issue.In this issue, we can notice that the menu items "Amount" and "Description" on the Money Request/Send/Split flows do not have a hover effect. What is the root cause of that problem?The root cause behind this issue is because of two factors. Weird hover effect if enabled App/src/components/OptionsSelector/BaseOptionsSelector.js Lines 326 to 336 in f3fae40
What changes do you think we should make in order to solve the problem?In order to fix this and add the hover effect in a consistent manner to other menu items, we will have to make the following changes:
Additionally, we need to modify the padding and margin according to the needs but that can be tackled in the PR review. What alternative solutions did you explore? (Optional)None Results2023-04-26.12-00-38.mp4 |
That looks good to me @Prince-Mendiratta |
Job added to Upwork: https://www.upwork.com/jobs/~012282950dc9ac5e8a |
Current assignee @michaelhaxhiu is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif ( |
📣 @Prince-Mendiratta You have been assigned to this job by @marcochavezf! |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.12-0 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-05-16. 🎊 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:
|
Sharing the timeline of this issue to help with the eventual analysis, calculated with this tool. 🐛 Issue created at: Tue, 18 Apr 2023 21:10:01 GMT |
https://www.upwork.com/jobs/~012282950dc9ac5e8a Invited the C, C+, and Bug reporter to the Upwork job. |
Payouts will be 50% increased based on turnaround time. I added those amounts to the checklist here #17635 (comment) |
@aimane-chnaif can you fill out the checklist posted last week so that we ensure this can be paid / closed? |
@michaelhaxhiu do you think it's worth to add something like below to checklist? If not, no regression test step needed.
|
@isagoico do you think this QA test is worthwhile? |
@michaelhaxhiu I don't think this is a big feature that should be tested on every regression run. Looks like a good candidate for Edge case testing. Will add it to our edge case list and will be tested on a monthly basis. |
Sweet - do I need to make a GH for that @isagoico ? |
spoke via DM and nope, Isa has got it! |
All paid. Closing. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
On hover on Amount and Description fields, app should change background color to rgb(26,61,50) and arrow color should change to rgb(231,236,233) as it does on all the similar fields throughout the app
Actual Result:
App has no hover effect on hover on Amount and Description fields
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.1
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
no.hover.effect.on.new.fields.mp4
Recording.276.mp4
Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1681810766206009
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: