pcbjam/web/apps/frontend/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Gergő Törcsvári b577c05fae
fix(eeschema): wasm dialog positioning (web .window CSS) + collab SCH_SHAPE add via coroutine fiber stack
Thrust A — dialogs render top-left with OK clipped in the WEB app (not the
test harness): root cause was the React shell missing the .window /
.window-canvas CSS that wx.js relies on (it positions each dialog div via
inline left/top, which need position:absolute). Added the rules to
web/apps/frontend/src/index.css. Native draw-text now works end-to-end;
symbol/power choosers render (placing still blocked by absent libraries).

Thrust B — collab apply of a newly-added SCH_SHAPE trapped in KiCad core
(SCH_COMMIT::Push CHT_ADD -> GAL view->Add, an asyncify invoke_* mis-dispatch)
because doApply ran off a fiber stack. doApply now runs inside a COROUTINE so
it executes on a libcontext fiber, the same context native draws use; the add
dispatches correctly. Re-enabled the SCH_SHAPE converter (rect/circle). Added
thirdparty/libcontext to the embind include path (tool/coroutine.h needs it).
Verified two-tab: rectangle + circle drawn in tab A sync + render in tab B.
Extended eeschema-collab.spec.ts apply test with a SCH_SHAPE add.

All changes root-repo only; kicad and wxwidgets forks untouched.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-05 13:56:43 +02:00
..
components fix(wasm): dynCall signature-mismatch fallback + eeschema collab wire converters 2026-06-05 13:56:42 +02:00
lib feat(web): checkpoint web app init 2026-06-02 20:32:19 +02:00
pages feat(web): wire pl_editor + symbol_editor tools (open, wizard-skip, UI) 2026-06-02 21:49:04 +02:00
wasm feat(pl_editor): Yjs collaborative bridge — differ/apply + generic reconciler (yjs-bridge commit 2) 2026-06-05 13:56:41 +02:00
App.tsx feat(web): checkpoint web app init 2026-06-02 20:32:19 +02:00
index.css fix(eeschema): wasm dialog positioning (web .window CSS) + collab SCH_SHAPE add via coroutine fiber stack 2026-06-05 13:56:43 +02:00
main.tsx fix(web): boot KiCad WASM in-document (no iframe) and fix eeschema frame sizing 2026-06-02 20:32:25 +02:00
vite-env.d.ts feat(web): checkpoint web app init 2026-06-02 20:32:19 +02:00