V13-FE-006: consolidate approved UI and contract hardening
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
# V13-FE-023 — KBX v59 grid status boundary adoption
|
||||
|
||||
## Scope
|
||||
|
||||
- **WBS:** V13-FE-023
|
||||
- **Requirement/API/UI/Test:** REQ-FE-GRID / Cross / UI-GRID-01 / T-FE-GRID-01
|
||||
- **Source:** `docs/Design/kbx-foundation-v60-status-canonical-contract-hardening/packages/kbx-ui/src/grid/status.ts` and v59 Grid Status Dictionary guidance.
|
||||
- **Adopted:** pure `raw canonical value → label/semantic/unknown` resolver, label-based filtering/export helpers, and optional `statusMap` on the shared grid-column contract.
|
||||
- **Not adopted:** OMS status catalog, backend status mutation, vendor grid APIs, filter/CSV behavior, or client-side data ownership.
|
||||
|
||||
## Source / Assumption / Unknown / Decision Required
|
||||
|
||||
- **Source:** KBX resolver contract and current `UiGridColumn`/`DataGridShell` adapter boundary.
|
||||
- **Assumption:** status maps are feature-owned declarations; shared UI owns only the resolver contract.
|
||||
- **Unknown:** approved status dictionaries for each K-ArtSell feature and whether the current vendor adapters consume formatter/status metadata.
|
||||
- **Decision Required:** FE/Domain Owner must approve each feature's status vocabulary and adapter rendering/filter/export mapping before production wiring.
|
||||
|
||||
## Evidence
|
||||
|
||||
- Targeted Vitest: 1 file / 4 tests passed.
|
||||
- `pnpm typecheck`: passed (`vue-tsc --noEmit`).
|
||||
- Grid boundary adoption: `ModelsList` now uses `KsDataGrid`; KBX registry columns are converted by `toUiGridColumns` and selected rows use the explicit `Model.modelId` contract.
|
||||
- Targeted adapter Vitest: 1 file / 3 tests passed.
|
||||
- Full frontend regression: 57 files / 150 tests passed, `pnpm typecheck` passed, and `pnpm build` passed. The known >500 kB chunk warning remains; no performance gate pass is claimed.
|
||||
- Evidence: `evidence/V13-FE-023/models-grid-port_20260813.log`.
|
||||
- `ShadowRunList` now uses the same provider-neutral grid boundary; row navigation is explicitly backed by `ShadowRun.runId`.
|
||||
- Full frontend regression after this change: 58 files / 153 tests passed, typecheck passed, build passed. The known >500 kB chunk warning remains.
|
||||
- Evidence: `evidence/V13-FE-023/shadow-run-grid-port_20260813.log`.
|
||||
- Dead-code cleanup: removed unused `useRoute/route` bindings from both migrated list screens; retained the adapter export for compatibility because external consumers were not verified.
|
||||
- Cleanup evidence: `evidence/V13-FE-023/grid-boundary-cleanup_20260813.log`.
|
||||
|
||||
## Remaining acceptance evidence
|
||||
|
||||
Status cell rendering, label-based filtering/export, visual/AT/browser evidence, server query mapping, and feature-level canonical parity remain outstanding.
|
||||
Reference in New Issue
Block a user