Skip to content

Week of 2021 03 23

Ryan Shukla edited this page Mar 24, 2021 · 4 revisions

Tasks

Note: unit/intent tests should be added as we implement features

  • make info refresh without having to reload activity (Ryan Vasu)
    • refactor Database get_ methods to take an Observer and call the onChanged method every time there is a firestore update

example:

db.get(..., new Observer { onChanged(ArrayList<Experiment> ...) {...} });
  • generate and scan QR codes (Jacques Furmaan)
    • also involves registering in database
  • register and scan bar codes (Jacques Furmaan)

Maybe just create a separate collection for barcodes/qr codes. (i.e. don't have barcodes owned by an experiment)

Barcode {
expID:
trial: ...
}
  • fetch location from device when trial is submitted (Ricky)

    • only if switch is enabled
  • store location in database (Ricky)

  • implement map tab of experiment details screen (Ricky)

  • create and make functional ui for edit profile screen (Andrew)

    • use Database.updateDeviceUser() (note: this hasn't been tested yet)
  • create and make functional view other user screen (Andrew)

    • add button in experiment details
Clone this wiki locally