Commit Graph

10 Commits

Author SHA1 Message Date
c3b3160f33 feat(web): object picker in workbench shell, verify sketch panel on stage
workbench.html routes Sketcher desktop commands to the standalone sketcher
probe, which had no document, so Sketcher_EditSketch always failed with
"The selected live document does not exist in this runtime". The shell also
only exposed an object selection table for BIM, so no command could receive
a selected sketch.

- workbench shell: add a generic document object list (details
  .workbench-object-picker) that writes both the shell selection and the
  command payload selection for every module
- ch03: document the working session path (NewSketch creates
  workbench_document/Sketch, then EditSketch on that selection) with two
  stage screenshots, plus the measured layout (panel left 284 vs stage left
  260, zero horizontal overflow)

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 06:54:05 +08:00
8bdf8db8d6 docs(manual): record wrap-up of inventory, screenshots, OPFS picker
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 01:36:59 +08:00
300c8efb01 docs(web): full UI surface inventory, illustrated manual, panel screenshots
Interface design document and manual now share one authoritative surface
inventory (333 surfaces across 9 categories, gap 0), and every chapter carries
real Playwright screenshots of the panels it documents.

- tools/fcweb: ui-surface-scan/ui-surface-inventory (deterministic --check),
  build-ui-doc renders panel catalog, workbench matrix and mapping tables;
  blank toolbar crops (<1 KB) are skipped and pruned instead of embedded
- web/tools/manual: generate-panel-index (ch16), audit-ui-gaps,
  generate-final-status, generate-gaps-doc; pager is per-chapter so the manual
  no longer overflows horizontally
- manual: 130 screenshot references / 128 PNGs, panel sections for ch02-ch13
- web/src: utility menus stop click propagation (menu reopened on item click);
  workbench shell gains an OPFS document picker so workbench.html can bind a
  real document instead of the fixed workbench-document id; Sketcher panel
  moves from the command column to the main stage

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 01:30:31 +08:00
7d9cf3a5ea Rewrite the beginner manual against measured Web behaviour
The manual claimed 32 modules and taught several workflows that do not
run in the web port. Rewrite the chapter bodies and drive every new
screenshot from a real interaction with a waitFor before each shot.

Screenshots go from 33 to 63. ch06-ch13 grow from one page snapshot each
to 3-7 shots taken in headed Chrome, all with empty pageErrors and
consoleErrors and every PNG well above the 5 KB bar.

Correct the text where the port differs from the desktop:

- ch08: Mesh_FromPartShape has no task panel, so the main line becomes
  Mesh_BuildRegularSolid, which really returns typeId Mesh::Cube.
- ch09: no BIM creation command has a panel; only Library, Setup,
  Material and Views are usable.
- ch10: CAM_Job offers only None in its Model select and fails with
  cam_command_failed.
- ch11: the recorded error was Document does not exist; the real one is
  invalid_request: Select source objects in the current document, and
  PageDefault cannot create a page at all.
- ch12: FEM_Analysis has no panel, so the chain breaks at step one.
- ch13: drop every OpenSCAD scene action and screenshot; Robot jog
  buttons, the Plot canvas and Draft viewport picking do not work, so
  the chapter documents the panels instead of pretending they run.

Rebuild gives 15 chapters, 1575 command rows, 1721 search entries and
945197 bytes; check:manual passes both viewports with no errors, no
broken images and no horizontal overflow.

The gap ledger goes from 7 to 11 boundaries. Remove b-openscad-recompile,
which should not exist while the workbench is removed, and record the
five newly measured ones: BIM creation, Mesh_FromPartShape, Draft
viewport picking, Robot without a model and Plot without a canvas.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-11-15 16:47:14 +08:00
579d6d20c8 Finalize manual verified status and gap ledger
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 13:09:50 +08:00
158e9ddfdc Complete all manual chapters with screenshots and command index
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 12:45:40 +08:00
15a365022f Add PartDesign chapter with Body, sketch and Pad captures
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 11:58:57 +08:00
3d3afc129f Add Sketcher chapter with coordinate-driven rectangle capture
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 11:49:49 +08:00
6a7efb5432 Add Part chapter with verified boolean and geometry captures
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 11:23:18 +08:00
bc40c77153 Add Web FreeCAD manual matrix, capture harness and chapter 1 pilot
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 11:13:29 +08:00