Skip to content

composer: equal box buttons, centred line, distinct input/queue surfaces; tab label off the GUI loop - #2139

Merged
trissim merged 2 commits into
mainfrom
qt-viewport-render
Nov 18, 2026
Merged

trissim merged 2 commits into
mainfrom
qt-viewport-render

Conversation

@trissim

@trissim trissim commented Nov 18, 2026

Copy link
Copy Markdown
  • Tab open: the label's Core references read moves off the GUI loop (frame probe: 104 ms per tab open on desktop).
  • Composer: every box button joins through add_box_button (one size, UiGap.normal gap); one line and the glyph centred in the box; PromptComposer declares queue_tone/input_tone (ui-theme#35), painted by Textual's TonePaint and Qt's composer sheet.

Local gate: ratchets at baseline, tui-real-settings ok, toad.json untouched; tab_strip flaked once, passed on rerun. TUI prompt/queue tests: 35 pass, the same 4 fail on unmodified main (pre-existing).

🤖 Generated with Claude Code

https://claude.ai/code/session_01RnH6dT7wdh7i4tjJZQdFu3

trissim and others added 2 commits November 18, 2026 16:32
_refresh_thread_config read source.references() on the loop as a tab opened; the frame
probe caught it holding the loop 104 ms on the desktop (several times that on the phone),
the tab-opening stall Tristan sees. Compose access, status and mentions were already off it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RnH6dT7wdh7i4tjJZQdFu3
… and its own surfaces in both frontends

- Every button beside the input joins the row through add_box_button, which sizes the whole
  row: one height (the box's one-line height), the widest one's width, a small gap. Attach
  was added after the row was sized, so it was shorter, lower and touching Send.
- The editor is exactly its lines' height; the box's touch room is split evenly above and
  below, so one line (and the glyph) sits centred as in Textual, and a longer message grows.
- The shared PromptComposer declares queue_tone (TurnBandColour) and input_tone
  (InputToneColour, ui-theme#35): Textual's PromptContainer, QueueSummary and DeliveryControls
  paint them through TonePaint, Qt's composer frame and queue/delivery lines through the same
  declarations, so the input, its band and the prompt area are distinct surfaces.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RnH6dT7wdh7i4tjJZQdFu3
@trissim
trissim merged commit 8ad9fab into main Nov 18, 2026
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