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
[HOLD for payment 2024-08-09] [$250] Expensify Card - Hitting Enter on limit amount page does not proceed to the next page #45269
Version Number: 9.0.6-1 Reproducible in staging?: Y Reproducible in production?: N If this was caught during regression testing, add the test name, ID and link from TestRail: N/A Issue reported by: Applause - Internal Team
Action Performed:
Go to staging.new.expensify.com
Go to workspace settings > Expensify Card (enable in More features)
Click Issue new card
Proceed to Step 4 - Set a limit
Enter an amount, then hit Enter (keyboard)
Expected Result:
Hitting Enter on limit amount page will proceed to the next page
Actual Result:
Hitting Enter on limit amount page does not proceed to the next page
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
@srikarparsi FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors
changed the title [-][$250] Expensify Card - Hitting Enter on limit amount page does not proceed to the next page[/-][+][HOLD for payment 2024-08-09] [$250] Expensify Card - Hitting Enter on limit amount page does not proceed to the next page[/+]on Aug 2, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.15-9 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this 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:
[@rayane-djouah] The PR that introduced the bug has been identified. Link to the PR:
[@rayane-djouah] 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:
[@rayane-djouah] 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:
[@rayane-djouah] Determine if we should create a regression test for this bug.
[@rayane-djouah] 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.
[@adelekennedy] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
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: N/A
Determine if we should create a regression test for this bug. Yes
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.
Regression Test Proposal
General regression test steps for forms:
Open the app.
Navigate to any page that contains a form.
Focus on a non-multiline input field and enter text.
Press the Enter key on the keyboard.
Verify that pressing the enter key submits the form.
Regression test steps specific to this bug (The form on limit amount page):
Go to workspace settings > Expensify Card (enable in More features).
Click Issue new card.
Proceed to Step 4 - Set a limit.
Enter an amount, then press the Enter key on the keyboard.
Verify that hitting Enter on limit amount page will proceed to the next page.
Activity
melvin-bot commentedon Jul 11, 2024
Triggered auto assignment to @srikarparsi (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.github-actions commentedon Jul 11, 2024
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
lanitochka17 commentedon Jul 11, 2024
@srikarparsi FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors
lanitochka17 commentedon Jul 11, 2024
We think that this bug might be related to #wave-collect - Release 2
nyomanjyotisa commentedon Jul 11, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Hitting Enter on limit amount page does not proceed to the next page
What is the root cause of that problem?
Default
disablePressOnEnterhere is trueApp/src/components/Form/FormWrapper.tsx
Line 66 in 105dce5
We don't set
disablePressOnEnteronFormProviderhereApp/src/pages/workspace/card/issueNew/LimitStep.tsx
Lines 80 to 90 in 105dce5
What changes do you think we should make in order to solve the problem?
Add
disablePressOnEnter={false}on<FormProvider>hereWhat alternative solutions did you explore? (Optional)
nkdengineer commentedon Jul 11, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Hitting Enter on limit amount page does not proceed to the next page
What is the root cause of that problem?
We don't pass
disablePressOnEnter={false}intoFormProvideras in other pages likeRatePage,WorkspaceNewRoomPage, ...App/src/pages/workspace/card/issueNew/LimitStep.tsx
Line 80 in 105dce5
What changes do you think we should make in order to solve the problem?
Pass
disablePressOnEnter={false}intoFormProviderhereApp/src/pages/workspace/card/issueNew/LimitStep.tsx
Line 80 in 105dce5
What alternative solutions did you explore? (Optional)
nyomanjyotisa commentedon Jul 11, 2024
Proposal updated
43 remaining items
[-][$250] Expensify Card - Hitting Enter on limit amount page does not proceed to the next page[/-][+][HOLD for payment 2024-08-09] [$250] Expensify Card - Hitting Enter on limit amount page does not proceed to the next page[/+]melvin-bot commentedon Aug 2, 2024
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Aug 2, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.15-9 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 2024-08-09. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Aug 2, 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:
adelekennedy commentedon Aug 9, 2024
Payments made! @rayane-djouah just the checklist here!
rayane-d commentedon Aug 10, 2024
Regression Test Proposal
Do we agree 👍 or 👎
adelekennedy commentedon Aug 12, 2024
makes sense to me! @srikarparsi any additional thoughts on the steps above?
srikarparsi commentedon Aug 13, 2024
Nope, the steps look good to me as well!