Commit graph

161 commits

Author SHA1 Message Date
Richard
8afa503867 Scan settings are now remembered
This is done in local storage, and I'm
quite pleased with how neat it is!
Happy to be corrected on a better way to pass `this` though!
2021-06-03 16:09:40 +01:00
Richard Bowman
de28b0e2f6 Merge branch 'improve-local-development' into 'master'
Local development improvements

See merge request openflexure/openflexure-microscope-server!125
2021-05-18 10:56:10 +00:00
Richard Bowman
4d405443bb Merge branch 'scan-shape-limits' into 'master'
Add minimum scan dimension

See merge request openflexure/openflexure-microscope-server!123
2021-05-18 10:55:06 +00:00
Richard
126766aa06 Removed unnecessary package
I'm not using vuex-map-fields, so have
removed it.
2021-05-05 16:44:25 +01:00
Richard
0bdb5b4721 Actually save stream settings to local storage
After some refactoring, I lost the code that actually
saved stream settings to local storage.
This commit restores that functionality.
2021-05-05 16:19:43 +01:00
Richard
82a277b04c Cache stream settings in local storage
GPU preview and MJPEG stream settings are now persisted
using localStorage.  The old code that disabled
the stream for local connections now
just sets the initial/default value.

The initialisation of stream settings is now done
in the created() method of streamContent.vue.

I've eliminated the "globalsafetogglepreview" event
in favour of watching the store.
2021-04-27 16:36:55 +01:00
Richard
e14800b549 linter fixes 2021-04-27 14:28:08 +01:00
Richard Bowman
1f1a75c02a Merge branch 'master' into auto-exposure-gain-awb 2021-04-21 12:10:47 +01:00
Kaspar Emanuel
97bbbdee84 Merge branch 'ihi_scan' into 'master'
IHI scan style raster

See merge request openflexure/openflexure-microscope-server!113
2021-03-30 12:29:32 +00:00
Richard Bowman
03a4f36556 Remove spurious GPU preview event 2021-03-01 12:20:04 +00:00
Richard Bowman
8624e45df4 Axios version bump and vuex-map-fields
vuex-map-fields cleans up code when mapping
store state to local computed properties.
2021-02-23 17:36:58 +00:00
Richard Bowman
a7bb0f9423 Reset tour button and URL origin
Reset tour button resets the local storage used to mark the tour
as done.

Overriding the origin can now be done with a query string.
This will load the store with the new origin from the start,
so might be better for testing some things.
I'm not worried about unexpected bugs, as it is quite obvious
from the URL what's going on.
2021-02-23 15:56:15 +00:00
Richard Bowman
1f3ba2bff1 Allow origin to be overridden by query
Specifying overrideOrigin in the URL now
sets up the store with the modified origin.
This is intended for development, and makes it
much less annoying to develop with a Vue dev server.
2021-02-23 15:54:28 +00:00
Richard Bowman
1e45640195 Added control to reset LST
You can now recalibrate the LST without running auto-gain.
2021-02-15 20:19:39 +00:00
Richard Bowman
36284c10be UI Improvements
I've added buttons to perform the separate calibrations (gain, AWB)
under the full recalibrate link.
It would be really nice to have a modal dialog though.
2021-02-15 19:17:20 +00:00
Richard Bowman
2f6049610f Added controls for AWB gains,
I also increased the precision of the numbers, which makes the step
buttons annoyingly useless but allows floating point
values without validation errors.
2021-02-15 17:50:39 +00:00
Richard Bowman
fc86745006 Fix whitespace 2021-02-09 10:19:56 +00:00
Richard Bowman
2b3c0a9bac Make the origin override persistent
The dev tools pane now remembers the last address you entered in
"override origin" to save a few clicks  when doing local Vue development
2021-02-09 09:46:52 +00:00
Richard Bowman
df5d0dab68 Add minimum scan dimension
It doesn't make sense to allow fewer than 1 image in any dimension
of a scan.  Currently, supplying 0 gives a division by zero error.
I've added min="1" to each control.
2021-02-08 20:26:16 +00:00
Richard Bowman
afbb71607d Fix placement of tour messages for icons
The tour pop-ups were getting stuck in the tab icon container.
Explicitly specifying that they could overflow said container,
and setting them to show to the right, seems to have fixed this issue.
2021-02-06 15:32:27 +00:00
Joe Knapper
3d47591cc9 Explicitly state IHI scan style as raster rather than server default 2021-02-03 12:18:57 +00:00
Joel Collins
f877c4f745 Added Spiral scan to standard options 2021-01-05 14:30:49 +00:00
Joel Collins
18956bf230 Update README.md 2020-12-09 16:04:23 +00:00
Joel Collins
d2488c566a Added more Advanced bitrate controls 2020-12-08 17:57:42 +00:00
Joel Collins
42e0dfd39c Replaced MJPEG quality setting with MJPEG bitrate 2020-12-07 17:05:56 +00:00
Joel Collins
c75a7c5401 Lockfile update 2020-12-07 11:13:35 +00:00
Joel Collins
9d04842c56 Handle missing this.$refs.textboxKey ref 2020-12-07 11:12:07 +00:00
Joel Collins
599c31534d globalUpdateCaptures after scan 2020-12-07 10:37:04 +00:00
Joel Collins
1de6b2a0ab Fixed onScanError 2020-12-04 15:14:30 +00:00
Joel Collins
4d1d0a15c4 Added log level filter 2020-12-04 15:08:47 +00:00
Joel Collins
08f653233b Fixed onError propagation 2020-12-04 15:08:39 +00:00
Joel Collins
213dec3e5c Fixed individual captures creating 'undefined' dataset 2020-12-04 14:24:00 +00:00
Joel Collins
3c3ecd7f0c Updated dependencies 2020-12-04 13:39:49 +00:00
Joel Collins
fd42e2e2b6 Fixed broken dataset rendering if key exists but is empty 2020-12-01 17:13:20 +00:00
Joel Collins
7866ec0f47 Static type analysis 2020-11-30 13:36:45 +00:00
Joel Collins
4ba4403125 Added custom h4 formatting 2020-11-24 12:28:59 +00:00
Joel Collins
455b8681f7 Rearranged element layout 2020-11-24 12:28:45 +00:00
Joel Collins
a2f8158698 feat: Removed backlash settings 2020-11-24 12:26:31 +00:00
Joel Collins
c0fcd22cc3 feat: Added backlash and settle time settings 2020-11-24 12:26:14 +00:00
Joel Collins
0f7cecb545 feat: Added stream and capture quality settings 2020-11-24 12:25:57 +00:00
Joel Collins
e17366d976 fix: Fixed IHI tab icon duplication bug 2020-11-24 12:25:30 +00:00
Joel Collins
3e783c5e7c Common watch format 2020-11-23 17:32:09 +00:00
Joel Collins
d49b34ef6c Added options to invert navigation steps 2020-11-23 17:32:00 +00:00
Joel Collins
2e34722d6e Removed old console logs 2020-11-23 13:08:44 +00:00
Joel Collins
358d44189b Removed unneeded plugin:vue/essential 2020-11-23 12:00:14 +00:00
Joel Collins
3c2b5f56a1 Fixed release notes 2020-11-22 17:10:52 +00:00
Joel Collins
52942d598d Updated Vue ESLint plugin 2020-11-22 17:06:30 +00:00
Joel Collins
ef9f257e23 Fixed global state and scrolltotop 2020-11-22 17:01:46 +00:00
Joel Collins
a1ae94792e Cleaned up store and removed unused FoV setting 2020-11-22 16:52:30 +00:00
Joel Collins
f187a3a00d Removed unused webcomponent support 2020-11-22 16:33:01 +00:00