yorkie-team / codepair

Build your own AI-powered collaborative markdown editor in just 5 minutes
https://codepair.yorkie.dev
Apache License 2.0
49 stars 19 forks source link

Add feature to redirect users to their intended page after login failure #308

Open devleejb opened 2 months ago

devleejb commented 2 months ago

What would you like to be added:

Currently, when users are redirected to the Login page due to a failed login, there is no functionality in place to navigate them back to the page they were originally trying to access after successfully logging in. I propose adding a feature that allows users to be redirected to their intended page upon successful login after being redirected due to a login failure.

Why is this needed:

This enhancement would improve user experience by reducing frustration. Users often have a goal or task in mind when attempting to access a page, and maintaining that context helps streamline their workflow. By implementing this feature, we can provide a smoother and more intuitive navigation experience for our users.

Additional Information:

wet6123 commented 2 months ago

@devleejb Can I try it?

devleejb commented 2 months ago

@wet6123 I've assigned you. We can use query parameter to resolve this issue :)