Skip to content

Trashed post reappearing (snackbar / refresh race condition) #5862

@mzorz

Description

@mzorz

Expected behavior

In the posts list, when you trash a post, it should not reappear in the posts list unless you tap undo in the snackbar right after trashing

Actual behavior

if you trash a post the snackbar is shown (and the item in the list disappears), then if you refresh the list before the snackbar is hidden, the post re-appears (because it hasn’t been deleted on the backend yet).

Tested on [Pixel], Android [7.2.1]

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