Files
workinf_Blender_Wasm/docs/web/MODULE-COVERAGE.md
mes123456 af4041ec47 docs(web): record the Spreadsheet as a desktop-parity reader
Desktop's Spreadsheet editor registers only filter, data-source and
column operations, so there is no dataset edit path to port. The register
entry now says so and cites spreadsheet_ops.cc instead of implying the
web surface is missing an edit feature.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 21:32:32 +08:00

83 lines
12 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Editor module coverage
This page cross-walks the 21 `EDITOR_TYPES` entries in `web/protocol/editor-workflow.ts` against the
e2e specs, headed receipts and known gaps. It exists so that a module is never called covered because a
file with its name exists. The Outliner parity work (G1–G6, B1–B6) is the reference standard; the other
modules are measured against the same bar.
## Method
Coverage levels, strongest first:
- `PROVEN` — a spec assertion or a headed receipt shows a user-visible operation executing on the native
Main: an operator ran, Main changed, and the change was read back or saved.
- `READBACK_OR_PROBE` — the spec reads Main state or drives the protocol without proving the editor
performs the user operation that a desktop user would perform.
- `GATE_ONLY` — the spec proves a gate, block or disabled path, not the editing path behind it.
- `INDIRECT` — the editor is exercised only as a side effect of another editor's workflow, with no
assertion on its own surface.
- `UNCOVERED` — no e2e evidence; the editor appears only in routing tables or workflow fixtures.
Rules:
- A spec file name is not evidence. Every `PROVEN` cell names the assertion or receipt it relies on.
- Headed receipts under `tests/golden/*-HEADED-*` are local artifacts and stay untracked; the headed
run counts below come from the `tools/web/run-*-headed.mjs` `KNOWN_CASES` tables.
- `G1`–`G6` parity classes are recorded in the parity ledger; gaps here use `RESIDUAL` when they are
evidence or protocol gaps rather than a named Outliner class.
## Editor matrix
| Editor | App surface | e2e evidence | Headed receipts | Level | Gaps |
| --- | --- | --- | --- | --- | --- |
| `VIEW_3D` | viewport canvas, quick toolbar, native viewport overlays | `viewport-navigation-web-production` ("wheel zoom, Shift+MMB pan, click select and G/X modal"), `viewport-navigation-native-production`, `viewport-consistency` | 18 cases / 142 dirs (`run-viewport-navigation-headed.mjs`) | `PROVEN` | — |
| `OUTLINER` | React tree rows, restriction columns, library and override markers | `outliner-treeview-production` ("renders native rows with tree semantics and keeps selection wired"), `outliner-headed-production` (48 cases) | 48 cases / 193 dirs (`run-outliner-headed.mjs`) | `PROVEN` | MOD-OUTLINER-01, MOD-OUTLINER-02 |
| `PROPERTIES` | `modifier-stack-ui-production`, `armature-authoring-workbench`, b4 property panels | `modifier-stack-ui-production` ("commits only changed native fields"), `b4-properties-ui-production`, `b4-light-world-output-ui-production`, `wbv2-modifier-parameter-production` | none dedicated | `PROVEN` | MOD-PROPERTIES-01, MOD-PROPERTIES-02 |
| `UV_IMAGE` | UV editing surface, native UV area bridge | `web-uv-workspace-gate` ("finds a writable native UV area and commits an unwrap"), `wbv2-uv-unwrap-batch-production`, `ui-editor-view2d-production` | none dedicated | `PROVEN` | — |
| `NODE` | shader editor, geometry nodes canvas, compositor canvas | `shader-editor-flow-production`, `web-geonodes-canvas` ("adds, connects and commits a graph"), `web-compositor-canvas` ("builds, executes and commits a graph"), `shader-editor-all-nodes-production` | none dedicated | `PROVEN` | — |
| `GRAPH` | Graph Editor surface in the area header | `web-area-graph-editor` ("Camera viewport is real and Graph Editor edits animation keys") | none dedicated | `PROVEN` | MOD-ANIM-01 |
| `DOPE_SHEET` | Dope Sheet surface in the area header | no dedicated assertion; animation specs drive keyframes but not the Dope Sheet rows | none dedicated | `INDIRECT` | MOD-DOPESHEET-01, MOD-ANIM-01 |
| `NLA` | NLA strip track, `wbv2-nla-stack-production` | `nla-strip-ui-production` ("moves native strips and preserves Main through failure and recovery"), `wbv2-nla-stack-production` | none dedicated | `PROVEN` | MOD-NLA-01 |
| `SPREADSHEET` | Spreadsheet browser and CSV export | `web-spreadsheet-readonly` ("browses mesh data, filters columns and exports CSV without editing the Main") | none dedicated | `PROVEN` (read path) | MOD-SPREADSHEET-01 |
| `TIMELINE` | Timeline area, marker rows | `action-marker-ui-production` ("Action creation, keyframes and timeline markers remain editable"), `b5-animation-ui-production` | none dedicated | `PROVEN` | MOD-ANIM-01 |
| `CLIP` | Clip editor routing only | no clip editing spec; `ui-editor-workflow-production` only names the editor | none | `UNCOVERED` | MOD-CLIP-01 |
| `MASK` | Mask datablock readout and selection context | `tracking-mask-production` ("reads Blender Mask data and selection context"), `ui-editor-view2d-production` | none dedicated | `READBACK_OR_PROBE` | — |
| `SEQUENCER` | sequencer strip list, scene strips | `sequencer-authoring-ui-production` ("edits persist in native Main with rollback and history"), `scene-strip-ui-production` | none dedicated | `PROVEN` | MOD-SEQUENCER-01 |
| `TEXT` | Text datablock source editing | `wbv2-text-source-production` ("preserves Text datablock source through Main recovery and reopen") | none dedicated | `PROVEN` (datablock path) | — |
| `CONSOLE` | Python Console session, server operator panel | `console-wasm-keyboard-production` ("uses native Main keyboard history and save/reopen"), `server-operator-ui-production` | none dedicated | `PROVEN` | — |
| `INFO` | Info editor surface | no dedicated assertion; operator reports are read through other surfaces | none | `UNCOVERED` | MOD-INFO-01 |
| `FILE_BROWSER` | file open/save flows, download entry | `file-copy-production`, `file-import-progress` (streamed byte progress and cancellation), `web-save-download-semantics` | none dedicated | `PROVEN` | — |
| `PREFERENCES` | Preferences dialog and keymap editor | `web-preferences` ("Preferences persist through OPFS and keymap rebinding takes effect") | none dedicated | `PROVEN` | — |
| `TOPBAR` | desktop header menus, workspace tabs | `desktop-menu-workflows` ("desktop header menus add, undo, rename and export a real Main scene") | none dedicated | `PROVEN` | — |
| `STATUSBAR` | status line text | asserted incidentally inside other specs (for example the object count in the armature case snapshot) | none | `INDIRECT` | — |
| `UNSUPPORTED` | fallback surface for unknown editor ids | `ui-editor-workflow-production`, capability gates for blocked editors | none | `GATE_ONLY` | — |
## Gap register
`OPEN` — reachable by a user, not fixed. `PARTIAL` — the path works but a stated part is missing.
`BLOCKED` — cannot be exercised until another gap clears. `FROZEN` — evidence is deliberately capped.
`RESOLVED` — closed with evidence; the row stays so the history and its proof remain traceable.
| ID | Description | User-visible impact | Evidence | Category | Priority | State |
| --- | --- | --- | --- | --- | --- | --- |
| MOD-OUTLINER-01 | The armature row was reported missing from the pose-constraint Outliner. It never was: the armature is a child of `ScaledRigParent` and sits one level deeper, exactly as desktop `make_object_parent_hierarchy_collections` builds it. Ten headed reruns failed because the expand loop in `web/tests/fixtures/native-ui-workflow.ts` clicked a label list scanned before earlier replies landed and re-clicked rows the reply had just opened, so the branch never stayed open. | None after the fix; before it the armature branch never settled open, so the row was unreachable from the Outliner. | `docs/web/KNOWN_LIMITATIONS.md` armature bullet; `web/tests/fixtures/native-ui-workflow.ts`; headed rerun of `armature panel operates on the selected bone` | RESIDUAL | P1 | `RESOLVED` |
| MOD-OUTLINER-02 | The Rendering workspace appeared to render an empty Outliner. It has no native Outliner area to fill: desktop's Rendering screen holds Properties, Dope Sheet and Image Editor, the engine exports Outliner rows only for the active workspace, and the web layout drew the panel unconditionally. The panel now follows the native workspace areas, so Rendering draws no Outliner and other workspaces keep theirs. | None; object picking for a render starts from a workspace that has an Outliner, as on desktop. | `docs/web/KNOWN_LIMITATIONS.md` Rendering workspace bullet; `web/app/src/app/App.tsx` outliner area; probe snapshot of all eleven workspaces before and after switching to Rendering (panel count 1 → 0) | RESIDUAL | P2 | `RESOLVED` |
| MOD-PROPERTIES-01 | The armature panel case could not run because its first step selects the armature row. Same cause as MOD-OUTLINER-01. | None after the fix. | `web/tests/e2e/armature-editor-coverage-ui-production.spec.ts` | RESIDUAL | P1 | `RESOLVED` |
| MOD-PROPERTIES-02 | `setSceneViewLayerAOVs` and `setSceneViewLayerLightgroups` carried a revision field that the Worker never compared, so a stale submission was accepted and two tabs could overwrite each other's AOV and lightgroup edits. Both now compare a supplied `baseRevision` against the current SceneIR revision and reject staleness with `REVISION_CONFLICT`; an absent revision stays allowed, matching the declared `OPTIONAL` policy. | None after the fix; a stale tab now gets `REVISION_CONFLICT` instead of silently winning. | `web/protocol/web-engine-revisions.ts`; `web/tests/unit/web-engine-revisions.test.mjs`; Chromium probe: fresh revision applied, stale and non-integer rejected without changing the AOV or lightgroup rows | RESIDUAL | P2 | `RESOLVED` |
| MOD-NLA-01 | `setNLAStack` carried a revision field that the Worker never compared, so a stale submission was accepted. It now compares a supplied `baseRevision` against the current SceneIR and reports `REVISION_CONFLICT`; an absent revision stays allowed under the declared `OPTIONAL` policy. | None after the fix; a stale submission now conflicts instead of replacing the NLA stack. | `web/protocol/web-engine-revisions.ts`; `web/tests/unit/web-engine-revisions.test.mjs`; `web/tests/e2e/wbv2-nla-stack-production.spec.ts`; Chromium probe: stale revision rejected, absent and fresh accepted, track count intact | RESIDUAL | P3 | `RESOLVED` |
| MOD-SEQUENCER-01 | `setSequencerTransitions` parsed the timeline without comparing `timeline.revision`, so a stale transition edit was accepted. It now compares `timeline.revision` against the current SceneIR and rejects staleness with `REVISION_CONFLICT`, the same check `setSequencerStrips` makes. | None after the fix; a stale submission now fails instead of overwriting the sequencer timeline. | `web/protocol/web-engine-revisions.ts`; `web/tests/unit/web-engine-revisions.test.mjs`; Chromium probe on `sequencer_scene.blend`: stale timeline rejected, current snapshot's timeline applied | RESIDUAL | P2 | `RESOLVED` |
| MOD-SPREADSHEET-01 | The Spreadsheet offered no edit path. Desktop has none to port: `space_spreadsheet/spreadsheet_ops.cc` registers only `add_row_filter_rule`, `remove_row_filter_rule`, `change_spreadsheet_data_source`, `resize_column`, `fit_column` and `reorder_columns`, all view operations. The web surface browses, filters, selects and exports, which matches that reader role. | None; dataset editing is not a desktop Spreadsheet feature. | `blender-5.2.0/source/blender/editors/space_spreadsheet/spreadsheet_ops.cc`; `web/tests/e2e/web-spreadsheet-readonly.spec.ts` | RESIDUAL | P3 | `RESOLVED` |
| MOD-ANIM-01 | Keyframe evidence stops at "an action datablock appeared": the Outliner tree exposes no fcurve or keyframe counts, so no count assertion is made. | Reviewers cannot confirm key counts from the tree. | `docs/web/KNOWN_LIMITATIONS.md` keyframe bullet; `outliner-keyframe-keys-web` | RESIDUAL | P3 | `FROZEN` |
| MOD-DOPESHEET-01 | The Dope Sheet is exercised only through animation specs that assert on other surfaces. | A Dope Sheet regression could pass the suite. | `web/tests/e2e/b5-animation-ui-production.spec.ts` | RESIDUAL | P3 | `PARTIAL` |
| MOD-CLIP-01 | The Clip editor has no e2e case; only the editor workflow fixture names it. | Clip editing is unverified end to end. | `web/tests/e2e/ui-editor-workflow-production.spec.ts` | RESIDUAL | P3 | `OPEN` |
| MOD-INFO-01 | The Info editor has no dedicated case; operator reports are read through other surfaces. | Info report rows are unverified. | `web/tests/e2e` inventory | RESIDUAL | P3 | `OPEN` |
## Sources reused
- `web/protocol/editor-workflow.ts` — `EDITOR_TYPES`, action prefixes and workflow IR.
- `web/tests/e2e` — 413 specs, of which 174 are `*production*` cases.
- `tools/web/run-outliner-headed.mjs`, `run-viewport-navigation-headed.mjs`,
`run-armature-robot-headed.mjs`, `run-mesh-decimate-headed.mjs` — headed `KNOWN_CASES` tables.
- `tests/golden/WBV2/dynamic-inventory.json` — production inventory and coverage ledger.
- `docs/web/KNOWN_LIMITATIONS.md` — the canonical limitation and residual-gap text.