Skip to content

Cycle 3 User Stories

Mauleen Ndlovu edited this page Apr 2, 2021 · 1 revision

US3:1: Users should be able to enter a number between 0-10 for depression, elevation, anxiety, and irritability tracking points.

  • Current behavior: users can enter a number between 0-10 AND other characters
  • Expected behavior: users can ONLY enter a number between 0-10

 


US3:2: Users should be able to add a medication from the "Add Medication" view. When the user has entered in all the information, they will press "Enter " and receive an alert message that says "Successfully Added💊". User will press "OK" after they receive the message.

  • Adding medications includes:
    • Name
    • Dosage -- (must be an integer)
    • Units (mg) -- "mg" is the only available unit right now and will be the default unit
    • Starting date -- By default, the starting date is the current date. User can change the starting date by clicking on the current date. The starting date for the medication being added does not have to be the current date.
    • Time of day (AM, PM, Both)

 


US3:3: User should have a way to get to the various pages (views)

  • User can get to the "Add Medication" list from "Tracking Points" page and get to the "Add Medication" form from "Add Medication" List
  • When the user is on the "Tracking Points" view, they can click the "Add Medication" button at the bottom of the page to get to the "Medication List" view. From the "Medication List" view, the user can click the "➕Add Medication" button to get to the "Add Medication" view.

 


Testing for US3:1, US3:2, US3:3

  • SwiftUI tests

 


Potential problems/things to consider with US2:1, US2:2, and US2:3 and changes that could be made:

  • Should US3:2 and US3:3 be text fields, sliders, steppers? What would be the most proper implementation?
    • Consider how you would test these fields
  • You would need another view for US3:3
    • How many more others will you have at the end of this cycle?
    • Think about how you would test this implementation
    • Where would notes be saved? Can users go back to previous notes? Delete notes?
  • Instead of users entering a number between 1-10 in a TextField, maybe we should use a stepper instead and the user should enter from 0-10
  • Unable to get a binary distribution for the app. This can be a later user story

Clone this wiki locally