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

create input validation function for tasks #3

Open
jordan-manus opened this issue Oct 25, 2023 · 1 comment
Open

create input validation function for tasks #3

jordan-manus opened this issue Oct 25, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@jordan-manus
Copy link
Collaborator

jordan-manus commented Oct 25, 2023

When testing, i am finding that the user can add the same task multiple times in the new_item() and update_item() functions.

  1. Go to the main page after login successful
  2. add a new item to your list (i.e.: sweep)
  3. add a second new item to your list (i.e.: sweep)

the same error is present when a user goes to update an item:

  1. select one of your duplicate items and click 'update item' button
  2. retype the original duplicate task (i.e: if you have 2 sweep tasks, edit one of them and retype 'sweep')
  3. the duplicate sweep task is added back to the task list
    Screenshot 2023-10-25 at 1 15 00 PM
    Screenshot 2023-10-25 at 1 14 50 PM
    Screenshot 2023-10-25 at 1 14 32 PM
@jordan-manus jordan-manus added the enhancement New feature or request label Oct 25, 2023
@ekaulfuss
Copy link
Collaborator

As intended. If a user wants to do a task multiple times they can. Consider: If a user wants to remind themselves to drink more water through out the day they can add the task "Drink Water" 8 times then delete them as they drink water throughout the day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants