Log viewer upgrade - #223
Merged
Merged
Conversation
…ervableHQ version
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR upgrades the log viewer by moving functionality from logViewer/index.md into the main log viewer and improving log polling.
- Added a new HTML template for logs in the webpack config.
- Enhanced the log viewer UI and polling logic in the frontend with features like collapsible log entries and interactive filtering.
- Updated the backend to include a new logs polling endpoint with deduplication logic and exception handling for request validation.
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| frontend/webpack.config.js | Adds a new entry point (logs.html) via HtmlWebpackPlugin for the log viewer. |
| frontend/src/logs/index.tsx | Implements a revamped log viewer UI with enhanced filtering, collapsible components, and improved polling. |
| backend/server.py | Introduces a new /api/logs_poll endpoint with deduplication logic and improved error handling. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This moves most functionality from
logViewer/index.mdinto the main log viewer. It also resolves a long-standing problem with the log polling.