- display all the items on the todo list
- add new items to the todo list
- mark an item as complete from the todo list a. completed list & uncompleted list b. TodoItem (completed field) -> OOP
- remove an item from (both completed and uncompleted?)
- list all completed items
- list all uncompleted items
- list all deleted items
bugs
- form submission issue
- mark an item complete doesn't always work because we are finding the item by a non unique name (it's using an id now)
QOL improvements
- bootstrap
- menu: all, complete, uncompleted, deleted
- todo list (arrayList)
- DataRepo/TodoListRepo
- model/TodoItem
- controller/TodoController
- /todo
- GET /todo -> return the entire todolist
- /todo
- update TodoList
- right now it's public, it should probably be private -- and then we can add a static addTodoItem method to interface with it
- add getAllTodoItems() method to the data layer
- create a new view with a form for adding a new Todo Item
- GET /todo -> update it has a form for adding new TodoItems
- POST /todo?name={todoName}
- controller request handler that will take a todoItem, or a name of a todo item, or something unique to that todo item, so that it can mark it as complete
- datalayer is going to need some way of exposing a todo item -- findTodoItemByName() findTodoItemByID()
- models/TodoItem -> method to update the completed status of the TodoItem