summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxXJSONDeruloXx <danielhimebauch@gmail.com>2025-01-10 20:02:47 -0500
committerxXJSONDeruloXx <danielhimebauch@gmail.com>2025-01-10 20:02:47 -0500
commitd16216a6152cc763298f240467d323c1b2cf7c0e (patch)
tree1dba15738e329ec4af0264154695d75089c1ea74
parentdf23d750cd5e0144941a05e8c1875e53b5f9e7cb (diff)
downloaddecky-bazzite-buddy-d16216a6152cc763298f240467d323c1b2cf7c0e.tar.gz
decky-bazzite-buddy-d16216a6152cc763298f240467d323c1b2cf7c0e.zip
feat: button to open all release notes in browser
-rw-r--r--package.json1
-rw-r--r--pnpm-lock.yaml10
-rwxr-xr-xsrc/index.tsx15
3 files changed, 26 insertions, 0 deletions
diff --git a/package.json b/package.json
index 546e782..879cd5c 100644
--- a/package.json
+++ b/package.json
@@ -40,6 +40,7 @@
"dependencies": {
"@decky/api": "^1.1.2",
"decky-frontend-lib": "^3.25.0",
+ "marked": "^15.0.6",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-icons": "^5.4.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index cc72109..bd46fad 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -14,6 +14,9 @@ importers:
decky-frontend-lib:
specifier: ^3.25.0
version: 3.25.0
+ marked:
+ specifier: ^15.0.6
+ version: 15.0.6
react:
specifier: ^19.0.0
version: 19.0.0
@@ -714,6 +717,11 @@ packages:
magic-string@0.30.17:
resolution: {integrity: sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==}
+ marked@15.0.6:
+ resolution: {integrity: sha512-Y07CUOE+HQXbVDCGl3LXggqJDbXDP2pArc2C1N1RRMN0ONiShoSsIInMd5Gsxupe7fKLpgimTV+HOJ9r7bA+pg==}
+ engines: {node: '>= 18'}
+ hasBin: true
+
merge-anything@6.0.2:
resolution: {integrity: sha512-U8x6DL/YVudOcf82B6hd8GFg+6gF6hEHYwzqdo67GrH6vnDZ5YBq6BYX3hHWyCnG3CcqJDB1a9tj9fzMI3RL9Q==}
engines: {node: '>=18'}
@@ -1653,6 +1661,8 @@ snapshots:
dependencies:
'@jridgewell/sourcemap-codec': 1.5.0
+ marked@15.0.6: {}
+
merge-anything@6.0.2:
dependencies:
is-what: 5.0.2
diff --git a/src/index.tsx b/src/index.tsx
index c2c1f86..d6428a1 100755
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -57,6 +57,21 @@ function Content() {
}}
>
<h2>Bazzite Release Notes</h2>
+ <button
+ style={{
+ padding: "10px 20px",
+ marginBottom: "15px",
+ backgroundColor: "#0078D7",
+ color: "#ffffff",
+ border: "none",
+ borderRadius: "5px",
+ cursor: "pointer",
+ fontSize: "16px",
+ }}
+ onClick={() => window.open("https://github.com/ublue-os/bazzite/releases", "_blank")}
+ >
+ View All Release Notes
+ </button>
{error ? (
<p style={{ color: "red" }} aria-live="polite">
{error}