Closes #329 and prepares the frontend for end-to-end testing.
Removes the guard on either side of May 2022 that limits the library page from selecting other dates. The default start date for backend data is now "yesterday", so we can see recently posted presence data on first load on production.
For future development:
If a default start date is provided to the front end via .env variable (VITE_DEFAULT_DATE_OVERRIDE=2022-05-31), the Library page will load at that start date on first visit (so we can continue to test using May 2022 data without always scrolling through 6 months of the date picker). It's just for developer quality of life/testing.
Closes #329 and prepares the frontend for end-to-end testing.
Removes the guard on either side of May 2022 that limits the library page from selecting other dates. The default start date for backend data is now "yesterday", so we can see recently posted presence data on first load on production.
For future development:
If a default start date is provided to the front end via .env variable (
VITE_DEFAULT_DATE_OVERRIDE=2022-05-31
), the Library page will load at that start date on first visit (so we can continue to test using May 2022 data without always scrolling through 6 months of the date picker). It's just for developer quality of life/testing.