Improve release notes dialog (#3497)

* Fix multiple release notes
* Improve release notes dialog
* Hide release notes dialog after setup
This commit is contained in:
DingDongSoLong4
2023-03-01 06:08:56 +02:00
committed by GitHub
parent f992b9a0de
commit b1325ce03f
5 changed files with 45 additions and 16 deletions

View File

@@ -1,19 +1,22 @@
import v0170 from "./v0170.md";
import v0200 from "./v0200.md";
interface IReleaseNotes {
export interface IReleaseNotes {
// handle should be in the form of YYYYMMDD
date: number;
version: string;
content: string;
}
export const releaseNotes: IReleaseNotes[] = [
{
date: 20220906,
content: v0170,
},
{
date: 20230224,
version: "v0.20.0",
content: v0200,
},
{
date: 20220906,
version: "v0.17.0",
content: v0170,
},
];