Files
dcalc/frontendNew/MIGRATION_FUNCTION_MATRIX.md
T
2026-07-11 11:14:12 +08:00

17 lines
1.4 KiB
Markdown

# frontend -> frontendNew function matrix
| Capability | frontend baseline | frontendNew acceptance |
| --- | --- | --- |
| Home and role entry | Select a role and open its calculator | `/dcalc/home` opens the selected role under `/dcalc/character/:alter/equipment` |
| Assistant | Bind ID, list roles, import build data | Bind, refresh, role-targeted import, and ID import preserve the same API payloads |
| Equipment | Select/toggle equipment by category and bulk-wear a suit rarity | Weapon, subweapon, suit, universal, title/pet, treasure, oath, trigger options, preview, and idempotent bulk wear work |
| Skill | Edit level, VP, UP, awakening, and import code | Writes the same `config.skills` and `bindAwake` fields, then recalculates |
| Forge | Edit equipment, oath, avatar, emblem, jade, and global fields | Writes the same config fields, persists, recalculates, and records source changes |
| Result | Inspect equipment/oath, skills, baseline, and skill counts | Full detail route plus one local summary panel; baseline, deltas, retries, states, and sorting work |
| Persistence | Per-role config and skill counts survive reload | Uses unchanged `dcalc/<alter>/config` and `dcalc/<alter>/config/skillCount` keys |
## Non-baseline additions retained
- DNF VP routes and pages remain exclusive to `frontendNew`.
- Legacy URLs are intentionally unsupported; no redirect or alias is part of acceptance.