Balint Ipkovich
d735779e23
feat: pl_editor WASM port + browser file dialog fixes
...
Brings up KiCad's pagelayout_editor (drawing-sheet editor) in the
browser, to roughly the same "boots, canvas visible, partially usable
in-session" level as the existing pcbnew/eeschema/calculator ports.
Build:
- docker/build.sh: add pl_editor to the unified app dispatch (case,
subdir map, all-loop).
- scripts/kicad/build-kicad-target.sh: add pl_editor to the case;
upstream target name pl_editor under source subdir pagelayout_editor.
- scripts/kicad/build-pl_editor.sh: 7-line thin wrapper matching the
pcbnew/eeschema/calculator pattern.
- tests/scripts/setup-kicad-wasm.sh: copy_app pl_editor.
App glue:
- wasm/stubs/nl_pl_editor_plugin_stub.cpp: no-op SpaceMouse plugin so
pl_editor_frame.cpp's NL_PL_EDITOR_PLUGIN symbols resolve. Mirrors
nl_pcbnew_plugin_stub.cpp.
- tests/apps/kicad/pl_editor.html: browser shell. preRun creates
/home/kicad and FS.chdir there so file dialogs land somewhere
friendly instead of MEMFS root (/dev/, /proc/, etc.).
E2E coverage:
- tests/kicad/pl_editor.spec.ts: 5 tests — smoke (canvas, no abort),
wizard, File menu has Open/Save As, file-dialog folder-navigation
regression, canvas + toolbar metrics.
- tests/e2e/filedialog-folder-nav.spec.ts: wxWidgets-level twin of
the regression test (exercises the underlying widget directly via
the standalone filedialog_test app).
Submodule bumps:
- kicad → feature/pl-editor (WASM gating in pagelayout_editor's
CMakeLists + navlib stub).
- wxwidgets → feature/pl-editor (wxGenericFileDialog::OnOk navigates
into selected directories; wasm/mouse.cpp emits wxEVT_LEFT_DCLICK
via timestamp-based double-click detection — the latter benefits
every wxWidgets-WASM app).
See features/pl-editor/ for the design doc + per-repo diff patches.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-01 10:30:56 +02:00
..
baseline-screenshots
Fix wxGrid test crash and add debug build support
2025-11-29 22:15:56 +01:00
utils
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
aui.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
auinotebook.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
bitmapbuttons.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
bitmask.spec.ts
Add WASM feature tests: font enum, text decor, bitmap mask, regions
2025-12-04 11:06:33 +01:00
calendar.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
clipboard.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
collapsible.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
coroutine-nested.spec.ts
wip: nested-asyncify fix, wxAuiToolBar registration, tests, research docs
2026-04-21 13:58:16 +02:00
coroutine-pthread.spec.ts
diagnostics: configurable --diag logging flags + asyncify setupUIConditions fix
2026-05-27 16:14:03 +02:00
coroutine.spec.ts
wip: nested-asyncify fix, wxAuiToolBar registration, tests, research docs
2026-04-21 13:58:16 +02:00
dataview.spec.ts
Extend element registry and migrate all tests to semantic selectors
2025-12-30 14:17:51 +01:00
dataviewvirtual.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
dialog.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
dialogs.spec.ts
Extend element registry and migrate all tests to semantic selectors
2025-12-30 14:17:51 +01:00
dnd.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
earlysize.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
filedialog-folder-nav.spec.ts
feat: pl_editor WASM port + browser file dialog fixes
2026-06-01 10:30:56 +02:00
filedialog.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
fontenum.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
gal-webgl.spec.ts
fix(test): Fix WebGL screenshot capture and comparison
2026-01-08 11:32:39 +01:00
grid.spec.ts
Extend element registry and migrate all tests to semantic selectors
2025-12-30 14:17:51 +01:00
gridedit.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
gridrenderers.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
htmlwin.spec.ts
Extend element registry and migrate all tests to semantic selectors
2025-12-30 14:17:51 +01:00
infobar.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
layout.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
listctrl.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
logerror.spec.ts
Add element registry for semantic E2E test automation
2025-12-29 12:11:33 +01:00
maximize.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
menu.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
opengl.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
ownerdrawn.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
pickers.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
popup.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
print.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
printpreview.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
propgrid.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
regions.spec.ts
Add WASM feature tests: font enum, text decor, bitmap mask, regions
2025-12-04 11:06:33 +01:00
retinascale.spec.ts
wasm: validate kicad hi-dpi scaling
2026-03-22 12:48:05 +01:00
specialized.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
stc.spec.ts
Extend element registry and migrate all tests to semantic selectors
2025-12-30 14:17:51 +01:00
textdecor.spec.ts
Add WASM feature tests: font enum, text decor, bitmap mask, regions
2025-12-04 11:06:33 +01:00
threadpool.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
timer.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
toolbar.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
tree.spec.ts
Extend element registry and migrate all tests to semantic selectors
2025-12-30 14:17:51 +01:00
validators.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
wasmedge.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
wizard.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
wxwidgets.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00
xml.spec.ts
Clean up test infrastructure and fix test assertions
2026-01-01 20:18:19 +01:00