Commit graph

21 commits

Author SHA1 Message Date
Joe Knapper
676d34842a Apply suggestions from code review of branch flash-led-sim
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
2026-02-11 10:19:19 +00:00
Joe Knapper
f05cb396c8 Update FlashLED to new endpoint in webapp 2026-02-10 22:20:22 +00:00
Julian Stirling
cb9d134ac3 Don't show flash led if there is no stage 2025-11-07 19:07:50 +00:00
Julian Stirling
1ba1a3082b More consitent use of mixins for interaactiong with thing descriptions 2025-11-05 17:05:34 +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
c085d2c0ac Run lint:fix and accept a huge formatting change 2025-10-28 15:44:17 +00: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
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
27ed10e27f Move shutdown and restart to settings tab, hard set server version to prealpha 2025-05-22 15:11:25 +01:00
Joe Knapper
625f9b4001 Ttile case in all buttons and properties, larger settings headers 2025-05-20 12:59:49 +01: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
Richard Bowman
653e1a4159 Added a button to flash the LED 2024-01-17 13:36:26 +00:00
Richard Bowman
674704b0d6 Display the microscope's hostname in the interface 2024-01-17 11:55:03 +00:00
Richard Bowman
ccf9b38c34 Use thingAvailable via computed prop
Computed properties are needed to make things reactive.
2023-12-01 01:28:08 +00:00
Richard Bowman
ca6988ca99 Update statusPane with new-style thing access 2023-12-01 00:55:56 +00:00
Richard Bowman
488493385f Combine the various property controls into one component
propertyControl now handles several different property types,
based on the thing description. This reduces duplication and
should keep the code cleaner.

In the future this will become a part of a labthings-vue package,
I hope!
2023-11-29 23:54:00 +00:00
Richard Bowman
1d24701dfd Fix shutdown/restart buttons 2023-11-02 21:33:42 +00:00
Richard Bowman
65f467af64 Fix "About" page 2023-11-02 21:17:31 +00:00
Richard Bowman
799dc7f522 WIP: update webapp to use new backend
This is still very much WIP, but I now have fast
autofocus, stage moves, image streaming, and click-to-move.
2023-09-04 22:00:56 +01:00
Kaspar Emanuel
b2eb1e0f05 Rename js directory to webapp 2021-09-16 15:13:19 +01:00
Renamed from js/src/components/tabContentComponents/aboutComponents/statusPane.vue (Browse further)