diff --git a/.gitignore b/.gitignore index cb646cb4..185e6631 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,21 @@ -.vscode/ -.idea/ -dist/ -node_modules/ \ No newline at end of file +.DS_Store +node_modules +/dist + +# local env files +.env.local +.env.*.local + +# Log files +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# Editor directories and files +.idea +.vscode +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw* diff --git a/README.md b/README.md new file mode 100644 index 00000000..70784b0d --- /dev/null +++ b/README.md @@ -0,0 +1,42 @@ +# OpenFlexure.vue + +## To-do +* ~~Connect~~ + * ~~Connect to user-input IP~~ + * ~~Store connection in vuex store~~ + +* ~~Move~~ + * ~~Read absolute position~~ + * ~~Change absolute position~~ + * ~~Keyboard movement~~ + * ~~Mouse scroll focus~~ + * ~~Double-click to centre~~ + +* Gallery + * ~~Basic card for each capture~~ + * ~~Thumbnails~~ + * ~~Reload button~~ + * Download buttons + * ~~Lightbox~~ + * Save to disk + * ~~Basic info/metadata modal~~ + * ~~Tags~~ + * ~~Read tag list~~ + * ~~Add tag button~~ + * ~~Delete tag button~~ + * Tag filter + +* ~~Capture~~ + * ~~UI elements for capture options~~ + * ~~Big, friendly capture button~~ + * ~~Metadata for captures~~ + * ~~Tags for captures~~ + +* Plugins + * ~~Placeholder for other plugins~~ + * Accordion for: + * Autofocus + * Recalibrate + +* Settings + * Metadata keys to automatically add (e.g. userID, patientID) \ No newline at end of file diff --git a/babel.config.js b/babel.config.js new file mode 100644 index 00000000..ba179669 --- /dev/null +++ b/babel.config.js @@ -0,0 +1,5 @@ +module.exports = { + presets: [ + '@vue/app' + ] +} diff --git a/index.html b/index.html deleted file mode 100644 index df36b0a1..00000000 --- a/index.html +++ /dev/null @@ -1,128 +0,0 @@ - -
-
- x:
- y:
- z:
-
- - -
-- Autofocus: - - - -
- -
- Doubleclick to position:
-
- Up/down/left/right:
- Move stage in x-y.
- PgUp/PgDn:
- Move stage in z/focus.
-
Scroll to focus:
- -Host: {{ $store.state.host }}
+Base URI: {{ $store.getters.uri }}
+Device name: {{ $store.state.apiConfig.name }}
+ + + +Time: {{ betterTimestring }}
+ID: {{ metadata.id }}
+Format: {{ metadata.format }}
+Path: {{ metadata.path }}
+ +{{ key }}: {{ value }}
+