Commit Graph

55 Commits

Author SHA1 Message Date
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
3c2c623f70 Filter the command matrix by the web module registry
The matrix is scraped from upstream source, so it still carries modules
the port has removed. Counting its rows re-introduced OpenSCAD into the
manual data after the workbench was taken out. Parse the module list from
module-registry.generated.ts once and drop every record whose module is
not in it, which keeps 31 modules and reproduces the 1575 command rows
the manual now reports.

Regenerate the gaps document so it lists the 11 boundaries with the new
OpenSCAD-free set, and refresh the ch03 fixture captured alongside the
re-shot chapter.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-11-15 20:44:59 +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
39410dea36 Add the shared tool modules the new gates import
The previous commit landed the audit-coverage change together with the
scripts that enforce it, but several of those scripts import shared
modules that were never tracked: static-host.mjs (ephemeral isolated
static host used by every browser runner), wasm-probe-runtime.mjs,
official-fixture-resolver.mjs, artifact-assets.mjs and the four BIM GUI
acceptance modules. A checkout of that tree could not load the runners
that reference them.

Add the transitive closure of untracked local imports, computed by walking
the relative .mjs imports of the committed batch until no new files appear:
8 files, 27 KB, none of them covered by .gitignore.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 09:26:05 +08:00
dd7a940c37 Derive workbench audit coverage from modules x viewports
The workbench surface audit scrapes module names out of the web module
registry and iterates two viewports, so its record count is a product,
never a constant. Removing OpenSCAD dropped the registry from 32 to 31
modules and moved the expected count from 64 to 62, while 65 places in
the tooling still asserted 64 - re-running the audit would have failed
every gate with no actual regression behind it.

Add tools/audit64.mjs as the single owner of the coverage rule:
auditCoverage(), auditCoverageComplete() and audit64Satisfied(). The
success test requires records === expectedRecords only when the snapshot
carries an expectation, so freshly produced evidence (62 records plus
expectedRecords 62) and historical evidence captured before the removal
(64 records, no expectation) are both judged against their own coverage.
The 111 archived CAM snapshots stay valid instead of being reclassified
as regressions, and a real 62-vs-64 shortfall still fails.

Converted callers: 56 build_cam_*_profile.mjs, 5 tools/mcp/replay-*.mjs,
close-official-case.mjs, run_partdesign_official_suite.mjs,
run_p6_assembly_testcore_chrome.mjs, run_p6_bim_arch_component_chrome.mjs
and run-official-native-shape-profile.mjs. The producer in
run_p6_cam_chrome.mjs now writes the derived expectedRecords so downstream
gates compare against an authoritative expectation.

Also fix artifacts that would have revived the removed module:
sync-assets.mjs unconditionally re-copied the OpenSCAD runtime probe into
public/kernel on every sync-kernel run, and its sources still exist in the
build tree. Drop that loop, the dead displayOwners entry in
audit-geometry-boundary.mjs, and the 14 MB vendored openscad-wasm.

Keep the parity matrix self-consistent: module_count follows rows (31),
and the business completion audit derives its expected module count from
the matrix instead of hardcoding 32, which would otherwise make completion
unreachable.

Rebuilt dist and re-ran the audit against an ephemeral isolated static
host: 31 modules, 2 viewports, 62 records, 0 failures.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 09:11:21 +08:00
65f59aba25 Remove OpenSCAD from the web port
Web FreeCAD does not implement OpenSCAD. Drop the module end to end
instead of keeping a blocked or placeholder shell:

- delete the parity-matrix row and regenerate the module registry
  (31 modules, OpenSCAD absent)
- remove the OpenSCAD-only frontend modules (worker, facades, slice,
  mesh backend, desktop/preferences tasks) and strip the OpenSCAD
  branches from the dispatchers, shells, storage and router
- neutralise the two shared owners that outlived the module:
  openscad-desktop-view -> scene-viewport (SceneViewport) and
  openscad-desktop-adapter -> scene-document (SceneDocument), so Part,
  Mesh and the other consumers keep working
- drop the FreeCADWebOpenSCADRuntimeProbe target and
  FREECAD_WEB_ENABLE_OPENSCAD option from the kernel CMake;
  BUILD_OPENSCAD stays in the forced-off list
- delete web/openscad.html, its Vite input, the kernel artifacts and
  the 17 OpenSCAD tool entry points

AGENTS.md records the removal rule. tsc --noEmit is clean and
grep -ri openscad web/src is empty.

Also carry the Boost pthread guard: under Emscripten a plain -lpthread
implies -sUSE_PTHREADS=1 and therewith --shared-memory, which the
non-atomics VTK archives cannot link against.

