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
* fix(plugins-home): anchor baked preset previews to the hero top
The example-prompt preset tiles render wider than the gallery's 1.31:1 baked
clip, so object-fit:cover was cropping the hero headline out of the vertical
middle. Anchor the preset video/poster to the top so the hero stays in frame.
Scoped to the preset cards; the Community grid (which matches the clip aspect)
is untouched.
* fix(plugins-home): bake decks as slide tours, fix CJK font tofu, unclip reveal
Three gallery-preview fixes found reviewing the baked Community gallery:
- Decks (fixed-viewport PPT/slideshow pages driven by arrow/wheel, not scroll)
were vertically panned like tall landing pages — capturing ~20s of a dead
WebGL background at the wrong 1.31 aspect (the page's compact responsive
variant, hero headline gone). The bake now detects them (page no taller than
the viewport), re-renders at 16:9, and walks their slides (arrow keys, falling
back to wheel then a "next" control, detected by a structural slide signal)
for a slide-tour the gallery loops on hover. BAKE_VERSION -> 2 re-bakes all.
- CJK-heavy templates baked tofu boxes: they pull Noto Serif/Sans SC from Google
Fonts with display=swap and the CI runner had no CJK fallback. The bake job now
installs fonts-noto-cjk + emoji, and the bake double-awaits fonts.ready around a
force-load so a late-registered display face isn't captured as its fallback.
- The Home templates reveal clipped its last rows: a fixed max-height:6000px
ceiling + overflow:hidden, but the gallery is ~7300px and grows. Switched to the
repo's canonical grid-template-rows 0fr->1fr auto-height pattern (inner wrapper
owns the overflow) so it expands to the gallery's natural height.
* fix(bake): probe-detect deck nav + capture at the 1.31 tile aspect
Refines the deck path after live review:
- Detection was scrollHeight-based, so a deck whose DOM stacks slides
vertically got misread as a scroll page and vertically panned. Now PROBE the
navigation: press the arrow key, then nudge the wheel, and use whichever
actually moves a slide (deckSignal ignores the WebGL background); only a page
that neither navigates nor fits the viewport keeps the linear pan.
- Captured decks at 16:9, which object-fit:cover then side-cropped in the 1.31
tile (hero edges cut). Decks collapse to a compact variant at the normal 1440
width, NOT at the 1.31 aspect — so capture at 1.31 (1760x1344, wide enough to
clear the breakpoint): full layout AND a clip that fills the tile, no crop.
---------
Co-authored-by: audit <a@b.c>
0 commit comments