Repository navigation
Add mini-player seeking and artwork play/pause controls - #78
Merged
Merged
Conversation
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.
Demo and release mini players now show elapsed/total time and a draggable position slider using the release-page preview-and-commit behavior. Track information uses its natural width so the slider fills the remaining row, wrapping below the controls on narrow screens. Sliders and handles use the site's mint palette; Space also controls playback while the workspace slider is focused. Tabular clock digits and a time-field width based on the total duration prevent the slider from shifting as seconds or minute digit counts change.
Play/pause sits at the left over available artwork: an always-visible mint symbol on a dark circular backing with a mint border, a 52px hit area, and a clear keyboard focus outline. Without artwork, the ordinary play/pause button occupies that position. The title remains the navigation link. This removes the separate artwork placeholder and duplicate transport space.
Validation: local lint, formatting, typecheck, production build, and focused clock-formatting, playback and keyboard tests pass. PR and merged-main CI passed, including the full test suite against isolated PostgreSQL; the merged-main image was published for both architectures. Self-review found no remaining actionable issues.
Browser checks with simulated media covered bright/dark artwork, no artwork, play/pause by click, Space and Enter, keyboard focus, desktop and 390px layouts. DOM measurements confirmed unchanged slider position and width across second updates, 9:59 to 10:00, and 99:59 to 100:00; shorter tracks reserve a smaller time field. Earlier checks covered seeking, one seek per drag, synchronization, track changes and navigation. Physical iPhone playback/touch acceptance remains to be checked.
Merged into main as
ca96db5ded3748e09ce629596f7c5102ac8d7dd8. The main tree matches the reviewed PR head.Production: deployed to https://wavecase.terning.net using
sha256:9afbc42ac071fd977ca8f3d082a71e80b4ab4beebbab5524e93a84b95434f9ee. Deployment run: https://github.com/stephanterning/selfhosted-infra/actions/runs/42486783354. The production backup completed, public/healthreturnsok, and web/worker use the selected image.