Skip to content

feat: Add Authentication Tokens management UI#774

Merged
PReshma-tp merged 3 commits intomainfrom
feat-auth-token-management
Mar 17, 2026
Merged

feat: Add Authentication Tokens management UI#774
PReshma-tp merged 3 commits intomainfrom
feat-auth-token-management

Conversation

@PReshma-tp
Copy link
Contributor

This PR introduces a new UI for managing authentication tokens. Previously,
users had no way to self-serve token generation or deletion within the dashboard.
The interface includes listing tokens, creation and deletion of auth tokens.

@gemini-code-assist
Copy link

Summary of Changes

Hello @PReshma-tp, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request introduces a comprehensive user interface within the dashboard for managing authentication tokens. It empowers users to self-serve the generation, listing, and deletion of API tokens, enhancing security and administrative control without requiring manual intervention.

Highlights

  • Authentication Token Management UI: Implemented a new user interface within the dashboard for comprehensive management of authentication tokens.
  • Token Creation: Enabled users to self-serve the creation of new authentication tokens, including specifying a name and an expiry duration.
  • Token Listing and Deletion: Provided functionality to view a list of existing authentication tokens and to securely delete them via a confirmation modal.
  • Navigation Integration: Integrated the new authentication token management section into the main settings navigation for easy access.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • src/tpstreams/settings/auth_tokens/includes/confirm_delete_modal.html
    • Added a modal for confirming the deletion of authentication tokens.
  • src/tpstreams/settings/auth_tokens/includes/create_token_modal.html
    • Added a modal for creating new authentication tokens, including fields for name and expiry.
  • src/tpstreams/settings/auth_tokens/includes/success_modal.html
    • Added a modal to display newly generated authentication tokens and facilitate copying.
  • src/tpstreams/settings/auth_tokens/includes/tokens_list.html
    • Added the HTML structure for displaying a table of authentication tokens and an empty state.
  • src/tpstreams/settings/auth_tokens/index.html
    • Added the main page for the authentication tokens feature, integrating the list and modal components.
  • src/tpstreams/settings/includes/desktop_tabs.html
    • Updated the desktop navigation tabs to include a new "Authentication" link.
Activity
  • No specific activity (comments, reviews, progress) was provided for this pull request.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new UI for managing authentication tokens, including modals for creation, deletion, and a list view. While the overall structure is in place, there are several critical issues with the core functionality. The create and delete buttons are not wired up to perform their respective actions and instead only manage modal visibility. A significant security vulnerability exists where a token is hardcoded. Additionally, several UI elements are non-functional, and the token list relies on static mock data. These issues must be addressed before this feature can be considered complete.

@github-actions
Copy link

github-actions bot commented Feb 26, 2026

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://testpress.github.io/design/pr-preview/pr-774/

Built to branch gh-pages at 2026-03-17 07:18 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@PReshma-tp PReshma-tp force-pushed the feat-auth-token-management branch from f9ac7f6 to 9e0255b Compare February 26, 2026 13:44
@PReshma-tp PReshma-tp force-pushed the feat-auth-token-management branch from 27e0280 to 4372ddc Compare March 17, 2026 07:18
@PReshma-tp PReshma-tp merged commit 6a6a626 into main Mar 17, 2026
6 checks passed
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.

1 participant