Commit c0f9f342 authored by Joel Collins's avatar Joel Collins
Browse files

Removed now-redundant TODO comments

parent 004ba0b0
Loading
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -184,7 +184,6 @@ export default {
    this.checkConnection();
    // Handle guided tour
    // If the user has already completed or skipped the guided tour
    // TODO: Only run this if connected to the API
    var completedTour = this.getLocalStorageObj("completedTour") || false;
    if (!completedTour) {
      this.$tours["guidedTour"].start();
@@ -207,8 +206,6 @@ export default {
    );

    // Keyboard shortcuts

    // TODO: Shortcut guide
    Mousetrap.bind("?", () => {
      console.log(this.keyboardManual);
      this.toggleModalElement(this.$refs["keyboardManualModal"]); // Calls the mixin
+0 −1
Original line number Diff line number Diff line
@@ -131,7 +131,6 @@ export default {
    },

    submitApiUri: function() {
      // TODO: This could probably be handled more explicitally
      return this.pluginApiUri + this.route;
    }
  },
+0 −3
Original line number Diff line number Diff line
@@ -124,8 +124,6 @@ class GPUPreviewStartAPI(ActionView):
            window = [int(w) for w in window]

        microscope.camera.start_preview(fullscreen=fullscreen, window=window)

        # TODO: Make schema for microscope state
        return microscope.state


@@ -136,5 +134,4 @@ class GPUPreviewStopAPI(ActionView):
        """
        microscope = find_component("org.openflexure.microscope")
        microscope.camera.stop_preview()
        # TODO: Make schema for microscope state
        return microscope.state
+0 −2
Original line number Diff line number Diff line
@@ -45,7 +45,6 @@ class MoveStageAPI(ActionView):
        else:
            logging.warning("Unable to move. No stage found.")

        # TODO: Make schema for microscope state
        return microscope.state["stage"]["position"]


@@ -60,5 +59,4 @@ class ZeroStageAPI(ActionView):
        with microscope.stage.lock(timeout=1):
            microscope.stage.zero_position()

        # TODO: Make schema for microscope state
        return microscope.state["stage"]