Commit graph

86 commits

Author SHA1 Message Date
Joe Knapper
dbe8634041 Apply suggestions from code review of branch allow-zero
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
2026-02-24 12:36:30 +00:00
Joe Knapper
25a839bf88 Stringify 0 as axios treats it as ""
Also add a check that we don't try to log(0)
2026-02-23 17:48:26 +00:00
Julian Stirling
66b4a06e87 Add spellchecking for camelCase, PascalCase, and kebab-case 2026-02-22 11:02:59 +00:00
Julian Stirling
ec33812b52 Capture up and down keys for incrimenting numerical property 2026-02-19 16:04:19 +00:00
Julian Stirling
ec9fbd6245 Custom spinners that use step for increment, but enforce multipleOf 2026-02-19 15:29:28 +00:00
Julian Stirling
e66fe5a35a Add way to set spinner step without changing HTTP API 2026-02-19 13:35:14 +00:00
Julian Stirling
cd14f470f6 Use lt.property/setting validatiors to set numerical input range and step 2026-02-19 13:34:41 +00:00
Julian Stirling
6606754aef Re-enable prettier 2026-02-19 11:19:18 +00:00
Joe Knapper
a6b95f0948 Merge branch 'dropdown-gui' into 'v3'
Optional options in UI property control become dropdown

See merge request openflexure/openflexure-microscope-server!477
2026-02-18 16:43:45 +00:00
Julian Stirling
41c9c58f42 Merge branch 'action-modal-w-stream' into 'v3'
CSM modal shows stream

Closes #678

See merge request openflexure/openflexure-microscope-server!483
2026-02-18 15:10:44 +00:00
Joe Knapper
219861cbac Stream progress in UI.py, resize modal 2026-02-18 14:08:18 +00:00
Julian Stirling
752d97314e Fixing some prop types and defaults for dropdowns 2026-02-18 12:50:49 +00:00
Julian Stirling
88c087b8dd Options for server specified property control allow different values and display names 2026-02-18 12:50:49 +00:00
Joe Knapper
5ae0f903d8 Use dropdown separated from dataType in Vue 2026-02-18 12:50:49 +00:00
Joe Knapper
ae81520494 Optional options in UI property control become dropdown 2026-02-18 12:50:49 +00:00
Joe Knapper
89c5ea6886 Merge branch 'eslint-9' into 'v3'
Bump ESLint from unsported version to version 9

See merge request openflexure/openflexure-microscope-server!489
2026-02-18 12:18:14 +00:00
Julian Stirling
f4b430071e Bump ESLint from unsported version to version 9 2026-02-18 00:33:26 +00:00
Joe Knapper
bec422bb85 Grey out read only properties in webapp 2026-02-17 18:16:31 +00:00
jaknapper
3631f76b23 CSM modal shows stream 2026-02-16 17:34:52 +00:00
Julian Stirling
ca0b6c02d2 Fix property control when loosing focus 2026-02-15 18:58:25 +00:00
Julian Stirling
eb22ad7e68 Remove Vue3 migration comments 2026-02-15 17:11:55 +00:00
Julian Stirling
c583be7756 Remove console logging 2026-02-15 17:11:55 +00:00
Antonio Anaya
ce19ea3fc0 ui_migration lint(fix): changes fixed with lint ecmaversion & es2021 2026-02-15 01:03:29 -06:00
Antonio Anaya
610f963c4e ui_migration fix(deps): VUE3 migration goal_1, Resolved core dependencies for the UI migration. Remaining warnings are non-critical and do not affect runtime stability. 2026-02-14 04:36:08 -06:00
Antonio Anaya
5bbe88c9f7 ui_migration fix(deps): --preliminary-- added stronger type checking on things properties 2026-02-13 19:23:07 -06:00
Antonio Anaya
5fe3d563f5 ui_migration fix(deps): --preliminary-- fixed replaced v-observe-visibility by vueuse useIntersectionObserver 2026-02-13 01:58:32 -06:00
Antonio Anaya
ee71a416b1 ui_migration fix(deps): --preliminary-- Removing markRaw to static declared components. Improvement, SmartScan now works partially. 2026-02-12 23:14:53 -06:00
Antonio Anaya
dfca0ff7e0 ui_migration fix(deps): --preliminary-- Removing deep:true from watchers that are not defined as arrays. Missing type hints in watchers. 2026-02-12 05:03:50 -06:00
Antonio Anaya
0e6a0c17f4 ui_migration fix(deps): added emiters array for Type safety 2026-02-12 04:37:00 -06:00
Antonio Anaya
869f410dbb ui_migration fix(deps): replacing global emiters to eventBus.emit, on mixings file. 2026-02-12 04:35:38 -06:00
Antonio Anaya
a16a86f361 ui_migration fix(bugfix): eventBus undefined found caused by not importing eventBus at autofocus comp, removing eventBus usage on child/parent this. events for task polling func 2026-02-09 00:06:48 -06:00
Antonio Anaya
9992ca642c ui_migration fix(bugfix): found caused eventBus/this., and {x,y,z,absolute} parsing arguments incorrectly, BUG:keys-arrows-wont-move prevents @finished emit status for task 2026-02-08 05:29:56 -06:00
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