From ba73c48aeced5ec96ef81d48a55fe22da53d71ba Mon Sep 17 00:00:00 2001 From: Hakan Seven Date: Wed, 22 Jul 2026 16:24:34 +0300 Subject: [PATCH] feat(start): list tutorial videos newest first The playlist page lists oldest-first; reverse before persisting so the cached listing and offline launches share the order. Co-Authored-By: Claude Fable 5 --- src/videos.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/videos.rs b/src/videos.rs index fb2b6035a..ce5929b27 100644 --- a/src/videos.rs +++ b/src/videos.rs @@ -158,6 +158,11 @@ pub fn fetch_playlist() -> Result, String> { return Err("no video titles resolved".into()); } + // The playlist page lists oldest-first; the Start page wants the newest + // tutorials on top. Reversed before persisting, so the cached listing + // (and every later offline launch) shares the same order. + out.reverse(); + // Persist the listing so the next launch starts from it. if let Some(d) = &dir { let listing: String = out