You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2023-10-18] [$1000] Visit the Room welcome message edit page by direct link then click save button, it navigates back to the chatReport instead of Room setting page #22041
Pre-step: Go to any room that you have permission to update welcome message => Go to Room welcome message paste => Copy the URL => Paste to any chat report
Click on the link that you just paste
Verify that it open the Room welcome message page
Click save button
Expected Result:
It navigates back to Room setting page
Actual Result:
It navigates back to the chat report page
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Android / native
Android / Chrome
iOS / native
iOS / Safari
MacOS / Chrome / Safari
MacOS / Desktop
Version Number: 1.3.35-5 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
Looks like something related to react-navigation may have been mentioned in this issue discussion.
As a reminder, please make sure that all proposals are not workarounds and that any and all attempt to fix the issue holistically have been made before proceeding with a solution. Proposals to change our DeprecatedCustomActions.js files should not be accepted.
@dylanexpensify, but when we visit Room welcome message edit page direct link, after click save button, it closes the RHN. It think it's an unexpected behavior. It should back to the room setting
The PR that introduced the bug has been identified. Link to the PR: This is not normal user flow and always existed from the beginning.
The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: N/A
A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: https://expensify.slack.com/archives/C049HHMV9SM/p1690915949087489
Activity
melvin-bot commentedon Jul 2, 2023
Triggered auto assignment to @dylanexpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Jul 2, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)kavimuru commentedon Jul 2, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
Visit the Room welcome message edit page by direct link then click save button, it navigates back to the chatReport instead of Room setting page
What is the root cause of that problem?
In the action to save the Room's welcome message, we just call
Navigation.goBackApp/src/libs/actions/Report.js
Line 1142 in 0bbf3fc
When we visit the page by direct link, the previous history page is empty => It will navigate to the chat report by default.
What changes do you think we should make in order to solve the problem?
We should add
fallbackRouteof room setting page for Navigation.goBack hereSo it will navigate to the room setting route when there is no active routes
What alternative solutions did you explore? (Optional)
Instead of call
Navigation.goBack, we can callNavigation.navigatedirectly to the room setting route heremelvin-bot commentedon Jul 2, 2023
Looks like something related to
react-navigationmay have been mentioned in this issue discussion.As a reminder, please make sure that all proposals are not workarounds and that any and all attempt to fix the issue holistically have been made before proceeding with a solution. Proposals to change our
DeprecatedCustomActions.jsfiles should not be accepted.Feel free to drop a note in #expensify-open-source with any questions.
hoangzinh commentedon Jul 2, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
Visit the Room welcome message edit page by direct link then click save button, it navigates back to the chatReport instead of Room setting page
What is the root cause of that problem?
In the action to save the Room's welcome message, we just call
Navigation.goBackApp/src/libs/actions/Report.js
Line 1142 in 0bbf3fc
When we visit the page by direct link, the previous history page is empty => It will navigate to the chat report by default.
What changes do you think we should make in order to solve the problem?
We should add
fallbackRouteof room setting page for Navigation.goBack hereSo it will navigate to the room setting route when there is no active routes
What alternative solutions did you explore? (Optional)
Instead of call
Navigation.goBack, we can callNavigation.navigatedirectly to the room setting route heredylanexpensify commentedon Jul 4, 2023
hmmm, posting to get a check on if this is intentional
dylanexpensify commentedon Jul 7, 2023
Not a bug here
hoangzinh commentedon Jul 7, 2023
@dylanexpensify, but when we visit Room welcome message edit page direct link, after click save button, it closes the RHN. It think it's an unexpected behavior. It should back to the room setting
hoangzinh commentedon Jul 17, 2023
Bump @dylanexpensify ^
105 remaining items
dylanexpensify commentedon Oct 18, 2023
Payment upcoming!
Beamanator commentedon Oct 23, 2023
how we doin here? 🙏
Beamanator commentedon Oct 26, 2023
We good here @dylanexpensify ?
hoangzinh commentedon Oct 26, 2023
@Beamanator waiting for BZ checklist and payout here.
situchan commentedon Oct 26, 2023
dylanexpensify commentedon Oct 30, 2023
done!