Julian Stirling
cb74db8061
Remove genversion as it is no longer used
2025-11-05 17:11:05 +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
97fa0b03b2
Move all other local storage into the store.
2025-11-02 13:16:44 +00:00
Julian Stirling
c085d2c0ac
Run lint:fix and accept a huge formatting change
2025-10-28 15:44:17 +00:00
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
jaknapper
7ac77c3e89
Stitch all scans button, and refresh scan tab when closing modals
2025-07-25 16:52:37 +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
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
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
57840ab979
Force OK to be capitalised in confirmation modals
2025-05-22 15:10:16 +01:00
jaknapper
19d72bef1c
Error handling in _delete_scan(), which is now handled in GUI main.js
2025-05-14 16:11:02 +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
0b45a5dc76
Allow action URIs to be retrieved without errors if they are missing
...
thingActionUrl may now be told to return `undefined` insstead of throwing an error if the action is missing.
2024-01-17 13:43:22 +00:00
Richard Bowman
d96dbdd546
Only stringify boolean values when setting properties
...
My workaround to the axios bug that makes `false` values not work
2024-01-11 13:37:57 +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
7d497fcf73
Tidy up modal error
...
It now works if it's passed a string, as well as an Error.
2024-01-04 16:32:43 +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
c1ed5d0c87
Also log modal errors to the console
2023-12-15 02:39:03 +00:00
Richard Bowman
0cd8ecd2d5
Add error checking to mixin thing functions
...
Now we'll get an error if undefined URLs are about to be fetched.
The error will contain thing and affordance, for debugging.
2023-12-01 02:43:17 +00:00
Richard Bowman
f87594e7af
Hide error from CSM if it's uncalibrated
...
The error still appears in the console - should be fixed
eventually.
2023-12-01 02:31:49 +00:00
Richard Bowman
5d87a7582e
Format fixes
2023-12-01 02:23:58 +00:00
Richard Bowman
59e0cf5905
Fix action URLs
2023-12-01 02:22:49 +00:00
Richard Bowman
54df1faeeb
Linter fixes
2023-11-30 23:21:45 +00:00
Richard Bowman
f1f6ed5f80
Provide centralised readproperty, writeproperty, and action URLs
2023-11-30 22:51:10 +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
Kaspar Emanuel
b2eb1e0f05
Rename js directory to webapp
2021-09-16 15:13:19 +01:00