From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id l6kqNoI34GD3KwAAgWs5BA (envelope-from ) for ; Sat, 03 Jul 2021 12:10:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id YFppMYI34GDNOQAA1q6Kng (envelope-from ) for ; Sat, 03 Jul 2021 10:10:10 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6DF3E10A74 for ; Sat, 3 Jul 2021 12:10:10 +0200 (CEST) Received: from localhost ([::1]:43446 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lzcbB-0007b3-4k for larch@yhetil.org; Sat, 03 Jul 2021 06:10:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41174) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lzcb5-0007af-0h for guix-patches@gnu.org; Sat, 03 Jul 2021 06:10:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54640) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lzcb4-0003BZ-Op for guix-patches@gnu.org; Sat, 03 Jul 2021 06:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lzcb4-0005zP-G6 for guix-patches@gnu.org; Sat, 03 Jul 2021 06:10:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49310] website: Redesign video pages Resent-From: "pelzflorian (Florian Pelz)" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 03 Jul 2021 10:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49310 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Luis Felipe Cc: 49310@debbugs.gnu.org Received: via spool by 49310-submit@debbugs.gnu.org id=B49310.162530695422956 (code B ref 49310); Sat, 03 Jul 2021 10:10:02 +0000 Received: (at 49310) by debbugs.gnu.org; 3 Jul 2021 10:09:14 +0000 Received: from localhost ([127.0.0.1]:37953 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzcaH-0005yC-OB for submit@debbugs.gnu.org; Sat, 03 Jul 2021 06:09:14 -0400 Received: from pelzflorian.de ([5.45.111.108]:49924 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzcaD-0005y1-Sa for 49310@debbugs.gnu.org; Sat, 03 Jul 2021 06:09:11 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 3E602360672; Sat, 3 Jul 2021 12:09:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1625306948; bh=KBuRslV4Y7hQXn6ywFTSA5bKxPm/CHKuaiSzoq7/WQc=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=1D6i3I3+LqRpNU5wLsVe9GG880RVA5137RJGCdwgsMshkLkkyd268YS1lcXy6pi8r 5EPjexAOjzHiz7wwNWN/94/YFiQ53oYEhKKBrPE5npY+NaYu15K6SlxGxHn+mBaobb I9XdA5E4zon0YCFLuW4mvmMB6d6OosnQsR5bGy8Y= Date: Sat, 3 Jul 2021 12:08:59 +0200 From: "pelzflorian (Florian Pelz)" Message-ID: <20210703100859.awos36q63ysew5it@pelzflorian.localdomain> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625307010; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=cAjGEsFJhFYnRkpSG+JN28Wi7aJuMSNhlvx71X6U16M=; b=HS3NMQGLixK6eiHVnzQtfhJ5fZ5oUKXG+XgJV/ejG8iFCCZCXpZ6mM+Oe/hCCTqMOIjP+N ocp3YzP9Gy/aQ/Qt003cUiO7lRLMNBYy2wsFvdqHpASqXuYgU8dHEXTHO0dyHulgaup9er XOpxm8aMgC40XfW12OnnJx+i3atADNgGBAAWF8/IANikcHbrXOdivmyaVatfcx0b73El70 gpoZmnQ/akDjD4HFYsfC0LxDlBeWRrPfoFQ9J5/VOQZysmSp2BkdNqPoXnjIufjtUi+Ko0 VkMRs2LwEi5zqn2UrmeT6wYZd8CSH4vN7cKYZyBU1QR5+CeDOhq8Y9WPNp+NPg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625307010; a=rsa-sha256; cv=none; b=jRzaJaXO6y0XNriy6tf+6Cij5HuDPb9WcGW3zIYTMyLuWttHREzFOVJA38h1v2yCcmXdXa LgPKyxZPCVjx8iZeBjeJ6ymAhIPcMv04K2744xOrSeXE4J5s08d8Tv8Jx8ZUN8X3ufQ2Ud sGbs+GlqngZg47Ho818voj3H+mEufATD2/LFoDyX0yXsgB+XOTdJLItbs4OcWrsJ6F0YXP EVta/iQ/DpItFrUXEG0dzAN/vcJAmnHKbgSjDYx7gRjH7w2XYUx/aQMRSfEzOmNkQRtdV7 zN/MczYpy6n+W523bLCRouB9tMeRUIwrGUE9Xony36gZQaYLuSIom449+AG9Qw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=mail header.b=1D6i3I3+; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.41 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=mail header.b=1D6i3I3+; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 6DF3E10A74 X-Spam-Score: -1.41 X-Migadu-Scanner: scn0.migadu.com X-TUID: U6jyLBrtLoyE 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 […](