From 8c7fec23566cb4a4235db5884c83f8819de40cb9 Mon Sep 17 00:00:00 2001 From: Pablo Gonzalez Date: Wed, 29 Jul 2026 13:49:12 +0200 Subject: [PATCH] chore(desktop): narrow PR to feature scope Revert out-of-scope sprite.ts regeneration from d971696f that dropped two unrelated dead icons (arrow-left-long, sort-desc); those belong in a separate dead-code cleanup if desired. Add a comment at the DesktopWindowControlsStyle type noting control width is style-dependent (classic vs traffic-lights), so no fixed-width constant applies. --- packages/ui/src/components/icon/sprite.ts | 2 ++ packages/ui/src/lib/desktop.ts | 1 + 2 files changed, 3 insertions(+) diff --git a/packages/ui/src/components/icon/sprite.ts b/packages/ui/src/components/icon/sprite.ts index c9360d1a..386357b9 100644 --- a/packages/ui/src/components/icon/sprite.ts +++ b/packages/ui/src/components/icon/sprite.ts @@ -18,6 +18,7 @@ export const iconSpriteData = { "arrow-go-back": ``, "arrow-go-forward": ``, "arrow-left": ``, + "arrow-left-long": ``, "arrow-left-right": ``, "arrow-left-s": ``, "arrow-right": ``, @@ -210,6 +211,7 @@ export const iconSpriteData = { "shuffle": ``, "slash-commands-2": ``, "smartphone": ``, + "sort-desc": ``, "sparkling": ``, "split-cells-horizontal": ``, "stack": ``, diff --git a/packages/ui/src/lib/desktop.ts b/packages/ui/src/lib/desktop.ts index b09f2b60..bd5e9d12 100644 --- a/packages/ui/src/lib/desktop.ts +++ b/packages/ui/src/lib/desktop.ts @@ -41,6 +41,7 @@ export type SkillCatalogConfig = { export type DesktopWindowControlsPosition = 'left' | 'right'; export type DesktopWindowControlsSide = 'left' | 'right'; export type DesktopWindowControlAction = 'close' | 'minimize' | 'maximize'; +// No fixed-width constant: control width depends on the style (classic vs traffic-lights). export type DesktopWindowControlsStyle = 'classic' | 'traffic-lights'; export type DesktopSettings = {