From c8442138287e4e2d228950b3ce2396d2bd317be7 Mon Sep 17 00:00:00 2001 From: David Date: Mon, 10 Aug 2026 11:22:58 +0200 Subject: [PATCH 1/4] feat: add message on top of playlist with local api to explain hidden videos --- src/renderer/views/Playlist/Playlist.scss | 31 +++++++++++++++++++++++ src/renderer/views/Playlist/Playlist.vue | 26 +++++++++++++++++++ static/locales/en-US.yaml | 1 + 3 files changed, 58 insertions(+) diff --git a/src/renderer/views/Playlist/Playlist.scss b/src/renderer/views/Playlist/Playlist.scss index e784d7782493c..0ef2e60a3b6c8 100644 --- a/src/renderer/views/Playlist/Playlist.scss +++ b/src/renderer/views/Playlist/Playlist.scss @@ -1,5 +1,36 @@ @use '../../scss-partials/utils'; +.alertBox { + justify-content: space-between; + padding-inline: 24px 8px; + padding-block: 8px; + background-color: var(--secondary-card-bg-color); +} + +.alertLabel { + align-self: center; +} + +.alertButton { + padding: 10px; + border-radius: 100%; + border-style: none; + background-color: transparent; + color: var(--primary-text-color); + font-size: 1em; + line-height: 1em; + transition: background 0.2s ease-in; +} + +.alertButton:hover { + background-color: var(--card-bg-color); + cursor: pointer; +} + +.alertButtonIcon { + inline-size: 1em; +} + .playlistItemsCard { display: flex; flex-direction: column; diff --git a/src/renderer/views/Playlist/Playlist.vue b/src/renderer/views/Playlist/Playlist.vue index 100d1cca7b670..2c2f08ef8824f 100644 --- a/src/renderer/views/Playlist/Playlist.vue +++ b/src/renderer/views/Playlist/Playlist.vue @@ -55,6 +55,25 @@ v-if="!isLoading" class="playlistItemsCard" > + +

+ {{ t("Playlist.Unavailable videos are hidden") }} +

+ +