GNU bug report logs - #49310
website: Redesign video pages

Previous Next

Package: guix-patches;

Reported by: Luis Felipe <luis.felipe.la <at> protonmail.com>

Date: Thu, 1 Jul 2021 07:24:01 UTC

Severity: normal

Done: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Luis Felipe <luis.felipe.la <at> protonmail.com>
To: 49310 <at> debbugs.gnu.org
Subject: [bug#49310] website: Redesign video pages
Date: Thu, 01 Jul 2021 00:05:45 +0000
[Message part 1 (text/plain, inline)]
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/
[0001-website-Redesign-video-pages.patch (text/x-patch, attachment)]

This bug report was last modified 3 years and 318 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.