Removed now-redundant TODO comments

This commit is contained in:
Joel Collins 2020-11-13 11:27:54 +00:00
parent 004ba0b06e
commit c0f9f34256
4 changed files with 0 additions and 9 deletions

View file

@ -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

View file

@ -131,7 +131,6 @@ export default {
},
submitApiUri: function() {
// TODO: This could probably be handled more explicitally
return this.pluginApiUri + this.route;
}
},

View file

@ -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

View file

@ -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"]