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

Implement Pagination for API Keys Table #2540

Open
3 tasks done
unrenamed opened this issue Oct 22, 2024 · 6 comments
Open
3 tasks done

Implement Pagination for API Keys Table #2540

unrenamed opened this issue Oct 22, 2024 · 6 comments
Labels
Feature New feature or request Needs Approval Needs approval from Unkey

Comments

@unrenamed
Copy link
Contributor

unrenamed commented Oct 22, 2024

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

Screen.Recording.2024-10-22.at.21.54.31.mov
@unrenamed unrenamed added Feature New feature or request Needs Approval Needs approval from Unkey labels Oct 22, 2024
Copy link

linear bot commented Oct 22, 2024

@Rasheem07
Copy link

/assign

Copy link

oss-gg bot commented Oct 23, 2024

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

@chronark
Copy link
Collaborator

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

@chronark
Copy link
Collaborator

/award 50

Copy link

oss-gg bot commented Oct 25, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature or request Needs Approval Needs approval from Unkey
Projects
None yet
Development

No branches or pull requests

3 participants