Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR deprecates the custom kbd component from the registry and updates the codebase to use the shadcn/ui kbd component instead. The change involves removing all local kbd-related implementations and examples, updating imports to use the shadcn/ui version, and adding a deprecation notice to the documentation.
Key Changes:
- Removed custom kbd component and all associated example files
- Updated all imports to reference shadcn/ui's kbd component
- Added deprecation notice to the kbd documentation page
Reviewed Changes
Copilot reviewed 22 out of 22 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| docs/types/docs/kbd.ts | Removed TypeScript type definitions for the deprecated kbd component |
| docs/registry/registry-ui.ts | Removed kbd component from UI registry |
| docs/registry/registry-examples.ts | Removed all kbd demo examples from examples registry |
| docs/registry/default/ui/kbd.tsx | Deleted the custom kbd component implementation |
| docs/registry/default/examples/*.tsx | Deleted all kbd demo example components |
| docs/public/r/styles/default/*.json | Removed JSON registry files for kbd and its demos |
| docs/public/r/registry.json | Removed kbd entries from main registry |
| docs/public/r/index.json | Removed kbd entry from registry index |
| docs/content/docs/components/kbd.mdx | Replaced documentation with deprecation notice |
| docs/components/providers.tsx | Updated RootProvider import path |
| docs/components/mdx-components.tsx | Added Link, Alert components; updated Kbd to use shadcn/ui version |
| docs/components/keyboard-shortcuts-table.tsx | Updated Kbd import to use shadcn/ui version |
| docs/components/kbd.tsx | Deleted custom kbd component wrapper |
| docs/registry/index.tsx | Removed kbd and related demo entries from registry index |
| docs/styles/globals.css | Modified Tailwind utility syntax in multiple rules |
| docs/components/doc-actions.tsx | Simplified button text from "Open with AI" to "Open" |
| docs/content/docs/components/data-grid.mdx | Split combined arrow key shortcut into individual entries |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
No description provided.