ZIm/crates/workspace/src
Antonio Scandurra aa09bc527f Allow signing in again if authentication is pending or was unsuccessful
The local server that we spin up to receive OAuth callbacks isn't
called when an error occurs and it is non-trivial to do so with
next-auth. Besides, there could be cases where the user explicitly
closes the browser window before the callback can be invoked.

With this commit, the user can sign in even while an authentication
is still in progress. As opposed to waiting for at most 10 minutes
before killing the local HTTP server if we haven't received the callback,
we will repeatedly check for a response every second for 100 seconds.
This gives us a chance to determine whether a new authentication has started
in the meantime and, if so, abort the current authentication flow.
2022-08-02 14:16:14 +02:00
..
drag_and_drop.rs Minor naming improvements and revert empty pane background color change 2022-07-21 14:56:17 -07:00
pane.rs Merge pull request #1414 from zed-industries/fix-theme-issues 2022-07-26 11:55:17 -07:00
pane_group.rs Require that PartialEq is implemented for Action 2022-06-06 09:18:44 +02:00
sidebar.rs Address some issues where panes don't get focused properly, make the focused pane more obvious, and prevent splitting of the pane with no items 2022-07-20 18:52:32 -07:00
status_bar.rs Move sidebar toggle buttons to the status bar 2022-04-27 14:25:39 -07:00
toolbar.rs Merge branch 'main' into theme-improvements 2022-07-19 20:12:02 -04:00
waiting_room.rs Adjust pane, tab, panel management bindings to match VS Code 2022-06-29 15:33:46 -07:00
workspace.rs Allow signing in again if authentication is pending or was unsuccessful 2022-08-02 14:16:14 +02:00