refactor(client): 前端体系治理——漏斗退役/老卡片标 legacy/fidelity 收阈/文档口径修正
- DsFilterHeader 删除(筛选已全部上移工具栏 chips,屏内零引用) - mobile_list_card 标 LEGACY 禁新用(6 屏迁移 MCard 登记 todo #13) - fidelity 阈值按 2026-07-07 实测收紧:一刀切 8% → 各屏实测最大残差+2pp (4%~7%),新阈下 36 屏×主题全过;proto 基准同步重摄(含库存改版) - CLAUDE.md 修正:表格筛选口径(工具栏 chips+列头仅排序)、响应式导航 (Drawer 退役→底部 5 tab,修文字滞后) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JJ1g8XV1YhhmHRzhwWEW7o
This commit is contained in:
+11
-11
@@ -39,7 +39,7 @@ export const SCREENS = {
|
||||
waitFor: '.app',
|
||||
// Phase 2 重建后校准:实测 a 3.8% / b 2.9% / c 4.2%(残差=跨渲染器行高漂移
|
||||
// + 状态徽章已知语义差),收紧到 8% 抓结构性回归。
|
||||
threshold: 0.08,
|
||||
threshold: 0.07, // 实测 4.7% + 2pp(2026-07-07 收紧,原 0.08)
|
||||
},
|
||||
partners: {
|
||||
html: '.superpowers/prototype/screens/partners.html',
|
||||
@@ -47,7 +47,7 @@ export const SCREENS = {
|
||||
width: 1280, height: 900, dpr: 2,
|
||||
waitFor: '.app',
|
||||
// 重建后校准:实测 a 3.2 / b 2.5 / c 3.5%(残差=列宽分布+文字度量+保留的导出按钮)
|
||||
threshold: 0.08,
|
||||
threshold: 0.06, // 实测 3.6% + 2pp(2026-07-07 收紧,原 0.08)
|
||||
},
|
||||
products: {
|
||||
html: '.superpowers/prototype/screens/products.html',
|
||||
@@ -57,7 +57,7 @@ export const SCREENS = {
|
||||
// 重建后校准:实测 a 3.2 / b 2.4 / c 3.5%。残差含已知数据驱动差
|
||||
// (见 design/CONTRACT.md):档案无 分类/状态 列、无香型 chips、
|
||||
// seg 第 5 tab 香型→仓库、无「新增商品」、pager 带翻页控件。
|
||||
threshold: 0.08,
|
||||
threshold: 0.06, // 实测 3.7% + 2pp(2026-07-07 收紧,原 0.08)
|
||||
},
|
||||
devices: {
|
||||
html: '.superpowers/prototype/screens/devices.html',
|
||||
@@ -65,7 +65,7 @@ export const SCREENS = {
|
||||
width: 1280, height: 900, dpr: 2,
|
||||
waitFor: '.app',
|
||||
// 重建后校准:实测 2.4–3.0%(残差=会话表列宽分布+外设卡按钮文字省略)
|
||||
threshold: 0.08,
|
||||
threshold: 0.06, // 实测 3.5% + 2pp(2026-07-07 收紧,原 0.08)
|
||||
},
|
||||
settings: {
|
||||
html: '.superpowers/prototype/screens/settings.html',
|
||||
@@ -73,7 +73,7 @@ export const SCREENS = {
|
||||
width: 1280, height: 900, dpr: 2,
|
||||
waitFor: '.app',
|
||||
// 已知差异:子导航多「编号规则」项、门店卡多 Logo 行。实测 1.7–2.3%
|
||||
threshold: 0.08,
|
||||
threshold: 0.04, // 实测 2.4% + 2pp(2026-07-07 收紧,原 0.08)
|
||||
},
|
||||
users: {
|
||||
html: '.superpowers/prototype/screens/users.html',
|
||||
@@ -81,14 +81,14 @@ export const SCREENS = {
|
||||
width: 1280, height: 900, dpr: 2,
|
||||
waitFor: '.app',
|
||||
// 已知差异:角色口径拉平为后端四级(原型 KPI 初值/角色混用三级)。实测 1.3–2.1%
|
||||
threshold: 0.08,
|
||||
threshold: 0.04, // 实测 1.9% + 2pp(2026-07-07 收紧,原 0.08)
|
||||
},
|
||||
about: {
|
||||
html: '.superpowers/prototype/screens/about.html',
|
||||
prefix: 'about',
|
||||
width: 1280, height: 900, dpr: 2,
|
||||
waitFor: '.app',
|
||||
threshold: 0.08, // 实测 2.2–2.7%
|
||||
threshold: 0.05, // 实测 2.7% + 2pp(2026-07-07 收紧,原 0.08)
|
||||
},
|
||||
'stock-in': {
|
||||
html: '.superpowers/prototype/screens/stock-in-list.html',
|
||||
@@ -98,7 +98,7 @@ export const SCREENS = {
|
||||
// 2026-07-03 补注册(此前漏注册导致单元格样式偏差长期未被闸住)。
|
||||
// 页面留白/单元格对齐后校准:实测 a 3.6 / b 2.6 / c 3.9%
|
||||
//(残差=真实数据 vs 原型演示数据 + 状态列口径/placeholder 文案已知差异)。
|
||||
threshold: 0.08,
|
||||
threshold: 0.06, // 实测 4.0% + 2pp(2026-07-07 收紧,原 0.08)
|
||||
},
|
||||
'stock-out': {
|
||||
html: '.superpowers/prototype/screens/stock-out-list.html',
|
||||
@@ -106,7 +106,7 @@ export const SCREENS = {
|
||||
width: 1280, height: 900, dpr: 2,
|
||||
waitFor: '.app',
|
||||
// 页面留白/单元格对齐后校准:实测 a 3.6 / b 2.6 / c 3.9%
|
||||
threshold: 0.08,
|
||||
threshold: 0.06, // 实测 4.0% + 2pp(2026-07-07 收紧,原 0.08)
|
||||
},
|
||||
login: {
|
||||
html: '.superpowers/prototype/screens/login.html',
|
||||
@@ -116,7 +116,7 @@ export const SCREENS = {
|
||||
// 2026-07-03 重建后校准:实测 a 1.9 / b 1.4 / c 2.1%。已知差异
|
||||
// (design/CONTRACT.md):密码框空值 hint vs 原型 8 dots、
|
||||
// 历史下拉/密码可见后缀箭头(功能位)、ds-fab 仅原型有。
|
||||
threshold: 0.08,
|
||||
threshold: 0.04, // 实测 2.4% + 2pp(2026-07-07 收紧,原 0.08)
|
||||
},
|
||||
// register:暂不入闸(2026-07-03 用户拍板)。原型多「门店编号/授权兑换券」
|
||||
// 两字段,后端 RegisterInput 暂不支持 → 表单少两行,整卡结构性错位
|
||||
@@ -136,6 +136,6 @@ export const SCREENS = {
|
||||
waitFor: '.app',
|
||||
// 重建后校准:实测 a 3.9 / b 3.0 / c 4.2%(残差=柱高比例+文字度量+
|
||||
// KPI 应收为实算汇总 vs 原型硬编码,见 CONTRACT 已知差异)
|
||||
threshold: 0.08,
|
||||
threshold: 0.06, // 实测 4.3% + 2pp(2026-07-07 收紧,原 0.08)
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user