Currently, upon logging into the application, users are automatically redirected to the Home Page. While this behavior is functional, it may not provide the best UX, especially with the growing of features that require user authentication.
Proposal
To enhance the UX, it would be beneficial to implement a system that stores the previous page when a user clicks the "Log In" button. After a successful login, the application can then redirect the user back to the same page they were on before initiating the login process.
This improvement will simplify the user navigation, making it more intuitive and convenient, particularly in scenarios where users need to access authenticated features across nested routes.
Description
Currently, upon logging into the application, users are automatically redirected to the Home Page. While this behavior is functional, it may not provide the best UX, especially with the growing of features that require user authentication.
Proposal
To enhance the UX, it would be beneficial to implement a system that stores the previous page when a user clicks the "Log In" button. After a successful login, the application can then redirect the user back to the same page they were on before initiating the login process.
This improvement will simplify the user navigation, making it more intuitive and convenient, particularly in scenarios where users need to access authenticated features across nested routes.