8000 feat(sync): prompt to pair again after a stale restore (ACF-47) by ahmet-cetinkaya · Pull Request #336 · ahmet-cetinkaya/whph · GitHub
[go: up one dir, main page]

Skip to content

feat(sync): prompt to pair again after a stale restore (ACF-47) - #336

Merged
ahmet-cetinkaya merged 1 commit into
feat/reliable-secure-lan-syncfrom
feat/sync-p3-18-repair-prompt
Oct 29, 2026
Merged

ahmet-cetinkaya merged 1 commit into
feat/reliable-secure-lan-syncfrom
feat/sync-p3-18-repair-prompt

Conversation

@ahmet-cetinkaya
Copy link
Copy Markdown
Owner

What

ACF-47: after a restore from an older backup (or a lost key file) the app sets SyncGroupState.needsRepairing, but the sync devices page only had a card for removedFromGroup. The device stopped syncing with no explanation. It now shows NeedsRepairingCard ("Pair this device again": it was restored from an older backup, the group no longer recognises it) with the existing add-device action.

Tests

  • widget test: the card explains the stale restore and the button calls onPair.
  • Removing the keys from one locale fails translation_analysis_test (checked).
  • dart analyze clean; test/presentation/ui/features/sync, test/core/application/features/sync, locale analysis: 176 pass.
  • Not run: on-device check of the page (human QA).

…tore (ACF-47)

SyncGroupState.needsRepairing was set by restore/key loss but only removedFromGroup had a card, so a device restored from an old backup stopped syncing without a word. NeedsRepairingCard explains it and offers pairing, in all 22 locales.
@ahmet-cetinkaya
ahmet-cetinkaya merged commit 116a1c3 into feat/reliable-secure-lan-sync Oct 29, 2026
ahmet-cetinkaya added a commit that referenced this pull request Oct 29, 2026
…rty-reissue

test(sync): group-state card shows only the card meant for its state (#336 MINOR)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0