Skip to content

feat: 统一管理界面视觉契约 - #238

Merged
aruis merged 5 commits into
mainfrom
codex/management-panel-visual-contract
Aug 14, 2026
Merged

feat: 统一管理界面视觉契约#238
aruis merged 5 commits into
mainfrom
codex/management-panel-visual-contract

Conversation

@aruis

@aruis aruis commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator

变更内容

  • 统一工作台头部工具、管理面板标题与间距 token,消除探索器和详情面板跨组件的基线错位。
  • 压缩并统一表格、输入框、操作按钮等基础控件的默认尺寸。
  • 优化锁定标签:缩小图标与标题间距,移除 Tooltip,并补充悬停和键盘聚焦反馈。

原因与影响

此前同类面板由各自组件维护 padding、标题和操作区样式,导致跨组件组合时出现视觉元素水平线错位。本次将这些共同约束收敛为公共头部与工作台 token,后续页面复用同一视觉契约。

验证

  • ./gradlew verifyAll
  • npm run test -- tests/platform-components/staticManagementComponentContracts.test.ts tests/platform-components/RecordQueryListPanel.component.test.ts tests/platform-components/RecordExplorerPanel.component.test.ts
  • npm run test -- tests/vue-ui-antdv/UiTabs.component.test.ts
  • Prettier 与 git diff --check

@aruis
aruis marked this pull request as ready for review August 14, 2026 07:47
@aruis
aruis merged commit 66be7e7 into main Aug 14, 2026
4 checks passed
@aruis
aruis deleted the codex/management-panel-visual-contract branch August 14, 2026 07:49
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