feat: show a hover-time indicator on the progress bar - #956
Open
Ortes wants to merge 3 commits into
Open
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #956 +/- ##
==========================================
- Coverage 51.21% 49.97% -1.25%
==========================================
Files 25 25
Lines 1728 1795 +67
==========================================
+ Hits 885 897 +12
- Misses 843 898 +55 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Collaborator
|
@Ortes please resolve the conflicts currently present in this PR. Thanks. |
Ortes
added a commit
to Ortes/chewie
that referenced
this pull request
Aug 12, 2026
Ortes
force-pushed
the
feat/progress-bar-hover-time
branch
from
August 12, 2026 07:25
c0f2c74 to
7e6a7e5
Compare
Display a small floating pill with the timecode under the pointer while it hovers (or drags) the Material progress bar, so the user can see the exact position a click or seek will jump to. The pill is rendered as an overlay above the bar and follows the pointer horizontally, clamped to the bar's width. It only appears once the video is initialized and, because it is driven by hover events, never shows on touch devices.
Ortes
force-pushed
the
feat/progress-bar-hover-time
branch
from
August 15, 2026 11:13
7e6a7e5 to
44f4d6f
Compare
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.
Description
Adds a small floating time indicator to the Material progress bar. While the pointer hovers (or drags) the bar, a pill shows the timecode at that position, so the user can see exactly where a click or seek will jump to — the behaviour people expect from YouTube/Netflix-style scrubbers.
The pill is rendered as an overlay above the bar and follows the pointer horizontally, clamped to the bar's width, with a small caret pointing at the exact spot. It uses the existing
formatDurationhelper, so it matches theposition / durationlabel already shown in the controls.Behaviour
progress_bar.dart; no public API changes.Notes
Scoped intentionally to the hover-time readout only — it does not set the hover cursor (that is handled separately in #950).