Commit Graph
4 Commits
Author SHA1 Message Date
Tanish Manku c5b016532a feat(guide): the user guide, generated command and shortcut references, Help › User Guide (M8) 2026-11-11 23:27:29 -07:00
Dylan M. Taylor 3cf69c1ded scripts: use [[ for bash tests (SonarCloud S7688) (#111)
Behaviour-preserving: `[[ ]]` in place of `[ ]` for bash tests (SonarCloud shell:S7688). Every script has a bash shebang; no test uses `-a`/`-o`, escaped parentheses or an unquoted pattern on the right of `=`. `bash -n` passes on each script; the rest is left to CI.

- `scripts/build-web.sh` (3)
2026-11-10 18:44:57 -05:00
Tanish Manku 431266a897 docs: web build ADR 0036, docs/web.md, roadmap, changelog, architecture and compliance (M8) 2026-11-09 22:38:01 -07:00
Tanish Manku 7dcd01041e feat(shell): web build of the editor: browser entry, file picker and downloads, autosave to browser storage (M8)
src/web.rs starts the editor on a page canvas with eframe's WebRunner (WebGL2 via glow) and
provides the browser's services; platform.rs decides when: picked files go to the engine's
in-memory store and the command runs, saves and exports leave as downloads, preferences and
recovery copies live in localStorage, Web Locks tell open tabs from crashed ones, and leaving
with unsaved work asks first. The GPU stage and sound output become build cfgs that are off
on wasm. Video export and plug-in installs are dimmed in the browser with the reason.

scripts/build-web.sh and .ps1 build web/ with the wasm-bindgen CLI pinned to Cargo.lock's
version, from packaging/web/index.html. The web profile (opt-level s, stripped, renderer and
geometry at opt-level 3) gives an 8973 KB module, 3278 KB gzipped, in 41 s.
crates/engine/tests/wasm.rs runs the engine inside WebAssembly in Node (3 tests, 0.6 s).
2026-11-09 22:36:09 -07:00