feat(logs): add initial log loading and tab management improvements

- Implement fetchLastLines API to load initial log entries
- Add addInitialLogs function to useSSE hook for prepending logs
- Improve tab handling with better closable behavior and state management
- Add backend support for fetching last N lines from log files
This commit is contained in:
Luiz Costa committed 2025-11-18 11:32:05 -03:00
1 parent ac4f232e5e
commit dfe9b10bb8
7 files changed
+383 -14

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
<!doctype html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Web Tail Pro</title>
<script type="module" crossorigin src="./assets/index-GvmfrMPc.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-I4JcZQqc.css">
</head>
<body>
<div id="root"></div>␍
</body>
</html>