Skip to content

Detect out-of-sync error on file-edit event #293

Description

@JonJagger

Suppose students A and B are in the same kata, both at 3.0
A makes a file edit -> 3.1
B makes a file edit, but this silently does not get saved -> 3.0
B makes another file edit, but this too is not saved -> 3.0
B now presses [test] only now do they get an out-of-sync error.
B's state is in their browser, but they have to refresh and lose it, since A is ahead.

It would be better if B got an out-of-sync error on their first file-edit event.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions