Commit graph

4679 commits

Author SHA1 Message Date
Antonio Anaya
f2a60154dd ui_migration chore(vite) Add comment on AST parsing 2026-05-20 22:27:39 -06:00
Antonio Anaya
6b864f57df ui_migration fix(lint) Fix component eslint warn no-useless-assignment on powerContent.vue 2026-05-20 20:21:33 -06:00
Antonio Anaya
1f903562aa ui_migration upgrade(nodejs) upgrade to nodejs 26, add cofiguration for new package versions and VITE rolldown 2026-05-20 20:10:06 -06:00
Antonio Anaya
7713f6764a ui_migration update(nodejs) update dependencies up-to current released version 2026-05-20 17:47:17 -06:00
Antonio Anaya
e83dc511d7 ui_migration chore(nodejs) Remove deprecated packages material-icons and babel-eslint-parser 2026-05-20 17:43:54 -06:00
Julian Stirling
89c709e95d Merge branch 'bump-lt-0.2.1' into 'v3'
Bump LabThings FastAPI version to 0.2.1

See merge request openflexure/openflexure-microscope-server!594
2026-05-20 14:52:04 +00:00
Julian Stirling
9fcd52ce76 Merge branch 'webapp_unit_testing' into 'v3'
ui_migration feature(unit-testing) Add isolated component testing, coverage and configurations.

Closes #733

See merge request openflexure/openflexure-microscope-server!588
2026-05-20 14:41:01 +00:00
Julian Stirling
328cb4ba0c Bump LabThings FastAPI version to 0.2.1 2026-05-20 15:18:51 +01:00
Julian Stirling
ad22d106a6 Apply suggestions from code review of branch webapp_unit_testing
Co-authored-by: Beth Probert <beth_probert@outlook.com>
2026-05-20 14:11:49 +00:00
Antonio Anaya
63991b3425 ui_migration setup(nodejs) Fix prettier eslint configurations remove workarounds lint:test and lint:test:fix 2026-05-19 18:44:59 -06:00
Antonio Anaya
bf6dcebc16 Apply suggestions from code review of branch webapp_unit_testing Co-authored-by: @beth_probert 2026-05-19 11:35:39 -06:00
Antonio Anaya
656afd30d2 Apply suggestions from code review of branch webapp_unit_testing
Co-authored-by: Beth Probert <beth_probert@outlook.com>
2026-05-19 15:47:37 +00:00
Antonio Anaya
f85a46c1f8 ui_migration setup(CI) Add npm run lint:test to CI 2026-05-19 00:27:00 -06:00
Antonio Anaya
a54980b027 ui_migration setup(vitest) Add comments to vitestfile, set and optimise packages on test 2026-05-18 22:04:53 -06:00
Antonio Anaya
b517721ff9 ui_migration configure(vitest) add npm run commands, fix codespell for test .spec.files, remove comments, remove data tags on vite build, and refine packages 2026-05-18 19:24:06 -06:00
Antonio Anaya
fb15178512 ui_migration feature(vitest) add all vue files to vitest coverage reporter 2026-05-15 22:16:21 -06:00
Antonio Anaya
97eadb9271 ui_migration node(pack) package maintenance to fix new test packages deprecations 2026-05-15 17:45:44 -06:00
Antonio Anaya
a5fc9c65dc Apply suggestions from code review of branch webapp_unit_testing
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
2026-05-15 23:27:17 +00:00
Antonio Anaya
3fc2a79a89 ui_migration node(pack) package maintenance to fix new test packages deprecations 2026-05-15 17:08:36 -06:00
Antonio Anaya
ca08e61795 ui_migration node(pack) add test utils dependency 2026-05-15 17:08:09 -06:00
Antonio Anaya
e478644d2a ui_migration codespell(config) Add codespell exceptions for fixtures and else 2026-05-15 17:08:09 -06:00
Antonio Anaya
938d202b38 ui_migration codespell(config) Add ignore for text files to avoid fails on readonly vars 2026-05-15 17:08:09 -06:00
Antonio Anaya
d75051df4a ui_migration node(pack) add test:unit command 2026-05-15 17:08:09 -06:00
Antonio Anaya
e803d60013 ui_migration config(vitest) reduce heap size for unitest 2026-05-15 17:08:09 -06:00
Antonio Anaya
591d3f6747 ui_migration node(pack) add package requirements for testing 2026-05-15 17:08:08 -06:00
Antonio Anaya
9968978a7b ui_migration feature(unitesting) modifying vitest config and spec, add test id flags to component 2026-05-15 17:08:08 -06:00
Antonio Anaya
c7d16fa43f ui_migration feature(unitesting) modifying vitest config and spec, add fixture real logging file 2026-05-15 17:08:08 -06:00
Antonio Anaya
3e2dd25438 ui_migration feature(unitesting) Use origin state for api url 2026-05-15 17:08:08 -06:00
Antonio Anaya
8afc7a61f3 ui_migration bugfix(component) Fix innerText tag error from test 2026-05-15 17:08:08 -06:00
Antonio Anaya
13b5e86269 ui_migration feature(unitesting) Add loggingContent test file
ui_migration feature(unitesting) Fix test spec baseUri
2026-05-15 17:08:08 -06:00
Antonio Anaya
80b32800f9 ui_migration feature(unitesting) Add unitesting configuration and dependencies 2026-05-15 17:07:17 -06:00
Joe Knapper
4e58d613d0 Merge branch 'stitch-all-logging' into 'v3'
Log during stitch all and handle errors

