-
Notifications
You must be signed in to change notification settings - Fork 3.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
[Bug]: Back button doesn't work as expected, when copy pasting the Workspace Settings page URL #34431
Comments
Bumping this issue up to prod because it should have made it's way there by now if it was not fixed |
Hello @Nikhil-Nandagopal @samhithav27 , can I work on this issue ? so we can pass the path so that would append to the history and redirect to that previous page insted of going back in the history. |
The same component was used in workspace setting, user profile page, members setting page for workspace,etc. so we can see the same behaviour in all this pages. |
added the changes to redirect to application pages instead of going back in the history. issue: [#34431](#34431) fixed the navigation to not go back in history The navigation of the back button used to go back in history. Now it will be redirected to the expected page. added the test for profile page:  added the tests for settings page:  video: https://github.com/user-attachments/assets/35a805ec-a579-4571-b4c6-e415f0f5c5f3 ## Automation /ok-to-test tags="@tag.All" ### 🔍 Cypress test results <!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/10659602683> > Commit: 23f2285 > <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=10659602683&attempt=3" target="_blank">Cypress dashboard</a>. > Tags: `@tag.All` > Spec: > <hr>Mon, 02 Sep 2024 04:52:56 UTC <!-- end of auto-generated comment: Cypress test results --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced navigation for the BackButton in both UserProfile and Settings components, directing users to the applications page and specific workspace pages, respectively. - **Bug Fixes** - Improved test coverage for BackButton interactions in both UserProfile and Settings components, ensuring correct navigation behavior is verified. - **Tests** - Expanded test suite for UserProfile and Settings components, incorporating better routing and interaction simulations. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This was completed with #35900 |
…35900) added the changes to redirect to application pages instead of going back in the history. issue: [appsmithorg#34431](appsmithorg#34431) fixed the navigation to not go back in history The navigation of the back button used to go back in history. Now it will be redirected to the expected page. added the test for profile page:  added the tests for settings page:  video: https://github.com/user-attachments/assets/35a805ec-a579-4571-b4c6-e415f0f5c5f3 ## Automation /ok-to-test tags="@tag.All" ### 🔍 Cypress test results <!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/10659602683> > Commit: 23f2285 > <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=10659602683&attempt=3" target="_blank">Cypress dashboard</a>. > Tags: `@tag.All` > Spec: > <hr>Mon, 02 Sep 2024 04:52:56 UTC <!-- end of auto-generated comment: Cypress test results --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced navigation for the BackButton in both UserProfile and Settings components, directing users to the applications page and specific workspace pages, respectively. - **Bug Fixes** - Improved test coverage for BackButton interactions in both UserProfile and Settings components, ensuring correct navigation behavior is verified. - **Tests** - Expanded test suite for UserProfile and Settings components, incorporating better routing and interaction simulations. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Is there an existing issue for this?
Description
When I am on some other URL (eg: google.com), and I paste the Workspace Settings page URL onto the browser (eg: https://appsmith.z-apps.io/workspace/665da9a39f855f14f89855c7/settings/members)
and then when I click on the Back button
I'm redirected to my previous URL (eg: google.com)
It should redirect me to the Workspaces Page
Steps To Reproduce
Public Sample App
No response
Environment
Release
Severity
Medium (Frustrating UX)
Issue video log
No response
Version
v1.28
The text was updated successfully, but these errors were encountered: