Commit Graph

9 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
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
82d78af58e Move the sketch editor onto the stage and align the manual's data
The sketch drawing panel was mounted in the properties aside, about 300px
wide, so its dozen or so groups needed a long scroll. Render it under the
3D viewport in the stage instead and lay its commands out as a
width-driven grid: three columns at 1440px, one on narrow screens. The
panel keeps the same DOM, so every existing selector, the Escape
handling and the 4-geometries assertion still hold; tsc --noEmit passes
and ch03 was re-captured headed with no page or console errors.

Point final-status.json and the manual gaps document at the current
figures: 31 modules, 1575 command rows, 64 screenshots and 11 boundaries.
Fix the generator rather than the output, so the next run cannot regress:
drop b-openscad-recompile while the workbench is removed, add the five
boundaries measured in the last pass, and record the layout change and
the two-shell split in the notes.

Update continuationNotes.md to the pushed state: 7d9cf3a5 is on
web-desktop-parity-20261113 and matches local HEAD.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-11-15 20:25:36 +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
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