Skip to content

feat(chat): tight user bubble, separate Model/Effort/Mode, honest Step and Dictation - #326

Merged
zooqueen merged 5 commits into
mainfrom
redesign/chat-ui
Nov 20, 2026
Merged

zooqueen merged 5 commits into
mainfrom
redesign/chat-ui

Conversation

@jamessburnss1313-dev

@jamessburnss1313-dev jamessburnss1313-dev commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

This is step 1 of 5 in the release order: ui, build, studio, app, host. hanzoai/app#65 needs this published first.

What changes for users

  • User messages show as a tight bubble, with the turn actions outside it (new turnActions prop on Chat).
  • Model, Effort and Mode are separate controls. Auto is listed first, taken from EFFORTS.
  • Step has a live timer and copy, and an explicit preview prop. This replaces an English regex that hid the "Thought" text.
  • Dictation:
    • a "Listening" pill
    • a microphone-blocked message
    • the mic and its chevron are one control
    • the chevron's touch target is now 44px
  • Sidebar controls are real buttons, and the toaster respects the bottom safe area.
  • Code blocks get wrap, download, copy and Open in Dev, through ChatHandoffProvider.
  • Hint labels use $soft for contrast.

Deleted

  • The Composer draftKey, history and onLargePaste props, and their sessionStorage writes. Private chats were included in those writes.
  • ModelPicker's hard-coded model list and its injected style sheet.
  • The duplicate Escape handlers and the Choices fold.
  • The Parts grouping, the Preview code mode and the third-party toggle.
  • The focus-ring literal: every place uses RING from press.ts.
  • collapsible.tsx is restored to main.

Bug fixes and their tests

Fix Test
Thought detail shown twice Step.test.tsx
enumerateDevices rejection Dictation.test.tsx
Toaster clipping toaster.test.tsx
Sidebar buttons Sidebar.test.tsx
Message gap and outside actions Message.test.tsx
Effort order Tune.test.tsx
Voice button onPress leak VoiceSlot.test.tsx

Checks

Run locally:

  • Unit tests: chat, models and rtl pass (288 tests).
  • Full ui suite: the same 21 files fail on origin/main and on this branch, with no new failures.
  • tsc: 111 errors, against 112 on main. None are new.
  • test:code: passes.
  • test:composer: passes at every width, phones included. On coarse pointers, @hanzo/design's min-height: var(--tap-target) !important had been holding Model, Effort, Mode and the Repos/Issues chips at the composer's 24px floor. They now set --tap-target: 44px on phones.

…ffort/Mode, Step timer and Thought fix, Dictation and toaster fixes
…ggle, Enso label, Choices fold, Parts grouping and Preview code mode; Auto-first from EFFORTS; Step preview prop
…n stay one control; phone minimum heights inline
… on them, the coarse-pointer !important floor outranked their min-height
@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-19T21:31:50.150079Z
We couldn’t complete this review. Comment @codex review to try again.
59f3e4f 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.

…mp @hanzo/ui to 8.33.5

Co-authored-by: Hanzo Dev <dev@hanzo.ai>
@zooqueen
zooqueen merged commit 22d7b4f into main Nov 20, 2026
21 checks passed
@zooqueen
zooqueen deleted the redesign/chat-ui branch November 20, 2026 01:15
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