Skip to content

Feat: Add message on top and at the end of playlist to explain hidden videos - #9608

Open
Shadorc wants to merge 4 commits into
FreeTubeApp:developmentfrom
Shadorc:feat/playlist-unavailable-videos
Open

Feat: Add message on top and at the end of playlist to explain hidden videos#9608
Shadorc wants to merge 4 commits into
FreeTubeApp:developmentfrom
Shadorc:feat/playlist-unavailable-videos

Conversation

@Shadorc

@Shadorc Shadorc commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Pull Request Type

  • Bugfix
  • Feature Implementation
  • Documentation
  • Other

Related issue

closes #9569

Description

Add a message at the top of the playlist vue to indicate that unavailable videos have been hidden.

  • The detection is done by checking if the "Show unavailable videos" item menu exists in youtube.js response.
image
  • This change cannot be implemented for Invidious API because there is no way to determine if videos are hidden in advance without loading the full playlist.
  • I've based the UI on FtNotificationBanner, but I'm not entirely satisfied with the background color. I've tried various existing theme colors but didn't find something better.
  • I've named the UI 'alert' because the corresponding YouTube's component is named ytd-alert-with-button-renderer.

Add a message at the end of the watch video playlist vue to indicate that unavailable videos have been hidden.

Screenshots

Local API
image

image

Invidious API
image

Testing

Message at the top of the playlist

  1. Go to Settings > Preferred API Backend and chose Local API
  2. Go to a playlist with unavailable videos (e.g. https://youtube.com/playlist?list=PLvMVt4c68EeXRV2R1fdieei9HwpuUKXKL)
  3. Check that a message is displayed
  4. Check that the message UI fits well with various resolution (including mobile)
  5. Click on the close button
  6. Check that the message is removed

Regressions:

  • Check that the message does not appear in a playlist with no unavailable videos
  • Check that the message does not appear with Invidious selected as Preferred Backend API

Message at the end of the watch video playlist

  1. Go to a playlist with unavailable videos (e.g. https://youtube.com/playlist?list=PLvMVt4c68EeXRV2R1fdieei9HwpuUKXKL)
  2. Click on a video
  3. Scroll at the bottom of the playlist in the watch page
  4. Check that a message is displayed
  5. Check that the message UI fits well with various resolution (including mobile)

Regressions:

  • Check that the message does not appear in a playlist with no unavailable videos

Desktop

  • OS: Bazzite
  • OS Version:
  • FreeTube version: v0.25.1-beta

@github-actions github-actions Bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Aug 10, 2026
@FreeTubeBot
FreeTubeBot enabled auto-merge (squash) August 10, 2026 14:02
@Shadorc
Shadorc marked this pull request as draft August 10, 2026 14:49
auto-merge was automatically disabled August 10, 2026 14:49

Pull request was converted to draft

@github-actions github-actions Bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Aug 10, 2026
@Shadorc

Shadorc commented Aug 10, 2026

Copy link
Copy Markdown
Contributor Author

Marked as draft because @efb4f5ff-1298-471a-8973-3d47447115dc would like to expand the feature request

@efb4f5ff-1298-471a-8973-3d47447115dc

Copy link
Copy Markdown
Member

Scope is expanded to displaying a message on how many videos are being hidden when user is on the watch page. This is being displayed at the bottom of the playlist

vlc_j2I0q3ZCba

@Shadorc
Shadorc force-pushed the feat/playlist-unavailable-videos branch from a2d0a01 to c844213 Compare August 15, 2026 13:31
@Shadorc Shadorc changed the title Feat: [Local API] Add message on top of playlist to explain hidden videos Feat: [Local API] Add message on top and at the end of playlist to explain hidden videos Aug 15, 2026
@Shadorc
Shadorc marked this pull request as ready for review August 15, 2026 14:26
@FreeTubeBot
FreeTubeBot enabled auto-merge (squash) August 15, 2026 14:26
@github-actions github-actions Bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Aug 15, 2026
@Shadorc Shadorc changed the title Feat: [Local API] Add message on top and at the end of playlist to explain hidden videos Feat: Add message on top and at the end of playlist to explain hidden videos Aug 15, 2026
Comment thread src/renderer/views/Playlist/Playlist.vue Outdated
@efb4f5ff-1298-471a-8973-3d47447115dc

Copy link
Copy Markdown
Member

but I'm not entirely satisfied with the background color. I've tried various existing theme colors but didn't find something better

As for this i currently dont have any ideass

auto-merge was automatically disabled August 18, 2026 14:46

Head branch was pushed to by a user without write access

@FreeTubeBot
FreeTubeBot enabled auto-merge (squash) August 18, 2026 14:46
@PikachuEXE

Copy link
Copy Markdown
Member

I guess you are using the same bg color as tags now? (didn't check code)
Maybe those colors should be improved first... (tags don't look good in dark theme, in black theme it's almost unable to know they are tags

image

However I dunno if tags and "secondary banner" should use the same BG color :P

@Shadorc

Shadorc commented Aug 19, 2026

Copy link
Copy Markdown
Contributor Author

I'm using var(--secondary-card-bg-color) which is the same as tags, yes.
And I feel like there should be a new background color for this banner but it feels like a lot of work for this small addition. Also, I would be clueless as to what color to chose for each themes.
Maybe I could simply remove the background color, and slightly change the UI to have the close button at the left of the text, close to it...
UI is not really my cup of tea

Edit: I've changed to use bg-color, which is now the same as the watched background

auto-merge was automatically disabled August 19, 2026 12:43

Head branch was pushed to by a user without write access

@FreeTubeBot
FreeTubeBot enabled auto-merge (squash) August 19, 2026 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: waiting for review For PRs that are complete, tested, and ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request]: Indicate when a playlist contains unavailable videos

3 participants