Skip to content

Don't show local traffic-light when there is an out-of-sync mobbing error #277

Description

@JonJagger

Suppose two people are working the same cyber-dojo practice session (with the same kata id) in two different browsers.
Sarah gets "ahead" of Fred and she has three traffic-lights, red, amber, green (say).
Meanwhile, Fred is behind, and only sees one red traffic-light.
In this case, after Fred has made some edits, when he presses [test] he will get a dialog box popping telling him that he has got an "out-of-sync" mobbing error.
A new traffic-light will also appear, but that new traffic-light has not been saved.
Rework the necessary code so that the "out-of-sync" mobbing error is shown, but the traffic-light does NOT appear.
Also tweak the mobbing error text (from source/app/kata/run_tests.js.rb) so that it says "Failed to save the COLOUR traffic-light".

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

    Type

    No type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions