-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IRO-1307 - Address UI lag in rendering Magic Link state (#126)
* try summa this on staging * more cleanups * standardize more * actually add constants * more live, more test, more go * try swapping usage to useRouter hook * back to basics * one more * cleanups * cheat the state * quicktest * logic * do it properly * ensure data flows from logout * try this again * logouttery * bill o'reilly * B-A-N-A-N-A-S * tired of debugging someone else's fucked up product * clusterfuckery * SNATS -> Situation Normal All TS * poison pill * again again * address some feedback * more feedback address-al * more feedback address-al * more feedback addressed * more mor mo m * addressing feedback broke something * suture * test this first * settting status caused a unloadable page, try this * back in time * back in time again * logout cleanup then test * try using Router again * eschew more * piecemeal * try removing from useLogin * Keep using useRouter in login
- Loading branch information
Showing
23 changed files
with
690 additions
and
666 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
export const NO_MAGIC_INSTANCE = 1000 | ||
export const NO_MAGIC_TOKEN = 1001 | ||
export const NO_MAGIC_USER = 1002 | ||
|
||
export const NOT_ISOMORPHIC = 2000 | ||
|
||
export const UNABLE_TO_LOGIN = 3000 | ||
|
||
export const ENDPOINT_UNAVAILABLE = 4000 | ||
|
||
export const ERRORS = { | ||
NO_MAGIC_INSTANCE, | ||
NO_MAGIC_TOKEN, | ||
NO_MAGIC_USER, | ||
NOT_ISOMORPHIC, | ||
UNABLE_TO_LOGIN, | ||
ENDPOINT_UNAVAILABLE, | ||
} |
Oops, something went wrong.
1112e56
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.
Successfully deployed to the following URLs: