appsmith
appsmith copied to clipboard
fix: fixed back button to redirect to applications page
added the changes to redirect to application pages instead of going back in the history.
issue: #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
Summary by CodeRabbit
-
New Features
- Enhanced navigation for the
BackButton
in bothUserProfile
andSettings
components, directing users to the applications page and specific workspace pages, respectively.
- Enhanced navigation for the
-
Bug Fixes
- Improved test coverage for
BackButton
interactions in bothUserProfile
andSettings
components, ensuring correct navigation behavior is verified.
- Improved test coverage for
-
Tests
- Expanded test suite for
UserProfile
andSettings
components, incorporating better routing and interaction simulations.
- Expanded test suite for