From 044ab8987387739839462856d4f16eecb6be59b7 Mon Sep 17 00:00:00 2001 From: Mauro Balades Date: Sun, 14 Jul 2024 01:11:03 +0200 Subject: [PATCH] refactor: Update release notes page to handle missing release notes gracefully --- src/components/release-note.tsx | 3 +-- src/lib/release-notes.ts | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/release-note.tsx b/src/components/release-note.tsx index bd6f4b7..e63b96e 100644 --- a/src/components/release-note.tsx +++ b/src/components/release-note.tsx @@ -10,8 +10,7 @@ export default function ReleaseNoteElement({ data }: { data: ReleaseNote }) {

Release notes for {data.version} 🎉

{data.date}

- If you encounter any issues, please report them on the issues page. -
Thanks everyone for your feedback! 🙌 + If you encounter any issues, please report them on the issues page. Thanks everyone for your feedback! ❤️

{data.extra && (

{data.extra}

diff --git a/src/lib/release-notes.ts b/src/lib/release-notes.ts index 67edf63..136ea8e 100644 --- a/src/lib/release-notes.ts +++ b/src/lib/release-notes.ts @@ -74,7 +74,7 @@ export const releaseNotes: ReleaseNote[] = [ extra: "This release is the third alpha release of the 1.0.0-alpha series. One big feature of this release is the new workspaces feature. This feature allows you to create different workspaces with different tabs and configurations. This release also includes a lot of bug fixes and improvements.", features: [ "Added support for workspaces. (Experimental)", - "Better support for macOS aaarch64.", + "Better support for macOS aarch64.", ], fixes: [ { @@ -91,7 +91,7 @@ export const releaseNotes: ReleaseNote[] = [ }, ], breakingChanges: [ - "Change the update URL meaning that since 1.0.0-a.2 (previous release) the browser will be able to update itself.", + "Changed the update URL meaning that since 1.0.0-a.2 (previous release) the browser will be able to update itself.", ] }, ].reverse();