medic / cht-core

The CHT Core Framework makes it faster to build responsive, offline-first digital health apps that equip health workers to provide better care in their communities. It is a central resource of the Community Health Toolkit.
https://communityhealthtoolkit.org
GNU Affero General Public License v3.0
469 stars 217 forks source link

fix(#9552): migrate stale target state for interval turnover #9569

Closed dianabarsan closed 1 month ago

dianabarsan commented 1 month ago

Description

9552

Code review checklist

Compose URLs

If Build CI hasn't passed, these may 404:

License

The software is provided under AGPL-3.0. Contributions to this project are accepted under the same license.

dianabarsan commented 1 month ago

I was really tempted to do this last time I "fixed" this, but thought it was too hard-handed. And now I'm only doing it on load, because I think migrating it pre-calculation is also too hard-handed. Leaving this for the reviewer to decide.