Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Creating a collection while authenticated still shows up when logging out #273

Open
jps327 opened this issue May 17, 2022 · 0 comments
Assignees
Labels
bug Something isn't working frontend Mostly frontend work good first issue Good for newcomers

Comments

@jps327
Copy link
Contributor

jps327 commented May 17, 2022

Describe the bug
If you are authenticated and create a collection, and then log out, the collection will still show up in the Collections popover. It should not show up anymore if you are logged out.

If you then sign in again and then sign back out, the collection no longer shows up in the popover. So signing in/out clears the local cache, but there is something going on when you first create a collection while authenticated that is making the collection stay in the local cache (in indexedDB).

To Reproduce
Steps to reproduce the behavior:

  1. Log in
  2. Create a collection
  3. Sign out
  4. Click on the "Collections" tab in the side bar to open the popover. The collection you just created will be there. It shouldn't be there if we're logged out!
  5. Log in again
  6. Sign back out
  7. Click on the "Collections" tab in the sidebar. The collection is now gone (as it should be).
  8. See error

Expected behavior
The collections we create while authenticated should only be seen while we are authenticated! When logged out they should not be showing up.

Screenshots
n/a

Desktop (please complete the following information):

  • OS: MacOS 11.2.2
  • Browser Chrome
  • Version 100.0.4896.127

Additional context
n/a

@jps327 jps327 added bug Something isn't working good first issue Good for newcomers frontend Mostly frontend work labels May 17, 2022
@indraneel indraneel self-assigned this Sep 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend Mostly frontend work good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants