Skip to content

Toggle transmission switch #7

@kylepolich

Description

@kylepolich

The plugin has three modes:

  • Transmitting
  • Off
  • Failure
  • Have a unique mode for each Tab open
  • All tabs begin in the "Off" mode
  • If the user is in "Off" and clicks the button in the toolbar, change the mode to "Transmitting" for the current tab only.
  • Show the change visually similar to http://recordit.co/9T71ae5597
  • If the user is in Transmitting or Failure and they click the button, change the mode to Off
  • If the mode is Transmitting and an error occurs, place the user in "Failure" mode. Do not worry about lost events. This will be covered in Adopt a solution for queuing up messages that can't be sent #8
  • How a system reaches Failure mode is described in Failure handing #9, no action is required in this Ticket except to allow the value (3 states)
  • If the user closes the Tab, Transmitting will end with that Tab. However, Chrome has a nice option of Shift+Command+T (on mac) which restores the last closed tab. In the event of this functionality, the goal is to maintain the Mode in the restored tab. If it is not possible, that is no problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions