7 Commits
Author SHA1 Message Date
waozi 6cf048cfee Fix stale sync test baselines and missing test targets 2026-10-24 15:50:01 -03:00
waozi a5b4eec148 Raise the synced record fields for photo preview sizes
Node storage counts preview.size since 14c57367, so a device that kept
media records from an older version downloads them again once.
2026-10-24 04:31:03 -03:00
waozi 43131468fa Preserve practice session details and restore account navigation 2026-10-22 19:50:02 -03:00
waozi 0f59b6ee0b Support zero habit goals and signed occurrence coins 2026-10-22 03:41:45 -03:00
waozi 01204b183f Give each shop reward a symbol chosen from a grid
A square button before the reward's name shows its symbol; a tap opens
every habit icon in a grid under it, and the rows and the buy dialog
show the symbol too. New rewards start with a gift. The icon set gains
gift, film, game, cake, pizza, shopping bag, airplane, ticket and
headphones. Rewards keep their symbol in a new column and in their
synced record, so devices download their records again once.
2026-10-19 12:51:59 -03:00
waozi 4c786b93ce Fix the Android JNI and synced record field tests
Kryon's Android device module has brought its text menu widgets since the
touch text selection change, so the Android JNI test (which the health,
push, wakelock and import tests also run) failed to link their host
functions. It now uses the same host stand-ins as the text input test,
whose unused parameters are marked for -Werror.

The synced record field check now lists "size", the Diary photo entry
field read for photo storage sizes. Entries are kept whole on every device,
so no record download is needed.
2026-10-17 03:19:14 -03:00
waozi 880f5b8c63 Never drop synced fields an app version doesn't know
Each device now keeps every synced record with all its fields, as it
arrived or left. When it sends a record again, its own fields go on top of
that copy, so an older version never removes fields a newer version added,
on its own device or for the account's other devices. Clearing local sync
data or resetting sync clears these copies too.

A new check lists every field the sync reads from records. When that list
changes, STORAGE_SYNC_RECORD_FIELDS has to rise with it, so every device
downloads its records again once and gets the new fields.
2026-10-13 22:21:23 -03:00