-
Notifications
You must be signed in to change notification settings - Fork 37
Description
To reproduce:
- Log in with oauth locally (no remotes opened)
- With VS Code still open and the Coder sidebar opened, revoke the token from the Coder dashboard
I assume these issues could also happen if the refresh token expired? But not sure how to easily test that.
-
The sidebar becomes this half-logged-in state where "my workspaces" is blank and "all workspaces" is populated. To log back in, you must log out first then log in. Instead, we should revert the sidebar to the logged out state where the "log in" button is shown.
-
A notification saying to log in with the Coder sidebar appears. We could add a log in button directly to this notification, might be nicer than having to go through the sidebar.
-
Sometimes you can get two notifications, that both more or less say the same thing. Could we consolidate them? Personally I like the one in the corner better than the big modal popup one, at least for this scenario.
- When I do log back in, my "all workspaces" view was empty. A manual refresh fixes it, but if I leave VS Code open it never gets populated. We are probably missing an initial call to populate those workspaces after logging back in.