Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Channel::Home tab missing thumbnails #3017

Merged
merged 1 commit into from
Nov 1, 2023
Merged

Channel::Home tab missing thumbnails #3017

merged 1 commit into from
Nov 1, 2023

Conversation

infinite-persistence
Copy link
Collaborator

Ticket: Closes #3015

Test: inf

Symptom

In Channel::Home tab, a Playlist row that contains playlists without a thumbnail should be showing the first claim's thumbnail instead.

Root

  • If ClaimListDiscover is used, it's supposed to handle the search part (which also covers the thumbnail fetch). Clients just pass in the params.
  • The Home tab is handling the search instead, so some logic was missed.

Fix

Just mimic the missed logic for now.

There is an open ticket to make ClaimListDiscover to be more customizable/composible so that logic remains centralized, but that probably won't be happening soon. Ideas from https://www.youtube.com/watch?v=vot0nJJ2Qdo seem useful.

Ticket: 3015

## Symptom
In Channel::Home tab, a Playlist row that contains playlists without a thumbnail should be showing the first claim's thumbnail instead.

## Root
- If ClaimListDiscover is used, it's supposed to handle the search part (which also covers the thumbnail fetch). Clients just pass in the params.
- The Home tab is handling the search instead, so some logic was missed.

## Fix
Just mimic the missed logic for now.

There is an open ticket to make ClaimListDiscover to be more customizable/composible so that logic remains centralized, but that probably won't be happening soon. Ideas from https://www.youtube.com/watch?v=vot0nJJ2Qdo seem useful.
@tzarebczan tzarebczan merged commit e632171 into master Nov 1, 2023
2 checks passed
@tzarebczan tzarebczan deleted the home.playlist branch November 1, 2023 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Homepage: Playlists with no thumbnails don't use the thumbnail from the first video in the list
2 participants