Resolve "Repose | Show alert when study is finished"
Closes #887
Testing
Serve the app and check rccStorage (IndexedDb).
You should see a key "rcc-repose-periodic-sc-import-store"
with a value similar to "[{\"meta\":{\"label\":\"REPOSE ePROMS Assessment\",\"paused\":false,\"defaultSchedule\":[[3,6],[],\"2024-05-20\"]},\"questions\":[\"EPROM_1\",\"EPROM_2\",\"EPROM_3\",\"EPROM_4\",\"EPROM_5\",\"EPROM_6\",\"EPROM_7\"],\"id\":\"rcc-repose-sc-eproms\"}]"
.
Take note of the date in "defaultSchedule"
(in this case "2024-05-20"
).
Change your system time to that date. Everything should be as usual and the "REPOSE ePROMs Assessment" symptom check should be active if it's Wednesday or Saturday.
Change your system time to the day after that date. You should see the alert and no more active symptom checks.