Nucleo-Estudantes-Informatica-ISEP / antirecurso

Wanna pass your exams? We gotcha! 😉
https://antirecurso.nei-isep.org
GNU General Public License v3.0
11 stars 7 forks source link

Add state to login navigation #67

Closed tomasflopes closed 4 months ago

tomasflopes commented 5 months ago

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.