Closed benoit74 closed 1 month ago
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:
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?
@Popolechien @kelson42 do you have any views to share on this important change or shall we proceed?
LGTM, you are right that displaying a jumble of videos from the get-go is not ideal.
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 Sure, I'd like to work on this.
We have two tabs in Youtube UI front page:
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:
While 2 is obviously way easier to implement, I believe that only something like 1 make real sense.