joven-health-mike / juno-react

A virtual therapy platform designed for K-12 schools.
0 stars 0 forks source link

Past appointments show up by default #109

Open zoe-gonzales opened 1 year ago

zoe-gonzales commented 1 year ago

Currently, the appointments page shows all appointments even those in the past. Over time, this could make it really difficult to easily view upcoming appointments.

Viewing as of Feb 20, 2023:

Capture d’écran 2023-02-20 à 8 48 46 AM

Suggestions:

Acceptance Criteria:

joven-health-mike commented 1 year ago

We want prior appointments to show up on the calendar (at least to some extent), but yeah, maybe not on the appointments page.

Seems like the proper thing to do would be:

  1. Update the server to only return appointments 30 days +/- the current date, maybe with a more specific way to request appointments outside of that window.
  2. Update the front-end to filter out past appointments on the appointments table (only - the past appointments should still show up on the calendar).
joven-health-mike commented 1 year ago

Created an associated issue on the server: https://github.com/joven-health-mike/juno-server/issues/27