Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pagination for the bulk search results #825

Merged
merged 1 commit into from
Sep 17, 2024
Merged

Conversation

felixclack
Copy link
Contributor

The bulk search can return hundreds of results and currently the UI
shows them all in a long table.

We want to make this a better UX by introducing pagination.

Link to Trello card

https://trello.com/c/4U6IH11x/338-pagination-for-bulk-search

Checklist

  • Attach to Trello card
  • Rebased main
  • Cleaned commit history
  • Tested by running locally

@felixclack felixclack force-pushed the pagination-bulk-search branch 3 times, most recently from 38ca746 to 62eab2f Compare September 17, 2024 10:41
The bulk search can return hundreds of results and currently the UI
shows them all in a long table.

We want to make this a better UX by introducing pagination.

In order to make this new UX work, we need to store the API response in
a table as the API itself isn't paginated.

To avoid making the same API request over and over again to paginate, we
store the response and set an expiration value. This is effectively a
simple caching system.
@felixclack felixclack merged commit 9fccd6c into main Sep 17, 2024
13 checks passed
@felixclack felixclack deleted the pagination-bulk-search branch September 17, 2024 14:09
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