Commit Graph

14 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
c87b2871be Add CAM and Cloud WebAssembly probes
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-08-21 06:51:31 +08:00
b5a086fda5 FreeCAD WebAssembly development snapshot
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-08-20 07:00:53 +08:00