-
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 2024-09-06] [$250] Android - Room - Anyone can find this room dialog box is shown briefly after tapping Yes
#47262
Comments
Triggered auto assignment to @garrettmknight ( |
We think that this bug might be related to #vip-vsb |
@garrettmknight 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 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Android - Room - Anyone can find this room dialog box is shown briefly after tapping Yes What is the root cause of that problem?After change visibility we are navigating back to details page here App/src/libs/actions/Report.ts Lines 1752 to 1753 in cc2efc6
But the navigation happens to soon before the modal is dismissed so the modal reappears after the navigation What changes do you think we should make in order to solve the problem?Just the same as we fixed similar bug here App/src/pages/ReportDetailsPage.tsx Lines 796 to 800 in cc2efc6
In visibility Page we will set a ref navigateToDetails to true after calling updateRoomVisibility then in onModalHide we will call the navigation (if the ref is true) ReportUtils.goBackToDetailsPage(report) we are now calling in updateRoomVisibility and if the ref is false we only call dismissModal
What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Anyone can find this room dialog box is shown briefly after tapping yes. What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
App/src/pages/settings/Report/VisibilityPage.tsx Lines 84 to 87 in 86da342
will be: onConfirm={() => {
hideModal();
changeVisibility(CONST.REPORT.VISIBILITY.PUBLIC);
}} |
Yes
Yes
Job added to Upwork: https://www.upwork.com/jobs/~01a6ad1425f84b08d6 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rayane-djouah ( |
Thank you for your proposals everyone @FitseTLT a @daledah I tested switching the order of |
@rayane-djouah Can you reproduce the bug in latest main? |
@rayane-djouah This PR is the correct one with exactly the same case as the current issue. In our case, we don't need the ref for saving the route we are navigating to but only to determine whether we need to App/src/pages/ReportDetailsPage.tsx Lines 796 to 800 in cc2efc6
|
Triggered auto assignment to @MariaHCD, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @rayane-djouah 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @FitseTLT 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Given the context above, this issue should be on [HOLD for Payment 2024-09-6] according to production deploy from Deploy Checklist: New Expensify 2024-08-28. |
Yes
Yes
Payment Summary:
|
@FitseTLT can you complete the checklist when you get a chance? |
Checklist
Regression Test Proposal
Do we agree 👍 or 👎 |
Done! |
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.19
Reproducible in staging?: Y
Reproducible in production?: Y
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
Anyone can find this room dialog box must not be shown briefly after tapping yes.
Actual Result:
Anyone can find this room dialog box is shown briefly after tapping yes.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6570051_1723475967133.Screenrecorder-2024-08-12-20-43-21-442_compress_1.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @garrettmknightThe text was updated successfully, but these errors were encountered: