Removed now-redundant TODO comments
This commit is contained in:
parent
004ba0b06e
commit
c0f9f34256
4 changed files with 0 additions and 9 deletions
|
|
@ -184,7 +184,6 @@ export default {
|
||||||
this.checkConnection();
|
this.checkConnection();
|
||||||
// Handle guided tour
|
// Handle guided tour
|
||||||
// If the user has already completed or skipped the 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;
|
var completedTour = this.getLocalStorageObj("completedTour") || false;
|
||||||
if (!completedTour) {
|
if (!completedTour) {
|
||||||
this.$tours["guidedTour"].start();
|
this.$tours["guidedTour"].start();
|
||||||
|
|
@ -207,8 +206,6 @@ export default {
|
||||||
);
|
);
|
||||||
|
|
||||||
// Keyboard shortcuts
|
// Keyboard shortcuts
|
||||||
|
|
||||||
// TODO: Shortcut guide
|
|
||||||
Mousetrap.bind("?", () => {
|
Mousetrap.bind("?", () => {
|
||||||
console.log(this.keyboardManual);
|
console.log(this.keyboardManual);
|
||||||
this.toggleModalElement(this.$refs["keyboardManualModal"]); // Calls the mixin
|
this.toggleModalElement(this.$refs["keyboardManualModal"]); // Calls the mixin
|
||||||
|
|
|
||||||
|
|
@ -131,7 +131,6 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
submitApiUri: function() {
|
submitApiUri: function() {
|
||||||
// TODO: This could probably be handled more explicitally
|
|
||||||
return this.pluginApiUri + this.route;
|
return this.pluginApiUri + this.route;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -124,8 +124,6 @@ class GPUPreviewStartAPI(ActionView):
|
||||||
window = [int(w) for w in window]
|
window = [int(w) for w in window]
|
||||||
|
|
||||||
microscope.camera.start_preview(fullscreen=fullscreen, window=window)
|
microscope.camera.start_preview(fullscreen=fullscreen, window=window)
|
||||||
|
|
||||||
# TODO: Make schema for microscope state
|
|
||||||
return microscope.state
|
return microscope.state
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -136,5 +134,4 @@ class GPUPreviewStopAPI(ActionView):
|
||||||
"""
|
"""
|
||||||
microscope = find_component("org.openflexure.microscope")
|
microscope = find_component("org.openflexure.microscope")
|
||||||
microscope.camera.stop_preview()
|
microscope.camera.stop_preview()
|
||||||
# TODO: Make schema for microscope state
|
|
||||||
return microscope.state
|
return microscope.state
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,6 @@ class MoveStageAPI(ActionView):
|
||||||
else:
|
else:
|
||||||
logging.warning("Unable to move. No stage found.")
|
logging.warning("Unable to move. No stage found.")
|
||||||
|
|
||||||
# TODO: Make schema for microscope state
|
|
||||||
return microscope.state["stage"]["position"]
|
return microscope.state["stage"]["position"]
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -60,5 +59,4 @@ class ZeroStageAPI(ActionView):
|
||||||
with microscope.stage.lock(timeout=1):
|
with microscope.stage.lock(timeout=1):
|
||||||
microscope.stage.zero_position()
|
microscope.stage.zero_position()
|
||||||
|
|
||||||
# TODO: Make schema for microscope state
|
|
||||||
return microscope.state["stage"]
|
return microscope.state["stage"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue