Skip to content

fix(app): explain Offline Sync device availability accurately - #26059

Merged
aryanorastar merged 1 commit into
mainfrom
codex/24715-offline-sync-capability
Nov 22, 2026
Merged

aryanorastar merged 1 commit into
mainfrom
codex/24715-offline-sync-capability

Conversation

@aryanorastar

@aryanorastar aryanorastar commented Nov 22, 2026 •

Copy link
Copy Markdown
Collaborator

What changed and why

Offline Sync now gives reconnect guidance for a disconnected wearable, lets users retry an inconclusive storage check, and shows an unsupported message only when the device's storage capability is established. Device Settings and phone activity share the device entry rule. Phone-local recordings remain accessible.

The connection owns one storage check at a time and retires it on link loss. The localized unsupported message drops V1/V2 wording in all 48 affected locales. The translations come from cocvn157's earlier PR #24818.

Fixes #24715.

Product invariants affected

  • INV-CAP-1. The new check reads existing device status and controls page entry. Recording, storage and deletion protocol behavior remains the same.

Line-Count-Exception: app/lib/providers/device_provider.dart | 1746 -> 1765 | Own one storage capability result at the existing account and connection reset points. Protocol proof and dialog behavior remain in their current layers.

How it was verified

  • 67 focused Flutter tests passed. Tests tap the real Device Settings Offline Sync row and On the Way details, verify English and German guidance, exercise Cancel, retry and phone-local entry, and simulate the native discovery and same-device reconnect state.
  • Focused Dart analysis passed. Localization validation passed across 49 locales. English wording for unsupported hardware stays the same.
  • All 31 seeded mobile journeys passed, including the capture reconnect journey.
  • The UI evidence uses the real Flutter widgets with synthetic recordings and device state in an iOS-layout renderer.

Tests

  • app/test/widgets/offline_sync_entry_test.dart and app/test/widgets/device_settings_double_tap_test.dart
  • app/test/unit/offline_storage_capability_test.dart and app/test/providers/device_provider_test.dart

UI evidence

German connect guidance
English retry prompt
German unsupported storage message

Failure class

Failure-Class: none

@aryanorastar
aryanorastar marked this pull request as ready for review November 22, 2026 17:15
@aryanorastar
aryanorastar merged commit dea64c4 into main Nov 22, 2026
55 checks passed
@aryanorastar
aryanorastar deleted the codex/24715-offline-sync-capability branch November 22, 2026 17:15
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-22T17:19:20.270237Z 3aaa4a8 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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.

Offline Sync: disconnected CV1 triggers misleading V1/V2 warning; 48 locales retain old copy

1 participant