feat(UI): add ssh-key and token settings#1324
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds SSH key and personal token management features to the user settings page. It introduces new UI components for managing SSH keys and personal access tokens, along with corresponding React hooks for API interactions.
Key changes:
- Replaced several integrations and upsell components with new SSH keys and personal token components
- Added comprehensive hook implementations for CRUD operations on SSH keys and tokens
- Created full-featured UI components with dialogs, forms, and list management
Reviewed Changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| pages/me/settings/index.tsx | Updates imports and replaces upsell components with SSH keys and personal token components |
| hooks/usePostTokenGenerate.ts | Adds mutation hook for generating new personal access tokens |
| hooks/usePostSSHKey.ts | Adds mutation hook for creating new SSH keys |
| hooks/useGetTokenList.ts | Adds query hook for fetching and caching personal token list |
| hooks/useGetSSHList.ts | Adds query hook for fetching and caching SSH key list |
| hooks/useDeleteTokenById.ts | Adds mutation hook for deleting tokens by ID |
| hooks/useDeleteSSHKeyById.ts | Adds mutation hook for deleting SSH keys by ID |
| components/Setting/SSHKeys.tsx | Creates complete SSH key management component with add/delete functionality |
| components/Setting/PersonalToken.tsx | Creates complete personal token management component with generate/delete functionality |
benjamin-747
approved these changes
Aug 10, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#1293