Web UI enhancements: live search, analytics dashboard, connection pooling#19
Merged
Web UI enhancements: live search, analytics dashboard, connection pooling#19
Conversation
… pooling - Live search with 300ms debounce and AbortController for cancelling in-flight requests - Keyboard navigation: / to focus, Up/Down to navigate results, Enter to open in VS Code - Analytics dashboard at /analytics.html showing query stats, latency, and slowest queries - Zoekt HTTP connection pooling via undici Agent with keep-alive and 10 connections Closes #18 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
@claude Please review this PR. Focus on:
Use the opus model for thorough analysis. |
Unit tests (18): ZoektClient connection pooling, query building, response mapping, regex detection, language inference, result ranking. Integration tests (24): Static file content validation (debounce, keyboard nav, loading indicator, analytics dashboard), live search endpoint (concurrent requests, AbortController cancellation, filters, context lines, assets), analytics endpoints (summary, raw queries, method/duration filters), health endpoint structure, result format for keyboard navigation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.
Summary
/to focus search,Up/Downto navigate results with visual selection,Enteron result to open in VS Code/analytics.htmlpage showing service health, query volume by endpoint, average latency with color-coded bars, and top 10 slowest queries tableAgentwithkeepAliveand 10 connections passed asdispatcherto all Zoekt fetch callsCloses #18
Test plan
/and verify live search triggers after typing stops (300ms)/from results to refocus search, useUp/Downto navigate,Enterto open/analytics.htmland verify health + query stats load🤖 Generated with Claude Code