Validation NOT_RUN / PARTIAL_FAILED, Acceptance NOT_CLAIMED.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 06:53:03 +08:00
acf222bb03 Save desktop GUI build fixes patch
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-14 06:11:01 +08:00
00e0097969 Pause parity work: handoff, parameter sync, Python console scaffold
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-14 06:10:38 +08:00
f3e4365530 Bridge standard commands to native React tasks
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 23:50:07 +08:00
fa420201e6 Record 29-workbench GUI parity baseline
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 23:37:22 +08:00
1feee94eac Align GUI audit with workbench selection and sync dist manifest
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 23:26:50 +08:00
87faaf0796 Fix C++ GUI menu extraction for PartDesign, Sketcher and Fem
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 23:23:39 +08:00
b451b51457 Route Assembly, Draft and Surface to workbench frames
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 23:19:20 +08:00
fcc3a15f53 Add command palette for all matrix commands
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 23:15:34 +08:00
1454e259be Embed external workbench workspaces in project shell stage
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 23:11:34 +08:00
7a3989eb99 Dispatch standard view commands through desktop router
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 23:01:24 +08:00
e214e61ca6 Persist shortcuts to OPFS parameters
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 22:57:13 +08:00
a13b1f221d Apply unit preference to property display
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 22:53:15 +08:00
26c0963363 Add selection and report bottom dock
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 22:47:59 +08:00
1c7d85b3a2 Persist web preferences to OPFS parameters
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 22:41:34 +08:00
e87a455e21 Add React shortcut manager and editor
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 17:29:08 +08:00
cbd2690993 Add Tools/Help menus and preferences dialog
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 17:00:08 +08:00
4efeadbee3 Render manifest toolbars for non-Part workbenches
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 16:50:18 +08:00
4a45ffaf47 Add React task frame bridge for manifest commands
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 16:46:09 +08:00
452f0b976f Dispatch manifest workbench commands through desktop router
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 16:39:39 +08:00
26c8a104cd Wire manifest workbench menus into project shell
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 16:15:31 +08:00
70a6c17165 Improve Python GUI extraction and audit all workbenches
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 15:01:14 +08:00
330221bd5d Add manifest-driven desktop shell preview
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 14:28:46 +08:00
e493eafa04 Fix desktop GUI build for parity reference
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 14:08:59 +08:00
aff9b6464a Add desktop GUI manifest, parity matrix and Web baseline audit
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 14:08:35 +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
a10493723b Complete 18/18 production-line course media and final audit
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 08:59:47 +08:00
cf4a3ea984 Close out line-course at 7/18 media, product complete
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 05:20:04 +08:00
249f40a69b Add E06-E07 media evidence and course inventory
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 05:16:35 +08:00
3ac496c3c2 Update line-course progress and E05 verification
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 04:30:32 +08:00
4eff6110e7 Add 27-model production-line Web FreeCAD course tooling and pages
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 04:16:04 +08:00
789e18ca3e Continue FreeCAD Web UI parity repairs
Some checks failed
FreeCAD master CI / Prepare (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
FreeCAD master CI / Pixi (push) Has been cancelled
FreeCAD master CI / Ubuntu (push) Has been cancelled
FreeCAD master CI / Windows (push) Has been cancelled
FreeCAD master CI / Lint (push) Has been cancelled
FreeCAD master CI / WrapUp (push) Has been cancelled
Stale Issues / stale (push) Has been cancelled
CodeQL Advanced (c-cpp) / Analyze (c-cpp) (push) Has been cancelled
Push Crowdin Translations / update-crowdin (push) Has been cancelled
Fetch Crowdin Translations / update-crowdin (push) Has been cancelled
Build Release / upload_src (push) Has been cancelled
Build Release / build (10.13, macos-15-intel, osx-64) (push) Has been cancelled
Build Release / build (11.0, macos-latest, osx-arm64) (push) Has been cancelled
Build Release / build (15.0, macos-latest, osx-arm64) (push) Has been cancelled
Build Release / build (ubuntu-22.04, linux-64) (push) Has been cancelled
Build Release / build (ubuntu-22.04-arm, linux-arm64) (push) Has been cancelled
Build Release / build (windows-latest, win-64) (push) Has been cancelled
Monthly issue metrics / issue metrics (push) Has been cancelled
2026-09-23 14:03:56 +08:00
2121db4358 Save latest TechDraw desktop command changes
Some checks failed
FreeCAD master CI / Prepare (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
FreeCAD master CI / Pixi (push) Has been cancelled
FreeCAD master CI / Ubuntu (push) Has been cancelled
FreeCAD master CI / Windows (push) Has been cancelled
FreeCAD master CI / Lint (push) Has been cancelled
FreeCAD master CI / WrapUp (push) Has been cancelled
Stale Issues / stale (push) Has been cancelled
Build Release / upload_src (push) Has been cancelled
Build Release / build (10.13, macos-15-intel, osx-64) (push) Has been cancelled
Build Release / build (11.0, macos-latest, osx-arm64) (push) Has been cancelled
Build Release / build (15.0, macos-latest, osx-arm64) (push) Has been cancelled
Build Release / build (ubuntu-22.04, linux-64) (push) Has been cancelled
Build Release / build (ubuntu-22.04-arm, linux-arm64) (push) Has been cancelled
Build Release / build (windows-latest, win-64) (push) Has been cancelled
CodeQL Advanced (c-cpp) / Analyze (c-cpp) (push) Has been cancelled
Push Crowdin Translations / update-crowdin (push) Has been cancelled
Fetch Crowdin Translations / update-crowdin (push) Has been cancelled
Monthly issue metrics / issue metrics (push) Has been cancelled
2026-09-08 15:18:24 +08:00
77925a996d Extend FreeCAD WebAssembly runtime support
Some checks failed
FreeCAD master CI / Prepare (push) Has been cancelled
FreeCAD master CI / Pixi (push) Has been cancelled
FreeCAD master CI / Ubuntu (push) Has been cancelled
FreeCAD master CI / Windows (push) Has been cancelled
FreeCAD master CI / Lint (push) Has been cancelled
FreeCAD master CI / WrapUp (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
2026-09-08 15:05:38 +08:00
6f99794003 Prevent MeshPart smoke deadlock with pthread pool
Some checks failed
FreeCAD master CI / Prepare (push) Has been cancelled
FreeCAD master CI / Pixi (push) Has been cancelled
FreeCAD master CI / Ubuntu (push) Has been cancelled
FreeCAD master CI / Windows (push) Has been cancelled
FreeCAD master CI / Lint (push) Has been cancelled
FreeCAD master CI / WrapUp (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
Stale Issues / stale (push) Has been cancelled
2026-09-07 20:34:20 +08:00
f2eaf096d8 Save FreeCAD WebAssembly development state
Some checks failed
FreeCAD master CI / Prepare (push) Has been cancelled
FreeCAD master CI / Pixi (push) Has been cancelled
FreeCAD master CI / Ubuntu (push) Has been cancelled
FreeCAD master CI / Windows (push) Has been cancelled
FreeCAD master CI / Lint (push) Has been cancelled
FreeCAD master CI / WrapUp (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
2026-09-07 18:58:02 +08:00
2778e3f9c2 Restore GUI-free Web module runtimes
Some checks failed
FreeCAD master CI / Prepare (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
FreeCAD master CI / Pixi (push) Has been cancelled
FreeCAD master CI / Ubuntu (push) Has been cancelled
FreeCAD master CI / Windows (push) Has been cancelled
FreeCAD master CI / Lint (push) Has been cancelled
FreeCAD master CI / WrapUp (push) Has been cancelled
Stale Issues / stale (push) Has been cancelled
Build Release / upload_src (push) Has been cancelled
Build Release / build (10.13, macos-15-intel, osx-64) (push) Has been cancelled
Build Release / build (11.0, macos-latest, osx-arm64) (push) Has been cancelled
Build Release / build (15.0, macos-latest, osx-arm64) (push) Has been cancelled
Build Release / build (ubuntu-22.04, linux-64) (push) Has been cancelled
Build Release / build (ubuntu-22.04-arm, linux-arm64) (push) Has been cancelled
Build Release / build (windows-latest, win-64) (push) Has been cancelled
CodeQL Advanced (c-cpp) / Analyze (c-cpp) (push) Has been cancelled
Push Crowdin Translations / update-crowdin (push) Has been cancelled
Fetch Crowdin Translations / update-crowdin (push) Has been cancelled
2026-08-25 04:56:08 +08:00
0a2e7ce7f5 Add FreeCAD WebAssembly runtime probes
Some checks failed
FreeCAD master CI / Prepare (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
FreeCAD master CI / Pixi (push) Has been cancelled
FreeCAD master CI / Ubuntu (push) Has been cancelled
FreeCAD master CI / Windows (push) Has been cancelled
FreeCAD master CI / Lint (push) Has been cancelled
FreeCAD master CI / WrapUp (push) Has been cancelled
Stale Issues / stale (push) Has been cancelled
Push Crowdin Translations / update-crowdin (push) Has been cancelled
Fetch Crowdin Translations / update-crowdin (push) Has been cancelled
2026-08-23 17:48:10 +08:00