Commit Graph
5 Commits
Author SHA1 Message Date
zhangxiang e527b16cbc refactor(animations): annotate design-system.ts compliance trap
Task #16 残留陷阱治理(保留待用、不动代码):

scope: src/lib/constants/design-system.ts(零生产消费者的死代码)
action: 仅加注释,不改令牌值、不动 design-system.test.ts、零行为变化

- 文件头警示块:声明本文件为合规陷阱、令牌与 CONTEXT.md 冲突、
  test 用 // @ts-nocheck 断言错误值、勿在新代码 import
- 7 处冲突令牌行内 ⚠️ 注释:
  normal 0.4s 超目标 / slow 0.6s P1 / slower 0.8s P0 硬上限 /
  smooth 非 ease-ink / bounce 弹性缓动 / stagger 0.08 P2 / scroll 0.6s P1

verified:
- eslint design-system.ts: 0 errors (ESLINT_EXIT=0)
- jest design-system.test.ts: 20/20 passed (JEST_EXIT=0)
- 纯注释改动,tsc 无语法变化(已隔离单文件 diff)

note: 此前决策「保留待用、不动代码」——本提交仅显性化陷阱,
未来修正须同步改测试,否则必挂(P1 阶段已实践过该回退)。
2026-09-20 11:50:58 +08:00
zhangxiang 602ed6a671 test(hooks): finalize mutation test improvements and release acceptance
- Raise use-swipe-gesture mutation score to 66.13% (target 65%+)
- Maintain use-reduced-motion mutation score at 76.32% (target 50%+)
- Fix use-reduced-motion.ts ESLint set-state-in-effect warning
- Add UJ-10 deep searcher journey (category browse → article read → content discovery)
- Add 40 new test files (analytics, detail, sections, ui, lib components)
- Update test-strategy-plan.md to v2.0 (sync test count to 1591)
- Sync README.md with final release metrics

Quality gates: TS 0 errors, ESLint 0 errors, 121 suites / 1591 tests passed
2026-08-02 19:39:27 +08:00
张翔 767931202d feat(layout): 重构布局组件体系与数据层
- 重构 Header 导航、Footer 页脚、MobileMenu 移动端菜单
- 新增 MobileTabBar 移动端底部导航栏
- 更新 MegaDropdown 大型下拉导航
- 重构 SEO 结构化数据组件
- 更新数据层常量 (products, services, solutions, navigation 等)
- 新增 useCountUp 数字递增 Hook
- 修复 .gitignore 中 src/lib 被错误忽略的问题
2026-07-07 06:53:13 +08:00
张翔 415a103a24 style(theme): 更新网站主题色彩方案与字体配置
- 调整主色调从 #1C1C1C 至 #1A1A1A,优化视觉层次
- 更新背景色系为暖白色调 (#FAFAF7, #F5F4F0 等)
- 配置中文字体栈,添加 serif 字体支持
- 优化文本颜色梯度,提升可读性
- 调整边框颜色,统一水墨风格
- 添加 Google Search Console 验证码配置项
- 新增桌面应用架构专家代理配置文件
- 重构 E2E 测试等待策略,提升稳定性
- 添加回归测试脚本,增强质量保障
2026-06-17 11:37:25 +08:00
张翔 2d602c0e57 refactor: 数据层对齐HSI架构与水墨雅致视觉系统
- 产品分类统一为企业套装区+专业产品区,删除growth分类
- 导航数据对齐HSI层级,独立产品改为专业产品
- Hero主题从深色渐变改为水墨雅致浅色系(宣纸色底/墨色文字)
- 设计系统hero文字颜色从白色改为stone系列
- 解决方案接口添加L3信任层可选字段(TODO标记)
2026-06-07 16:18:07 +08:00