openpencil/apps/web/src
Fini a08866cdda feat(ai): add_skeleton_v0 — loading placeholder element tool (44th)
N stacked gray rectangles (cornerRadius=4) mimicking future text
lines while content fetches. Parameters:
- rows (1..20, default 3)
- row_height (4..48, default 16)
- row_gap (0..32, default 12)
- last_row_short (default true): last row renders at ~60% width
  (220px) to suggest an unfinished paragraph — more organic than
  uniform stripes. Disabled when rows=1 (looks wrong otherwise).

Wired across all three paths (pen-core / pen-mcp / apps/web shim +
Nitro SERVER_BUILDERS). elements.md PREFER list + keyword map +
example lines updated.

Tests:
- pen-mcp: 8 new cases (default shape, rows/height/gap, clamp
  bounds, last_row_short=false, single-row corner case, id
  uniqueness, parent_id rollback)
- Parametric coverage: auto-extended (+1 case each in 9 files).
  Total delta: 2931 → 2955 passing.

Closes #49; covers part of #50 (skeleton entry).
2026-04-22 06:15:00 +08:00
..
__tests__ V0.7.0 (#95) 2026-04-11 23:25:13 +08:00
canvas fix(canvas): require explicit role:'overlay' for layout-flow escape hatch 2026-04-16 21:07:40 +08:00
components feat(ai): detect sibling overlaps in snapshot_layout and guide fixes 2026-04-16 21:07:29 +08:00
constants V0.7.0 (#95) 2026-04-11 23:25:13 +08:00
hooks V0.7.3 (#111) 2026-04-15 22:19:12 +08:00
i18n V0.7.1 (#102) 2026-04-13 21:30:23 +08:00
lib V0.7.2-bugfix (#109) 2026-04-14 21:42:56 +08:00
routes V0.7.0 (#95) 2026-04-11 23:25:13 +08:00
services feat(ai): add_skeleton_v0 — loading placeholder element tool (44th) 2026-04-22 06:15:00 +08:00
stores fix(core): design.md lives on PenDocument — kill cross-document leak 2026-04-20 00:37:31 +08:00
types V0.7.2-bugfix (#109) 2026-04-14 21:42:56 +08:00
uikit V0.7.0 (#95) 2026-04-11 23:25:13 +08:00
utils V0.7.3 (#111) 2026-04-15 22:19:12 +08:00
variables V0.7.0 (#95) 2026-04-11 23:25:13 +08:00
router.tsx V0.7.0 (#95) 2026-04-11 23:25:13 +08:00
routeTree.gen.ts V0.5.0 (#67) 2026-03-22 09:44:04 +08:00
styles.css V0.7.0 (#95) 2026-04-11 23:25:13 +08:00