mirror of
https://github.com/zen-browser/www.git
synced 2025-07-09 01:35:33 +02:00
refactor: Update release notes page to handle missing release notes gracefully
This commit is contained in:
parent
74d44c9bd6
commit
72daefbdf4
5 changed files with 158 additions and 13 deletions
|
@ -1,9 +1,14 @@
|
|||
|
||||
interface Fix {
|
||||
description: string;
|
||||
issue?: number;
|
||||
}
|
||||
|
||||
export interface ReleaseNote {
|
||||
version: string;
|
||||
date: string;
|
||||
extra?: string;
|
||||
fixes?: string[];
|
||||
fixes?: Fix[];
|
||||
features?: string[];
|
||||
breakingChanges?: string[];
|
||||
}
|
||||
|
@ -12,13 +17,34 @@ export const releaseNotes: ReleaseNote[] = [
|
|||
{
|
||||
version: "0.0.0-a.3",
|
||||
date: "11/07/2024",
|
||||
extra: "This is a test release.",
|
||||
extra: "This release will be the first release considered as stable. It's still in alpha, but it's the first release that we consider to be stable enough for daily use. You can start using it as your main browser right now if you are reading this!",
|
||||
features: [
|
||||
"Added a new feature.",
|
||||
"Stable support for split views.",
|
||||
"Updated firefox to version 128.0",
|
||||
"Vertical tabs are now supported.",
|
||||
"Better profile management system.",
|
||||
"Full support for sidebar web panels.",
|
||||
"Other minor UI additions and improvements.",
|
||||
"Added support for an automatic update system.",
|
||||
],
|
||||
fixes: [
|
||||
"Fixed a bug.",
|
||||
],
|
||||
{
|
||||
description: "Fixed a bug where the browser would crash when opening any extension.",
|
||||
issue: 34,
|
||||
},
|
||||
{
|
||||
description: "Fixed extension icon resolution on the toolbar.",
|
||||
issue: 35,
|
||||
},
|
||||
{
|
||||
description: "Applied a fix for that affected some linux users.",
|
||||
issue: 36,
|
||||
}
|
||||
]
|
||||
},
|
||||
];
|
||||
|
||||
export function releaseNoteIsAlpha(note: ReleaseNote) {
|
||||
return note.version.includes("-a.");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue