message: emit recording events
diff: @@ -21,6 +21,7 @@ import SuiteState from "./SuiteState";
  import TestState from "./TestState";
  import PlaybackState from "./PlaybackState";
  import Command from "../../models/Command";
  +import Manager from "../../../plugin/manager";
  class UiState {
  @observable selectedTest = {};
  @@ -161,10 +162,19 @@ class UiState {
  @action.bound toggleRecord() {
  this.isRecording = !this.isRecording;
  + this.emitRecordingState();
  }
  @action.bound stopRecording() {
  this.isRecording = false;
  + this.emitRecordingState();
  + }
  +
  + @action.bound emitRecordingState() {
  + Manager.emitMessage({
  + action: "event",
  + event: this.isRecording ? "recordingStarted" : "recordingStopped"
  + });
  }
  @action.bound setSelectingTarget(isSelecting) {
  