feat(storage): tiles show where the preview is, like a library card - #51
Merged
Merged
Conversation
Storage Saver's tiles played on hover and scrubbed, but drew nothing saying how far in they were: a video moving under the pointer with no position, on the screen where the position is what decides a delete. The two pixel playhead line under a library card's picture is now `composables/clips/usePreviewPlayhead.ts`, lifted out of `ClipCard.vue` unchanged (read once per frame while playing, driven by the pointer while scrubbing, drawn as a transform), and both tiles use it. The storage tile also draws a clip's GoodBit pips the way a card does. Driven: the line grows while a preview plays and sits under the pointer while scrubbing. `screens`, `features`, `primitives` and `infiniteScroll` specs: 27 passed, so the card itself is unchanged. `npm run check` 849. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.
Storage Saver tiles had no playback position. The 2px playhead line from library cards is now a shared composable (
usePreviewPlayhead), moved out ofClipCard.vueunchanged, and both tiles use it. The tiles also draw GoodBit pips like the library.Driven: the line grows while a preview plays and sits under the pointer while scrubbing. The screens, features, primitives and infiniteScroll specs: 27 passed.
npm run check849.🤖 Generated with Claude Code