Repository navigation
feat(appearance): add a chat width setting - #265
Conversation
Appearance gains a Chat width radio group (Narrow / Default / Wide / Full) persisted as AppearanceConfig.chatWidth. The runtime writes the choice to --chat-content-max-width, which the transcript, pending approvals, and composer already share, so they resize together and stay centered. Legacy settings without the field load as Default (52rem). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes This review covers the new chat-width preference from its persisted schema through runtime layout and Appearance settings.
- Preference and migration:
AppearanceConfig.chatWidthdefaults to the existing 52rem width, accepts legacy settings without the field, and rejects unsupported explicit values. - Shared layout: the selected width updates the root CSS variable used by the transcript and composer surfaces while retaining the Aiden dock gutter.
- Settings UI: the four-option radio group provides keyboard navigation, previews, semantic selection styling, and narrow-container reflow; Appearance search copy is updated.
- Coverage and documentation: parser and migration cases are tested, and the Playwright test checks rendered widths, alignment, persistence, and relaunch restoration. The settings design docs and project memory are updated; mobile appearance and Remote protocol remain unchanged.
GPT Luna | 𝕏
Hermes Review BotConfidence: 5 Engine: SummaryIntroduces a Chat width preference under Settings → Appearance with four choices: Narrow (44rem), Default (52rem), Wide (64rem), and Full ( Confidence Score: 5/5Full end-to-end trace completed across the schema, runtime token application, Settings UI keyboard/mouse interactions, container query reflow, 📁 Important Files Changed
FindingsNo findings. Sequence DiagramsequenceDiagram
autonumber
actor User
participant SettingsUI as AppearanceSettings (Renderer)
participant Runtime as appearance-runtime (DOM Root)
participant MainIPC as IPC Main (settings:previewAppearance)
participant ConfigStore as configStore (settings.json)
User->>SettingsUI: Select chat width option (e.g. "Wide")
SettingsUI->>Runtime: applyAppearanceConfig(nextConfig)
Runtime->>Runtime: Set --chat-content-max-width: 64rem & data-chat-width="wide"
SettingsUI->>MainIPC: settings:previewAppearance(nextConfig)
MainIPC-->>SettingsUI: Broadcast settings:appearance-changed
Note over SettingsUI,ConfigStore: Debounced 220ms timer fires
SettingsUI->>ConfigStore: Save nextConfig to settings.json
[]
|
|
Pullfrog stalled The agent stopped emitting events for 125s and was killed by the activity-timeout watchdog. The model produced no output at all before the stall — the request was sent but nothing came back. This is usually transient; re-running often succeeds. Recent agent stderr
|
|
Pullfrog stalled The agent stopped emitting events for 120s and was killed by the activity-timeout watchdog. The model produced no output at all before the stall — the request was sent but nothing came back. This is usually transient; re-running often succeeds. Recent agent stderr
|
# Conflicts: # docs/plans/README.md
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes This review covers the chat footer scrollbar compensation and its geometry-test follow-up since the previous Pullfrog review.
- Aligned the fixed chat footer. Added opt-in scrollbar-gutter measurement and a logical inline-end inset to the main chat
ScrollArea, keeping its footer aligned with the usable scrollport under classic scrollbars. - Strengthened the geometry test. Applied the synthetic gutter after setting the final scrollbar style, then checked transcript/composer alignment across width choices and overflow bounds at Full.
GPT Luna | 𝕏
* docs(plans): refresh plan index and status for 0.51.0 Supersedes #274. Moves 22 completed plans into docs/plans/completed/, refreshes active plan status against main after 0.51.0, records unlinked shipped changes (#265, #275, #280), and updates .memory notes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(plans): note #220/#223 superseded and Steer moved to #298 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(plans): record desktop and Telegram Steer shipped in #298 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

Summary
Adds an Appearance → Chat width setting with four options: Narrow, Default, Wide, and Full. Before this change the conversation column was fixed at
--chat-content-max-width: 52rem.Source
T3 #11594 (chat width setting).
What changed
renderer/shared/appearance.ts):chatWidth: "narrow" | "default" | "wide" | "full"field, defaulting todefault.CHAT_WIDTH_OPTIONSandchatContentMaxWidth()map the options to 44rem, 52rem (unchanged), 64rem andnone.appearance-runtime.ts):applyAppearanceConfigwrites the chosen width to--chat-content-max-widthanddata-chat-widthon<html>. The token is shared by every.chat-content-columnsurface (transcript, approvals, BTW card, ask-user composer and composer), so they resize together and stay centered. The dock inset still keeps the Aiden mark clear at Full.appearance-settings.tsx,styles.css):--focus-ring.docs/settings-design-system.mdhas a new Chat width section.docs/plans/README.mdhas a status row..memory/chat-width-setting.mdnote.Desktop only. The Aiden Remote protocol is unchanged, and the iOS and Android appearance stores stay local, so no mobile changes were needed.
Tests run
npm run type-check,npm run type-check:e2e, and eslint on the touched filesnpm run test:settings-design: 61 passtsx --teston composer, settings-section, appearance-intent, appearance-preview-core and portable-config-core: 96 passnpx playwright test tests/e2e/settings-unification.spec.ts: 6/6 pass. This includes the new behavioral test "chat width setting resizes the transcript and composer together and persists", which:settings.jsonappearance.test.tsfor the default, legacy migration, round-trip and rejection of invalid values.Follow-ups
🤖 Generated with Claude Code