-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[dashboard] route login to / #3680
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
components/dashboard/src/App.tsx
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works ok but could we also update the URL path to / or /workspaces? Now both anonymous and logged in users now see the workspaces list (after logging in) but see the /login path in the URL. Feel free to merge and open a follow up issue for this.
:M: :V: :C:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point! I pushed again.
bc639e7 to
7a0e34e
Compare
gtsiolis
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works like a charm! 🔮
| setLoading(false); | ||
| })(); | ||
| }, []); | ||
| }, [ setUser ]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@svenefftinge we need to change this :-(
this effect causes constant stream of getLoggedInUser requests

Handle /login route properly fixes #3674