feat(ui): 补齐紧凑选择弹窗与用量菜单布局 - #25
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c3b3db57c3
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| <DialogDescription v-if="description"> | ||
| {{ description }} | ||
| </DialogDescription> |
There was a problem hiding this comment.
Keep palette-only copy out of picker headers
When variant="picker" is used without explicitly passing description="", the existing truthy default makes this new branch visibly render “Search for a command to run...” even for non-search pickers such as a team chooser. Make the default variant-specific or render the description only when the caller supplied one; otherwise this generic picker exposes misleading command-palette copy.
AGENTS.md reference: AGENTS.md:L55-L55
Useful? React with 👍 / 👎.
Author
Type
Summary
为团队切换提供紧凑的 CommandDialog picker 变体:标题、关闭按钮和列表共享组件层的留白,复用既有菜单行交互。
新增 DropdownMenuSummary 展示标题、百分比及说明;子菜单支持与父菜单顶边对齐。默认 palette 与 first-item 行为保持不变。
Validation
Screenshots / Recordings
当前会话有用户提供的实际界面截图;未上传截图附件。AI 桌面操作未能可靠验证最终状态。
代码量自审
5 个生产文件,新增 83 行、删除 13 行,净增 70 行。无生成文件或机械迁移。改动集中在弹窗变体、摘要行和对齐选项;复用原组件的交互,不另建团队专用组件。
Human QA