Open sak55 opened 9 years ago
Importing some of the planning from the other time around:
#main
#footer
autofocus
input attribute. completed
value and toggling the class completed
on its parent <li>
<label>
activates editing mode, by toggling the .editing
class on its <li>
.destroy
).focus()
). editing
class should be removed. .trim()
the input and then check that it's not empty.
<strong>
tag. item
word correctly: 0 items
, 1 item
, 2 items
. Example: 2 items leftid
, title
, completed
for each item. Make sure to use this format for the localStorage name: todos-[framework]
. Editing mode should not be persisted./assets
folder. The following routes should be implemented: #/
(all - default), #/active
and #/completed
(#!/
is also allowed). When the route changes the todo list should be filtered on a model level and the selected
class on the filter links should be toggled. When an item is updated while in a filtered state, it should be updated accordingly. E.g. if the filter is Active
and the item is checked, it should be hidden. Make sure the active filter is persisted on reload.
Requirements
28 -- Getting Things Saved
TIY-TodoMVC:#XXX -- Planning
TIY-TodoMVC:master
TIY-TodoMVC:feature/*
TIY-TodoMVC:gh-pages
TIY-TodoMVC
:index.html
js/app.js
js/*.js