openpencil/crates/op-web-sdk
Kayshen-X d023dbf1de feat(web): fetch scene templates and the icon catalog at runtime
The 58 template documents and the core iconify catalog follow the
previews out of the wasm binary behind the same asset seam: templates
resolve by id on both platforms but carry bytes only natively, so the
wasm boot check validates routes instead of rejecting the catalogue,
and a click on an unfetched card requests the asset and instantiates
on the install edge (failure raises the retryable toast). The icon
picker prefetches while open, distinguishes "still loading" from "no
match", and keys its search memo on catalog readiness so the empty
pre-fetch result cannot be memoized for the session. The split is a
feature (runtime-icon-catalog) enabled only by op-host-web — the
web-sdk viewer has no daemon to fetch from and keeps the embed, which
a first cut silently broke. Bundle: 5.10 → 4.93 MiB gzip; the sdk
bundle (5.20 MiB measured) gets a calibrated 6 MiB tripwire.
2026-08-09 12:26:39 +08:00
..
bindings feat(editor): improve document workflows and rendering 2026-07-23 21:15:04 +08:00
smoke feat(sdk): add op-web-sdk read-only web viewer crate 2026-06-19 17:52:12 +08:00
src feat(editor): give decks a full workspace of navigation, generation and export surfaces 2026-08-05 00:57:49 +08:00
tools feat(web): fetch scene templates and the icon catalog at runtime 2026-08-09 12:26:39 +08:00
.gitignore feat(sdk): add op-web-sdk read-only web viewer crate 2026-06-19 17:52:12 +08:00
Cargo.toml feat(sdk): add op-web-sdk read-only web viewer crate 2026-06-19 17:52:12 +08:00