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

Explicit prompt to "Load Sample Data" #5

Open
jmandel opened this issue Sep 28, 2022 · 0 comments
Open

Explicit prompt to "Load Sample Data" #5

jmandel opened this issue Sep 28, 2022 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@jmandel
Copy link
Owner

jmandel commented Sep 28, 2022

Right now we load sample data by default, every time the page is loaded. But given #4 from @sarahmcdougall we'll want to think about changing this behavior, so the home page does something more like:

  1. On first load, show an empty vaccines list and a "Load sample data" button. Clicking this loads sample data from a static set into localStorage.
  2. On subsequent loads, show the vaccines that have been saved localStorage (whether they came from sample data or user-scanned SHCs)
  3. Below the vaccines list, show a "Clear all data" button that resets the state of the app
@jmandel jmandel added the help wanted Extra attention is needed label Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant