Skip to content

feat(templates): support per-video posters and clean up preview tiles - #110

Merged
mr-kelly merged 3 commits into
busabase:mainfrom
wuzzz0811:feat/template-video-posters
Nov 6, 2026
Merged

mr-kelly merged 3 commits into
busabase:mainfrom
wuzzz0811:feat/template-video-posters

Conversation

@wuzzz0811

@wuzzz0811 wuzzz0811 commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Template detail pages use the same screenshot for every demo clip and overlay the clip title on multi-video galleries. This adds an optional package-relative poster to each clip, including localized entries, and removes the visible title and gradient from the tile.

Posters resolve like screenshots. Existing clips fall back to the existing screenshot selection. Clip titles remain available to assistive technology on the play button and dialog. The package check reports missing poster files.

Local preview of the Busa Brand detail with two video tiles

Validation

  • 134 tests passed across the media contract, catalog, index, package audit, and detail component.
  • App, core, and package type checks passed. Biome checks passed for the changed files and app lint.
  • In Chrome, verified the Busa Brand detail shows the custom intro poster and the old clip's screenshot, both clips play, and closing the dialog removes the player.
  • The full Windows app suite reported an unrelated standalone-packaging assertion for path separators. The two database tests that timed out in the full run passed on a serial rerun.

The companion catalog PR adds 66 poster images using the existing video order.

auto-merge was automatically disabled November 6, 2026 01:23

Head branch was pushed to by a user without write access

A clip without its own poster borrows the gallery's first non-cover
screenshot, so several such clips render identical tiles and the title
is the only thing telling them apart. Print it on exactly those tiles;
clips with their own posters, and a lone clip, stay clean.

The rule lives in templateVideoTiles so the web detail page and the
mobile template screen apply it the same way, and the mobile screen now
shows clip posters too.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@mr-kelly
mr-kelly force-pushed the feat/template-video-posters branch from 54cf1db to e0276ac Compare November 6, 2026 04:58
@mr-kelly

mr-kelly commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Thanks @wuzzz0811! Per-clip posters are a clear improvement, and the catalog PR makes the gallery look much better.

I pushed one commit on top before merging. Most templates in the catalog today have two clips and no posters yet, so both tiles borrow the same screenshot, and without a title they look identical. The title now shows only on a tile that shares its picture with another tile. Clips with their own poster stay clean, which is what busabase/templates#61 gives us. The mobile template screen uses the same rule now and shows posters too.

Merging once CI is green.

@mr-kelly
mr-kelly enabled auto-merge (rebase) November 6, 2026 04:58
@mr-kelly
mr-kelly merged commit 6631855 into busabase:main Nov 6, 2026
15 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants