unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de>
To: Luis Felipe <luis.felipe.la@protonmail.com>
Cc: 49310@debbugs.gnu.org
Subject: [bug#49310] website: Redesign video pages
Date: Sat, 3 Jul 2021 12:08:59 +0200	[thread overview]
Message-ID: <20210703100859.awos36q63ysew5it@pelzflorian.localdomain> (raw)
In-Reply-To: <zZkA4nEyhJw_-f4WDRhXeBexp0M-8dz-xU75mM4yCjA7hS9p2CaxIBxtpK3-s7qbq3bWSzXOTusbUuVw5Ere-s93caaZ___EjlwaDUxe0QM=@protonmail.com>

Hi Luis / sirgazil,

On Thu, Jul 01, 2021 at 12:05:45AM +0000, Luis Felipe via Guix-patches via wrote:
> Hi,
> 
> The attached patch introduces a new design for video pages.

Thank you!  Much nicer than before, both in looks and code-wise and
also documentation-wise.  This was much effort.

Shall I push your commit and afterwards redirect the old video URLs in
maintenance.git?

> + Sort videos/playlists in reverse chronological order.
> […]
> 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.

I don’t know the plan for further videos and if forcing reverse
chronological order will be useful someday.




> New miniature and poster images for videos:
> 
> * website/static/media/videos/2018/seagl-everyday-use-of-guix.mini.webp
> * website/static/media/videos/2018/seagl-everyday-use-of-guix.webp
> […]

Yes, switching from .png to .webp seems appropriate, even if it is
unsupported on old still-supported macOS versions or ReactOS or such
things, because they cannot playback the .webm videos anyway, I think.


> diff --git a/website/apps/media/builder.scm b/website/apps/media/builder.scm
> index c270db5..b85dfd1 100644
> --- a/website/apps/media/builder.scm
> +++ b/website/apps/media/builder.scm
> @@ -5,6 +5,7 @@
>  
>  (define-module (apps media builder)
>    #:use-module (apps aux system)
> +  #:use-module (apps base utils)
>    #:use-module (apps media data)
>    #:use-module (apps media templates publication-list)
>    #:use-module (apps media templates screenshot)
> @@ -19,6 +20,7 @@
>    #:use-module (apps aux web)
>    #:use-module (apps media utils)
>    #:use-module (srfi srfi-1)
> +  #:use-module (srfi srfi-19)
>    #:export (builder))

“#:use-module (srfi srfi-1)“ can be removed.



> Modified files:
> 
> […]
> * website/apps/media/data.scm (videos): New list of videos plus
> playlists.
> (playlist): Remove in favor of the new videos list.

s/(playlist)/(playlists)/



> * website/apps/media/templates/components.scm: […]
> (video->shtml, video-content): Removed. Not necessary in the new design. […]
> * website/apps/media/types.scm […](<video>): […] Change description type
> to string to fit the new design.

OK.  If SHTML is needed someday it can be re-added.


LGTM!  Thank you again.

Regards,
Florian




  reply	other threads:[~2021-07-03 10:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-01  0:05 [bug#49310] website: Redesign video pages Luis Felipe via Guix-patches via
2021-07-03 10:08 ` pelzflorian (Florian Pelz) [this message]
2021-07-03 17:01   ` Luis Felipe via Guix-patches via
2021-07-04  9:40     ` bug#49310: " pelzflorian (Florian Pelz)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210703100859.awos36q63ysew5it@pelzflorian.localdomain \
    --to=pelzflorian@pelzflorian.de \
    --cc=49310@debbugs.gnu.org \
    --cc=luis.felipe.la@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).