Julian Stirling
d5701fab80
Fix sync button to emit click on click event.
2025-10-21 13:34:35 +01:00
Julian Stirling
6e74b07f46
Merge branch 'dark-mode-disable-button' into 'v3'
...
Action buttons can show as disabled in dark mode
Closes #549
See merge request openflexure/openflexure-microscope-server!386
2025-09-19 16:33:19 +00:00
jaknapper
87a5c895d8
action buttons can show as disabled in dark mode
2025-09-05 17:36:37 +01:00
Julian Stirling
764d34c766
Format values in value confirmation modal to prevent overflow.
2025-08-28 18:41:58 +01:00
Julian Stirling
a391d41750
Improve comments for inputFromSchema value setting
2025-08-28 17:47:01 +01:00
Julian Stirling
4fe922cbfc
Improve tooltip text
2025-08-28 17:36:04 +01:00
Julian Stirling
acb24d9713
Fix accept animation in chrome
2025-08-28 17:21:51 +01:00
Julian Stirling
212b8fe062
Colour propery box on input, flash green on update, only modal notify if value is not set exactly
2025-08-28 14:44:34 +01:00
Julian Stirling
80ee303ac9
Update the reload property button next to property controls
2025-08-28 11:12:19 +01:00
Julian Stirling
823456dbc2
Refresh property value if failed to set.
2025-08-28 11:11:27 +01:00
Chish36
0617a5a6a4
Added comment and removed unused method
2025-08-14 11:47:08 +01:00
jaknapper
858ddf6edf
Optional hideOnRun for action buttons
2025-08-13 17:42:52 +01:00
Julian Stirling
33413a591a
Complete UI for arbitrary dectector settings. Required better method for invoking actions.
...
Error handling was fixed in the process of getting the above correct.
2025-07-31 20:56:55 +01:00
Julian Stirling
92d15d921b
Display background detector settings built automatically from schema
2025-07-31 20:56:55 +01:00
Julian Stirling
d376eee5d5
Remove custom error for background. Do not allow check if background is not set.
2025-07-31 20:56:55 +01:00
Julian Stirling
7f4b4ed1f3
Splitting logic for property control from logic to create UI from schema
2025-07-31 20:56:55 +01:00
Julian Stirling
e7e3a08210
Camera settings exposed in UI defined by server.
2025-07-31 20:56:55 +01:00
Julian Stirling
3651013440
Generalise server specified action buttons.
2025-07-31 20:56:55 +01:00
Joe Knapper
ee6c303712
Merge branch 'pause-logger' into 'v3'
...
Make log display pause on hover
See merge request openflexure/openflexure-microscope-server!332
2025-07-28 12:49:45 +00:00
Joe Knapper
a8137fc6a0
Apply suggestions from code review of branch pause-logger
...
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
2025-07-28 12:03:21 +00:00
jaknapper
b8bf8fbc18
Log display pauses on hover
2025-07-28 12:21:47 +01:00
jaknapper
7ac77c3e89
Stitch all scans button, and refresh scan tab when closing modals
2025-07-25 16:52:37 +01:00
Julian Stirling
9b78b4620d
Fix disabled HTML button and apply code review suggestions for branch download-stitched-image
...
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
2025-07-01 12:20:40 +01:00
Julian Stirling
75eac81b80
rename css disabled property to make it button specific, adjust darkmode disabled css
2025-07-01 11:16:25 +01:00
jaknapper
987807ec3b
Custom EndpointButton, Download logs using EndpointButton
2025-06-30 20:18:51 +01:00
Joe Knapper
efb3b12819
Replace .at() in action button with custom .from_index()
2025-06-06 12:10:31 +01:00
jaknapper
3c15d0ef0b
Custom at() function in webapp for backwards compatibility
2025-06-05 11:50:43 +01:00
Joe Knapper
67c5c74753
Updated comment, test most recent log is ERROR
2025-05-20 16:20:35 +01:00
Joe Knapper
9d5e6b5334
Default error messages if the log is empty, or the log message is empty
2025-05-20 16:11:04 +01:00
Joe Knapper
852a003fae
Action buttons raise an Error from the last message in the log for the Action
2025-05-20 15:16:38 +01:00
jaknapper
4fa2813e6a
More spacing and nicer dark mode colours
2025-04-08 18:30:40 +01:00
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
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
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
623cb5e8cb
Use central read/write property, fix length issue
...
.length was failing if value was undefined - now worked around.
2023-12-01 01:44:22 +00:00
Richard Bowman
8de79ad7e8
Delete unused print statements
2023-11-30 00:20:10 +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