unkeyed / unkey

Open source API management platform
https://go.unkey.com
Other
4.27k stars 509 forks source link

Implement Pagination for API Keys Table #2540

Open unrenamed opened 1 month ago

unrenamed commented 1 month ago

Preliminary Checks

Is your feature request related to a problem? Please describe.

Yes, the feature request is related to a significant usability problem. Currently, the API Keys table displays only the first page of results, limiting users' ability to access or view the remaining 400 keys from a sample of 500. This can lead to frustration and inefficiencies when users need to manage, review, or analyze a larger set of keys, as they cannot navigate beyond the initial page.

Describe the solution

The proposed solution is to implement a pagination feature for the API Keys table. This would involve one of the following approaches:

  1. Pagination Controls Adding controls (such as "Previous," "Next," and page numbers) to navigate through the different pages of keys.
  2. Dynamic Loading Allowing the table to load a specific number of keys per page (e.g., 10, 20, or 50), providing a manageable view of the data. Given the existing cursor-based pagination in the API, this may be the most optimal approach.

Describe alternatives you have considered (if any)

Alternatives considered include:

  1. Infinite Scrolling: Automatically load more keys as users scroll. This could complicate navigation.
  2. Search and Filter Options: Enhance search functionalities to find specific keys quickly, but this doesn't resolve the viewing issue.

Additional context

https://github.com/user-attachments/assets/0e7d1df5-6f55-4d6f-a52e-735b247916bd

linear[bot] commented 1 month ago

ENG-1530 Implement Pagination for API Keys Table

Rasheem07 commented 1 month ago

/assign

oss-gg[bot] commented 1 month ago

This issue is not part of oss.gg hackathon. Please pick a different one or start with a side quest

chronark commented 1 month ago

This entire page needs to be redesigned, we're currently planning this.

chronark commented 1 month ago

/award 50

oss-gg[bot] commented 1 month ago

Awarding unrenamed: 50 points 🕹️ Well done! Check out your new contribution on oss.gg/unrenamed