-
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 2024-06-11] [LOW] [Splits] [$500] IOU - App returns to participant selection page when hitting Save with Tab on Description page #37464
Comments
Triggered auto assignment to @MitchExpensify ( |
👋 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:
|
Triggered auto assignment to @techievivek ( |
@techievivek 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. |
This has the same root cause as #33502 (comment) |
Not a blocker for sure. Also, not sure if we really want to fix this. Or as per this comment #33502 (comment) we can solve all this together. |
@MitchExpensify Do you have any thoughts about above ^? |
ProposalPlease re-state the problem that we are trying to solve in this issue.Save button clicked by keyboard go back twice What is the root cause of that problem?When I tested, I found that there's no issue with react navigation or react native web. The issue is within our button component. A simple check anyone can do, replace the button with the one from react-native, no issue :) The issue is whith all the button components on the app. Every action via keyboard enter key will trigger double the action. App/src/components/Button/index.tsx Lines 281 to 284 in 0cc5817
The condition above doesn't check if there's a keyboard enter key event. What changes do you think we should make in order to solve the problem?The best way to handle here: onPress={(event) => {
if (event?.type === 'click') {
const currentTarget = event?.currentTarget as HTMLElement;
currentTarget?.blur();
}
+ if (event?.type === 'keyup') {
+ return;
+ }
if (shouldEnableHapticFeedback) {
HapticFeedback.press();
}
return onPress(event);
}} This will prevent the double actions on the Button component and will solve the related bugs. What alternative solutions did you explore? (Optional) |
Not worth fixing at this time |
@MitchExpensify the issue is within all buttons on the app and there's an easy fix here |
If there is a general solution its worth considering reopening, @techievivek does the solution linked above look like it will fix all cases of this? |
@techievivek can you please check my proposal? Thank you |
Adding a C+ so they can help review the proposal. |
📣 @akinwale 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @dragnoir You have been assigned to this job! |
What's our ETA on the PR @dragnoir ? |
PR ready #39924 |
Hmm, not sure why automation didn't work here. @MitchExpensify Can we look into the payments here? Thanks. |
Still hasn't hit production, so payment isn't due for at least a week. |
Still holding on PR to hit production to start the 7 day countdown to payment |
Since we are not fixing this globally, can I request to reopen #33502, please? I already have an accepted proposal there but gets closed. The upstream PR is already merged, so the plan is to:
The fix will fix this GH, #40602, #33502, and other unrecorded keyboard enter issues. cc: @roryabraham as the assigned engineer for the tab accessibility issue |
@bernhardoj why don't you post your proposal on #40602 ? |
@roryabraham I'm hoping to get the bounty from that issue 😄. I really don't like how it's handled in that issue. The first discussion decided to fix the issue, I got assigned, then the 2nd discussion decided to close the issue 😞. |
@bernhardoj I reopened #33502 - let's proceed with the RNW upgrade |
@MitchExpensify can you pls check payment here? |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.78-5 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-06-11. 🎊 For reference, here are some details about the assignees on 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:
|
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: 1.4.45-0
Reproducible in staging?: y
Reproducible in production?: n
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: Applause internal team
Slack conversation:
Action Performed:
Expected Result:
The description will be saved and app will land on confirmation page.
Actual Result:
The description is saved and app returns to participant selection page.
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6396444_1709169446044.bandicam_2024-02-29_08-22-30-102.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @MitchExpensifyThe text was updated successfully, but these errors were encountered: