figcraft/docs
BFlat 435415770f
M9: live sessions in the browser; join links and dialog polish (#106)
- Browser client (step 4): the web build joins sessions a desktop app hosts
  through the browser's WebSocket API (web-sys, binary frames, the same
  message encoding). Its connection logic is a target-independent state
  machine (collab-net driver.rs): hello on open, changes and presence held
  until the welcome, throttled presence, keep-alive pings, a silent host
  counted as dropped, reconnect with backoff, final refusals. Tested natively
  against a scripted socket and a real host over loopback. Hosting stays
  desktop-only (LiveLink::can_host; collab.peers canHost). https pages are
  told up front that they can only reach ws:// sessions on this computer.
- Shared join logic (join.rs: GuestConfig, outcomes, taking in host messages)
  and transport limits (limits.rs) used by the native guest and the browser.
- Invite links: `figcraft figcraft://join?...` joins on start (a bad link
  opens the Join dialog with it); file:// arguments are paths. Windows
  registers a per-user figcraft:// opener (HKCU\Software\Classes\figcraft)
  behind a Registry trait (tests use a fake): collab.registerLinks {on?} and a
  Preferences checkbox, default on for installed builds, never for builds
  from source. macOS Info.plist declares CFBundleURLTypes; the Linux desktop
  entry declares x-scheme-handler/figcraft and passes %U.
- Join dialog: Escape closes it and no longer reaches the canvas (selection
  kept); its field has the keyboard when it opens.
- Docs: collab-protocol (browser client, links, mixed content), mcp,
  control-protocol, README, web hosting notes, collaboration wording in the
  progress docs (numbers unchanged).

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 09:10:59 +07:00
..
brand M0.1-M0.3: workspace, licences, geom/color/doc crates 2026-10-09 12:01:57 -04:00
architecture.md M9: live sessions: host from the app, invite links, live cursors and presence (#104) 2026-10-11 02:40:59 +07:00
auto-layout-parity.md Progress docs: target-app parity, gaps, alpha gate, readiness by audience (#100) 2026-10-10 14:29:24 -04:00
cli.md M6: PDF print options (bleed, marks, CMYK) (#92) 2026-10-10 20:50:29 +07:00
collab-protocol.md M9: live sessions in the browser; join links and dialog polish (#106) 2026-10-11 09:10:59 +07:00
collaboration-parity.md M9: live sessions in the browser; join links and dialog polish (#106) 2026-10-11 09:10:59 +07:00
components-parity.md Progress docs: target-app parity, gaps, alpha gate, readiness by audience (#100) 2026-10-10 14:29:24 -04:00
contributors.md About: Contributors and Models tabs with full credits; bump version to 0.2.0 (from 0.1.0) for release 2026-10-09 21:10:33 -04:00
control-protocol.md M9: live sessions in the browser; join links and dialog polish (#106) 2026-10-11 09:10:59 +07:00
dev-mode-parity.md Progress docs: target-app parity, gaps, alpha gate, readiness by audience (#100) 2026-10-10 14:29:24 -04:00
file-format-parity.md Progress docs: target-app parity, gaps, alpha gate, readiness by audience (#100) 2026-10-10 14:29:24 -04:00
gaps.md M9: live sessions in the browser; join links and dialog polish (#106) 2026-10-11 09:10:59 +07:00
hardware-parity.md Release prep: 0.3.0 and linux-riscv64 release job (#108) 2026-10-10 19:42:22 -04:00
localization-parity.md Progress docs: target-app parity, gaps, alpha gate, readiness by audience (#100) 2026-10-10 14:29:24 -04:00
mcp.md M9: live sessions in the browser; join links and dialog polish (#106) 2026-10-11 09:10:59 +07:00
parity-checklist.md Progress docs: target-app parity, gaps, alpha gate, readiness by audience (#100) 2026-10-10 14:29:24 -04:00
plugins.md M7: WASM plugins (#101) 2026-10-11 00:42:17 +07:00
prototyping-parity.md Progress docs: target-app parity, gaps, alpha gate, readiness by audience (#100) 2026-10-10 14:29:24 -04:00
release-playbook.md M0.9: MCP server + figcraft-cli, PDF export, web app, release/CI packaging, vector edit mode, workspace lint cleanup 2026-10-09 13:31:53 -04:00
releasing.md Web: size-optimised wasm profile (27.0 → 18.1 MB); bump to 0.3.1 (#109) 2026-10-10 21:05:23 -04:00
roadmap.md M9: live sessions in the browser; join links and dialog polish (#106) 2026-10-11 09:10:59 +07:00
target-app-parity.md M9: live sessions in the browser; join links and dialog polish (#106) 2026-10-11 09:10:59 +07:00
ui-parity.md Progress docs: target-app parity, gaps, alpha gate, readiness by audience (#100) 2026-10-10 14:29:24 -04:00