A To-do app!
To allow the user to
- enter tasks they need to do into a web page so that I don't forget them,
- view the tasks they have added in a list so that they can plan their day and
- mark tasks as complete so that they can focus on the tasks they have left.
To also allow the user to:
- edit their to-dos so that they can amend them if the task changes,
- click on any part of a to-do to mark it as complete so that it's easier for them to check to-dos off,
- have a visual indication of which to-do they're about to interact with so that it's clear what they are editing.
- We discussed our priorities approaching this project, how best we should approach it, and lessons learned from our previous project.
- Before splitting into groups, we decided to try mob programming by:
- working through our the logic of how our page would function - ensuring we were all clear on all points
- creating tests for all core logic functions
- We started styling and soon encountered a big problem: after merging a major pull request, each member was seeing our page rendered differently on their own machines. After much confusion, we resolved the issue by clearing our caches.
- We split into 2 teams, one working on the form (input box), the other on styling the list of todos:
- The form team struggled with validation, trying to re-style chrome's default 'required' validation message. Ultimately, a Javascript solution was opted for.
- The list team struggled to overcome unresponsive styling of containers - before finally finding their problems in the clash of their
align-items: center
and ajustify-content
styling.
- After some very helpful code-review from Team PLHH, we got to work solving issues: refactoring.