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

[Epic] TodoMVC Feature List #48

Closed
21 tasks done
nelsonic opened this issue Jul 22, 2018 · 6 comments
Closed
21 tasks done

[Epic] TodoMVC Feature List #48

nelsonic opened this issue Jul 22, 2018 · 6 comments

Comments

@nelsonic
Copy link
Member

nelsonic commented Jul 22, 2018

Todo List Basic Functionality

A todo list has only 2 basic functions:

Add item and Check-off is exactly the "functionality"
you would have in a paper-based Todo List.

TodoMVC "Advanced" Functionality

In addition to these basic functions,
TodoMVC has the ability to:

  • Un-check an item as to make it "active" (still to be done)
  • Double-click/tap on todo item description to edit it.
  • Mark all as complete
  • Click X on item row to remove from list.

<footer> Menu > GOTO: #53

below the main interface there is a <footer>
with a count, 3 view toggles and one action:
image

  • "{count} item(s) left":

    {store.items.filter(complete==false)} item{store.items.length > 1 ? 's' : '' } left
  • Show All
  • Show Active
  • Show Completed
  • Clear Completed > delete item.done === true

Routing / Navigation

Finally, if you click around the <footer> toggle menu,
you will notice that the Web Bowser Address bar
changes to reflect the chosen view.

tea-todomvc-routing

When a route link is clicked

  • update invokes route(model, title, hash) function which updates model.hash to the value of hash

  • filter view based on model.hash

    • set <footer> view button as active
    • filter todo items based on selected view:
      • ALL: no filter
      • active: !item.done
      • complete: item.done === true
  • Subscriptions for event handling e.g: keyboard press & navigation changes Subscriptions: How to "Listen" for Events and What to do ... #57

@nelsonic nelsonic added this to To do in Nelson's List via automation Jul 22, 2018
@nelsonic nelsonic self-assigned this Jul 22, 2018
@nelsonic nelsonic added the T1d label Jul 22, 2018
@nelsonic nelsonic moved this from To do to In progress in Nelson's List Jul 22, 2018
@nelsonic
Copy link
Member Author

nelsonic commented Aug 2, 2018

image

image

@nelsonic
Copy link
Member Author

nelsonic commented Aug 5, 2018

todomvc-3-items-1-done

@nelsonic
Copy link
Member Author

nelsonic commented Aug 6, 2018

todomvc-main-section-todo-list-html

@nelsonic
Copy link
Member Author

nelsonic commented Aug 7, 2018

View works:
image

@nelsonic
Copy link
Member Author

nelsonic commented Sep 7, 2018

persistence-test-passing

clear-completed-button-tests-passing

@nelsonic
Copy link
Member Author

nelsonic commented Sep 7, 2018

image

@nelsonic nelsonic closed this as completed Sep 7, 2018
Nelson's List automation moved this from In progress to Done Sep 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Nelson's List
  
Done
Development

No branches or pull requests

1 participant