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
[$250] Navigation - Navigating back from Group Name page takes you to settings #45812
Version Number: 9.0.9-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: N/A Email or phone of affected tester (no customers):dave0123seife@gmail.com Issue reported by: Applause -Internal Team
Action Performed:
Create a group chat
Click on group chat header > Group Name
Refresh page
Click the back button on top
Expected Result:
Navigated back to the details page
Actual Result:
Navigated from group name page to the Settings page
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Please re-state the problem that we are trying to solve in this issue.
Navigated from group name page to the Settings page
What is the root cause of that problem?
The back button works properly if we do not refreshing the page though we use Navigation.goBack(ROUTES.REPORT_SETTINGS.getRoute(reportID)). It is because:
then the Report_Settings_Name is replaced by Report_Settings_Root. Here is the bug 's behavior.
What changes do you think we should make in order to solve the problem?
We need to use Navigation.goBack(ROUTES.REPORT_WITH_ID_DETAILS.getRoute(reportID)) instead to make sure, in the 2nd case in my RCA section, the Report_Settings_Name is replaced by Report_Details_Root, not Report_Settings_Root. Create a go back function:
📣 @nyomanjyotisa 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!
Offer link Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑💻
Keep in mind: Code of Conduct | Contributing 📖
@puneetlath@eVoloshchak@nyomanjyotisa this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!
P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!
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: this is a pretty straightforward issue, I don't think an additional discussion is needed
Regression Test Proposal
Create a group chat
Click on group the chat header > Group Name
Refresh the page
Click the back button on top
Verify that you're navigated back to the details page
Activity
melvin-bot commentedon Jul 20, 2024
Triggered auto assignment to @MitchExpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.nyomanjyotisa commentedon Jul 20, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Navigating back from Group Name page takes you to settings
What is the root cause of that problem?
It will always navigate to
REPORT_SETTINGSon back button press after refresh page ifisUpdatingExistingReportis true due to this code:App/src/pages/GroupChatNameEditPage.tsx
Lines 92 to 95 in 298f63b
What changes do you think we should make in order to solve the problem?
Update that code to navigate to the report detail page on back button press after refresh page
RESULT
-2-New-Expensify.2.mp4
What alternative solutions did you explore? (Optional)
tienifr commentedon Jul 20, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
Navigation.goBack(ROUTES.REPORT_SETTINGS.getRoute(reportID)). It is because:Now if we click on back button, this logic is called:
App/src/libs/Navigation/Navigation.ts
Lines 216 to 219 in 298f63b
then the
Report_Details_Rootis displayed as expected.In case of the bug, when we open
Report_Settings_Namepage then refreshing, the screen stack is:App/src/libs/Navigation/Navigation.ts
Lines 222 to 225 in 298f63b
then the
Report_Settings_Nameis replaced byReport_Settings_Root. Here is the bug 's behavior.What changes do you think we should make in order to solve the problem?
Navigation.goBack(ROUTES.REPORT_WITH_ID_DETAILS.getRoute(reportID))instead to make sure, in the 2nd case in my RCA section, theReport_Settings_Nameis replaced byReport_Details_Root, notReport_Settings_Root. Create a go back function:and use it in here, here and here.
melvin-bot commentedon Jul 22, 2024
Triggered auto assignment to @puneetlath (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.17 remaining items
melvin-bot commentedon Jul 31, 2024
📣 @nyomanjyotisa 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!
Offer link
Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑💻
Keep in mind: Code of Conduct | Contributing 📖
melvin-bot commentedon Aug 3, 2024
@puneetlath @eVoloshchak @nyomanjyotisa this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!
melvin-bot commentedon Aug 28, 2024
This issue has not been updated in over 15 days. @puneetlath, @eVoloshchak, @nyomanjyotisa eroding to Monthly issue.
P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!
puneetlath commentedon Aug 28, 2024
Looks like this is ready to pay.
I've paid @nyomanjyotisa. @eVoloshchak can you do the checklist?
eVoloshchak commentedon Sep 2, 2024
Regression Test Proposal
Do we agree 👍 or 👎
puneetlath commentedon Sep 3, 2024
Payment summary:
Thanks everyone!
JmillsExpensify commentedon Sep 5, 2024
$250 approved for @eVoloshchak