Skip to content

IDE: visual polish and consistency (#300, V1-V7) - #308

Merged
aMonteSl merged 3 commits into
idefrom
claude/project-thread-1ybt5x
Nov 27, 2026
Merged

aMonteSl merged 3 commits into
idefrom
claude/project-thread-1ybt5x

Conversation

@aMonteSl

Copy link
Copy Markdown
Collaborator

Implements epic #300 (stories #301-#307). The full audit, with before/after screenshots in dark and light, is docs/ide/visual-audit.md.

Changes

  • V1 Design tokens (V1: Design tokens and a guard test #301). styles.css declares surfaces, roles, a type scale (10-22px, 13 body), radii, elevation and control/header sizes, with light values. Every renderer stylesheet now uses them (~270 values). New test/designTokens.test.ts fails on any hex colour, px font size, px radius, rgba shadow or hand-written monospace stack outside the token blocks.
  • Contrast. Filled buttons used near-white text on #2fb0ff (2.1:1 in dark). They now use --button-bg with white text (5.4:1 dark, 5.0:1 light). The light Restricted Mode badge gets white text.
  • V2 Controls (V2: One set of form controls and buttons #302). One rule for primary/secondary/danger buttons (26px). One rule for the 13 input/select classes (no more native look on Windows).
  • V3 Agent column (V3: Agent sessions column #303). Segmented Agent/Classic switch. The agent picker reads "No agent yet" instead of being blank. Tidier agent cards.
  • V4 Chat (V4: Chat transcript and composer #304). Composer options are named chips (Mode, Model, Effort). Tinted warning/error notices; the turn-failed footer no longer repeats the error in red.
  • V5 Headers (V5: Column headers that line up #305). Editor tabs, panel header, dock head and scene header share 35px. Scene header rows wrap instead of clipping. One SVG close glyph (closeIcon() in dom.ts).
  • V6 Welcome (V6: A calmer welcome view #306). The build table is folded into "About this build", which opens on a start-up error; data-ready is unchanged.
  • V7 Side-bar views (V7: Side-bar views follow the same rhythm #307). Usage summary keeps its gutter; amber keychain note; green Ready pill; centred status items.

Behaviour is unchanged apart from labels and the picker placeholder. Includes ide with #299 merged in.

Verification

  • npm run ide:test: typecheck, ESLint 0 warnings, 1022 tests, 0 failures.
  • xvfb-run -a npm run ide:smoke: OK on Linux.
  • Built app captured with Playwright in both themes (Agent home, chat with a scripted ACP agent, Classic editor, SCM, Agents, Extensions, Settings, Analysis, palette). See the doc.

Generated by Claude Code

aMonteSl and others added 3 commits November 27, 2026 16:34
…307)

- Design tokens for surfaces, roles, type scale, radii, elevation and control sizes; every renderer stylesheet uses them, guarded by test/designTokens.test.ts
- Filled buttons readable in dark (white on #0b6fab, 5.4:1)
- One style for buttons, inputs and selects
- Agent mode: segmented layout switch, agent picker placeholder, tidy agent cards, named option chips in the composer, calmer error notices
- Column headers share 35px; scene header wraps instead of clipping; one SVG close glyph
- Welcome view folds the build table into About this build
- Side-bar views keep their gutters; amber keychain note; green Ready badge
- Audit with before/after screenshots: docs/ide/visual-audit.md
@aMonteSl
aMonteSl merged commit 22f47c3 into ide Nov 27, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants