重构数据管线与地图界面:高维维度抽取、右缘入口收口、层级让位体系
三块改动必须作为一个提交落地:数据层的维度定义变了(Filter 新增 vehicle), 类型变更经 store 穿透到布局与面板,任何中间态都无法通过 tsc。 数据管线 - 新增 aggregate/dimensions.ts,把维度标识、列名、车种口径集中到一处, worker / client / types / applyExclusions 改为共用同一份定义,不再各自抄一遍 - ingestCore 重写表头识别与字段映射,新增 ingestHeader.test 覆盖别名与缺列场景 - cleanRules 把清洗类别拆成 place / vehicle 两族,各类自带 defaultOn; 导入界面同步改为按族分组勾选 布局重构 - 右缘竖向页签整体撤除,降噪参数并入概览浮层第二页(概览 / 降噪) - OperationRail 删除,新增 HotspotDock 只承载左侧黑点清单与它的复开把手 - 去掉 railTab 状态与 1/2/3、[ ] 快捷键,只保留 F 与 Esc - MapStage 的 coverSides / mapSize 不再扣右栏宽度,右侧只由抽屉决定 层级与遮挡 - 新增 z 阶梯令牌(hud 12 / dock 16 / read 17 / panel 18 / lift 24 / chrome 30), 替换散落各处的魔数;桶弹窗 z40 故意留在表外 - 左缘归清单:清单拉开时概览容器整体右移,卡片在停靠与自由态都跟着让开 - 上缘归筛选器:实测维度条与工具条外框,按横向相交决定卡片顶边下限, 拖动时同样受约束;让位量存临时 state,不写回本地布局记录 - 清单顶边改为实测维度条下沿,不再与它抢同一条起跑线 验证:tsc --noEmit 0 error;vite build 通过(index JS 257.01 kB / CSS 77.22 kB)。
Showing
32 changed files
with
922 additions
and
381 deletions
This diff is collapsed.
Click to expand it.
src/features/heatmap/aggregate/dimensions.ts
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
src/features/heatmap/panels/DimNavigator.tsx
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
src/features/heatmap/panels/TimeRibbon.tsx
0 → 100644
src/layout/HotspotDock.tsx
0 → 100644
src/layout/OperationRail.tsx
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment