Chocobozzz / PeerTube

ActivityPub-federated video streaming platform using P2P directly in your web browser
https://joinpeertube.org/
GNU Affero General Public License v3.0
12.89k stars 1.48k forks source link

Add ability to sort videos by oldest (for both original publication date & last added) #5543

Open KajeArch opened 1 year ago

KajeArch commented 1 year ago

Describe the problem to be solved

When a PeerTube fork has hundreds or even thousands of videos, it can be quite difficult to navigate and find the content that you're looking for, especially if there is no option to sort the videos by oldest. Without this feature, users must manually scroll through all the way down, which can be time-consuming and frustrating, especially if the web browser can't handle it. Additionally, older videos may be buried deep within the platform, making it challenging for users to discover them. This can be particularly problematic for users who are looking for specific, older content or who want to view the platform's history.

Describe the solution you would like

On a channel page, e.g. https://framatube.org/c/joinpeertube/videos Add to the sort by drop down menu two options: Sort by "oldest" (last added) and Sort by "oldest" (Original Publication Date) The sorting function would then arrange the videos with the oldest at the top and the most recent at the bottom, using either the date the video was last added or the original publication date of the video, depending on the selected option. If a video does not have an original publication date, the date it was added would be used instead.

Thanks :)

Chocobozzz commented 1 year ago

We can add as many sort option as we want, but the sort select has already many items

KajeArch commented 1 year ago

@Chocobozzz

We can add as many sort option as we want, but the sort select has already many items

Ohh, we actually had the same thoughts, because that was my concern as well. :rofl: . Mhh, maybe the sort by newest and sort by oldest could be put separately somewhere? But personally, I don't think it would be that problematic to add another sort option, especially a very useful one like "sort by oldest".

KajeArch commented 4 months ago

So, are there any updates to this? I think this is a crucial feature, which would be beneficial for everyone. @Chocobozzz