XiTune Stage · 调音 Vue 实现
范围:Phase 7-9(共 5 工作日)· 依赖:Phase 2 · 产出:4 mode chip + Preset chip popover + Profile 管理
Phase 列表
| Phase | 标题 | 工作日 | 关键产出 | 文档 |
|---|---|---|---|---|
| 7 | XiTune mode-switcher 4 chips | 1d | 🎚 link 手动 / 🤖 link 自动 / 🔄 兼容 / ↩ 反向 chip 切换 + toast · 主区不变 | 10-mode-switcher.md(占位) |
| 8 | XiTune Preset chip popover | 2d | module-renderer 右上角 ⭐ Default ▾ chip · popover 列表 · 新建/保存/删除/A-B 对比 | 20-preset-chip.md(占位 · 含 v3-full-xitune-chain.html 移植) |
| 9 | XiTune Profile 管理 + 左 Drawer xt-profile | 2d | 5 个 profile(夜间/影院/驾驶等)切换 · useProfileStore 持久化 |
30-profile-management.md(占位) |
验收里程碑
- ✅ Phase 7:4 chip 切 + chip-tag 高亮 + EventBus
mode-switch:click触发 - ✅ Phase 8:⭐ chip 按用户原话"在调音工具的右上角"显示当前激活 preset · 点开列表选择 + 新建保存
- ✅ Phase 9:5 profile 切换 + 持久化(reload 后保持)+ 与 preset 协同(profile = preset 集合)
数据结构(preset / profile / project 三者关系)
| 概念 | 范围 | Pinia store | 持久化 key |
|---|---|---|---|
| Project | 整个工程(含多条 .xilink + 资源) | useProjectStore |
xistudio:projects |
| Profile | 使用场景(夜间/影院/驾驶 · 多 preset 集合) | useProfileStore |
xistudio:profiles |
| Preset | 单模块参数预设(PEQ#1 · 8 段) | usePresetStore |
xistudio:presets[module] |
关联文档
- Preset 实现参考:
v3-full-xitune-chain.html.mr-presetchip - 上层契约:
v1.2-ide-architecture.md §3.3 - 协议改造:
../00-baseline-alignment.md
占位说明:Phase 7-9 具体任务清单将在 Phase 2/6 完成后细化。