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

Have default bucket list items disappear when user adds their own first bucket item #24

Open
3 tasks
djbowen95 opened this issue Aug 8, 2023 · 0 comments
Labels
new feature New feature or request nice to have These are not essential features, but room for improvement at a later date

Comments

@djbowen95
Copy link
Owner

djbowen95 commented Aug 8, 2023

The default bucket items are currently just items that I added to test the application. I would like, for a useable version of this application, for them to:

  • Instruct the user how to use the application
  • Show suggestions of what a bucket item might look like
  • Disappear when the user adds the first bucket list item of their own

Potential text:

  • Welcome to Bucket
  • Add an item to the list to get started
  • You can set the eagerness level to low, medium or high
  • These items will disappear when you add your first item

A potential way to do this / delete items is:

  • Set a state object with a true / false value (isFirst?)
  • Have this object checked when users submit the form, delete everything/set bucket to an empty array if true and then set to false
  • Set the bucket to empty before adding the first user value
  • Maybe a useEffect that resets when the bucket list appears at zero (isEmpty?)

This is a fairly big feature to be honest!

@djbowen95 djbowen95 added the nice to have These are not essential features, but room for improvement at a later date label Aug 8, 2023
@djbowen95 djbowen95 changed the title Default items that disappear when first item is added Default bucket list items disappear when user adds their own first bucket item Aug 9, 2023
@djbowen95 djbowen95 changed the title Default bucket list items disappear when user adds their own first bucket item Have default bucket list items disappear when user adds their own first bucket item Aug 9, 2023
@djbowen95 djbowen95 added the new feature New feature or request label Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request nice to have These are not essential features, but room for improvement at a later date
Development

No branches or pull requests

1 participant