Commit graph

35 commits

Author SHA1 Message Date
Joe Knapper
3c64c00b74 Help message appears if no logs at current level, conditional pagination 2026-06-18 12:59:05 +01:00
Beth Probert
b1202723a1 Fix ruff
Add debug test

Add info log message for sanity

Add more useful logs

Edit configure_logging to change OFM level to debug if set in CLI

Update log message

Fix boot and int mix up

Fix string

Change string

Update logging string again

try changing OFM handler level

Change log slice

Fix syntax error

Add in OFMHandler logic, update webapp to show in logging tab and fix ruff
2026-06-17 16:29:50 +01:00
Antonio Anaya
d75051df4a ui_migration node(pack) add test:unit command 2026-05-15 17:08:09 -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
8afc7a61f3 ui_migration bugfix(component) Fix innerText tag error from test 2026-05-15 17:08:08 -06: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
3a5a7488dd ui_migration refactor(store) use pinia stores in components 2026-04-21 23:29:24 -06:00
Julian Stirling
9a5133e1a7 Use own pagination consistently rather than vue-pagination-next 2026-02-22 21:18:08 +00:00
Julian Stirling
b197e13c8f Style logging message header for dark mode 2026-02-19 12:41:37 +00:00
Julian Stirling
f6afce052c Update logging page formatting. 2026-02-19 12:00:47 +00:00
Julian Stirling
eb22ad7e68 Remove Vue3 migration comments 2026-02-15 17:11:55 +00:00
Julian Stirling
c583be7756 Remove console logging 2026-02-15 17:11:55 +00:00
Antonio Anaya
e93de652c6 ui_migration fix(deps): fixing import vue-paginate-next 2026-02-15 03:51:07 -06: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
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
d2c9122720 De-duplicate HTML for tab content, add way for tab to request scroll to top 2025-10-28 16:32:47 +00:00
Julian Stirling
a5da5241ae Fix lint warnings 2025-10-28 15:44:17 +00:00
Julian Stirling
c085d2c0ac Run lint:fix and accept a huge formatting change 2025-10-28 15:44:17 +00:00
jaknapper
987807ec3b Custom EndpointButton, Download logs using EndpointButton 2025-06-30 20:18:51 +01:00
Joe Knapper
04891f3721 Merge branch 'gui-logging' into 'v3'
Lazier regex for finding logs with square brackets

See merge request openflexure/openflexure-microscope-server!230
2025-05-14 17:16:22 +00:00
jaknapper
a1ef332e31 Set regexp equal to new format 2025-05-14 16:36:16 +01:00
Joe Knapper
4f8e508dd5 Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
2025-05-14 15:12:17 +00:00
Julian Stirling
3a47151694 Serve logfile and logs for UI seperately 2025-04-07 23:45:19 +01:00
Julian Stirling
70d9e2f758 Add custom log handler for sending logs to UI 2025-04-07 23:16:00 +01:00
jaknapper
f5a41f76f3 Lazier regex for finding logs with square brackets 2025-04-07 18:07:51 +01:00
Richard Bowman
c0d25b194c Format fixes/disable warnings
My v-html use is OK as the  HTML is sanitized.
2024-01-08 16:24:43 +00:00
Richard Bowman
4f1035cbe6 Handle python "underlining" nicely
Python stack traces use spaces and carets to "underline" the
code causing the problem. I've now matched and processed
these lines to add <u> tags.

This necessitated escaping messages and displaying raw HTML
which is now done by `escapeText`.
2024-01-08 15:51:46 +00:00
Richard Bowman
4bf473fad7 Better handling of multiline logs
I fixed a logic error related to the reversing of the list, and
now display multi-line log messages as a single summary line with a "more info" link to expand them.

Expanded log messages show without text wrap - this makes
Python exception traces easier to read.

For extra points, we could even do something cunning, like
process the ^^^ markers into <u>
2024-01-08 15:30:51 +00:00
Richard Bowman
24060b6d2a Cope with multiline logs 2024-01-08 11:53:37 +00:00
Richard Bowman
77c43c824d Restore log viewer 2023-12-13 01:53:55 +00:00
Kaspar Emanuel
b2eb1e0f05 Rename js directory to webapp 2021-09-16 15:13:19 +01:00
Renamed from js/src/components/tabContentComponents/loggingContent.vue (Browse further)