Files
dcalc/frontendNew/MIGRATION_REGRESSION_CHECKLIST.md
T
2026-05-28 13:16:24 +08:00

57 lines
2.2 KiB
Markdown

# Character Migration Regression Checklist
Last updated: 2026-05-28
Scope: frontendNew Character module (Equipment / Skill / Forge / Result)
## 1. Skill page
- [ ] Enter Skill page and switch between `结果面板` and `技能详情`.
- [ ] Verify there is only one visible result panel in Skill page.
- [ ] Change at least one skill level and confirm result recalculates automatically.
- [ ] Set and clear baseline in result panel.
## 2. Forge page
- [ ] Enter Forge page and switch between `结果面板` and `配置编辑`.
- [ ] In mobile width, use accordion module groups to switch `装备打造 / 誓约 / 时装徽章 / 全局`.
- [ ] Edit reinforce/refine/adaptation and confirm result recalculates automatically.
- [ ] Trigger quick reset and confirm change source logs are appended.
## 3. Result states (4-state)
- [ ] Loading: trigger compute and confirm loading state appears.
- [ ] Error: simulate invalid calculation and confirm retry button appears.
- [ ] Empty: clear config to no-result state and confirm empty hint appears.
- [ ] Success: valid config renders result summary and details.
## 4. Baseline comparison
- [ ] Set current result as baseline and verify delta labels update.
- [ ] Modify skill counts and verify total diff and row diff update.
- [ ] Clear baseline and verify diff falls back to absolute values.
## 5. Change source logs
- [ ] Perform updates in Equipment / Skill / Forge and verify source names and details.
- [ ] Verify log list is scrollable and supports clear action.
- [ ] Confirm latest records appear first.
## 6. This iteration patches
- [x] CalcDetail left panel switched to accordion groups.
- [x] Forge config module selector supports mobile accordion groups.
- [x] Forge form density reduced for small screens (`text-xs`, compact paddings).
## 7. Sidebar helper binding UX
- [ ] Without helper binding, sidebar user section should show placeholder name and guide text.
- [ ] Dropdown should provide `绑定/同步助手` entry and open `/dcalc/dnfhelper`.
- [ ] `取消绑定` should clear helper info via store logout action.
- [x] dnfhelper store keeps backward-compatible `refleshHelperInfo` alias.
## Validation commands
- `cd frontendNew && pnpm type-check`
- `cd frontendNew && pnpm lint`
- `cd frontendNew && pnpm build`