appsmith icon indicating copy to clipboard operation
appsmith copied to clipboard

fix: fixed back button to redirect to applications page

Open saicharan-zemoso opened this issue 6 months ago • 6 comments

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: image

added the tests for settings page: image

video:

https://github.com/user-attachments/assets/35a805ec-a579-4571-b4c6-e415f0f5c5f3

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.

saicharan-zemoso avatar Aug 27 '24 08:08 saicharan-zemoso