Commit graph

27 commits

Author SHA1 Message Date
Julian Stirling
e66fe5a35a Add way to set spinner step without changing HTTP API 2026-02-19 13:35:14 +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
Julian Stirling
f4b430071e Bump ESLint from unsported version to version 9 2026-02-18 00:33:26 +00:00
Julian Stirling
eb22ad7e68 Remove Vue3 migration comments 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
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
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
6e14bf1dd0 ui_migration fix(deps): --Preliminary-- Define reactivity, with markRaw function wrapper for components. 2026-01-22 23:40:56 -06: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
764d34c766 Format values in value confirmation modal to prevent overflow. 2025-08-28 18:41:58 +01:00
Julian Stirling
212b8fe062 Colour propery box on input, flash green on update, only modal notify if value is not set exactly 2025-08-28 14:44:34 +01:00
Julian Stirling
823456dbc2 Refresh property value if failed to set. 2025-08-28 11:11:27 +01:00
Julian Stirling
92d15d921b Display background detector settings built automatically from schema 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
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
f26230efb6 Swap background detect from argument to property
I've added boolean support to PropertyControl. This required
working around a bug in axios, that ignored `false` when sent
as the body of a request.
2024-01-11 03:01:33 +00:00
Richard Bowman
0083231b85 Switch to matierial-symbols
material-design-icons was outdated and missing symbols. I've now switched, as recommended in the issue.

/closes #254
2024-01-03 20:51:32 +00:00
Richard Bowman
623cb5e8cb Use central read/write property, fix length issue
.length was failing if value was undefined - now worked around.
2023-12-01 01:44:22 +00:00
Richard Bowman
8de79ad7e8 Delete unused print statements 2023-11-30 00:20:10 +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
595101248e Removed node-wot but kept centralised TD store
I had intended to store a ConsumedThing for each Thing, in
a module in the store. Until that is possible (will require some
more attention to dependency management) I will just store
the TDs instead.

This commit includes a lot of the code I wrote for node-wot use,
but without any dependence on node-wot.
2023-11-29 22:43:55 +00:00