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

Avoid removing snapshots when switching between users #834

Closed
wants to merge 0 commits into from

Conversation

sejas
Copy link
Member

@sejas sejas commented Jan 23, 2025

Warning

WIP, this draft PR just started and is incomplete
The Proposed Changes are the plan not a reality

Related issues

Proposed Changes

  • Let's keep all the snapshots in appData
  • Let's add a new field userId
  • Let's filter in the UI the snapshots that belong to the current user
  • Let's figure it out what snapshots should be "removed" from appData and when.
  • Updated tests

Testing Instructions

  • Run npm start
  • Authenticate with user A
  • Create a demo site
  • Log out
  • Authenticate with user B
  • Observe you don't see any demo site
  • Log out
  • Authenticate with user A again
  • Observe you see the demo site you've created in step 3

Pre-merge Checklist

  • Have you checked for TypeScript, React or other console errors?

@sejas sejas self-assigned this Jan 23, 2025
@ivan-ottinger ivan-ottinger self-assigned this Feb 14, 2025
@ivan-ottinger ivan-ottinger force-pushed the update/keep-saved-snapshots-between-users branch from e92933e to b1b7df6 Compare February 14, 2025 09:32
@ivan-ottinger
Copy link
Contributor

This is odd. Not sure how this PR got closed. I only aimed to rebase it and then continue working on. 😕 Sorry about that.

I will create a new one.

@wojtekn wojtekn deleted the update/keep-saved-snapshots-between-users branch February 17, 2025 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants