Skip to content

Conversation

@mrkaye97
Copy link
Contributor

Description

Fixing a couple bugs / making some styling tweaks:

  1. Allows for click and drag without closing the log line
  2. Closes the search bar when you hit enter
  3. Fixes the pre-selection of the filter to not default to level
  4. Improves styling a little to be more consistent with the designs

Type of change

  • Bug fix (non-breaking change which fixes an issue)

@vercel
Copy link

vercel bot commented Jan 29, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hatchet-docs Ready Ready Preview, Comment Jan 30, 2026 6:00pm

Request Review

Copy link
Contributor

Copilot AI left a 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
@mrkaye97 mrkaye97 merged commit ffe9f5c into main Jan 30, 2026
46 checks passed
@mrkaye97 mrkaye97 deleted the mk/logs-fe-part-ii branch January 30, 2026 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants