UI 检查点:统一菜单、滚动容器与控件视觉规范 - #19
Draft
qqqqqf-q wants to merge 3 commits into
Draft
Conversation
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.
目的与当前状态
保存正在真实 Memoh 页面验证的 UI 设计检查点,避免试验仅留在本机。该 PR 保持 Draft,参数和视觉方向仍待继续迭代。
统一 Select、DropdownMenu、ContextMenu 的滚动容器、渐隐、菜单动画与子菜单首项中心对齐;将输入框尺寸、字重、深浅主题 Section Card 和控件边框调整放入组件库,并补充 Settings 示例。
消费方与恢复文档:felinics/Memoh#1177 。
验证与边界
代码量自审
相对当前 main:39 文件,新增 790 行、删除 236 行,净增 554 行。主要增量为共享滚动与子菜单定位、Settings 示例和规范;DialogBody 则移除独立滚动实现。分类:生产代码及配置 +487/-229,机械 cursor 统一 +10/-7,示例 +234/-0,规范文档 +59/-0;测试及生成代码均为 0。生产部分含机械变更、排除空行和整行注释后约 +420/-181,净增 239 行(按 diff 行分类,行内注释不剔除)。共享容器取代独立滚动逻辑;仍需重点 review 子菜单碰撞对齐、虚拟列表 viewport 与独立消费方补丁分发。未新增无关功能。