Skip to content

Add chat appearance settings: text size, code size, width - #25657

Merged
brennanb2025 merged 16 commits into
mainfrom
brennanb2025/native-chat-appearance-settings
Oct 6, 2026
Merged

brennanb2025 merged 16 commits into
mainfrom
brennanb2025/native-chat-appearance-settings

Conversation

@brennanb2025

@brennanb2025 brennanb2025 commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 48 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1036 $\color{#cf222e}{\Huge{\mathbf{−}}}$​243 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​793
Prod 51 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​838 $\color{#cf222e}{\Huge{\mathbf{−}}}$​249 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​589

ELI5

Chat text zoom was temporary and enlarged transcript controls along with messages. Code size and message width had no settings. Settings → Appearance now has a Chat card with persistent text size, independent code size, and width. Keyboard and View-menu zoom change the same text preference while chat has focus; controls and metadata retain their existing sizes.

What Changed

  • Message/composer text: 12–20px, default 14px.
  • Code, commands, and tool output: 10–18px, default 12px.
  • Transcript/composer width: Comfortable (46rem), Wide (60rem), or Full pane width.
  • Searchable controls, translated copy, and Reset for these three choices. Cmd/Ctrl+0 resets text only.

One optional preference stores only choices that differ from the defaults. The card and zoom read the latest saved settings before each change, preventing quick changes from overwriting one another. Unknown fields survive both updates and Reset. Browser shortcuts honor configured bindings and full modifiers. Native chat headings grow with message text. Actions at the text-size limit skip redundant saves.

Why

Text styling replaces whole-transcript scaling so text can grow without enlarging icons, spacing, and buttons. Separate code styling makes both sizes independent. Local interface settings apply to remote chats and folder workspaces without changing the remote protocol; mobile retains its existing sizing behavior. The ranges, defaults, and shared message/composer text preference are intended choices for this feature.

Linked Issue

N/A (maintainer).

Visual Proof

M4Air screenshots below were captured at 696c88e3a87b4f0a7a2ac87fc00b8f0d7e9f9eef. Current head eba4c8d6c786c4271dc8782f0a21a6e7984b2e13 resolves conflicts against main and preserves both the newer chat styling and these appearance preferences; these screenshots remain earlier-head evidence. Two final-head M4Air startup attempts failed before captures, and Windows low-spec fallback was blocked by an agent update prompt, which was left unanswered; both saved Linux endpoints are unreachable.

Chat settings, dark — earlier head 696c88

Chat settings, dark

Chat settings, light — earlier head 696c88

Chat settings, light

Default text and code sizes — earlier head 696c88

Default text and code sizes

Text 17, code 13, Wide — earlier head 696c88

Text 17, code 13, Wide

Focused chat keyboard zoom — earlier head 696c88

Focused chat keyboard zoom

Narrow pane — earlier head 696c88

Narrow pane

Testing

Conflict resolution at eba4c8d6c786c4271dc8782f0a21a6e7984b2e13: merged current main, retained newer chat colors and command accessibility, kept appearance sizing and transcript measurement, and aligned code sizing with the current command classification. Moved the existing visibility-defaults type beside its related types and retained its old export to stay within the file-size limit. Renderer and node typechecks, localization verification, changed-code quality, and 294 focused tests passed; the final command-classification adjustment passed its 60-test rerun. Final-head rendered screenshots remain unverified.

  • Rendered remote macOS app checks completed.
  • Automated tests added/updated.

At 696c88e on repaired parent 7265cbc and main 08a970a:

  • Renderer and node typechecks passed through the normal machine-wide queue.
  • 27 explicit test files / 307 tests passed: 19 appearance files / 157 tests and eight composer, catalog, and search files / 150 tests.
  • Changed-code quality, patch comparison, translation key preservation, and diff checks passed.
  • All eight appearance commits are preserved. The only rebase differences are translation-file context; all six catalogs preserve the same appearance keys and values. The inherited missing test import is repaired by the parent.
  • The branch is mergeable, with a clean working tree and no lockfile or documentation changes. Draft CI is queued or skipped; full CI is not claimed.

At final head 334a91b8f259e56d9709969a50e772c93e27c397, localization verification, renderer typecheck, five focused files / 53 tests, changed-code quality, and diff checks passed after removing the unused translation. The preceding 307-test and node-typecheck results remain from 696c88.

Earlier-head M4Air QA proved isolated app userData, unchanged real Codex hooks, focused keyboard zoom saved and computed 14→15px, real settings changes, and Reset. Its owned app processes and ports were confirmed stopped. Final-head screenshots remain pending after two startup failures; Windows low-spec fallback was blocked by an agent update prompt, which was left unanswered; both saved Linux endpoints are unreachable. Native menu/focus, restart persistence, actual scrolling, WSL, SSH, mobile runtime, and release packaging remain unverified. The inherited diagnostic app PID 72425 was left untouched; all five recorded final-head app/driver PIDs were later confirmed absent. Port 9342 had no listener; port 5175 belongs to another PR and was left untouched.

The owned M4Air QA terminal was released with an archived transcript, and its fresh child was removed after images and reports were copied locally. Windows cleanup remains unresolved: the startup-failed dispatch reports an identity mismatch and no owned resource, so its update-prompt terminal and child were preserved for supported recovery.

Review

Whole-change adversarial review, independent architecture review, fresh review of fixes, and readiness checklist without counsel. A fresh narrow review of the final rebase completed without a new P0/P1/P2 source finding. Deferred: a source-proven virtualizer measurement-cache concern awaits rendered evidence; disabled shortcut hints and heading inline-code scaling are P3 edges.

Agent skill upstream boundary

  • Not applicable.

Notes

Maintainer: @BrennanKB5. This PR now targets main, and the maintainer authorized a squash merge after conflict resolution.

Checklist

  • This PR is focused on chat appearance preferences.
  • I explained the problem, user-facing change, mechanism, and reason for the approach.
  • Before/after screenshots attached.
  • Self-reviewed for correctness, security, and performance.
  • Cross-platform, SSH/remote, and shortcut impact considered.
  • All required CI checks pass.

@brennanb2025
brennanb2025 force-pushed the brennanb2025/native-chat-soft-colors branch from 7f2ba8e to ddb25ae Compare October 5, 2026 23:18
@brennanb2025
brennanb2025 force-pushed the brennanb2025/native-chat-appearance-settings branch from 11c97b6 to 4f3a07a Compare October 5, 2026 23:37
@brennanb2025
brennanb2025 force-pushed the brennanb2025/native-chat-soft-colors branch from ddb25ae to 3003c53 Compare October 5, 2026 23:59
@brennanb2025
brennanb2025 force-pushed the brennanb2025/native-chat-appearance-settings branch from 4f3a07a to d2c9dc5 Compare October 6, 2026 00:07
@brennanb2025
brennanb2025 force-pushed the brennanb2025/native-chat-soft-colors branch 2 times, most recently from fa517e4 to da2da9d Compare October 6, 2026 00:31
@brennanb2025

brennanb2025 commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor Author

Chat was hard to read, and temporary zoom enlarged its controls along with the text. This PR adds persistent Appearance settings for message text, independent code text, and shared message/composer width; focused keyboard and View zoom use the same saved text preference.

The review fixes preserve rapid appearance edits and future preference fields during Reset, respect configured browser shortcuts, scale native chat headings, and skip redundant saves at the text-size limit. Deferred: the P2 scroll-measurement concern still needs rendered reproduction; the P3 disabled-shortcut hint and heading inline-code sizing remain accepted edges.

Current pushed head: 334a91b8f259e56d9709969a50e772c93e27c397, on repaired parent 7265cbca0f26fe25a3d64f72ac2e193e87340778. The final commit removes an unused English translation key that failed the runtime-catalog check; repository search found no use. Localization verification, renderer typecheck, five focused files / 53 tests, changed-code quality, and diff checks passed at this head. Both scoped typechecks and 27 files / 307 tests passed at the preceding 696c88 head. Fresh rebase readiness found no new P0/P1/P2 source issue.

The PR body now includes personally inspected M4Air screenshots explicitly labeled as earlier-head evidence from 696c88. That QA captured dark/light Chat settings, defaults, text 17 / code 13 / Wide, focused Cmd+ zoom (saved and computed text size 14→15px), a narrow pane, and Reset. App-own userData logging proved isolation, the real Codex hooks hash remained unchanged, and owned app processes and ports were confirmed stopped. The extremely narrow capture has no same-fixture main comparison; its clipping is not classified as inherited or PR-caused.

Final-head QA remains incomplete. Two isolated M4Air startup attempts at 334a91 failed before screenshots: the wrapper never exposed the debugger, and standalone Electron timed out waiting for the renderer store. Windows high spec is unavailable because its update prompt must not be answered; Windows low-spec fallback was blocked by an agent update prompt, which was left unanswered; both saved Linux endpoints are unreachable. The standalone failure log is retained; the wrapper attempt left no durable stdout/stderr log. All five recorded final-head app/driver PIDs were later confirmed absent, and the debugger port had no listener. The occupied renderer port belongs to another PR and was left untouched. The older diagnostic app PID 72425 remains untouched.

The owned M4Air QA terminal was released with an archived transcript, and its fresh child was removed after images and reports were copied locally. Windows cleanup remains unresolved: the startup-failed dispatch reports an identity mismatch and no owned resource, so its update-prompt terminal and child were preserved for supported recovery.

Native menu/focus, restart persistence, actual scrolling, final-head visual behavior, WSL, SSH, mobile runtime, and release packaging remain unverified. The PR remains draft with no auto-merge and an unchanged base. Completion still requires final-head visual proof and verified resource cleanup.

@brennanb2025
brennanb2025 force-pushed the brennanb2025/native-chat-appearance-settings branch from d2c9dc5 to 40947d8 Compare October 6, 2026 01:45
@brennanb2025
brennanb2025 force-pushed the brennanb2025/native-chat-soft-colors branch from da2da9d to 7265cbc Compare October 6, 2026 02:10
@brennanb2025
brennanb2025 force-pushed the brennanb2025/native-chat-appearance-settings branch from 40947d8 to 696c88e Compare October 6, 2026 02:19
@brennanb2025
brennanb2025 marked this pull request as ready for review October 6, 2026 04:49
@brennanb2025
brennanb2025 changed the base branch from brennanb2025/native-chat-soft-colors to main October 6, 2026 05:04
@brennanb2025
brennanb2025 merged commit dc8b393 into main Oct 6, 2026
5 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.

1 participant