Again, this was discussed in chat. Firebase is async and will take a bit of time to asynchronously load the user. In the meantime, the AuthenticatedUidWrapper should wait. It is currently always detecting signed-in users as logged-out after first load or refresh. It then sends the user to the homescreen, and absent any feature to redirect to the proper page after login, this blocks all future features that depend on the URL being sharable or bookmarkable by the user.
Expected Behavior
The URL does not change after refreshing the page, or when pasting it into a new tab.
Actual Behavior
When a logged-in user refreshes the graph, they are redirected to the homepage and back.
Again, this was discussed in chat. Firebase is async and will take a bit of time to asynchronously load the user. In the meantime, the
AuthenticatedUidWrapper
should wait. It is currently always detecting signed-in users as logged-out after first load or refresh. It then sends the user to the homescreen, and absent any feature to redirect to the proper page after login, this blocks all future features that depend on the URL being sharable or bookmarkable by the user.Expected Behavior
The URL does not change after refreshing the page, or when pasting it into a new tab.
Actual Behavior
When a logged-in user refreshes the graph, they are redirected to the homepage and back.
https://user-images.githubusercontent.com/25646384/226789808-0b2fb8ad-3ff8-48bf-9437-7e7dea5abe70.mp4