Skip to content

Add search, role filters, and pagination to Members page#68

Merged
kcdragon merged 1 commit into
mainfrom
membership-search-pagination
Jun 24, 2026
Merged

Add search, role filters, and pagination to Members page#68
kcdragon merged 1 commit into
mainfrom
membership-search-pagination

Conversation

@kcdragon

Copy link
Copy Markdown
Collaborator

Adds a find-as-you-type user search, owner/admin/member role checkboxes, and offset pagination to the Members page, reusing the debounced-form Turbo Frame component already built for the admin scenarios dashboard. The shared "filter and order records by their user" query is extracted into a UserSearchable model concern included by both Scenario and OrganizationMembership. Search, role filters, and the current page are preserved across pagination links and role-change actions. Adds controller test coverage for listing, org scoping, search, role filtering, pagination, and filter preservation on redirect.

🤖 Generated with Claude Code

Replace the unpaginated members list with a find-as-you-type user search,
owner/admin/member role checkboxes, and offset pagination, reusing the
debounced-form Turbo Frame component from the admin scenarios dashboard.
Extract the shared user search/order query into a UserSearchable model
concern used by both Scenario and OrganizationMembership.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@kcdragon kcdragon merged commit f34a050 into main Jun 24, 2026
5 checks 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.

1 participant