Closed Lucas-ZX-W closed 1 year ago
Hi @Lucas-ZX-W, thank you for informing us about the issue. This is indeed a problem that we have not fully implemented yet. We will take a closer look at this and will get back to you. The code that is related to this feature has moved into a separate repo and we will track the issue there: https://github.com/StanfordBDHG/CardinalKitScheduler.
@Lucas-ZX-W We resolved this issue with #7 🚀 Let us know if you can verify the new behaviour with the version 0.3.1 of the Spezi Scheduler module.
Description
The completion status of events (e.g questionnaires) are not stored persistently, allowing the user to cold-restart the app to break the
Schedule
of events.Demo video (on Lucas's public Google Drive.)
Reproduction
Expected behavior
On step 5., the questionnaire that we just completed should remain "completed" and unavailable to be filled out again until its next Scheduled time as defined by its
Schedule
.Additional context
Would
CardinalKit/Sources/Scheduler/Event.swift
adding persistent storage forEvent
objects be a viable approach for a fix?Code of Conduct