Repository navigation
fix(ui): 收口 Android 语义排版与 Fx 基础组件 - #11
Merged
Merged
Conversation
This was referenced Aug 30, 2026
z7ping
marked this pull request as ready for review
August 31, 2026 22:38
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.
目的
落实 #9 与 #10,并修复 Fx 化过程中产生的 Windows 视觉回归。
本 PR 不重新设计 Slowlight UI:Android 提升可读性/触控,Windows 保持已确认的高密度视觉,并统一到
shadcn_ui → Design Token → Fx* → Feature Widgets → Screen。核心边界:业务层不绕过 Fx;Fx 内部 Shad-first;Material 视觉仅允许明确能力原因的平台适配例外;Fx 化不得顺便改变既有字号、密度、Hover、Dialog 等高保真视觉。
当前设计基线
mobile < 600、medium 600–1023、desktop >= 1024;组件局部断点按真实可用宽度判断。4 / 8 / 12 / 16 / 24;历史兼容别名不机械清洗。Fx 视觉回归 Checklist
+已知但不机械清洗的项目
layout_tokens.dart仍保留历史 spacing / radius 兼容入口;禁止新增,随真实组件迁移逐步删除。最近一次自动化回归说明
7a9c064的 233 个 Flutter 测试中,新增的 PageHeader / SectionHeader / StatCell 等行为与排版测试全部通过;唯一失败是架构守卫扫描到生产代码注释中出现旧兼容组件类名。当前5687dd0已只修改注释移除旧类名,没有放宽架构守卫,也没有修改组件行为,正在重新跑全量门禁。当前状态
最新 HEAD:
5687dd0。代码侧从现有高保真 + Fx 化前正式实现能够直接证明的公共视觉漂移已经完成一轮审计;其余 1px 微几何与具体页面差异留给实机视觉证据,不继续机械调整。PR 继续保持 Draft;未合并、未发布、未改版本号、未打 Tag。
关联