Closes #710

See merge request openflexure/openflexure-microscope-server!593
2026-05-15 16:36:15 +00:00
jaknapper
0f842c622b Test stitch all with mocking 2026-05-15 17:07:10 +01:00
Joe Knapper
bea1e35d61 Merge branch 'sharpness-monitor-none' into 'v3'
Sharpness monitor accepting 0 as None

Closes #776

See merge request openflexure/openflexure-microscope-server!592
2026-05-15 15:27:52 +00:00
Joe Knapper
336e052fce Merge branch 'verify-ui-elements' into 'v3'
Verify properties and actions exist before making controls and buttons.

Closes #640

See merge request openflexure/openflexure-microscope-server!556
2026-05-15 15:11:52 +00:00
jaknapper
a278b700ef Change check for record 2026-05-15 15:45:04 +01:00
jaknapper
bd796f98a1 Log during stitch all and handle errors 2026-05-15 15:40:15 +01:00
Julian Stirling
49ae6fcd70 Merge branch 'save-rom-data' into 'v3'
Save useful ROM data to data directory

See merge request openflexure/openflexure-microscope-server!590
2026-05-15 14:16:04 +00:00
Julian Stirling
c0158a7a6c Provide feeback to user on broken UI components. 2026-05-15 15:03:20 +01:00
Julian Stirling
050c2b7672 Verify properties and actions exist before making controls and buttons. 2026-05-15 15:03:20 +01:00
Julian Stirling
40a9e25e02 Merge branch 'v3-labthings-rename-api-prefix' into 'v3'
Update code to use public `api_prefix` property

See merge request openflexure/openflexure-microscope-server!587
2026-05-15 13:56:19 +00:00
Julian Stirling
1e3548e803 Merge branch 'v3-png-capture' into 'v3'
PNG Capture

See merge request openflexure/openflexure-microscope-server!569
2026-05-15 13:53:34 +00:00
Julian Stirling
94a3fead9c Apply suggestions from code review of branch save-rom-data 2026-05-15 14:49:40 +01:00
jaknapper
78c01de6d5 Sharpness monitor accepting 0 as None 2026-05-15 14:43:23 +01:00
Joe Knapper
96d58a2d0f Merge branch 'no-dev-tools' into 'v3'
Remove dev tools from production app

Closes #768

See merge request openflexure/openflexure-microscope-server!582
2026-05-15 13:38:11 +00:00
Julian Stirling
3aa2571964 Update picamera test results 2026-05-15 13:24:37 +01:00
Richard Bowman
a66428b1b2 Fix a typo when calling _save_capture
I renamed `jpeg_path` to `path` as it's no longer just used for jpegs.
2026-05-15 13:14:28 +01:00
Richard Bowman
ee6911f4a7 PNG Capture
This adds an additional action to BaseCamera to capture and return a PNG Blob. It makes the PNG using Pillow, in a very similar way to `capture_jpeg`.

I have parametrized the test for `capture_jpeg` so it now tests both jpeg and png with the same code.
2026-05-15 13:14:27 +01:00
Julian Stirling
4aee0de945 Allow console logging when starting dev server 2026-05-15 12:59:40 +01:00
Julian Stirling
20e6cbc1a2 Apply suggestions from code review of branch no-dev-tools
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
2026-05-15 12:55:19 +01:00