-
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
[HOLD for Payment 2024-09-24] [$125] The pressed state of option rows/menu items uses a very dark BG color #46928
Comments
Triggered auto assignment to @twisterdotcom ( |
ProposalPlease re-state the problem that we are trying to solve in this issueThe state of our menu item became so dark when it's pressed. We need to just reduce its opacity to 80% when pressed, and use a lighter background color compared to the currently used one. What is the root cause of that problem?in App/src/components/MenuItem.tsx Lines 545 to 546 in 1147c3b
and Line 1293 in 1147c3b
What changes do you think we should make in order to solve the problem?we should use App/src/components/MenuItem.tsx Lines 533 to 559 in 1147c3b
and Line 1293 in 1147c3b
To make the menu item background color We can ajust the color or define meaningful names as necessary. Result: Screen.Recording.2024-08-06.at.10.32.08.PM.movWhat alternative solutions did you explore? (Optional)Use the same |
Job added to Upwork: https://www.upwork.com/jobs/~016a8138980835380a |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eh2077 ( |
Upwork job price has been updated to $125 |
@rayane-djouah 's proposal looks good to me. We should ensure both light and dark modes working as expected - we can check this in PR 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @arosiclair, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Heads up @eh2077 I think both parts of the solutions of the selected proposal are not correct, in the result video you can also see that the hover color of the menu item is wrong, it's lighter, while when pressing it's darker than when hovering. Screen.Recording.2024-08-07.at.11.51.07.AM.movThe correct hover and press behavior (that all other buttons are following) is, the hover color will be ProposalPlease re-state the problem that we are trying to solve in this issue.Very dark BG color in menu items around the app. What is the root cause of that problem?When the menu item is pressed, it will have this style Line 1293 in de89479
And the What changes do you think we should make in order to solve the problem?
So
(or just use
What alternative solutions did you explore? (Optional)For 1st part, we can check other usage of For 2nd part, if we want the hover style of |
The resulting video in my proposal demonstrates the use of
In my proposal, I mentioned:
Because: Initially, I thought to use the same Later, I realized that the OP suggests the same behavior for the "invalidate" button, and it states:
The "invalidate" button uses In the light theme, for example, the colors are: buttonHoveredBG: colors.productLight500
buttonPressedBG: colors.productLight600
border: colors.productLight400 Because However, we should get confirmation from the design team on which color to choose. Additionally, I don't think changing the default value of |
Contributor details ProposalPlease re-state the problem we are trying to solve in this issue.In workspace settings > Toggle workflows, when a user presses in and does not press out on any option row, it uses a very dark background color (productLight600: '#C7BFB3'). What is the root cause of that problem?The Section list in WorkspaceWorkflowsPage uses ToggleSettingOptionRow. Each ToggleSettingOptionRow has submenu items as MenuItem. The MenuItem feature sets the background color {backgroundColor: theme.buttonPressedBG} when the MenuItem state is pressed. This is the productLight600 color of lightTheme. What changes do you think we should make to solve the problem?Modify the getButtonBackgroundColorStyle function to check if the The code changes as follows.
Video illustration after the change expensify-app-46928-demo.movWhat alternative solutions did you explore? (Optional)Another approach is to change the MenuItem behavior to use a lighter color in the pressed state. This will affect all screens using MenuItem. |
📣 @zinzaducnm! 📣
|
📣 @eh2077 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @rayane-djouah 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
|
Contributor details |
|
Hi @arosiclair I have concerns above that the selected proposal does not work and will cause inconsistencies. Could we please hold assignment for a bit so @eh2077 can re-review the proposals so we know which one is best to move forward with? Thanks 👍 |
This issue has not been updated in over 15 days. @arosiclair, @twisterdotcom, @rayane-djouah, @eh2077 eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
I'm still working on addressing PR review comments. |
PR on staging |
Note The production deploy automation failed: This should be on [HOLD for Payment 2024-09-24] according to #49287 production deploy checklist, confirmed in #47036 (comment) |
@arosiclair, @twisterdotcom, @rayane-djouah, @eh2077 Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Damn, I'm missing these - how are these passing me by. Will try to do better. Payment Summary: @rayane-djouah paid $125 via Upwork here (Contributor) |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.0.17-0
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
Expensify/Expensify Issue URL:
Issue reported by: @shawnborton
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1722977671278059
Action Performed:
Expected Result:
Should be simple opacity reduction, custom BG color
Actual Result:
notice that it uses a very dark BG color.
Workaround:
visual
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @eh2077The text was updated successfully, but these errors were encountered: