Skip to content

(W8) Nikema and Monica (Sort items by how soon they will need to be bought again)

Nikema Prophet edited this page Feb 5, 2020 · 2 revisions

Monday, 2/3/2020

Story 13: As a user, I want to view a list of my shopping list items in order of how soon I am likely to need to buy each of them again #35

**Order of tasks to be completed: **

  1. Add inactive option
  2. Write function to sort integers
  3. Write function to sort items alphabetically
  4. Get the accessibility requirement working
  5. Figure out how to differentiate colors for the integers & inactive option

Questions so far:

  1. How do I do each of these tasks? What is the logic I need to write and steps I need to take for each one?
  2. For the function that sorts items alphabetically: Can this be done within the first function? Or does it need to happen somewhere outside of this first function?
  3. For the accessibility feature: How do we need to structure the page(s) in order to do this?

*Discuss final task with design team

First meeting tomorrow, 2/4/2020

https://firebase.google.com/docs/firestore/query-data/get-data

https://github.com/green-arrow/react-firestore#readme