Commit graph

216 commits

Author SHA1 Message Date
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
Julian Stirling
0794d4777f Camera calibration buttons specified by server. Simulation has option to remove sample 2025-07-31 20:56:55 +01:00
jaknapper
16f2eee8b9 Remove class from action button 2025-07-30 13:00:10 +01:00
jaknapper
10a49db9c9 Remove autorecentre 2025-07-29 18:29:15 +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
Julian Stirling
547704fdc0 Merge branch 'bg_detect_in_camera' into 'v3'
Refactor background detect to allow switching algorithms

See merge request openflexure/openflexure-microscope-server!327
2025-07-28 09:21:43 +00:00
jaknapper
7ac77c3e89 Stitch all scans button, and refresh scan tab when closing modals 2025-07-25 16:52:37 +01:00
Julian Stirling
75bdae5593 Fix message formatting and dosctring syntax 2025-07-24 17:54:58 +01:00
Julian Stirling
eed3c44804 Get new background detect running in simulation mode. 2025-07-24 17:08:39 +01:00
Julian Stirling
fe1b84a922 Complete first pass (untested on hardware) of bg detect refactor. 2025-07-24 17:07:50 +01:00
Julian Stirling
b5586a4b32 A partial refactor of background detect 2025-07-24 17:07:50 +01:00
Julian Stirling
9369b2988d Shutdown button terminates server in simulation. Adjust power tab layout 2025-07-14 18:57:36 +01:00
Julian Stirling
be94df7c8a Merge SettingsManager and SystemControl Things. 2025-07-14 17:59:46 +01:00
Julian Stirling
e614ec577e Expose server version strings in webapp. 2025-07-14 17:11:54 +01:00
Julian Stirling
7e6017f648 Get codespell passing and add it as a CI job. 2025-07-11 00:16:25 +01:00
Julian Stirling
840ed7f20e Update Thing Settings to use the new format provided by PR #110 of Labthings FastAPI 2025-07-07 15:24:30 +01:00
Julian Stirling
8d7a363df5 Remove v-step styling as this was from the tour 2025-07-07 12:21:35 +01:00
Julian Stirling
1bdef0fb98 Remove captureContent as it is no longer used and its componets are removed 2025-07-06 21:30:46 +01:00
Julian Stirling
4371c3cc30 Remove tour that was already disabled. 2025-07-06 20:29:43 +01:00
Julian Stirling
3f8add4b89 Remove deprecated extension component, as the ifram extension it uses is unmaintained 2025-07-06 20:20:16 +01:00
Julian Stirling
3d91a6ae3a Remove ImJoy as it is not maintained 2025-07-06 18:57:40 +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
ceefc83229 Better checking of whether we can stitch 2025-06-30 20:18:51 +01:00
jaknapper
987807ec3b Custom EndpointButton, Download logs using EndpointButton 2025-06-30 20:18:51 +01:00
jaknapper
ff43deae36 Download stitched image of scan (if present)
* Docstring for download stitch
* use global STITCH_SUFFIX
2025-06-30 20:18:48 +01:00
jaknapper
62065dc385 Add download stitch button to GUI 2025-06-30 20:17:15 +01:00
Julian Stirling
31898122d7 Merge branch 'webapp-package-fix' into 'v3'
Replace semi colon with double ampersand in package.json

See merge request openflexure/openflexure-microscope-server!308
2025-06-30 17:31:02 +00:00
jaknapper
687ef8a00e Replace semi colon with double ampersand, which is platform agnostic AND 2025-06-30 17:57:16 +01:00
Julian Stirling
ad838e8643 Apply suggestions from code review of branch split-scan-dir-operations
Co-authored-by: Beth Probert <beth_probert@outlook.com>
2025-06-30 17:25:58 +01:00
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
7fdb5f37ba Apply 4 suggestion(s) to 3 file(s)
Co-authored-by: Beth Probert <beth_probert@outlook.com>
2025-06-09 12:08:25 +00: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
Julian Stirling
60b2fda385 Merge branch 'custom-at' into 'v3'
Custom `from_index()` function in webapp for backwards compatibility before javascrpt `at()`

Closes #396

See merge request openflexure/openflexure-microscope-server!280
2025-06-06 12:00:05 +00:00
Joe Knapper
efb3b12819 Replace .at() in action button with custom .from_index() 2025-06-06 12:10:31 +01:00
Julian Stirling
3c47f98727 Clarify webapp README section on dev server ports. 2025-06-06 10:16:12 +00:00
Julian Stirling
41c91ea712 Apply 2 suggestion(s) to 1 file(s)
Co-authored-by: William Wadsworth <w.j.wadsworth@bath.ac.uk>
2025-06-06 08:54:55 +00:00
Julian Stirling
e0d61f3b87 De-duplicate npm build instructions 2025-06-05 12:27:22 +01:00
jaknapper
3c15d0ef0b Custom at() function in webapp for backwards compatibility 2025-06-05 11:50:43 +01:00