You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[WAITING ON SOBIT - CHECKLIST] [$250] Selected row in onboarding modal should not get :hover style #44055
changed the title [-]Onboarding modal uses incorrect row hover style when hovering over the options[/-][+][$250] Onboarding modal uses incorrect row hover style when hovering over the options[/+]on Jun 27, 2024
changed the title [-][HOLD for payment 2024-08-02] [$250] Selected row in onboarding modal should not get :hover style[/-][+][WAITING ON SOBIT - CHECKLIST] [$250] Selected row in onboarding modal should not get :hover style[/+]on Aug 3, 2024
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:
[@sobitneupane] The PR that introduced the bug has been identified. Link to the PR:
[@sobitneupane] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
[@sobitneupane] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
I don't think any new update is required.
[@sobitneupane] Determine if we should create a regression test for this bug.
Yes.
[@sobitneupane] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
Activity
melvin-bot commentedon Jun 20, 2024
Triggered auto assignment to @mallenexpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.truph01 commentedon Jun 20, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
App/src/components/MenuItem.tsx
Line 517 in 937c418
What changes do you think we should make in order to solve the problem?
App/src/components/MenuItem.tsx
Line 517 in 937c418
which used to fix issue.
to:
App/src/components/ReportActionItem/MoneyRequestView.tsx
Line 467 in 937c418
MenuItemWithTopDescription. Or we just need to update:App/src/components/MenuItemWithTopDescription.tsx
Line 9 in 937c418
to:
App/src/pages/OnboardingPurpose/BaseOnboardingPurpose.tsx
Lines 99 to 100 in 29e4c54
to:
to fix our main issue.
What alternative solutions did you explore? (Optional)
App/src/components/MenuItem.tsx
Line 517 in 937c418
to:
then add:
to:
App/src/pages/OnboardingPurpose/BaseOnboardingPurpose.tsx
Line 91 in 29e4c54
neonbhai commentedon Jun 20, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Onboarding modal uses incorrect row hover style when hovering over the options
What is the root cause of that problem?
There are two problems:
The hoverStyle is being passed incorrectly here
The MenuItem styles here applied in the wrong order.
Current order applies hover style after the active button style giving us this behavior:
Video (hover applied after active style)
Screen.Recording.2024-06-20.at.12.14.03.PM.mp4
Additionally:
This order effectively prevents us from seeing the pressed style for
menuItemas defined here:App/src/styles/utils/index.ts
Lines 1320 to 1321 in 7561439
Which gives us this tactile feedback when pressing:
Video
Screen.Recording.2024-06-20.at.12.17.43.PM.mov
What changes do you think we should make in order to solve the problem?
change this line to:
Move this style:
App/src/components/MenuItem.tsx
Line 513 in 7561439
after this line:
App/src/components/MenuItem.tsx
Line 515 in 7561439
Alternatively
If we don't want feedback on active press we can add a check for
!isMenuItemheretruph01 commentedon Jun 20, 2024
Updated proposal
melvin-bot commentedon Jun 25, 2024
@shawnborton, @mallenexpensify Eep! 4 days overdue now. Issues have feelings too...
shawnborton commentedon Jun 25, 2024
@mallenexpensify can you please review this when you get a moment? Thanks!
[-]Onboarding modal uses incorrect row hover style when hovering over the options[/-][+][$250] Onboarding modal uses incorrect row hover style when hovering over the options[/+]melvin-bot commentedon Jun 27, 2024
Job added to Upwork: https://www.upwork.com/jobs/~01ffaa9b43dacb7a8a
64 remaining items
mallenexpensify commentedon Aug 1, 2024
@jliexpensify I'm off til Monday afternoon, can you help with payment here? Thx
jliexpensify commentedon Aug 1, 2024
Payment Summary
Waiting on checklist
jliexpensify commentedon Aug 3, 2024
Paid and job closed. @sobitneupane bump for checklist!
[-][HOLD for payment 2024-08-02] [$250] Selected row in onboarding modal should not get :hover style[/-][+][WAITING ON SOBIT - CHECKLIST] [$250] Selected row in onboarding modal should not get :hover style[/+]sobitneupane commentedon Aug 5, 2024
#43987
https://github.com/Expensify/App/pull/43987/files#r1703875086
I don't think any new update is required.
Yes.
#44055 (comment)
sobitneupane commentedon Aug 5, 2024
Regression Test Proposal
Do we agree 👍 or 👎
melvin-bot commentedon Aug 5, 2024
@shawnborton, @mallenexpensify, @sobitneupane, @jliexpensify, @marcaaron, @truph01 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
marcaaron commentedon Aug 6, 2024
LGTM @sobitneupane
mallenexpensify commentedon Aug 7, 2024
Test Case GH, thanks @sobitneupane
https://github.com/Expensify/Expensify/issues/418347
garrettmknight commentedon Sep 2, 2024
$250 approved for @sobitneupane based on this summary.