Skip to content

Conflict Resolution Dialog #14798

@diegoreymendez

Description

@diegoreymendez

We've been receiving a lot of complaints of users confused about posts not being updated and displaying the "Local Changes" label (ref #9449).

To reproduce this issue:

  1. Create a post using the app and save as a draft
  2. Open the post, type some content and then close the app (without exiting the editor)
  3. Go to the web, change the post content and publish it
  4. Go back to the app, the post will have a "Local changes" label and will never update unless the user discards the changes

Our goal is to match the implemented behavior in Android, which displays a clear message to the user and prompts for an action:

Post list Prompt

Acceptance criteria

Showing label

  • When the user has a post with local changes
  • That has been published with another device (ie.: web)
  • The app shows "Version conflict" label

Showing prompt to the user

  • When the user has a post with local changes
  • That has been published with another device (ie.: web)
  • And the user tap to edit the post
  • We prompt the user to choose between the local version or the remote version

Choosing "Discard web"

  • We update the post using the local post

Choosing "Discard local"

  • We discard the local post

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions