Skip to content

feat: add search to HAR file viewer utility#118

Merged
peckz merged 2 commits intojamdotdev:mainfrom
mansueli:feat-add-search
Oct 18, 2025
Merged

feat: add search to HAR file viewer utility#118
peckz merged 2 commits intojamdotdev:mainfrom
mansueli:feat-add-search

Conversation

@mansueli
Copy link
Contributor

Added comprehensive content search functionality to the HAR file viewer utility, allowing users to search through URLs, headers, request payloads, and response content across all network requests.

Features Implemented

1. Search Input UI

  • Added a search input field with a search icon positioned at the top of the viewer
  • Includes placeholder text: "Search in URLs, headers, requests, and responses..."
  • Features a clear button (X icon) that appears when there's text in the search field
  • Clean, modern design that matches the existing UI

2. Debounced Search

  • Implemented 300ms debounce to prevent excessive re-renders while typing
  • Improves performance by waiting for user to finish typing before filtering results
  • Uses React hooks for efficient state management

3. Testing

  • All existing tests continue to pass
  • New tests verify search functionality works correctly
  • Tests verify clear button functionality
  • Test coverage: 6/6 tests passing

@mansueli mansueli changed the title feat: add search feat: add search to HAR file viewer utility Oct 16, 2025
@peckz
Copy link
Collaborator

peckz commented Oct 18, 2025

@mansueli Great feature, thank you for building this!

Welcome to the contributors list!

@peckz peckz merged commit 31668ec into jamdotdev:main Oct 18, 2025
1 check passed
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