From b934af14972526e04c8fa50bda847f54cfda66a4 Mon Sep 17 00:00:00 2001 From: Teetow Date: Fri, 31 Oct 2025 16:13:34 +0100 Subject: [PATCH 1/4] Add Audacity 4 release landing page --- src/pages/au4.astro | 164 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 164 insertions(+) create mode 100644 src/pages/au4.astro diff --git a/src/pages/au4.astro b/src/pages/au4.astro new file mode 100644 index 0000000..f3c998e --- /dev/null +++ b/src/pages/au4.astro @@ -0,0 +1,164 @@ +--- +import BaseLayout from "../layouts/BaseLayout.astro"; +import SplitDownloadButton from "../components/button/SplitDownloadButton.jsx"; +import FeaturedVideo from "../components/video/FeaturedVideo"; +import "../styles/icons.css"; + +const pageTitle = "Audacity ® | Audacity 4"; +const pageDescription = "See what's new in Audacity 4 and get ready for the download rollout."; + +const launchHighlights = [ + { + title: "A refreshed interface", + description: + "Updated themes, clip visuals, and navigation make Audacity easier to read and quicker to learn.", + }, + { + title: "Layouts that adapt to you", + description: + "Save Workspaces, rearrange toolbars, and switch setups without digging through menus.", + }, + { + title: "Editing that stays out of the way", + description: + "Move, group, and trim clips with new handles and shortcuts designed to keep edits tidy.", + }, +]; + +const newFromAudacity3 = [ + "Persistent playhead and updated loop controls help you keep track of where you are.", + "You can start recording from anywhere on the timeline without moving other clips.", + "Ripple editing shortcuts replace Sync-lock with simpler multi-track adjustments.", + "Selection, Draw, and Multi tools sit directly in the main workflow to reduce tool switching.", +]; + +const releaseDownloads = { + version: "Audacity 4", + win: [ + { + name: "Windows 64-bit installer", + browser_download_url: "#", + type: ".exe", + }, + { + name: "Windows 64-bit portable", + browser_download_url: "#", + type: ".zip", + }, + ], + mac: [ + { + name: "macOS universal dmg", + browser_download_url: "#", + type: ".dmg", + }, + ], + lin: [ + { + name: "Linux AppImage", + browser_download_url: "#", + type: ".AppImage", + }, + ], +}; + +const downloadSections = [ + { + id: "windows", + title: "Windows", + os: "Windows", + entries: releaseDownloads.win, + }, + { + id: "mac", + title: "macOS", + os: "macOS", + entries: releaseDownloads.mac, + }, + { + id: "linux", + title: "Linux", + os: "Linux", + entries: releaseDownloads.lin, + }, +].filter((section) => section.entries.length > 0); +--- + + +
+
+
+

+ Coming soon +

+

Audacity 4 is nearly here

+

+ Audacity 4 brings a visual overhaul, layout tools, and editing updates + that respond to the feedback we heard throughout the 3.x releases. +

+
+ {launchHighlights.map((feature) => ( +
+

{feature.title}

+

{feature.description}

+
+ ))} +
+
+ +
+

+ New since Audacity 3 +

+
    + {newFromAudacity3.map((item) => ( +
  • {item}
  • + ))} +
+
+ +
+ +
+ +
+
+

+ Download Audacity 4 +

+

+ Links activate when the release is live. Pick your platform and get + ready to install once the builds are published. +

+
+ {downloadSections.map((section) => ( +
+

+ {section.title} +

+ +
+ ))} +
+

+ Final download URLs and checksums populate automatically when the + release binaries become available. +

+
+
+
+
+
From e9ef8d770926e679d20310618141f91f99785ad5 Mon Sep 17 00:00:00 2001 From: Teetow Date: Mon, 3 Nov 2025 12:50:35 +0100 Subject: [PATCH 2/4] feat: update alpha pre-release details and enable downloads for Audacity 4 Alpha 2 --- src/assets/data/audacityReleases.ts | 17 +-- src/components/button/SplitDownloadButton.jsx | 5 +- src/components/next/Alpha2Details.astro | 139 ++++++++++++++++++ src/pages/download.astro | 137 +++++++++-------- src/pages/next.astro | 5 +- 5 files changed, 225 insertions(+), 78 deletions(-) create mode 100644 src/components/next/Alpha2Details.astro diff --git a/src/assets/data/audacityReleases.ts b/src/assets/data/audacityReleases.ts index 27367c5..d43e878 100644 --- a/src/assets/data/audacityReleases.ts +++ b/src/assets/data/audacityReleases.ts @@ -156,33 +156,30 @@ export type PreReleaseEntry = { export const alphaPreRelease: PreReleaseEntry = { id: "alpha", label: "Alpha", - isActive: false, + isActive: true, summary: - "Get an early look at the next major release. Expect unfinished features and potential bugs.", + "Get an early look at the next major release.", pageHref: "/next", downloads: { - version: "Audacity 4 Alpha 1", + version: "Audacity 4 Alpha 2", win: [ { - name: "64 bit", - browser_download_url: - "https://github.com/audacity/audacity/actions/runs/18406361889/artifacts/4237171895", + name: "64 bit zip file", + browser_download_url: "https://github.com/audacity/audacity/releases/download/Audacity-4.0.0-alpha-2/AU4_253031630_Win__release-4.0.0-alpha2.zip", type: ".zip", }, ], mac: [ { name: "ARM 64 zip (Apple Silicon)", - browser_download_url: - "https://github.com/audacity/audacity/actions/runs/18406354692/artifacts/4237536953", + browser_download_url: "https://github.com/audacity/audacity/releases/download/Audacity-4.0.0-alpha-2/AU4_253031630_Mac__release-4.0.0-alpha2.zip", type: ".zip", }, ], lin: [ { name: "AppImage", - browser_download_url: - "https://github.com/audacity/audacity/actions/runs/18406368664/artifacts/4237050905", + browser_download_url: "https://github.com/audacity/audacity/releases/download/Audacity-4.0.0-alpha-2/AU4_253031629_Lin__release-4.0.0-alpha2.zip", type: ".zip", }, ], diff --git a/src/components/button/SplitDownloadButton.jsx b/src/components/button/SplitDownloadButton.jsx index 74aaf91..8f97a46 100644 --- a/src/components/button/SplitDownloadButton.jsx +++ b/src/components/button/SplitDownloadButton.jsx @@ -70,10 +70,11 @@ function SplitDownloadButton(props) { handleDownloadButtonClick(releaseData[0])} href={releaseData[0].browser_download_url} - className="flex items-center gap-3 h-10 pl-4 pr-3 rounded-l-md rounded-bl-md bg-blue-700 hover:bg-blue-600" + aria-label={`Download ${kind} for ${OS}`} + className="flex items-center gap-3 h-10 pl-4 pr-3 rounded-l-md rounded-bl-md bg-blue-700 hover:bg-blue-600" > - Download {kind} for {OS} + Download for {OS}