Commit graph

120 commits

Author SHA1 Message Date
Julian Stirling
a6e48f8882 Update webapp to accept scan time as timestamp not ISO 8601 datestring 2025-06-29 23:17:17 +01:00
Julian Stirling
fda0a6e1ab Merge branch 'v3' into fast-stack, with conflict resolution but not fully
working yet
2025-06-26 11:50:24 +01:00
Julian Stirling
dd63d74651 Removing mjpeg bitrate setter from UI and Python as it wasn't implemented fully and isn't a setting that should need changing 2025-06-23 12:39:41 +01:00
jaknapper
1d4bb7363f Images to test control in GUI 2025-06-17 14:34:42 +01:00
Julian Stirling
cf80120572 Remove numerical input spinners for x,y,z settings in Firefox
Chrome/Safari/Edge etc are all set already by the
`.numeric-setting-line-input::-webkit-outer-spin-button`
and
`.numeric-setting-line-input::-webkit-inner-spin-button`

but firefox needs a different line set on the input itself see:
https://www.w3schools.com/howto/howto_css_hide_arrow_number.asp
2025-06-10 08:47:23 +01:00
Julian Stirling
c79184a6d9 Use same version number for server and webapp, add CI check
- Check webapp and server have same version number
- Use `genversion` on build to create javascript file with version string
from pyproject.toml
- Expose the version number in the js interface
- Correct format of current of alpha version string because javascript complains

Closes #382
2025-06-09 12:13:15 +01:00
jaknapper
943564d206 Alert and warning message as CSS classes 2025-05-23 16:28:22 +01:00
jaknapper
e52dedf0fe Remove padding around viewer, warnings in orange, stitch button if no DZI 2025-05-23 16:28:22 +01:00
Joe Knapper
4f98e17b5f Only open preview from button or thumbnail, warn if no DZI available, recentre list 2025-05-23 16:28:22 +01:00
jaknapper
a9b94bc0d8 OpenSeadragon viewer implemented 2025-05-23 16:28:21 +01:00
Joe Knapper
69acc8a0ea Edit settingsContent.vue 2025-05-22 15:56:25 +00:00
jaknapper
14672c260f Dedicated power menu 2025-05-22 16:46:30 +01:00
jaknapper
27ed10e27f Move shutdown and restart to settings tab, hard set server version to prealpha 2025-05-22 15:11:25 +01:00
Joe Knapper
931554226e Combine xlarge width with updated heading 2025-05-21 15:05:50 +00:00
jaknapper
c0cf95bac1 Widen the info area of the CSM tab to use space more efficiently and not break lines (tested on three screens) 2025-05-21 15:56:50 +01:00
jaknapper
b66912ac8f CSM settings hidden by default in a details section 2025-05-21 15:56:04 +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
Joe Knapper
8799ebbaab csm info in webapp tab 2025-05-14 19:03:57 +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
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
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
4fa2813e6a More spacing and nicer dark mode colours 2025-04-08 18:30:40 +01: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
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
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
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