Skip to content

chore(web-ui): remove dead filter components#190

Open
AbirAbbas wants to merge 1 commit intomainfrom
chore/remove-dead-filter-components
Open

chore(web-ui): remove dead filter components#190
AbirAbbas wants to merge 1 commit intomainfrom
chore/remove-dead-filter-components

Conversation

@AbirAbbas
Copy link
Contributor

Summary

  • Remove 9 unused legacy filter components, hooks, utils, and types that are not imported anywhere in the app
  • The Executions page (/ui/executions) uses PageHeader with FilterSelect dropdowns — these toggle-button filter components are unreachable dead code

Removed files

File Type
ExecutionFilters.tsx Component
ExecutionsList.tsx Component
QuickFilters.tsx Component
SearchWithFilters.tsx Component
SuggestedFilters.tsx Component
FilterTag.tsx Component
useFilterState.ts Hook
filterUtils.ts Utility
types/filters.ts Types

Verification

  • npx tsc --noEmit — passes clean
  • npm run build — passes clean
  • npm run lint — 377 errors (6 fewer than before, all pre-existing no-explicit-any)
  • Grep confirms zero imports of any removed file from live code

Context

PR #189 (issue #117) attempted to add aria-pressed to ExecutionFilters.tsx and QuickFilters.tsx, but those components are unused. This PR removes the dead code so issue #117 can be closed or retargeted at the live PageHeader component if needed.

Test plan

  • CI build passes
  • /ui/executions page renders correctly (no regressions — removed code was never loaded)

🤖 Generated with Claude Code

Remove 9 unused files that are not imported anywhere in the app.
The Executions page uses PageHeader with FilterSelect dropdowns,
not these legacy toggle-button filter components.

Removed files:
- ExecutionFilters.tsx, ExecutionsList.tsx, QuickFilters.tsx
- SearchWithFilters.tsx, SuggestedFilters.tsx, FilterTag.tsx
- hooks/useFilterState.ts, utils/filterUtils.ts, types/filters.ts

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

1 participant