-
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 Oct 4][$250] Attachment - Error not displayed when trying to upload corrupted pdf file to chat #48263
Comments
Triggered auto assignment to @srikarparsi ( |
👋 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:
|
Making this external to get some eyes |
Job added to Upwork: https://www.upwork.com/jobs/~01a722d0e57042bb6b |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia ( |
This PR is related to the attachment modal |
This seems to only be happening on iOS, tested mWeb chrome and safari and it's not reproducible |
Triggered auto assignment to @Christinadobrzyn ( |
@srikarparsi It worked correctly on iOS 17.4. Could you please specify the iOS version you encountered issues with? Screen.Recording.2024-08-29.at.23.43.38.mov |
📣 @muratti32! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
Edited by proposal-police: This proposal was edited at 2024-08-29 23:59:32 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Keyboard overlaps the attachment error pop-up and error pop-up is not visible What is the root cause of that problem?
hence its
hence the keyboard is displayed.
What changes do you think we should make in order to solve the problem?
Close attachment modal > Open error modal > Call onModalHide function currently, the order is: Close attachment modal > Call onModalHide function > Open error modal
App/src/components/AttachmentModal.tsx Line 495 in 6d70b10
should be: if (!isPDFLoadError.current) {
onModalHide();
} It will make sure if there is a pdf error, we don't call
onModalHide={() => {
if (isPDFLoadError.current) {
isPDFLoadError.current = false;
onModalHide?.();
}
}} It will call
What alternative solutions did you explore? (Optional) |
@dominictb's proposal looks good to me! There is only one issue that the keyboard appears on the screen for a brief moment just after the attachment modal closes. I think it will be hard to fix that (not sure). Screen.Recording.2024-09-13.at.12.45.52.AM.mov🎀 👀 🎀 C+ reviewed |
Current assignee @srikarparsi is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
@dominictb, could you look into it and share your thoughts? |
@thesahindia I cannot reproduce this behavior when applying my solution. However, will try to reproduce it and fix in PR phase. Screen.Recording.2024-09-13.at.16.02.39.mov |
Let's assign @dominictb. |
@srikarparsi, we need your review; thanks! |
Nudged @srikarparsi for a review when online! |
Sorry for the delay, assigning @dominictb |
📣 @dominictb 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
just a heads up that I'm going to be ooo until 9/30. I'm not going to assign a BZ teammate since we're working on the PR/discussing the issue. If you need someone before Monday please reach out in Slack for a volunteer |
@Christinadobrzyn PR on production 2 days ago. Should add [HOLD for payment Oct 4]. |
Payouts due:
Do we need a regression test? |
Yep! |
Here are the steps for the test case:-
|
Thanks @thesahindia - please submit a payment via NewDot. TY! |
I DMd @thesahindia reminding them to request payment. We'll keep it open for a bit longer to make sure @thesahindia sees it. |
Thanks for the reminder! I have added it to my list. Feel free to close it. |
$250 approved for @thesahindia |
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: 9.0.26-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
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause - Internal Team
Action Performed:
Precondition: user should be Signed In
Expected Result:
"Attachment error" pop-up should be displayed
Actual Result:
Keyboard overlaps the attachment error pop-up and error pop-up is not visible
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6586335_1724924980382.RPReplay_Final1724924944.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @ChristinadobrzynThe text was updated successfully, but these errors were encountered: