-
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
[$250] Rules - App returns to not here page after disabling Rules #48054
Comments
Triggered auto assignment to @Julesssss ( |
Triggered auto assignment to @trjExpensify ( |
👋 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:
|
We think that this bug might be related to #wave-control |
ProposalPlease re-state the problem that we are trying to solve in this issue.App returns to not here page. What is the root cause of that problem?When press App/src/pages/workspace/rules/IndividualExpenseRulesSection.tsx Lines 53 to 60 in 1739e7c
Later when What changes do you think we should make in order to solve the problem?Before navigating to more features page, pop the current By that, we would navigate back to the workspace settings page. |
📣 @praveenking945! 📣
|
workspaceRules is in beta. Not deploy blocker |
Agree. |
Job added to Upwork: https://www.upwork.com/jobs/~01c846999c3a53187c |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @brunovjk ( |
Bringing it to the attention of the team in thread: https://expensify.slack.com/archives/C06ML6X0W9L/p1724762281982389?thread_ts=1724709178.360259&cid=C06ML6X0W9L |
Hi! I'm going to work on that :) |
📣 @brunovjk 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
I have an idea how we can solve this issue: I can check in navigation state if the user has access to the page which is displayed after going back. If the page's feature is disabled, this page will be skipped. But in this case I can't change the browser back button behaviour because I can't modify the browser's history, it would be fixed only for the app and android native back buttons. Screen.Recording.2024-08-27.at.16.47.26.movThe browser back button: Screen.Recording.2024-08-27.at.16.48.23.movThis case is also reproducible on other pages connected with features that can be enabled, here's an example: Screen.Recording.2024-08-27.at.16.52.31.movPlease let me know if this solution is ok for you |
@Julesssss feel free to hand this off to me if you'd like as it's related to OldDot Rules migration |
Sure, thanks |
Hi @WojtekBoman, Thanks for looking into this issue! Your proposed solution for handling the navigation state and preventing users from landing on a disabled page seems solid. It might also be beneficial to explore a solution for the browser back button issue, if feasible. @marcaaron, what are your thoughts on this approach? |
@trjExpensify do you know if we have a standard way of handling this sort of navigation pattern. It sort of makes sense to me that if a page becomes inaccessible, but exists in the browser history that we'd be aright to just show the "not found" page. It's not like the user is trapped there forever. Feels kind of edge case to me and unsure if it warrants doing any complex manipulation of the history stack. |
I think our standard is to just show the not found guy. I agree it's edge case territory. 👍 |
Ok, I'm gonna close this out. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: v9.0.25-0
Reproducible in staging?: Y
Reproducible in production?: N
Email or phone of affected tester (no customers): applausetester+kh050806@applause.expensifail.com
Issue reported by: Applause Internal Team
Action Performed:
Precondition:
Expected Result:
App will return to workspace editor page.
Actual Result:
App returns to not here page.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6583732_1724720418319.1724720180304_Screen_Recording_20240827_085612_New_Expensify.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @brunovjkThe text was updated successfully, but these errors were encountered: