From afe5c8823fd4e2c078fbadf47730691c9b6906f2 Mon Sep 17 00:00:00 2001 From: 7w1 Date: Thu, 17 Sep 2026 21:17:36 -0500 Subject: [PATCH 1/2] fix: cap update banner description length --- .changeset/cap-update-banner-description.md | 5 +++++ .../components/global-banner/GlobalBannerRenderer.css.ts | 8 ++++++++ src/app/components/global-banner/GlobalBannerRenderer.tsx | 2 +- 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 .changeset/cap-update-banner-description.md diff --git a/.changeset/cap-update-banner-description.md b/.changeset/cap-update-banner-description.md new file mode 100644 index 0000000000..b3b91819c6 --- /dev/null +++ b/.changeset/cap-update-banner-description.md @@ -0,0 +1,5 @@ +--- +default: patch +--- + +Cap update banner changelog text so the update is updateable. diff --git a/src/app/components/global-banner/GlobalBannerRenderer.css.ts b/src/app/components/global-banner/GlobalBannerRenderer.css.ts index f977599b0e..2dfebcdc6c 100644 --- a/src/app/components/global-banner/GlobalBannerRenderer.css.ts +++ b/src/app/components/global-banner/GlobalBannerRenderer.css.ts @@ -89,6 +89,14 @@ export const HeaderText = style({ gap: toRem(4), }); +export const Description = style({ + display: '-webkit-box', + WebkitLineClamp: 6, + WebkitBoxOrient: 'vertical', + overflow: 'hidden', + overflowWrap: 'anywhere', +}); + export const Actions = style({ display: 'flex', gap: config.space.S200, diff --git a/src/app/components/global-banner/GlobalBannerRenderer.tsx b/src/app/components/global-banner/GlobalBannerRenderer.tsx index bf854f10d4..e9826f6d9c 100644 --- a/src/app/components/global-banner/GlobalBannerRenderer.tsx +++ b/src/app/components/global-banner/GlobalBannerRenderer.tsx @@ -32,7 +32,7 @@ export function GlobalBannerRenderer() {
{renderedBanner.title} {typeof renderedBanner.description === 'string' ? ( - + {renderedBanner.description} ) : ( From b4d6b6d305fc1b9caa5e1af0f71161419b468a8d Mon Sep 17 00:00:00 2001 From: 7w1 Date: Thu, 17 Sep 2026 21:25:00 -0500 Subject: [PATCH 2/2] formatting??? --- .github/copilot-instructions.md | 2 +- CLAUDE.md | 2 +- COPILOT.md | 2 +- src-tauri/tauri.conf.json | 16 ++++------------ 4 files changed, 7 insertions(+), 15 deletions(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index be77ac83a1..6afa5602ae 120000 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -1 +1 @@ -../AGENTS.md \ No newline at end of file +../AGENTS.md diff --git a/CLAUDE.md b/CLAUDE.md index 47dc3e3d86..c317064255 120000 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -1 +1 @@ -AGENTS.md \ No newline at end of file +AGENTS.md diff --git a/COPILOT.md b/COPILOT.md index 47dc3e3d86..c317064255 120000 --- a/COPILOT.md +++ b/COPILOT.md @@ -1 +1 @@ -AGENTS.md \ No newline at end of file +AGENTS.md diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 504afec18b..d6fa953903 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -64,9 +64,7 @@ }, "plugins": { "updater": { - "endpoints": [ - "https://github.com/SableClient/Sable/releases/latest/download/latest.json" - ], + "endpoints": ["https://github.com/SableClient/Sable/releases/latest/download/latest.json"], "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEM0NDc2QkI0NjdCODlEQUUKUldTdW5iaG50R3RIeFBQeGFwcDZNcGhCQ2Y4UFgzVnptRmNRZjRoVDl0MkdOZmREdC9pTUZrZnAK" }, "typegen": { @@ -80,17 +78,11 @@ }, "deep-link": { "desktop": { - "schemes": [ - "sable", - "moe.sable.app" - ] + "schemes": ["sable", "moe.sable.app"] }, "mobile": [ { - "scheme": [ - "sable", - "moe.sable.app" - ], + "scheme": ["sable", "moe.sable.app"], "appLink": false } ] @@ -112,4 +104,4 @@ ] } } -} \ No newline at end of file +}