tane/apps/app_seeds/lib/data
vjrj 3de01bd948 perf(inventory): lazy list, photo thumbnails, indexes, debounced reload
Scale the local inventory to 10k+ varieties:
- Render the list with ListView.builder over a flattened header/item model
  instead of building every tile upfront.
- Store a small regenerable JPEG thumbnail per photo (schema v14) and use it
  for the 48px list avatar; full bytes stay for offer image hosting. Existing
  photos are backfilled lazily at startup. Thumbnail is local-only (excluded
  from CRDT sync and backups by the JSON codec).
- Add indexes on varieties(is_deleted,is_draft), attachments(parent_type,
  parent_id,kind), lots(variety_id) via @TableIndex.
- Debounce watchInventoryView (~250ms) so a burst of table writes triggers one
  reload, not seven.
- cacheWidth/cacheHeight on the list avatar decode.
- Scale test raised 3k -> 10k; migration test v13 -> v14.
2026-07-20 22:53:48 +02:00
..
export_import feat(app): ask 'how did it do?' when a harvest is noted (schema v13) 2026-07-18 12:18:25 +02:00
seed_saving_catalog.dart feat(seed-saving): source attribution + advisory note 2026-07-11 07:52:48 +02:00
species_catalog.dart perf(species): seed the bundled catalog only once per version 2026-07-10 15:46:04 +02:00
species_repository.dart perf(species): seed the bundled catalog only once per version 2026-07-10 15:46:04 +02:00
variety_repository.dart perf(inventory): lazy list, photo thumbnails, indexes, debounced reload 2026-07-20 22:53:48 +02:00