Repository navigation
Use the slide-down top sheet for the album badge and seek slider on every screen - #441
Merged
Merged
Conversation
This was referenced Nov 16, 2026
Closed
The badge and seek slider fold into the slide-down top sheet on tablets and desktop browsers too, not only on phones. The top sheet gets its own switch (<meta name="top-sheet-query">, currently "all", published as html.top-sheet) separate from the phone layout's, which still governs the bottom sheet. In the sheet the badge is one line (slide count first, then the reindex button and album pulldown), the slider padding is trimmed, and a selected cluster colours only the slide count and cluster name rather than the whole badge. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review fixes: outside the phone layout the top sheet now stays in fullscreen (the slider was otherwise unreachable there, where the hover strip used to allow seeking), with the grid reserving its strip; the sheet handles stay in the tab order so a collapsed sheet's album pulldown can still be reached; and the badge recolours if the top-sheet mode changes under a shown cluster. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lstein
force-pushed
the
lstein/feature/top-sheet-everywhere
branch
from
November 16, 2026 03:33
1870db2 to
d1f3e44
Compare
Handle and progress strip included; the grid gets the top row back. Co-Authored-By: Claude Opus 5.5 <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.
Summary
The phone layout's top sheet (album badge + seek slider, sliding down from the top edge) now applies on tablets and desktop browsers too. The bottom sheet (Control/Search panels + metadata details) is unchanged and still phone-only.
<meta name="top-sheet-query">(currentlyall) setshtml.top-sheet, independent ofhtml.mobile-sheets. Each sheet inmobile-sheets.jsfollows its own mode (Sheet.active()), and the top-sheet CSS keys off.top-sheet. To limit it to some screens later, change that media query. It must match wherever the phone query does.score-display.jsapplyColors). The rest of the badge stays dark. Outside top-sheet mode it colours the whole badge, as before.:is(:fullscreen, :-webkit-full-screen)form from Make the fullscreen CSS rules apply in every browser #443.events.jstakes all buttons out of the tab order, which, with the collapsed sheet inert, left the album pulldown unreachable by keyboard. The sheet handles now stay tabbable (a mouse press doesn't leave focus on them).Behaviour notes for testing
Test plan
npm test(1151 pass),npm run lint,npm run format:check🤖 Generated with Claude Code