Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
docs(design): 明确图表点击目标尺寸的审核入口
kirozengf539f19bde49
diff --git a/AGENTS.md b/AGENTS.mdindex 8f4f3deb8b..0e6aca5874 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -62,7 +62,7 @@- 新增或修改任何界面、组件、布局、样式、动效或 UI 文案前,必须先读权威设计规范`docs/design-rules/DESIGN.md`;设计文档索引见`docs/design-rules/cindy-design-system.md`。-- 做 UI 圆角分类审查时,必须同时读 `docs/design-rules/DESIGN.md §5` 与+- 做 UI 圆角分类或点击目标尺寸审查时,必须同时读 `docs/design-rules/DESIGN.md §5` 与`docs/design-rules/design-governance.md §13`;普通 UI 改动同样适用,不限于设计系统迁移 PR。- 新增或修改设计 Token、主题系统、标准 UI 组件(primitive / pattern)、视觉类门禁脚本,或参与设计系统迁移 PR 前,必须先读治理合同diff --git a/REVIEW.md b/REVIEW.mdindex b906c5ac81..f5d5e44bef 100644--- a/REVIEW.md+++ b/REVIEW.md@@ -91,11 +91,14 @@ P1/P2。按下表转换,**不要**把仓库口径的 P2 改写成评论里大小,也不因「是 bugfix/纯技术改动」豁免。- **UI 双模式**:新增或修改的界面必须同时实现 Light 与 Dark,颜色走语义 token;只适配一种模式的硬编码或条件补丁视为未完成。见 `docs/design-rules/DESIGN.md`。-- **UI 圆角分类**:普通 UI 改动同样先读 `docs/design-rules/DESIGN.md §5` 与+- **UI 圆角分类与点击目标尺寸**:普通 UI 改动同样先读 `docs/design-rules/DESIGN.md §5` 与`docs/design-rules/design-governance.md §13`,不只在设计系统迁移 PR 中读取。先识别已登记成员覆盖的具体可见层,再核对登记值和交互约束;不得仅凭 DOM 标签、可访问名称或局部样式类推导 pill。未决分类、证据缺口、违反登记值分别报告;已登记的待迁移差异按 `design-inventory.md` 对应条目处理,不用相反的改形建议替代缺失裁决。+ 用量图表的密集日期目标按 §5 的 Hit-target sizing 条款核对 Equivalent 路径;满足其+ 同页等价日期选择与同次交付条件时,不得仅因单个目标小于 24×24px 就要求逐柱撑宽或+ 横向滚动。条件未满足时仍按适用要求检查命中尺寸,不把 data mark 登记当成尺寸通用豁免。规范修订 PR 应按已授权的新裁决核对正文、摘要与登记的一致性,不把正在被取代的旧措辞当作保留它的理由;新条款自身的实际矛盾、遗漏与越界仍须报告。- **跨平台**:macOS 与 Windows 的路径、进程、文件系统差异。diff --git a/docs/design-rules/DESIGN.md b/docs/design-rules/DESIGN.mdindex 91c3478f4a..cbf02259fe 100644--- a/docs/design-rules/DESIGN.md+++ b/docs/design-rules/DESIGN.md@@ -450,7 +450,7 @@ Cindy Desktop is an Electron app: layout responds to window resizing, not page b- Minimum window size: **800 × 600** for the main window and secondary session windows (enforced at the BrowserWindow level — `apps/desktop/src/main/bootstrap-electron.ts` / `secondary-windows.ts`). The detached right-sidebar window has its own smaller floor of **360 × 480** (`right-sidebar-window/window.ts`) — layouts hosted there must stay legible down to that width- The sidebar is collapsible; region dividers and paddings hold as the window narrows, and content reflows fluidly- Chat stream and composer reflow with the window; code blocks keep horizontal scroll instead of wrapping-- Control sizes and paddings follow §4 at every window size — targets never shrink below their specified geometry+- Ordinary control sizes and paddings follow their §4 component treatments at every window size. Registered shapes and their hit regions follow their owning component treatments and §5 Interaction constraints; the usage charts' dense date targets use the Equivalent route only under the conditions stated there. Window resizing does not waive the applicable target requirements or authorize changing a mark's registered geometry.### Mobile