On returning to datacurator.org/app?storage_location=NN where NN is some base id I have access to, the page presented the Sign in / Register modal, and in the top left showed the "Sign in" option. But it also successfully loaded the base's component.
On clicking the close button of the Sign in modal it still showed the components but also incorrectly showed "Sign in" in the top right.
To Reproduce
Steps to reproduce the behavior (maybe):
Sign in to datacurator and open a base you have access to.
Wait until the session expires (currently this is currently set to 604,800 seconds (one week))
Refresh the page
The page presented the Sign in / Register modal, and in the top left showed the "Sign in" option but in the background it also successfully loads the base's components.
On clicking the close button of the Sign in modal the app shows the components of the base but does not show your user name in the top right.
Expected behavior
[ ] Should not display the "Sign in / register" modal until it is sure it can not refresh your current user session.
[ ] Should update the user's information when it has successfully refreshed the supabase session info.
Describe the bug
On returning to datacurator.org/app?storage_location=NN where NN is some base id I have access to, the page presented the Sign in / Register modal, and in the top left showed the "Sign in" option. But it also successfully loaded the base's component. On clicking the close button of the Sign in modal it still showed the components but also incorrectly showed "Sign in" in the top right.
To Reproduce
Steps to reproduce the behavior (maybe):
Expected behavior
[ ] Should not display the "Sign in / register" modal until it is sure it can not refresh your current user session. [ ] Should update the user's information when it has successfully refreshed the supabase session info.