You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Icon fix
The 110x110 icon cell wasn't tall enough for a 78px squircle + 8px
gap + 14px name label (~100px content needed). The flexbox shrunk
the squircle to 78x62 — squashed. Two fixes:
- Reduce squircle to 64x64 with 18px radius (still iOS-shaped) so
it fits in the 110x110 cell with the name label
- Add flex-shrink: 0 to .ws-app-tile so it can NEVER be compressed
by its container — defense against this whole class of bug
- Mosaic tiles override back to 78x78 (they have more breathing room)
Verified via Playwright: icon cell 110x110, squircle 64x64 exact.
JSON tab
Third tab next to HTML and Markdown. Shows the raw WidgetData JSON
the author returned — the canonical primitive in v0.3+. Useful for
people understanding the architecture: 'this is the JSON the
framework converts to the other formats.'
Implementation
- ViewDef now has optional toJSON(state, opts) → WidgetData | null
(null for legacy escape-hatch views)
- defineView with sizes builder synthesizes toJSON automatically
- Gallery cell renders all three formats; CSS shows one based on
size-strip[data-format='json'] etc.
- New .cell-json div with monospace styling
Tests: 30/30 still green.
0 commit comments