Skip to content

Feat/table pagination#104

Open
theFirstCodeManiac wants to merge 2 commits into
Adamantine-guild:mainfrom
theFirstCodeManiac:feat/table-pagination
Open

Feat/table pagination#104
theFirstCodeManiac wants to merge 2 commits into
Adamantine-guild:mainfrom
theFirstCodeManiac:feat/table-pagination

Conversation

@theFirstCodeManiac

Copy link
Copy Markdown

Closes #83

Pull Request

Summary

Implements search, filtering, and pagination for the Passes and Members management tables to improve scalability and usability as datasets grow.

Changes

  • Added search functionality for passes and members.
  • Added status filtering for passes.
  • Added status and role filtering for members.
  • Implemented paginated table views with bounded result sets.
  • Extended API routes to support pagination and filtering query parameters.
  • Introduced typed paginated response models.
  • Added clear empty states for filtered results with no matches.
  • Updated mock repository to support filtering and pagination.
  • Added test coverage for search, filters, pagination, and empty result scenarios.

API

Passes

Supports:

  • search
  • status
  • page or cursor
  • limit

Members

Supports:

  • search
  • status
  • role
  • page or cursor
  • limit

Testing

  • Verified pass search by name and description.
  • Verified member search by name and wallet address.
  • Verified pass status filtering.
  • Verified member status and role filtering.
  • Verified pagination behavior and navigation.
  • Verified empty state rendering for no matching results.
  • Verified API pagination and filtering responses.

Notes

The implementation keeps the initial version simple while exposing a pagination contract that can be extended for efficient server side or cursor based pagination in future live data integrations.

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 Pagination and Search to Pass and Member Tables

1 participant