Add rejection payload inspection in sync view

This commit is contained in:
Rijad Zuzo
2026-02-15 23:34:55 +01:00
parent 04d269ae10
commit 960a891eba
2 changed files with 76 additions and 9 deletions
+17 -1
View File
@@ -2,6 +2,21 @@
Updated: 2026-02-15
## Latest Milestone (2026-02-15): Sync Rejection Payload Inspection
Improved conflict handling UX in Sync view:
- Updated `lib/features/sync/sync_view.dart`:
- each rejected mutation now supports payload inspect/expand
- shows formatted local envelope payload JSON for failed mutations when
available
- keeps requeue/dismiss actions for operator control
Validation for this milestone:
- `flutter analyze` -> pass
- `flutter test` -> pass
## Latest Milestone (2026-02-15): Reachability-Gated Auto Sync
Added connectivity-aware gating to background sync auto-triggers:
@@ -157,7 +172,8 @@ Validation for this milestone:
- replace no-op scheduler with platform local notifications implementation
for Android/iOS/macOS/Windows/Linux/Web-safe fallback.
2. Conflict resolution UX:
- reject/requeue is implemented; still missing guided per-entity repair UI.
- reject/requeue + payload inspect are implemented; future enhancement is
direct deep-link navigation to entity edit screens from Sync view.
3. Sync trigger maturity:
- implemented via reachability gating; future improvement is explicit OS
connectivity event subscription.