Skip to content

Add search input to filter ReportBuilder column selection#112

Merged
SimonBarrettACT merged 1 commit intomainfrom
feature/issue-111-column-search-filter
Mar 9, 2026
Merged

Add search input to filter ReportBuilder column selection#112
SimonBarrettACT merged 1 commit intomainfrom
feature/issue-111-column-search-filter

Conversation

@SimonBarrettACT
Copy link
Member

Summary

  • Add Alpine.js client-side search input to the report editor column selection panel, filtering columns and sections as the user types
  • Add $enableColumnSearch property to WithReportBuilder trait (defaults to true, set to false to disable)
  • Add 5 tests verifying the trait property, search markup, conditional rendering, and x-show filtering directives

Closes #111

Test plan

  • Verify search input appears in the report editor panel
  • Type a column name and confirm non-matching columns hide, matching columns remain visible
  • Confirm entire sections hide when no columns in that section match
  • Clear the search and verify all columns reappear
  • Set $enableColumnSearch = false on a ReportBuilder subclass and verify the search input is absent
  • Run composer test — all 7 tests pass

🤖 Generated with Claude Code

Add Alpine.js-powered client-side search to the report editor's column
selection panel. Users can now type to filter columns by label, with
sections hiding entirely when no columns match. Controlled by a new
$enableColumnSearch property (defaults to true) on WithReportBuilder.

Closes #111

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@SimonBarrettACT SimonBarrettACT merged commit f95455f into main Mar 9, 2026
3 checks passed
@SimonBarrettACT SimonBarrettACT deleted the feature/issue-111-column-search-filter branch March 9, 2026 10:35
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.

Add search input to filter ReportBuilder column selection

1 participant