-
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 2023-11-06][$500] Web - Split bill - Enter key in Edit amount page directly creates split bill #29051
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01f4cfb0b4e5279620 |
Triggered auto assignment to @mallenexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak ( |
I'm trying to reproduce the issue but I can't, it seems like when I get to the split bill action we have an exception in where we try to parse the participant login but is undefined split_bill.movI believe we need to first fix this issue? |
ProposalPlease re-state the problem that we are trying to solve in this issue.When editing the amount on the request confirmation page, hitting What is the root cause of that problem?The reason for this is that when we are editing the amount, we have 2 buttons with App/src/pages/iou/steps/MoneyRequestAmountForm.js Lines 284 to 292 in e448a7e
App/src/components/MoneyRequestConfirmationList.js Lines 436 to 443 in dd46584
Since we explicitly allow bubbling on the button in What changes do you think we should make in order to solve the problem?We need to make the <Button
success
- allowBubble
+ allowBubble={!isEditing}
pressOnEnter
medium={isExtraSmallScreenHeight}
style={[styles.w100, canUseTouchScreen ? styles.mt5 : styles.mt2]}
onPress={submitAndNavigateToNextPage}
text={buttonText}
/> Result:split-editing-web.movWhat alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Pressing enter on the edit amount view when focused on the amount text field creates the split bills instead of going back to the confirmation page What is the root cause of that problem?The footer button on App/src/pages/iou/steps/MoneyRequestAmountForm.js Lines 284 to 292 in e448a7e
What changes do you think we should make in order to solve the problem?We need to remove the allowBubble from the button.
What alternative solutions did you explore? (Optional)NA |
@eVoloshchak can you please review the proposals above? |
I think this is regression from #28022 and PR author/reviewer should handle this as it's within regression period. |
Thanks @mkhutornyi , put on hold. |
This was supposed to work based on what we implemented in the bubbling for Main Button. Looks like when the event bubbles, the page behind the screen gets focused just in time thus it ends up firing the event. I was expecting that |
Unfortunately, none of the proposals above make a best solution. |
@parasharrajat do you agree that this is a regression from #28022 that you worked on? Trying to figure out what the next step is here |
Because it is a regression from my PR, I have created a PR to fix this. There shouldn't be any need to make this change based on |
Triggered auto assignment to @tylerkaraszewski, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Fix is merged. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.92-4 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-11-06. 🎊 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.
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:
|
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:
Regression Test StepsWeb | Desktop
Do you agree 👍 or 👎 ? |
@mallenexpensify Please remove [HOLD Possible regression https://github.com//issues/28022] from the title. |
Is compensation due here? Wasn't sure because it looks like this was related to a regression. |
Yeah, No compensation on this. |
And... lastly(?) @eVoloshchak, are you owed any compensation? |
No compensation for me either, this issue is just a regression from another PR |
K, thanks! Closing (since I'm assuming, since this is a regression, any regression tests would be created as part of the original issue, comment if ya disagree). |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Note that the new amount is not saved and the split bill with the old amount is created instantly.
Expected Result:
The new amount is saved and user lands in confirmation page.
Actual Result:
The new amount is not saved and Enter key triggers the creation of split bill with the previous amount.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: v1.3.79-3
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
Bug6228586_1696671157367.bandicam_2023-10-07_13-42-13-411.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause-Internal Team
Slack conversation: @
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: