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
[Due for payment 2025-08-20] [$250] Clicking the back button dismisses modal instead of navigating to the previous page after importing multi-level tags #66915
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Version Number: 9.1.84-2 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 Expensify/Expensify Issue URL: Issue reported by:@dukenv0307 Slack conversation (hyperlinked to channel name): #Expensify Bugs
Action Performed:
Create a workspace with the Tags feature enabled
Navigate to the Tags page
Click the Import button
Choose Multi-level Tags
Select a file to import
Reload the page
Click the back button in the header on RHP
Expected Result:
The app should navigate to the previous page.
Actual Result:
The modal is dismissed instead of navigating back.
Workaround:
Unknown
Platforms:
Select the officially supported platforms where the issue was reproduced:
Android: App
Android: mWeb Chrome
iOS: App
iOS: mWeb Safari
iOS: mWeb Chrome
Windows: Chrome
MacOS: Chrome / Safari
MacOS: Desktop
Platforms Tested:
On which of our officially supported platforms was this issue tested:
Android: App
Android: mWeb Chrome
iOS: App
iOS: mWeb Safari
iOS: mWeb Chrome
Windows: Chrome
MacOS: Chrome / Safari
MacOS: Desktop
Screenshots/Videos
Add any screenshot/video evidenceScreen.Recording.2025-07-23.at.04.20.47.movRecording.1441.mp4
But backTo remain undefined regardless we refresh the page or not, and only Navigation.goBack work to take us to previous page but once we refresh the page, Navigation state resets and pressing back button close the model because there is no fallBack route
What changes do you think we should make in order to solve the problem?
We should explicitly add a fallBack route from ROUTES that we prefer to use and remove backTo
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
N/A
What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
changed the title [-]Clicking the back button dismisses modal instead of navigating to the previous page after importing multi-level tags[/-][+][$250] Clicking the back button dismisses modal instead of navigating to the previous page after importing multi-level tags[/+]on Jul 24, 2025
changed the title [-][$250] Clicking the back button dismisses modal instead of navigating to the previous page after importing multi-level tags[/-][+][Due for payment 2025-08-20] [$250] Clicking the back button dismisses modal instead of navigating to the previous page after importing multi-level tags[/+]on Aug 13, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.93-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@jayeshmangwani / @dukenv0307@garrettmknight The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source 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: N/A
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
Regression Test Proposal
Create a workspace with the Tags feature enabled
Navigate to the Tags page
Click the Import button
Choose Multi-level Tags
Select a file to import
Reload the page
Click the back button in the header on RHP
Verify that: The app should navigate to the previous page.
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Activity
melvin-bot commentedon Jul 22, 2025
Triggered auto assignment to @garrettmknight (
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.m-natarajan commentedon Jul 22, 2025
Proposal by @dukenv0307
Proposal
Please re-state the problem that we are trying to solve in this issue.
After reloading the page, the header back button dismiss the modal
What is the root cause of that problem?
We handle back button here
App/src/pages/workspace/tags/ImportMultiLevelTagsSettingsPage.tsx
Lines 87 to 89 in 35f5ed7
But we don't add
backTowhen clicking the import button hereApp/src/pages/workspace/tags/ImportTagsPage.tsx
Lines 48 to 50 in 35f5ed7
What changes do you think we should make in order to solve the problem?
We should add the default value as
WORKSPACE_TAGS_IMPORTOr we can add the
backToasWORKSPACE_TAGS_IMPORTApp/src/pages/workspace/tags/ImportTagsPage.tsx
Lines 48 to 50 in 35f5ed7
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
None
What alternative solutions did you explore? (Optional)
samranahm commentedon Jul 22, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
Clicking the back button dismisses modal instead of navigating to the previous page after importing multi-level tags
What is the root cause of that problem?
We get the backTo route from route and use that here
App/src/pages/workspace/tags/ImportMultiLevelTagsSettingsPage.tsx
Line 89 in 2f5636d
backToremain undefined regardless we refresh the page or not, and onlyNavigation.goBackwork to take us to previous page but once we refresh the page, Navigation state resets and pressing back button close the model because there is no fallBack routeWhat changes do you think we should make in order to solve the problem?
We should explicitly add a fallBack route from ROUTES that we prefer to use and remove
backTolike we did here
App/src/pages/workspace/tags/ImportedMultiLevelTagsPage.tsx
Lines 56 to 59 in 2f5636d
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
N/A
What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
[-]Clicking the back button dismisses modal instead of navigating to the previous page after importing multi-level tags[/-][+][$250] Clicking the back button dismisses modal instead of navigating to the previous page after importing multi-level tags[/+]melvin-bot commentedon Jul 24, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021948420784647349182
melvin-bot commentedon Jul 24, 2025
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jayeshmangwani (
External)jayeshmangwani commentedon Jul 28, 2025
@dukenv0307 's proposal #66915 (comment) looks good of
onBackButtonPressnavigating toWORKSPACE_TAGS_IMPORT- let's move forward with it.🎀 👀 🎀 C+ reviewed
melvin-bot commentedon Jul 28, 2025
Triggered auto assignment to @neil-marcellini, see https://stackoverflow.com/c/expensify/questions/7972 for more details.
9 remaining items
[-][$250] Clicking the back button dismisses modal instead of navigating to the previous page after importing multi-level tags[/-][+][Due for payment 2025-08-20] [$250] Clicking the back button dismisses modal instead of navigating to the previous page after importing multi-level tags[/+]melvin-bot commentedon Aug 13, 2025
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Aug 13, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.93-7 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 2025-08-20. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Aug 13, 2025
@jayeshmangwani / @dukenv0307 @garrettmknight The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
jayeshmangwani commentedon Aug 20, 2025
BugZero Checklist:
Bug classification
Source of bug:
Where bug was reported:
Who reported the bug:
[Contributor] 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: [Multi-tags] Add ability to partially edit and fully import multi-level tags #62467
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source 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: N/A
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
Regression Test Proposal
Do we agree 👍 or 👎
melvin-bot commentedon Aug 20, 2025
Payment Summary
Upwork Job
BugZero Checklist (@garrettmknight)
trjExpensify commentedon Aug 21, 2025
Confirming payment summary here is correct.
twisterdotcom commentedon Aug 27, 2025
@jayeshmangwani has submitted payment for this report on ND here.
SO: https://stackoverflowteams.com/c/expensify/questions/7582
Zapier Logs
Run ID: 00040eee-36e0-a5ea-d984-136679b44561quinthar commentedon Sep 7, 2025
$250 approved to @dukenv0307