This commit is contained in:
2026-07-11 11:14:12 +08:00
parent ee631cdc54
commit 74c6634186
18 changed files with 594 additions and 300 deletions
+30 -46
View File
@@ -1,56 +1,40 @@
# Character Migration Regression Checklist
# Character migration regression checklist
Last updated: 2026-05-28
Scope: frontendNew Character module (Equipment / Skill / Forge / Result)
Last updated: 2026-07-10
## 1. Skill page
## Routes and imports
- [ ] 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.
- [ ] Open `/dcalc/home`, select a role, and enter Equipment, Skill, Forge, and Result.
- [ ] Bind an assistant account, refresh its role list, and import a selected role through `roleId`.
- [ ] Import a build by community ID and a skill build by skill code; verify the result refreshes.
## 2. Forge page
## Equipment and oath configuration
- [ ] 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.
- [ ] Select and deselect weapon, subweapon (where supported), suit, universal, title/pet, treasure,
oath suit, oath universal, and other oath entries.
- [ ] Change trigger options, preview equipment, select an oath skill, and move preview suit/oath levels.
- [ ] Select a suit rarity, double-click a suit icon, and verify all matching pieces are worn.
- [ ] Repeat the double-click action and verify pieces remain worn rather than being toggled off.
- [ ] Verify the latest Equipment change-source record describes the single or bulk action.
## 3. Result states (4-state)
## Skill, forge, and result
- [ ] 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.
- [ ] Change skill levels, VP/UP selections, and bound awakening; verify exactly one eventual recalculation.
- [ ] Edit equipment forging, oath adaptation, avatar, emblems, jade, and global options; refresh and
confirm persistence.
- [ ] Switch quickly between two roles, including one without saved data; verify neither equipment
configuration nor skill-count overrides leak from the previous role.
- [ ] Verify Result states: loading, error/retry, empty, and successful detail rendering.
- [ ] Set a baseline, change skill counts, verify total and row deltas, then clear the baseline.
- [ ] Confirm the result summary appears once per Equipment, Skill, and Forge page, while `/result`
shows the full detail view.
## 4. Baseline comparison
## Automated validation
- [ ] 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.
```sh
cd frontendNew
pnpm type-check
pnpm build
```
## 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`
Both commands passed locally on 2026-07-10 using the installed project dependencies.