Skip to content

fix: Search Panel - Add Count and Average columns#76

Merged
traplol merged 1 commit intomainfrom
agent/issue-70
Mar 21, 2026
Merged

fix: Search Panel - Add Count and Average columns#76
traplol merged 1 commit intomainfrom
agent/issue-70

Conversation

@traplol
Copy link
Copy Markdown
Owner

@traplol traplol commented Mar 21, 2026

Summary

  • Add Count column showing the number of occurrences of each event name in search results
  • Add Avg column showing the average duration per event name
  • Pre-compute name stats via build_name_stats() after search completes, avoiding per-frame work
  • Both new columns are sortable

Closes #70

Test plan

  • Unit tests added for build_name_stats: full results, filtered subset, and empty results
  • All existing tests pass

🤖 Generated with Claude Code

Add Count and Avg duration columns to the search results table.
Each row shows how many times that event name appears in results
and the average duration across all occurrences of that name.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@traplol traplol merged commit 4017a4f into main Mar 21, 2026
3 checks passed
@traplol traplol deleted the agent/issue-70 branch March 21, 2026 17:30
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.

Search Panel - Add Count and Average columns

1 participant