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

My API Keys Page #34

Open
LudoLogical opened this issue Apr 20, 2023 · 0 comments
Open

My API Keys Page #34

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

Comments

@LudoLogical
Copy link
Contributor

Story

As an authenticated developer, project leader, or developer portal admin, I want to see a page consisting of my Basic API Key and any Advanced API Keys I might have (or instructions for how to get one if I don't have any).

Description

Update the page index.tsx in the Developer Portal Next.js app to optionally show an authenticated view that resembles the relevant frames in the Figma file for Platform.

Acceptance Criteria

  1. index.tsx can show either the "Join Developer Portal" page or the "My API Keys" page depending on whether the user is authenticated and whether the user is a developer or higher.
  2. The "My API Keys" page appears as shown in the Figma file. It consists of a BasicKeyView and either a KeyTable or relevant copy, as well as the common Sidebar and Footer.
  3. The "Regenerate" button opens a DialogBox asking for confirmation. The actual regeneration does not need to work (yet).
  4. The function calls necessary for the interactive elements in the KeyTable DialogBoxes to work are mocked. They do not need to actually work (yet).
  5. The KeyTable is only shown if it has one or more keys to display.
  6. If there are no keys to display, the KeyTable is hidden and some copy is shown. The copy is different for developers, project leaders, and developer portal admins. Any links in the copy are functional.

Notes

None

@LudoLogical LudoLogical added the Type: Feature Request New feature or request label Apr 20, 2023
@LudoLogical LudoLogical added this to the Milestone #3 milestone Apr 20, 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