mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 16:02:26 +00:00
Adds a "My Videos" tab to the profile modal that lists every video the logged-in user has published — collapsed to one row per video in its current state (including tombstoned ones) — each with a note-side health pill: red "No playable source", grey "Deleted on Nostr", green "OK". Shows a summary line (N videos · M need attention · K deleted) and refreshes from relays on open. - New MyVideosController (lazy-populated via selectPane, like the other panes): fetchVideosByAuthors -> collapseUserVideos -> classifyVideoHealth -> render. Rows built with createElement/textContent (no innerHTML; user titles/URLs are not interpolated into markup). Status pills reuse the relay-pill token styles. - Sidebar nav button + pane markup in components/profile-modal.html. - Wired into profileModalController (cache refs, listeners, selectPane hook); the existing nav-button loop auto-binds the click. This is display-only; later steps add the hosted-URL HEAD probe (dead-url), row actions (edit/delete/revert/storage cleanup), and Phase 2 bucket reconciliation. Build + full lint green (no new file-size/innerHTML/token violations). Co-Authored-By: Claude Opus 4.8 <[email protected]>