mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
- constants.js: FEATURE_PLAYLISTS (default OFF) so nothing is user-visible until the whole playlist UI ships; flip to preview on unstable. - js/channelPlaylists.js: wireChannelPlaylists(pubkey) fetches the creator's playlists (facade) and renders a responsive row of cards (thumbnail + video count + title) linking to `#view=playlist&pubkey=…&id=…`. Hidden when the flag is off, no playlists, or the container is missing; a nav-token guards against a stale fetch resolving after a channel switch. DOM built with textContent (no innerHTML). Kept out of the 5729-line-capped channelProfile.js. - channelProfile.js: one-line wireChannelPlaylists(currentChannelHex) hook next to wireChannelZapTotal (no-op while the flag is off). - views/channel-profile.html: #channelPlaylistsSection above the video grid. - tailwind.source.css: .playlist-grid / .playlist-card* (token-only; responsive via @apply like .bv-grid-video). Lint + build clean. The playlist view the cards link to lands next. Co-Authored-By: Claude Opus 4.8 <[email protected]>