A freshly cloned + migrated install had no projects, so there was nothing to click on. Add seedDemoProject() (run from db:migrate after seedDefaultOwner, idempotent) that creates a "demo" project and loads three committed fixtures from web/apps/server/seed-data/ — covering one openable file per editor: demo.kicad_sch -> eeschema (Schematic Editor) demo.kicad_pcb -> pcbnew (PCB Editor) demo.kicad_wks -> pl_editor (Drawing Sheet Editor) The sch/pcb are the self-contained ecc83 push-pull demo (version-compatible with this build); the wks is a minimal hand-written drawing sheet. Bytes are committed so seeding needs no submodule checkout at runtime. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
9 lines
605 B
Text
9 lines
605 B
Text
(page_layout
|
|
(setup (textsize 1.5 1.5)(linewidth 0.15)(textlinewidth 0.15)
|
|
(left_margin 10)(right_margin 10)(top_margin 10)(bottom_margin 10))
|
|
(rect (name border:Rect) (start 0 0 ltcorner) (end 0 0 rbcorner) (comment "page border"))
|
|
(rect (name titleblock:Rect) (start 110 34) (end 2 2) (comment "title block frame"))
|
|
(tbtext "KiCad WASM — Dummy Test Drawing Sheet" (name title) (pos 100 22) (font (size 2.5 2.5) (bold)))
|
|
(tbtext "pl_editor web smoke test" (name subtitle) (pos 100 14) (font (size 1.5 1.5)))
|
|
(tbtext "Sheet: %S / %N" (name sheetnum) (pos 100 6) (font (size 1.3 1.3)))
|
|
)
|