guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#49310] website: Redesign video pages


From: Luis Felipe
Subject: [bug#49310] website: Redesign video pages
Date: Thu, 01 Jul 2021 00:05:45 +0000

Hi,

The attached patch introduces a new design for video pages.

Some things I wanted to add but couldn't:

+ Sort videos/playlists in reverse chronological order.
+ Display only instructional videos in the home page.

Currently, the videos are displayed in reverse chronological order, but by 
reversing the list of videos and playlists, not checking their dates. The home 
page does show instructional videos but just because they happen to be the most 
recent videos.

The reason why I couldn't add these things is that while writing a 
"videos/reverse-chronological" and "videos/get-video" procedures, I found it 
very difficult to make them handle both Video records and Playlist records. I 
thought that redefining both the Video type and the Playlist type as GOOPS 
classes would make things easier, but then I ran out of time to do that.

So I'm providing this patch as is hoping that it will be usable. At least the 
user facing part should be OK. And maybe the missing parts can be added later?

Anywho, here it goes...

---
Luis Felipe López Acevedo
https://luis-felipe.gitlab.io/

Attachment: 0001-website-Redesign-video-pages.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]