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

Advanced API Key Table #14

Open
LudoLogical opened this issue Mar 7, 2023 · 0 comments
Open

Advanced API Key Table #14

LudoLogical opened this issue Mar 7, 2023 · 0 comments
Labels
Type: Feature Request New feature or request
Milestone

Comments

@LudoLogical
Copy link
Contributor

LudoLogical commented Mar 7, 2023

Story

As a developer, I want to view my Advanced API Keys. As a project lead or platform admin, I also want to view the Advanced API Keys that I can manage.

Description

Create a React component, KeyTable, that can be configured to appear in all of the styles shown in the Figma file for Platform. KeyTable should be located in the Developer Portal Next.js app.

Acceptance Criteria

  1. If empty, a KeyTable will show the column headers and "No API keys." text.
  2. If a flag is set, an empty KeyTable will also show a "Generate one" link. It does not need to be functional (yet).
  3. KeyTables show the keys themselves in ReadOnlyFields. Only keyholders and admins can see key values.
  4. KeyTables can indicate that a key has been disabled.
  5. KeyTables show key names. Names should not be editable via the table itself (there will be a DialogBox for that).
  6. KeyTables show "Generation Date" and "Last Used" values for each key, rendered using Date.prototype.toLocaleString().
  7. KeyTables show the names of the services associated with each key.
  8. KeyTables show quota information for each key.
  9. KeyTables have a Button or clickable icon that opens a DialogBox.
  10. The DialogBox is different depending on whether the KeyTable is for a keyholder or for a key manager, and the contents and differences are as specified in the Figma file for Platform. Nothing inside that is interactive needs to work (yet). Note that only keyholders and admins can see key values, even in the DialogBox.

Notes

None

@LudoLogical LudoLogical added the Type: Feature Request New feature or request label Mar 7, 2023
@LudoLogical LudoLogical added this to the Milestone #2 milestone Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature Request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant