mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-11-19 15:23:20 +00:00
Redesign log page and pull logs in chunks (#10809)
* Redesign log page to have formatting * Support other log types as well * fix border * Support log data format * Only load necessary logs * Load incrementally * Cleanup * Cleanup * Render all items * avoid flashing scroll to bottom * Fix not listening at first * Always ensure logLine is defined * Group logs based on timestamp * Formatting * remove scrollbar * Don't repull when there are no items to pull * Add newline to end * Fix log lines missing * typo
This commit is contained in:
1 parent
476a900708
commit
59335c0628
4 files changed
+428
-45
No files matched your search
@@ -0,0 +1,13 @@
|
||||
export type LogData = {
|
||||
totalLines: number;
|
||||
lines: string[];
|
||||
};
|
||||
|
||||
export type LogSeverity = "info" | "warning" | "error" | "debug";
|
||||
|
||||
export type LogLine = {
|
||||
dateStamp: string;
|
||||
severity: LogSeverity;
|
||||
section: string;
|
||||
content: string;
|
||||
};
|
||||
Reference in new issue
Block a user