-
Notifications
You must be signed in to change notification settings - Fork 298
Log Search Frontend, Part II #2886
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR implements bug fixes and styling improvements for the log search frontend interface. The changes focus on improving user experience by fixing interaction issues with text selection and autocomplete, as well as enhancing the visual design.
Changes:
- Fixed text selection in log lines to prevent accidental collapse when selecting/copying text
- Improved autocomplete behavior by removing default pre-selection and closing the search bar on Enter
- Enhanced visual design with color indicators for log levels and always-visible filter chips
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
frontend/app/src/components/v1/cloud/logging/log-search/types.ts |
Added LOG_LEVEL_COLORS constant and optional color property to AutocompleteSuggestion interface |
frontend/app/src/components/v1/cloud/logging/log-search/log-search-input.tsx |
Updated selectedIndex to be optional, modified keyboard navigation, restructured popover to always show filter chips, and improved Enter key behavior to close popover |
frontend/app/src/components/v1/cloud/logging/log-search/autocomplete.ts |
Added color property to level suggestions using LOG_LEVEL_COLORS |
frontend/app/src/components/v1/cloud/logging/components/Terminal.tsx |
Added window selection check to prevent log line toggle when user is selecting text |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
* fix: propagate retry count through properly * feat: attempt switcher * fix: attempt numbers * feat: add attempt param to log query * feat: wiring * feat: attempt filter * chore: changelog * fix: use the button component * fix: only close on enter when in FTS mode * fix: pass retry count and log level in Go * fix: feedback * chore: lint * fix: rm cruft comment
Description
Fixing a couple bugs / making some styling tweaks:
levelType of change