Commit graph

14 commits

Author SHA1 Message Date
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)