Skip to content

fix(desktop): keep icons on the design scale and say this computer - #3809

Merged
LHagfoss merged 2 commits into
mainfrom
fix/desktop-icon-scale
Nov 15, 2026
Merged

LHagfoss merged 2 commits into
mainfrom
fix/desktop-icon-scale

Conversation

@LHagfoss

Copy link
Copy Markdown
Owner

What

Icons. Icons were drawn at 8–22px; 11px alone was used 128 times though the scale in docs/design.md has no 11, so neighbouring buttons were a pixel apart. Every size={n} in ui/ now takes a size from the scale:

  • 11 → 12, 15 → 14 (16 for a card or plan header mark), 17 → 16, 20 → 18, 8/9 → 10, the machine page mark 22 → 24.
  • The scale in docs/design.md names 10 (glyph in a status dot, caption spinner) and 24 (a page's mark), and says no others.
  • design.test.ts fails on any off-scale size.

Words. Visible strings follow docs/terminology.md: the local computer is this computer, other ones are environments (Capabilities, Computer use, Remote connect, Text generation, Project generators, Settings scope, Environment settings).

Changelog

Icons share one size scale across the app, and settings say "this computer" and "environments" consistently.

Testing

bun run check (new icon scale test); looked at the home view and a thread with an approval card in the mock window.

Icons were drawn at 8 to 22px, with 11px used 128 times though the scale in docs/design.md has no 11. Every icon now takes a size from the scale (10, 12, 13, 14, 16, 18, 24), and a design test keeps it there. Visible strings that called this computer 'this machine', or environments 'machines', use the words docs/terminology.md gives.
@github-actions github-actions Bot added the fix A bug fix label Nov 15, 2026
@LHagfoss
LHagfoss merged commit bc77352 into main Nov 15, 2026
9 checks passed
@LHagfoss
LHagfoss deleted the fix/desktop-icon-scale branch November 15, 2026 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix A bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant