Richard Bowman
cbd8b090ec
Replace tasksubmitter with action-button
...
I've changed tasksubmitter to accept a "thing" and "action" rather than a single URL. This seems more in keeping with
propertyControl, and eliminates the need for loads of
computed properties.
I've also deleted (rather than just commenting out) chunks of the web app that are no longer in use. These may be
reinstated in the future - but we can get them from git
history. It's less confusing not to have vestigial
code in the repo.
This builds OK but is not, as yet, tested with hardware.
2024-02-29 21:44:39 +00:00
Joe Knapper
f2cfa9faf8
Working delete all and auto reload when deleting or opening tab
2024-02-21 17:45:39 +00:00
Joe Knapper
361130eea6
Download zip button from scan tab
2024-02-21 16:36:17 +00:00
Joe Knapper
97c114b77e
Show scan folder instead of name
2024-02-21 15:47:42 +00:00
Joe Knapper
61d7712c27
tiff as an option
2024-02-09 19:05:20 +00:00
Joe Knapper
6aa712e515
Rescaling stitch preview to avoid scrolling in y
2024-02-09 16:08:21 +00:00
Joe Knapper
81d6514eb0
Always show scan name during scan
2024-01-23 11:42:03 +00:00
Richard Bowman
6a47835ea1
Re-label check coverage button
2024-01-17 14:13:12 +00:00
Richard Bowman
1b39f9d5c0
Add a button to stitch scans
2024-01-17 13:46:29 +00:00
Richard Bowman
653e1a4159
Added a button to flash the LED
2024-01-17 13:36:26 +00:00
Richard Bowman
50cf8e6f78
Generate zip files before download
...
Previously, zip files were only downloaded if they already
existed. Now, they are created with an action, then
downloaded from the result.
Chrome now insists on downloading the files as `output.zip`, I can't see why this has changed, but perhaps it's related
to the security warning. This seems to be specific to zip files.
2024-01-17 13:16:41 +00:00
Richard Bowman
674704b0d6
Display the microscope's hostname in the interface
2024-01-17 11:55:03 +00:00
Richard Bowman
6e18a91d1f
Hide background detect settings in an accordion
...
Feedback from clinicians is that this tab was too busy. This commit hides all but the two essential buttons.
2024-01-17 11:28:36 +00:00
Richard Bowman
011dc2191c
Add a control to set whether scans are automatically stitched.
2024-01-15 21:36:15 +00:00
Richard Bowman
7d63c9da44
Add a button to save settings to disk
2024-01-15 21:19:03 +00:00
Joe Knapper
e483c3ddfb
custom scan name from gui
2024-01-15 17:40:17 +00:00
Richard Bowman
20efaa2799
Appearance tweaks
...
actionLogDisplay had white-on-white text in dark mode: I've fixed color to be black now.
added a title for the mini stream display during scans
2024-01-11 14:08:32 +00:00
Richard Bowman
6b6946ec60
Cope with an empty scan list
2024-01-11 13:37:57 +00:00
Richard Bowman
f26230efb6
Swap background detect from argument to property
...
I've added boolean support to PropertyControl. This required
working around a bug in axios, that ignored `false` when sent
as the body of a request.
2024-01-11 03:01:33 +00:00
Richard Bowman
3de7aa2fb2
Don't invoke stitching from the front-end
...
Stitching is now done automatically in a sub process by the
server. This is much cleaner - and all we need to do is poll for
file updates.
I've also styled the log display slightly better.
2024-01-11 01:51:17 +00:00
Richard Bowman
6b466c80a9
Add polling for preview stitched images
2024-01-11 01:50:01 +00:00
Richard Bowman
215bfb5121
Leave scan log open until closed
...
The log/progress view is now closed explicitly, rather than disappearing as soon as the scan is over.
2024-01-10 20:46:06 +00:00
Richard Bowman
81540ebc45
Linter fixes
2024-01-10 20:46:06 +00:00
Richard Bowman
46444770f3
Improved styling and synchronisation
2024-01-10 20:46:06 +00:00
Richard Bowman
53644a691b
Refactored taskSubmitter to enable bits to be re-used
2024-01-10 20:46:06 +00:00
jaknpper
d219e32bc8
Option to run scan without background detect in webapp and Thing
2024-01-09 20:24:51 +00:00
Joe Knapper
89dae7ba80
Button for not-smart scan and better positioned navigate buttons
2024-01-09 16:46:13 +00:00
Joe Knapper
090f447d26
Thing properties for autofocus dz, overlap and range limit
2024-01-08 19:33:24 +00:00
Richard Bowman
7eeee89b23
Error messages if background detect fails.
2024-01-08 16:40:07 +00:00
Richard Bowman
c0d25b194c
Format fixes/disable warnings
...
My v-html use is OK as the HTML is sanitized.
2024-01-08 16:24:43 +00:00
Richard Bowman
4f1035cbe6
Handle python "underlining" nicely
...
Python stack traces use spaces and carets to "underline" the
code causing the problem. I've now matched and processed
these lines to add <u> tags.
This necessitated escaping messages and displaying raw HTML
which is now done by `escapeText`.
2024-01-08 15:51:46 +00:00
Richard Bowman
4bf473fad7
Better handling of multiline logs
...
I fixed a logic error related to the reversing of the list, and
now display multi-line log messages as a single summary line with a "more info" link to expand them.
Expanded log messages show without text wrap - this makes
Python exception traces easier to read.
For extra points, we could even do something cunning, like
process the ^^^ markers into <u>
2024-01-08 15:30:51 +00:00
Richard Bowman
24060b6d2a
Cope with multiline logs
2024-01-08 11:53:37 +00:00
Joe Knapper
cb916bb4a3
Image fraction and label as a thing property in webapp
2024-01-07 14:58:19 +00:00
Richard Bowman
858e99a47f
Add a viewer for scans with delete and download buttons
2024-01-05 00:44:05 +00:00
Richard Bowman
7959b34c44
Deleted unused code from slideScan
2024-01-05 00:43:46 +00:00
Richard Bowman
a442709412
Linter fixes
2024-01-04 16:35:38 +00:00
Richard Bowman
7dd4c1f4c6
Add modal progress box for stage recentering
...
I've also added a title to the modal box
2024-01-04 15:54:56 +00:00
Richard Bowman
a18ac90c24
Allow camera stage mapping calibration to be cancelled
2024-01-04 14:49:27 +00:00
Richard Bowman
8e2402af18
Enable cancelling moves
...
This enables the cancel button - it will be necessary to update `labthings-sangaboard` for this to work.
2024-01-04 10:07:44 +00:00
Richard Bowman
c7f828e373
Add a button for smart scan
2024-01-04 02:08:39 +00:00
Richard Bowman
44a7a8c1ab
Tidy up background detect pane
2024-01-04 00:33:39 +00:00
Richard Bowman
40580327c6
Linter fixes
2024-01-03 21:53:14 +00:00
Richard Bowman
5ca8070bc8
WIP: modal progress dialog for TaskSubmitter
...
Longer-running tasks would benefit hugely from showing the
operator a progress indicator. This branch will add a basic
log display allowing messages to be shown to the user.
This branch may also add an abort button to the above dialog.
2024-01-03 21:40:12 +00:00
Richard Bowman
778da73a70
Web app controls for background detection
...
There are now buttons to set, and check, the background
detect plugin.
2024-01-03 21:36:25 +00:00
Richard Bowman
0083231b85
Switch to matierial-symbols
...
material-design-icons was outdated and missing symbols. I've now switched, as recommended in the issue.
/closes #254
2024-01-03 20:51:32 +00:00
Richard Bowman
656e902198
Add a button to recentre the stage.
2024-01-03 17:15:29 +00:00
Richard Bowman
37f6251d41
Eliminate references to old extensions API
...
Some of these will, in the future, be replaced by the new
API but, for now, the features in question are disabled anyway.
2024-01-03 14:28:31 +00:00
Richard Bowman
b23d6043c5
Remove IHI slidescan from features settings
2023-12-15 01:22:21 +00:00
Richard Bowman
c8906008ed
Update zero coordinates button
...
This now uses a taskSubmitter and the new URL
2023-12-15 00:32:37 +00:00