-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
Context
Currently, sync conflicts are resolved silently server-side (last-write-wins or server wins). This is acceptable for v1 but leaves users unaware that their local edits may have been overwritten.
Desired Behavior
When the server rejects a local change due to a conflict:
- Mark the recipe as
syncState = CONFLICTin Room - Show the user a non-intrusive indicator (e.g. a yellow badge on the recipe card)
- Provide a conflict resolution UI: 'Your version' vs 'Server version' with Keep/Overwrite options
Notes
This is acknowledged as future work — implementing the SyncState.CONFLICT DB state is the key first step. The UI resolution flow can follow.
Acceptance Criteria
-
SyncState.CONFLICTis a valid Room-persisted state - Sync worker sets this state when server returns a conflict response
- Recipe list shows a visual indicator for conflicted recipes
- (Future) Resolution UI allows choosing local vs server version
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request