Brings production/app.bloodbikes.org.uk up to date with master.
Main two new features:
Task archiving
Every night at 0300 UTC Tasks that are completed and older than two weeks will have an archived flag set to 1. Associated deliverables, assignees, comments and unlisted locations will also be flagged. A migration script to backfill these values will run tomorrow the 14th April at 0400 UTC.
Once enabled on the front end, the client will only sync unarchived items. This should reduce sync times for users, especially on first opening the app.
I expect to reduce the time to one week, but at the moment CSV export relies on two weeks of data being present. This should be updated to use graphql instead eventually.
Task history
Shows a view for admins to look at old Task data. Uses graphql to display content. Adds an index to tenantId and createdAt as a sortkey field.
Brings production/app.bloodbikes.org.uk up to date with master.
Main two new features:
Every night at 0300 UTC Tasks that are completed and older than two weeks will have an archived flag set to 1. Associated deliverables, assignees, comments and unlisted locations will also be flagged. A migration script to backfill these values will run tomorrow the 14th April at 0400 UTC.
Once enabled on the front end, the client will only sync unarchived items. This should reduce sync times for users, especially on first opening the app.
I expect to reduce the time to one week, but at the moment CSV export relies on two weeks of data being present. This should be updated to use graphql instead eventually.
Shows a view for admins to look at old Task data. Uses graphql to display content. Adds an index to tenantId and createdAt as a sortkey field.