vc=54: red progress-bar overlay on video thumbnails

YT/NewPipe-style — when ResumePositionsStore has an entry for a
video, paint a 3dp red bar across the bottom of the thumbnail
showing position/duration. Reads instantly as "you started this."

Consolidated the duplicate thumbnail render logic across 6 row
sites (FeedRow, RecentRow, ResultRow, ChannelVideoRow, RelatedRow,
PlaylistsScreen) into a single feature/player/VideoThumbnail
composable. Includes the existing duration-pill overlay + the new
progress bar. ThumbnailProgressOverlay is a BoxScope extension so
custom thumbnail compositions can drop it in without going through
the full helper.
This commit is contained in:
Kayos 2026-05-26 09:28:04 -07:00
parent 080346716b
commit fbccdce65a
8 changed files with 153 additions and 65 deletions

View file

@ -55,6 +55,6 @@ const val NEWPIPE_APPLICATION_ID_NEW = "net.newpipe.app"
// vc=19 / 0.1.0-AE — rust pipeline cutover. Extraction via
// strawcore-core (Sulkta-Coop/strawcore) via the UniFFI wrapper; no
// NewPipeExtractor in the runtime path.
const val STRAW_VERSION_CODE = 53
const val STRAW_VERSION_NAME = "0.1.0-BM"
const val STRAW_VERSION_CODE = 54
const val STRAW_VERSION_NAME = "0.1.0-BN"
const val STRAW_APPLICATION_ID = "com.sulkta.straw"