Conversation
…uteButton feat: 添加工作模块,并且用route路由读取文件结构,发送到前端自动生成Tree Selector结构,用于一键Contribute
|
@Crokily is attempting to deploy a commit to the longsizhuo's projects Team on Vercel. A member of the Team first needs to authorize it. |
There was a problem hiding this comment.
Pull Request Overview
This PR restores a previously reverted signup fix and translates Chinese folder names to English. It removes static export configuration and adds new UI components and features to support a contribution workflow.
- Removes static export configuration from Next.js config to enable dynamic functionality
- Adds new UI components (Dialog, Input, Command) and integrates Ant Design for enhanced form controls
- Implements a contribution feature that allows users to create new articles via GitHub through a dialog interface
Reviewed Changes
Copilot reviewed 17 out of 21 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Adds new dependencies for UI components and analytics |
| next.config.mjs | Removes static export configuration |
| components/ui/*.tsx | New reusable UI components for dialogs, inputs, and command palette |
| app/layout.tsx | Adds Vercel Speed Insights integration |
| app/components/Contribute.tsx | New feature for guided article contribution via GitHub |
| app/components/*.tsx | Updates import paths to use centralized UI components |
| app/api/docs-tree/route.ts | New API endpoint for dynamically fetching documentation structure |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| className={cn("overflow-hidden p-0", className)} | ||
| showCloseButton={showCloseButton} | ||
| > | ||
| <Command className="[&_[cmdk-group-heading]]:text-muted-foreground **:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5"> |
There was a problem hiding this comment.
The CSS selector contains an invalid **: prefix which should be [&_[cmdk-input-wrapper]]:h-12.
| <Command className="[&_[cmdk-group-heading]]:text-muted-foreground **:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5"> | |
| <Command className="[&_[cmdk-group-heading]]:text-muted-foreground data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5"> |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
restore the revert #49, and change the Chinese folders to English