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
Richard Bowman
93757c2103
Improve responsiveness and reliability of moves
...
Fixed a bug where incorrect values in the position control
caused incorrect relative moves.
Decreased the polling interval to make moves more responsive.
2023-12-15 00:15:23 +00:00
Richard Bowman
a9fdb6fd52
Update position controls to resemble propertyControl
...
I've simplified the HTML template and added a refresh button.
2023-12-15 00:00:02 +00:00
Richard Bowman
30deedde9e
Route all moves through the Move taskSubmitter
...
I've consolidated move code (except moveinimagecoordinates)
so that it now all simulates clicking "submit" on the taskSubmitter.
2023-12-14 23:38:16 +00:00
Richard Bowman
77c43c824d
Restore log viewer
2023-12-13 01:53:55 +00:00
Richard Bowman
7c662b2787
Added capture buttons to navigate pane
2023-12-11 22:23:32 +00:00
Richard Bowman
e3265b1dff
await readThingProperty correctly
2023-12-01 21:27:38 +00:00
Richard Bowman
5d87a7582e
Format fixes
2023-12-01 02:23:58 +00:00
Richard Bowman
65c881fea1
Make calibrateXYUri a computed property
...
This makes it properly reactive again.
2023-12-01 01:46:11 +00:00
Richard Bowman
f97dcb6abc
More tidying up to use new thing property functions
2023-12-01 01:45:45 +00:00
Richard Bowman
ccf9b38c34
Use thingAvailable via computed prop
...
Computed properties are needed to make things reactive.
2023-12-01 01:28:08 +00:00
Richard Bowman
55305a67f4
Remove old print statement
2023-12-01 00:58:29 +00:00
Richard Bowman
471a89cc72
Update paneCapture with new-style thing access
2023-12-01 00:56:13 +00:00
Richard Bowman
ca6988ca99
Update statusPane with new-style thing access
2023-12-01 00:55:56 +00:00
Richard Bowman
9c3c2bb043
Update CSMSettings to use new-style access
...
Also deleted a lot of old code (which wasn't running)
2023-12-01 00:55:25 +00:00
Richard Bowman
c2ec060df9
Switch to using TDs in the store
2023-11-30 23:22:10 +00:00
Richard Bowman
54df1faeeb
Linter fixes
2023-11-30 23:21:45 +00:00
Richard Bowman
6c48444126
Removed vestigial code from CSMSettings
2023-11-30 09:14:04 +00:00
Richard Bowman
b47ac8b828
Remove unused URL computed props
2023-11-30 00:20:26 +00:00
Richard Bowman
24bfb4c253
Remove vestigial stage settings
2023-11-30 00:02:53 +00:00
Richard Bowman
488493385f
Combine the various property controls into one component
...
propertyControl now handles several different property types,
based on the thing description. This reduces duplication and
should keep the code cleaner.
In the future this will become a part of a labthings-vue package,
I hope!
2023-11-29 23:54:00 +00:00
Richard Bowman
595101248e
Removed node-wot but kept centralised TD store
...
I had intended to store a ConsumedThing for each Thing, in
a module in the store. Until that is possible (will require some
more attention to dependency management) I will just store
the TDs instead.
This commit includes a lot of the code I wrote for node-wot use,
but without any dependence on node-wot.
2023-11-29 22:43:55 +00:00
Richard Bowman
1d24701dfd
Fix shutdown/restart buttons
2023-11-02 21:33:42 +00:00
Richard Bowman
65f467af64
Fix "About" page
2023-11-02 21:17:31 +00:00
Richard Bowman
4e7fa44a73
Remove microscope settings
...
microscope name should be defined in config, by a
separate program/service
2023-11-02 20:34:42 +00:00
Richard Bowman
27b1f42935
Updated camera stage mapping settings
2023-11-02 20:32:15 +00:00
Richard Bowman
c5c02eb029
Linted
2023-11-02 20:30:54 +00:00
Richard Bowman
79752a2a4c
Camera settings for labthings-picamera2
...
I've updated URLs and tidied things a bit, so that we can
now adjust the key camera settings with the new camera
drivers.
2023-11-02 16:54:22 +00:00
Richard Bowman
da711a7d8c
linter fixes
2023-09-04 22:08:27 +01:00
Richard Bowman
799dc7f522
WIP: update webapp to use new backend
...
This is still very much WIP, but I now have fast
autofocus, stage moves, image streaming, and click-to-move.
2023-09-04 22:00:56 +01:00
Richard Bowman
cfb1bb09a6
Added scan control for background detect
...
There is now a button that appears when the background-detect
extension is installed, allowing you to skip autofocus if the
field looks like background.
2022-04-06 23:17:10 +01:00