Julian Stirling
c793620fcd
Merge branch 'cleanup_empty_scans' into 'v3'
...
Added purge_empty_scans() method
Closes #370
See merge request openflexure/openflexure-microscope-server!257
2025-05-20 18:26:00 +00: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
Joe Knapper
0eed51f486
STEP SIZE to title case
2025-05-20 13:10:57 +01:00
Joe Knapper
3ca86ec4b4
Remove features tab, as neither option works with v3. Does not remove underlying code (seperate issue)
2025-05-20 13:06:09 +01:00
Joe Knapper
625f9b4001
Ttile case in all buttons and properties, larger settings headers
2025-05-20 12:59:49 +01:00
jaknapper
8c7b800983
Update theme.less to prevent automatic changed colour of uk-alert-success
2025-05-16 15:18:33 +01:00
Joe Knapper
04891f3721
Merge branch 'gui-logging' into 'v3'
...
Lazier regex for finding logs with square brackets
See merge request openflexure/openflexure-microscope-server!230
2025-05-14 17:16:22 +00:00
jaknapper
a1ef332e31
Set regexp equal to new format
2025-05-14 16:36:16 +01:00
Joe Knapper
4f8e508dd5
Apply 1 suggestion(s) to 1 file(s)
...
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
2025-05-14 15:12:17 +00:00
jaknapper
19d72bef1c
Error handling in _delete_scan(), which is now handled in GUI main.js
2025-05-14 16:11:02 +01:00
jaknapper
747bc3d79a
Narrower scan tabs
2025-05-14 11:17:44 +01:00
jaknapper
a5d85a7d9e
Layout improvements and stitch info in scan tab
2025-05-13 17:08:43 +01:00
jaknapper
69260d1973
stitch available property, allowing GUI to only stitch when needed
2025-05-13 15:51:11 +01:00
jaknapper
666dced86d
Update the GUI download links to point to new download_zip function
2025-05-07 20:21:03 +01:00
jaknapper
6cf99d5096
Stack settings in GUI
2025-05-07 19:52:21 +01:00
Joe Knapper
327a87e344
Merge branch 'no-tour' into 'v3'
...
Disable tour
See merge request openflexure/openflexure-microscope-server!238
2025-05-07 14:02:09 +00:00
jaknapper
5bfadceeeb
Pink icon for thumbnail placeholders
2025-04-23 16:13:47 +01:00
jaknapper
7617d31194
Errors raised as errors, not logs
2025-04-23 14:28:05 +01:00
jaknapper
91057f164a
Thumbnails and accurate durations in scan-list tab
2025-04-22 19:02:29 +01:00
jaknapper
1044764192
Disable tour by removing shortcut and default to run
2025-04-08 19:23:04 +01:00
jaknapper
52532a90d7
More spacing below buttons
2025-04-08 18:41:11 +01:00
jaknapper
4fa2813e6a
More spacing and nicer dark mode colours
2025-04-08 18:30:40 +01:00
Joe Knapper
e4ef8b2717
Merge branch 'consistent-logging' into 'v3'
...
Stop uvicorn.run disabling existing loggers
Closes #284
See merge request openflexure/openflexure-microscope-server!228
2025-04-08 11:31:33 +00:00
Julian Stirling
3a47151694
Serve logfile and logs for UI seperately
2025-04-07 23:45:19 +01:00
Julian Stirling
70d9e2f758
Add custom log handler for sending logs to UI
2025-04-07 23:16:00 +01:00
jaknapper
421d4a5f10
Spaces in tab names, more space, centred
2025-04-07 18:54:30 +01:00
jaknapper
3e82286245
Reorder GUI tabs to match the order of use
2025-04-07 18:18:16 +01:00
jaknapper
f5a41f76f3
Lazier regex for finding logs with square brackets
2025-04-07 18:07:51 +01:00
jaknapper
01d906e46a
Rename exposure (with limit)
2025-04-02 13:02:01 +01:00
Richard Bowman
c9aeabf545
Await updatePosition in mounted hook
...
updatePosition is asynchronous, so we should await it, otherwise
it may not be run correctly (resulting in the navigate pane
being disabled).
2024-03-12 17:19:11 +00:00
Richard Bowman
2ac317307e
Clean up debugging code
2024-02-29 22:41:45 +00:00
Richard Bowman
fef53c1176
Start modals on mount, not create
...
The calibration modal was not starting properly, because
the component was not mounted when its show method
was called. Calling it from the `mounted` method solves
the problem and we don't get the error.
I'm not 100% sure this was introduced by refactoring the
taskSubmitter, though it's possible. However, I think the
fix is uncontroversial and it should probably have been there
all along.
2024-02-29 22:40:41 +00:00
Richard Bowman
fb07343cdd
Fix errors introduced by refactoring of taskSubmitter
...
I removed some defunct properties - this introduced a couple
of problems, which are resolved by:
* no longer checking for fastAutofocusUri
* removing the unused prop availablePlugins from the calibration modal
2024-02-29 22:17:49 +00: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
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
0b45a5dc76
Allow action URIs to be retrieved without errors if they are missing
...
thingActionUrl may now be told to return `undefined` insstead of throwing an error if the action is missing.
2024-01-17 13:43:22 +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