youtube icon indicating copy to clipboard operation
youtube copied to clipboard

UI is not always really relevant when many playlists are in the ZIM

Open benoit74 opened this issue 1 year ago • 5 comments

We have two tabs in Youtube UI front page:

  • Videos
  • Playlists

By default, the videos tab is selected

The videos tab show videos from the default playlist (first one of the list, first one of the channel, ...)

This means that by default when many playlists are present, we see only a subset of all videos. This is not really relevant / confusing.

See e.g. https://library.kiwix.org/viewer#s2underground_en_all . In this ZIM, at first sight, one can believe there is only 35 videos in the ZIM, because by default the "Long-Form Content" playlist has been selected.

I see multiple solutions forward:

  • (1) drop the distinction between videos and playlists ; when there is only one playlist or no playlist at all, display the videos inside the playlist ; otherwise, display the list of playlists (maybe with a design where we see thumbnails from first videos of every playlist, like below - taken from Youtube)

image

  • (2) by default, when there is multiple playlists, remove the "Videos" tab from UI and only show the "Playlists" one.

While 2 is obviously way easier to implement, I believe that only something like 1 make real sense.

benoit74 avatar Sep 19 '24 13:09 benoit74

I like the first approach. This was what I originally wanted to do with the "Home" tab in my proposed Figma design. We can use this layout when there are multiple playlists in the ZIM in the "Videos" tab.

I propose we make the UI something like this: home

Each playlist in the ZIM will be displayed in a row. We can display about 12 videos in each row in a carousel and give a link to "View More" which would lead to the respective playlist page.

We might need to a add a new key to channel.json called playlists to store a list of playlists along with 12 VideoPreview objects each so that we won't have to load all the playlist videos to render this page.

WDYT?

dan-niles avatar Sep 24 '24 13:09 dan-niles

@Popolechien @kelson42 do you have any views to share on this important change or shall we proceed?

benoit74 avatar Sep 24 '24 16:09 benoit74

LGTM, you are right that displaying a jumble of videos from the get-go is not ideal.

Popolechien avatar Sep 25 '24 06:09 Popolechien

OK, so I consider this means we have a "go" to implement this change.

Thank you @dan-niles for the precise proposal / UI mock; shall I assign you the issue because you intend to develop this (no pressure)?

benoit74 avatar Sep 26 '24 08:09 benoit74

@benoit74 Sure, I'd like to work on this.

dan-niles avatar Sep 26 '24 11:09 dan-niles