Commit graph

54 commits

Author SHA1 Message Date
Antonio Anaya
0296cef089 ui_migration fix(deps): --preliminary-- Replace value to modelvalue, and global emitters. BUG:keys-arrows-wont-move 2026-01-25 02:07:46 -06:00
Antonio Anaya
2a9ee759c4 ui_migration fix(deps): Replace component instance event by external event bus from mitt package. 2026-01-24 16:13:49 -06:00
Antonio Anaya
6e14bf1dd0 ui_migration fix(deps): --Preliminary-- Define reactivity, with markRaw function wrapper for components. 2026-01-22 23:40:56 -06:00
Julian Stirling
69cfb54e46 String PropertyControls 2026-01-12 16:17:10 +00:00
Julian Stirling
fe77908253 Make the findOngoingActions function plural to match what happens 2025-11-13 11:51:03 +00:00
Julian Stirling
2937010e95 Move progress bar into the action button to stop components jumping 2025-11-11 14:41:24 +00:00
Julian Stirling
8b785823ab Fix end of action behaviours and looging errors 2025-11-11 14:41:24 +00:00
Julian Stirling
dd0a57520b Action button uses mixins for invoking and polling actions 2025-11-11 14:41:24 +00:00
Julian Stirling
4910bef717 Split the action status modal from the action button 2025-11-11 14:41:24 +00:00
Julian Stirling
5074f75442 Merge branch 'fewer-ui-assumptions' into 'v3'
UI customises to available Things

Closes #510 and #385

See merge request openflexure/openflexure-microscope-server!435
2025-11-11 14:36:22 +00:00
Julian Stirling
f19d6681c4 Split autofocus component 2025-11-07 17:38:10 +00:00
Julian Stirling
e1172248b0 Camera stage mapping step in wizard says skip until complete. 2025-11-05 09:05:24 +00:00
Julian Stirling
1601bdd123 Let prettier change a load of things because new prettier has new rules :( 2025-11-03 11:33:33 +00:00
Julian Stirling
830929a693 Split up the action button methods for monitoring and starting a task
Previously the start task method of action button handled awaiting
polling and resetting variables when the task completes. If an ongoing
task was found polling was started so that logs could be communicated
but no clean up happened when the task finished. This has been split
up and the checks for ongoing tasks improved so they also clean up
after ongoing tasks finish.

Closes #442
2025-10-30 10:28:12 +00:00
Julian Stirling
a5da5241ae Fix lint warnings 2025-10-28 15:44:17 +00:00
Julian Stirling
c085d2c0ac Run lint:fix and accept a huge formatting change 2025-10-28 15:44:17 +00:00
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