-
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 2023-11-27] [$500] Chat - Keyboard is displayed on header menu screen after sending a file larger than 24 MB #31426
Comments
Triggered auto assignment to @MitchExpensify ( |
Job added to Upwork: https://www.upwork.com/jobs/~014dbc5e01561f3f10 |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ntdiary ( |
Not repro in prod RPReplay_Final1700113029.MP4 |
I'm available to raise a PR immediately if assigned ProposalPlease re-state the problem that we are trying to solve in this issue.The keyboard is displayed on the screen. What is the root cause of that problem?In here, we'll trigger What changes do you think we should make in order to solve the problem?Make sure the popover menu is currently visible first before calling
What alternative solutions did you explore? (Optional)This will make the behavior when closing the attachment error modal to be the same as on prod. If instead we want to open the keyboard after closing the attachment error modal, we need to trigger |
@dukenv0307 this is marked as deploy blocker. What is offending PR? |
@situchan, I have less bandwidth, it would be better if you can take over now. :) |
@ntdiary sure thanks |
Hmm, #30864 was deployed to production yesterday so should be repro on production as well. |
Just giving an alternative. ProposalPlease re-state the problem that we are trying to solve in this issue.A keyboard is shown when pressing the chat header after sending a large file (> 24 MB) What is the root cause of that problem?This is a recent regression from #30864. From the linked PR, it looks like the PR is deployed to production already, but then the bot add a new comment that the PR is deployed to staging again. Could the "deployed to prod" is a false alarm? In AttachmentPickerWithMenuItems, we call App/src/pages/home/report/ReportActionCompose/AttachmentPickerWithMenuItems.js Lines 195 to 201 in 1ddd581
What it does is hide the popover menu and call App/src/pages/home/report/ReportActionCompose/ReportActionCompose.js Lines 198 to 204 in 1ddd581
App/src/pages/home/report/ReportActionCompose/ReportActionCompose.js Lines 275 to 283 in 1ddd581
However, What changes do you think we should make in order to solve the problem?Fixing one of them is enough but I think we should fix both. I think it's fine to call const onPopoverMenuClose = useCallback(() => {
setMenuVisibility(false);
- onMenuClosed();
}, [onMenuClosed, setMenuVisibility]);
<Modal
onModalHide={onMenuClosed} The reason I like this solution is that we avoid calling For the 2nd issue, we should reset App/src/components/AttachmentModal.js Lines 504 to 512 in a615c41
App/src/pages/home/report/ReportActionCompose/ReportActionCompose.js Lines 247 to 251 in a615c41
|
We can confirm if it's false alarm by reverting that PR locally and test. |
Yep, you can try removing this code (which is introduced from that PR) and the issue will go away App/src/pages/home/report/ReportActionCompose/AttachmentPickerWithMenuItems.js Lines 195 to 201 in 1ddd581
|
As the original issue is edge case and not that critical, I suggest to revert to unblock deploy. |
Don't mind me, just going to remove and re-add the deploy blocker label to test something Update for the curious: it worked ... PR / workflow run |
Triggered auto assignment to @tylerkaraszewski ( |
lol I already reviewed the PR, so I am going to reassign |
Please assign me as well based on #31426 (comment) |
📣 @situchan 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
The fix for this has been verified on staging |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.0-3 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-27. 🎊 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:
|
Reminder set to pay, please take a look at the BZ steps when you have a chance @situchan 🙇 |
@dukenv0307 Nothing left here. |
Payment summary: $500 - @situchan C+ |
Paid, contract ended, do we need BZ steps here @situchan ? |
The offending PR author/reviewer are already aware of this regression. |
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.0-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:
Pre-requisite: user must be logged in.
Expected Result:
The header menu screen should be completely displayed without any issues.
Actual Result:
The keyboard is displayed on the screen.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6278652_1700113961015.Lsna2309_1_.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: