Skip to content

feat(web): Sedula default theme, chip model picker, one dense glass surface, T3 Code line length - #7

Merged
bradleygibsongit merged 7 commits into
mainfrom
t3/fix-chat-width-regression
Nov 22, 2026
Merged

bradleygibsongit merged 7 commits into
mainfrom
t3/fix-chat-width-regression

Conversation

@bradleygibsongit

Copy link
Copy Markdown
Contributor

Summary

Follow-ups from using v1.0.10, in seven commits:

  • Chat width. BlueCode draws chat text at 13px where T3 Code uses 14px. The same 46rem column therefore fit about 8% more words per line and read as wider. Comfortable now caps the lane at 46rem × 13/14; Wide and Full are unchanged (bluecode/layout.css).

  • Thread actions menu. The header's "…" went through contextMenu.show, so the Mac app showed a native menu. It now renders the same items with the app's own menu, sharing useThreadActionMenu's items and handlers.

  • Model picker. Its settings are one row of chips, built from the provider's option descriptors, and Permissions moved out of the picker. The picker now opens at the top, so Favorites shows first.

     <ModelCard>
    -  <ReasoningCard> slider · Fast switch · Cyber Access row · Permissions segmented control
    +  <ChipRow> [effort ▾] [⚡ Fast] [Ultracode] [⋯ → label/value rows]
    

    Permissions is answered by the footer chip in a thread, and by the new-thread strip on drafts (which now also answers mod+shift+a).

  • Dense glass. Floating layers share one surface in bluecode/menus.css: the theme popover colour at max(96%, glass opacity) with the existing blur, and the colour's own alpha dropped. Before, fills ran 80–94% and followed the slider, so menus were about half see-through at its minimum. Muted icons, placeholders, counts, file icons and the light PR green are raised to readable contrast.

  • Wallpapers removed. The start-page photo backdrop (bluecode/backdrop/) is gone.

  • Default theme. With no theme picked, the app uses Sedula's colours (ReUI neutral, bluecode/default-palette.css), mapped onto T3 Code's tokens. It departs from Sedula only where Sedula misses contrast: dark status text, links, the light focus ring and light muted text. The previous default is now a built-in T3 Code theme (bluecode-t3-code) that reproduces it token for token. Users who picked a theme keep it. Boot, splash, the desktop window and embedded HTML renders follow the new default.

Evidence

  • Chat width: the lane measured 736px before and 683px after at Comfortable. The maintainer's screenshot measured as the same 46rem column relative to its text.

  • Picker: the bottom area dropped from 144px to 44px (Codex and Claude Opus), and Replay has no row. With a favourite starred, Favorites is the first group on open.

  • Dense glass: the picker, the thread menu, menus and dialogs compute to 96% at 80% and at 40% glass. A 50%-alpha custom popover colour also computes to 96%.

    Before After
    Menu chevrons 2.7 5.0
    Combobox placeholder 2.6 5.0
    Sidebar Settled count 2.4 4.9
    PR count 2.0 5.3
    Light muted text on a highlighted row 4.3 5.0
  • Theme: with T3 Code selected, 78 tokens and a colour histogram of the whole thread page match the old default exactly, in light and dark. A browser test compares all 54 CSS-backed Sedula roles with what the page paints.

  • New tests that failed before their fix:

    • a saved t3-code custom theme survives
    • chip focus follows the overflow
    • the effort shortcut skips a locked chip
    • mod+shift+a opens the new-thread Permissions control
    • Favorites is first on open
    • long overflow values truncate
    • no-theme HTML renders use Sedula
  • Checks: vp run check:changed passes on the final tree (format, lint, knip, typecheck, tests, React compiler). Browser tests were run with the session's T3CODE_*/T3_* variables unset.

  • Review: five Sol (gpt-6.2-sol) review rounds. Accepted findings were fixed in the last commit. Rejected ones are noted under Follow-ups where relevant.

  • Screenshots: not attached. Uploading them from the agent session was blocked, so the maintainer can attach them here if wanted.

Merge Danger

Door: two-way.

There are no migrations and no server, contract or stored-data changes. Theme preferences are untouched: anyone on a named theme keeps it, and anyone on the default sees Sedula.

Blast Radius: wide-visual.

  • Every user on the default theme sees new colours. The accent and send button go neutral black or white instead of blue, and "T3 Code" brings the blue back.
  • Every menu and dialog is now nearly opaque.
  • The model picker's settings UI is new.
  • Mobile is unchanged: it doesn't share the web stock palette, and its options live in the thread settings sheet.

Follow-ups

  • Built-in third-party palettes keep their own muted colours. Light Everforest's muted text is about 3.2:1 on its menus, and this PR doesn't make it worse.
  • Embedded HTML keeps upstream's fixed info and success colours for every theme (packages/shared/src/htmlRender.ts).

🤖 Generated with Claude Code

bradleygibsongit and others added 7 commits November 22, 2026 07:45
BlueCode draws chat text at 13px where T3 Code uses 14px, so the same 46rem
column fit about 8% more words per line and read as wider. Comfortable now
caps the lane at 46rem x 13/14; Wide and Full are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The header's thread actions button went through the native context menu, so
the desktop app showed a macOS menu. It now renders the same items with the
app's own menu, sharing the item list and handlers with the native path.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The picker's bottom area stacked a slider, a switch, a disclosure row and a
permissions control inside a nested card. Model settings are now one row of
chips (effort menu, toggle chips, choice chips, and a "⋯" overflow), built
from the same option descriptors. Permissions moved back to the composer's own
control, which now answers its shortcut on the new-thread page too.

The picker also opened scrolled to the selected model, which hid the Favorites
group above it; it now opens at the top.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eads

Menus, popovers, dialogs, toasts, the details card and composer drawers used
fills from 80% to 94% that followed the glass slider, so at its minimum menus
were about half transparent and stacked layers tinted twice. They now share
one surface: the theme's popover colour at max(96%, glass opacity) with the
existing blur. Muted icons, placeholders, counts, file icons and the light PR
green are raised to readable contrast.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…theme

The stock light and dark colours now come from Sedula (ReUI's neutral
palette), mapped onto T3 Code's token set, with status text, links and the
light focus ring adjusted to keep contrast. The previous default is a
built-in "T3 Code" theme that reproduces it token for token. Users who
picked a theme keep it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nd default theme

- The built-in T3 Code theme takes the id bluecode-t3-code, so saved custom
  themes with upstream's t3-code id keep working.
- Picker chips: focus follows a chip into and out of the overflow, the effort
  shortcut skips a locked chip, choices with nothing to pick are dropped, and
  long overflow values truncate.
- The thread actions button remounts per thread, so an open menu cannot act on
  the thread it was opened for after navigation.
- Dense glass ignores a theme colour's own alpha; light muted text, the light
  focus ring and the ultrathink note meet contrast.
- Embedded HTML renders and the theme editor use Sedula's colours by default;
  desktop and boot-error colours match the new default.
- Docs: permission modes and provider settings point at their new places.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-22T08:54:09.994364Z
We couldn’t complete this review. Comment @codex review to try again.
55ff032 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@bradleygibsongit
bradleygibsongit enabled auto-merge (squash) November 22, 2026 08:54
@bradleygibsongit
bradleygibsongit merged commit 117a2e4 into main Nov 22, 2026
20 checks passed
@bradleygibsongit
bradleygibsongit deleted the t3/fix-chat-width-regression branch November 22, 2026 08:58
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