video dashboard: drop the TMDB/TVDB/Trakt/OMDb placeholder row
Pointless until the real enrichment workers exist. Header keeps the icon title, subtitle, Watchlist/Wishlist quick-nav and (hidden) sweep; the worker button row will land later, matching music.
This commit is contained in:
parent
a57951c038
commit
dbe35fc023
3 changed files with 3 additions and 34 deletions
|
|
@ -107,10 +107,7 @@ def test_video_dashboard_header_matches_music_shape():
|
|||
assert 'data-video-goto="video-watchlist"' in header
|
||||
assert 'data-video-goto="video-wishlist"' in header
|
||||
assert 'id="watchlist-button"' not in header and 'id="wishlist-button"' not in header
|
||||
# Meta-source placeholder buttons stand in for music's enrichment row.
|
||||
assert "header-actions" in header
|
||||
for src in ("tmdb", "tvdb", "trakt", "omdb"):
|
||||
assert f'data-video-meta="{src}"' in header
|
||||
# The enrichment-worker button row isn't built yet (will match music later).
|
||||
assert "onclick" not in header
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -430,15 +430,8 @@
|
|||
<h2 class="header-title"><img src="/static/dashboard.png" class="page-header-icon" alt=""><span>Video Dashboard</span></h2>
|
||||
<p class="header-subtitle">Monitor your video library, downloads and services</p>
|
||||
</div>
|
||||
<!-- Video meta-source buttons (TMDB/TVDB/Trakt/OMDb) — disabled
|
||||
placeholders; the music side's enrichment-button equivalents,
|
||||
wired live once the video meta sources exist. -->
|
||||
<div class="header-actions">
|
||||
<button class="video-meta-button" type="button" data-video-meta="tmdb" disabled title="TMDB — coming soon">TMDB</button>
|
||||
<button class="video-meta-button" type="button" data-video-meta="tvdb" disabled title="TVDB — coming soon">TVDB</button>
|
||||
<button class="video-meta-button" type="button" data-video-meta="trakt" disabled title="Trakt — coming soon">Trakt</button>
|
||||
<button class="video-meta-button" type="button" data-video-meta="omdb" disabled title="OMDb — coming soon">OMDb</button>
|
||||
</div>
|
||||
<!-- (Enrichment-worker button row will go here later, matching
|
||||
music — not built yet.) -->
|
||||
<!-- Watchlist / Wishlist quick-nav (top-right corner) — same as
|
||||
music; navigates to the video pages via data-video-goto. -->
|
||||
<div class="header-quick-nav">
|
||||
|
|
|
|||
|
|
@ -116,27 +116,6 @@ body[data-side="video"] .dashboard-header-sweep {
|
|||
display: none;
|
||||
}
|
||||
|
||||
/* Video meta-source buttons — the placeholder equivalents of music's round
|
||||
enrichment buttons. Disabled pills until the video meta sources are wired. */
|
||||
.video-meta-button {
|
||||
height: 40px;
|
||||
padding: 0 18px;
|
||||
border-radius: 20px;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.02em;
|
||||
color: var(--text-secondary, #9aa0aa);
|
||||
background: rgba(18, 18, 22, 0.85);
|
||||
border: 1px solid rgba(255, 255, 255, 0.10);
|
||||
backdrop-filter: blur(8px) saturate(1.2);
|
||||
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
|
||||
cursor: not-allowed;
|
||||
opacity: 0.55;
|
||||
}
|
||||
.video-meta-button:disabled {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
/* ── Subpages: one built video page shown at a time ────────────────────── */
|
||||
/* Each real page is a .video-subpage inside #video-page-host; the controller
|
||||
toggles the [hidden] attribute. Be explicit so no reused .dash-* rule can
|
||||
|
|
|
|||
Loading…
Reference in a new issue