tane/apps/app_seeds/test
vjrj fed0e8200e feat(sharing): make going online opt-in, and show what it unlocks
Tane dialled its four default relays at launch, before anyone had asked
for anything — an F-Droid reviewer spotted it, and they were right. The
seed book needs no network at all, so the app should not have one until
the person joins the sharing side.

- SocialSettings gains a three-state `sharingEnabled`. `null` means
  "never asked", which is what lets `migrateSharingEnabled` keep an
  existing install exactly as it was: anyone past the intro was on a
  build that connected at launch, so they keep messaging, device sync
  and offer alerts. A fresh install starts fully offline.
- bootstrap only starts the shared connection when sharing is on. The
  inbox/sync/plantaré/alert listeners are untouched: they react to a
  session, and none arrives.
- SharingSwitch is the single place that moves the stored choice, the
  live connection and the flag the UI listens to, so they cannot drift.
- Agreeing to the community rules is the opt-in — one consent surface,
  reached from the market or from the drawer's invitation.
- SocialConnection.start is now idempotent and gains stop(), so turning
  sharing off goes offline immediately instead of at the next launch.
- The social drawer entries stay visible but padlocked while sharing is
  off; tapping one explains what wakes up and offers to join. Hiding
  them would have kept the tool a secret. "Coming soon" is gone for
  good — everything it labelled is built.

Covered by tests for the migration in both directions, start/stop
lifecycle, the gate turning sharing on, the invitation, and the drawer
in all three states (no social layer / off / on).
2026-07-25 16:47:56 +02:00
..
data perf(inventory): lazy list, photo thumbnails, indexes, debounced reload 2026-07-20 22:53:48 +02:00
db perf(inventory): lazy list, photo thumbnails, indexes, debounced reload 2026-07-20 22:53:48 +02:00
domain feat(seed-saving): per-crop 'how to save this seed' guidance 2026-07-11 07:18:39 +02:00
i18n feat(block1): inventory walking skeleton + first quick-add slice 2026-07-07 15:16:14 +02:00
screenshots feat(sharing): make going online opt-in, and show what it unlocks 2026-07-25 16:47:56 +02:00
security feat(block1): inventory walking skeleton + first quick-add slice 2026-07-07 15:16:14 +02:00
services feat(sharing): make going online opt-in, and show what it unlocks 2026-07-25 16:47:56 +02:00
state fix(market): recover by itself when the shared connection comes up 2026-07-22 16:08:34 +02:00
support feat(sharing): make going online opt-in, and show what it unlocks 2026-07-25 16:47:56 +02:00
tool feat(species): expand catalog to ~1200 edible species from Wikidata 2026-07-10 02:00:47 +02:00
ui feat(sharing): make going online opt-in, and show what it unlocks 2026-07-25 16:47:56 +02:00
flutter_test_config.dart feat(block1): inventory walking skeleton + first quick-add slice 2026-07-07 15:16:14 +02:00
no_stream_first_in_widget_tests_test.dart test(fix): stop handover widget test hanging on awaited stream .first 2026-07-12 08:17:12 +02:00