Commit graph

45 commits

Author SHA1 Message Date
Antonio Anaya
69a7e54ddd ui_migration chore(suggestions) co-authored by @julianstirling change debugId to streamId on mejpeg_stream URI 2026-06-04 10:52:25 -06:00
Antonio Anaya
70567feb0b Apply suggestions from code review of branch bugfix/streamContent_leaks
Co-authored-by: Beth Probert <beth_probert@outlook.com>
2026-06-04 11:03:38 +00:00
Antonio Anaya
5e15a423ee ui_migration bugfix(component) add fallback override for img src 2026-06-03 21:43:26 -06:00
Antonio Anaya
8fb445bcbf ui_migration bugfix(component) add debug url and fallback pixel DOM for JPEG_STREAM at beforeUnmount to drop streams 2026-06-03 19:19:03 -06:00
Antonio Anaya
22444af143 ui_migration bugfix(component) fix ministream add prop id and visibility stream add and remove 2026-06-03 06:24:54 -06:00
Antonio Anaya
3b95d9a669 Apply suggestions from code review of branch build/style-lint-fix-purge
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
2026-05-10 23:24:21 +00:00
Antonio Anaya
ba5e5b10f5 ui_migration lint(STYLE) Drop duplicates related to deprecated webkit-animation prefixes https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/At-rules/@media/-webkit-animation 2026-05-09 00:54:59 -06:00
Antonio Anaya
7e2518e40e ui_migration lint(STYLE) Use --fix to solve 110 problems 3 left 2026-05-09 00:54:59 -06:00
Antonio Anaya
b2d31f6172 ui_migration refactor(build) reduce chuncking size 2026-05-07 09:54:49 +00:00
Antonio Anaya
e59e99b2f3 ui_migration bugfix(vue) reverted changes on v-if and reactive function calling from wot store incorrectly added brackets and ? to access as dict 2026-04-30 01:43:57 -06:00
Antonio Anaya
3a5a7488dd ui_migration refactor(store) use pinia stores in components 2026-04-21 23:29:24 -06:00
Julian Stirling
9f2cde2275 Implement recursive Interface in vue 2026-03-10 15:25:36 +00:00
Julian Stirling
9a5133e1a7 Use own pagination consistently rather than vue-pagination-next 2026-02-22 21:18:08 +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
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
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
8318d9daad Fix bug where View pane isn't loaded when app is first opened 2025-05-23 11:45:16 +01:00
jaknapper
421d4a5f10 Spaces in tab names, more space, centred 2025-04-07 18:54:30 +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
20efaa2799 Appearance tweaks
actionLogDisplay had white-on-white text in dark mode: I've fixed color to be black now.

added a title for the mini stream display during scans
2024-01-11 14:08:32 +00:00
Richard Bowman
3de7aa2fb2 Don't invoke stitching from the front-end
Stitching is now done automatically in a sub process by the
server. This is much cleaner - and all we need to do is poll for
file updates.

I've also styled the log display slightly better.
2024-01-11 01:51:17 +00:00
Richard Bowman
9a2b830ff5 Fix completed event 2024-01-11 01:50:01 +00:00
Richard Bowman
7c88704059 Only show scrollbar if needed 2024-01-10 20:48:22 +00:00
Richard Bowman
f03e0188e4 Fix a typo when reacting to an existing invocation
checkExistingTasks was looking up the task's `self` link by
checking for `rel=self`, which failed. I have corrected this
to `rel="self"` - `self` would have evaluated to `undefined`.
2024-01-10 20:46:06 +00:00
Richard Bowman
81540ebc45 Linter fixes 2024-01-10 20:46:06 +00:00
Richard Bowman
29177d7214 Scroll to the bottom when status messages appear
The log viewer was scrolling to the bottom when new logs
appeared, but not when the status updated. This meant that the status update may have been invisible. I now scroll
when the status changes too, which should fix the problem.
2024-01-10 20:46:06 +00:00
Richard Bowman
46444770f3 Improved styling and synchronisation 2024-01-10 20:46:06 +00:00
Richard Bowman
53644a691b Refactored taskSubmitter to enable bits to be re-used 2024-01-10 20:46:06 +00:00
Joe Knapper
ddfce7dcff Success and warning alerts in webapp 2024-01-10 18:29:43 +00:00
Richard Bowman
9a3e870d21 Remove unused taskId data
taskSubmitter's "taskId"  data member was usually incorrect and
wasn't necessary - it is removed.
2024-01-08 17:35:06 +00:00
Richard Bowman
ec61019d76 Improve modal progress dialog
I've tidied up the UI a bit here:
* The modal box stays open and must be explicitly closed.
  Pretty much everywhere we want to use this, it would be nice
  to see the final confirmation it's worked - so I have removed
  the line that closes it after the task completes.
* The progress bar no longer animates after the task has
  finished (logic previously didn't consider that state as the
  bar wasn't visible except while it was running).
* A helpful message is printed when the task completes or is
  cancelled.
2024-01-08 16:24:43 +00:00
Richard Bowman
bea9bdee02 Handle cancellation gracefully
Cancellation is now confirmed with a modal notification, and
won't result in an error in the console.
2024-01-04 16:35:13 +00:00
Richard Bowman
7dd4c1f4c6 Add modal progress box for stage recentering
I've also added a title to the modal box
2024-01-04 15:54:56 +00:00
Richard Bowman
2bc585fe33 Make failed modal actions stay on screen
There's not currently any way to view the log of a failed
action - an easy win is to keep the log on screen until it's
closed by the user.
2024-01-04 02:09:30 +00:00
Richard Bowman
2ce6ea4bc0 Working modal progress/cancel dialog for actions. 2024-01-04 01:05:24 +00:00
Richard Bowman
40580327c6 Linter fixes 2024-01-03 21:53:14 +00:00
Richard Bowman
5ca8070bc8 WIP: modal progress dialog for TaskSubmitter
Longer-running tasks would benefit hugely from showing the
operator a progress indicator. This branch will add a basic
log display allowing messages to be shown to the user.
This branch may also add an abort button to the above dialog.
2024-01-03 21:40:12 +00:00
Richard Bowman
8865d88e20 Remove unnecessary components 2023-11-30 23:22:00 +00:00
Richard Bowman
c5c02eb029 Linted 2023-11-02 20:30:54 +00:00
Richard Bowman
79752a2a4c Camera settings for labthings-picamera2
I've updated URLs and tidied things a bit, so that we can
now adjust the key camera settings with the new camera
drivers.
2023-11-02 16:54:22 +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