- 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 change modifies the build scripts to use --legacy-peer-deps flag when installing npm dependencies to resolve potential peer dependency conflicts during the build process. The change is applied to both bash (build.sh) and batch (build.bat) build scripts.
The build script now runs TypeScript compilation (tsc) before the frontend build to catch type errors earlier in the process. Also downgraded eslint to v8.57.0 for compatibility reasons.
- Add auto-scroll toggle to log panels
- Enhance SSE connection handling with reconnection logic
- Improve HTML escaping in log lines for security
- Update build script to properly handle frontend artifacts
- Add graceful shutdown to backend server
- Update authentication to support configurable username
Add comprehensive README file describing the Web Tail Pro project including:
- Features and architecture overview
- Project structure and prerequisites
- Build and execution instructions
- Development setup and available endpoints
- Add frontend React application with log viewing components
- Implement backend Go server for log tailing and SSE streaming
- Include build scripts for both frontend and backend
- Set up basic authentication and file handling
- Add styling and log formatting capabilities