Repository navigation
feat(templates): support per-video posters and clean up preview tiles - #110
Merged
Merged
Conversation
mr-kelly
enabled auto-merge (squash)
November 5, 2026 17:33
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
force-pushed
the
feat/template-video-posters
branch
from
November 6, 2026 04:58
54cf1db to
e0276ac
Compare
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
enabled auto-merge (rebase)
November 6, 2026 04:58
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
posterto 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.
Validation
The companion catalog PR adds 66 poster images using the existing video order.