Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat: apply filter to WEB#14

Merged
mickamy merged 1 commit intomainfrom
feature/apply-filter-to-web
Feb 21, 2026
Merged

feat: apply filter to WEB#14
mickamy merged 1 commit intomainfrom
feature/apply-filter-to-web

Conversation

@mickamy
Copy link
Owner

@mickamy mickamy commented Feb 21, 2026

No description provided.

Copilot AI review requested due to automatic review settings February 21, 2026 03:04
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 pull request implements advanced filter syntax in the web UI to match the existing TUI filter functionality. The changes allow users to filter query events using duration comparisons (e.g., d>100ms), operation types (e.g., op:select), error flags, and text search patterns.

Changes:

  • Updated filter input placeholder to show example filter syntax
  • Implemented filter token parsing that matches the TUI filter.go implementation
  • Added support for duration, operation, error, and text filter types with AND logic (all conditions must match)

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
web/static/index.html Updated filter input placeholder text to provide examples of the new filter syntax
web/static/app.js Implemented filter parsing and matching logic that mirrors tui/filter.go, including parseFilterTokens, matchesFilter functions, and updated getFiltered and buildStats to use the new structured filter conditions

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mickamy mickamy merged commit 31f2c82 into main Feb 21, 2026
11 checks passed
@mickamy mickamy deleted the feature/apply-filter-to-web branch February 21, 2026 03:09
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.

2 participants