Skip to content

Home and message box - #2758

Open
samjulien wants to merge 13 commits into
mainfrom
claude/home-message-box
Open

samjulien wants to merge 13 commits into
mainfrom
claude/home-message-box

Conversation

@samjulien

@samjulien samjulien commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

Was stacked on #2634 (Guido), which has merged. This branch now has main merged in, and its diff is only the changes below.

From the audit of Home and the message box against ChatGPT, Claude, Grok Bot and Muse. Reply rendering is not touched.

What changes

Home greeting. Home greets the person by first name, at a lighter weight (500, was 600) on the same title step (text-2xl):

  • First visit with no conversations: "Hi Sam, what would you like to work on?"
  • After that: "Welcome back, Sam"
  • No saved name, a name still to be asked for, or the email standing in for it: "What would you like to work on?"

The first name is the first word of the name the person saved. It is never guessed from an email. If the conversation list fails to load, Home uses the "Welcome back" line, as it used the plain line before.

Message box in a conversation. The box is one row: Attach, the words, then the model, the microphone and Send. Empty, it is 50px tall (was 111px). The words grow upward as they wrap, up to the same maximum as before, and the controls stay on the bottom line. Every control keeps its name and its place in the tab order. The model picker moved from the left of the controls row to the right, beside the microphone, as in the Home box.

Model picker. In the message box the trigger shows the model's name next to the chevron (for example "GPT-6.1 Pro"), cut short at 112px. The chip icon is gone. The thinking setting is still in the name a screen reader hears ("Model: GPT-6.1 Pro, thinking: Extra high") and in the tooltip. A stopped connection still shows its warning mark. The settings field (showValue) is not changed.

Not in this PR: the resting ring (item 2)

The audit asked for a soft shadow ring at rest instead of the 1px border. docs/app-guidelines.md ("The look", rules 5 and 8) says the message box is a flat card at rest and nothing in the page has a shadow, and ui-look-guard enforces the shadow steps. docs/design-system.md says a change like that goes in its own PR, agreed first. So the resting state and Guido's typing glow (#2124) are unchanged here. The resting ring is its own design-system PR: #2759.

Screenshots

OpenBot Desktop workbench (macOS frame, 1280 × 820) and the web app at 390px.

Before After
Home, Desktop, light Home, Desktop, light before Home, Desktop, light after
Home, Desktop, dark Home, Desktop, dark before Home, Desktop, dark after
Conversation, Desktop, light Conversation, Desktop, light before Conversation, Desktop, light after
Conversation, Desktop, dark Conversation, Desktop, dark before Conversation, Desktop, dark after
Home, web, 390px Home, web, 390px before Home, web, 390px after
Conversation, web, 390px Conversation, web, 390px before Conversation, web, 390px after

Checks

  • bun run typecheck, bun run lint, bun run format:check
  • bun test on the composer, model picker, Home, skins, routine box and ui-look-guard files: 524 pass
  • OPENBOT_APP_BROWSER=1 bun test app/tests/home-holds-still.test.tsx: 36 pass (the greeting is the first one drawn and stays, in light and dark, on a phone too)
  • New: composer-one-row.test.tsx (one row, every control named, one 24px line when empty). Updated: first-conversation-greeting.test.ts, model-picker.test.tsx, home-holds-still.test.tsx

No API changes.

Changelog

Conversations.

  • Home greets you by your first name: "Hi Sam, what would you like to work on?" the first time, "Welcome back, Sam" after that.
  • In a conversation the message box starts one line tall, with Attach, the model, the microphone and Send on the same row, and grows as you type.
  • The model picker in the message box shows the model's name.

guidovizoso and others added 11 commits December 1, 2026 14:28
…dings, a longer line, plain quotes

A Bot's reply, and the Markdown in an interface it draws, take typeset's spacing and type. typeset.css is shadcn's file unchanged; the conversation's tuning is .typeset-reply in styles.css. Streamdown's own utilities on headings, lists, quotes, rules and bold outrank typeset, so a reply draws those elements bare (replyMarkdownComponents). Code blocks and tables keep #2582's rules.
…glyph for its kind

It was a bordered pill in smaller type. Now it is underlined like any link, with a muted glyph in front; its kind is still said to screen readers and left out of a table's copy. Nothing in it is taller than the text, so the line keeps its height.
--text-conversation goes from 16px to the app's base 15px. The message box still opens two lines tall, now 45px.
shared/plan.ts defines update_plan: the whole list each time, 2 to 8 steps, each pending, in progress, done or failed, and a description that keeps it to jobs of three or more steps. The app draws one plan per turn as a quiet list where it first appeared, in view while the turn runs and folded with the work once it is answered.
… person's answer to its question, and keeps its last whole plan while an update is written
…x on a touch screen, where Safari would zoom into it
- Home greets the person by first name, at a lighter weight on the same
  title step: "Hi Sam, what would you like to work on?" the first time,
  "Welcome back, Sam" after. With no saved name: "What would you like to
  work on?". The first name is the first word of the saved name.
- In a conversation the message box is one row: Attach, the words, then
  the model, the microphone and Send. Empty it is one line tall (about
  50px, was 111px) and the words grow upward as they wrap. Every control
  keeps its name and its place in the tab order.
- The model picker in the message box shows the model's name next to the
  chevron, cut short when long. The thinking setting stays in the name a
  screen reader hears and in the tooltip.
Base automatically changed from guido/readable-answers to main December 2, 2026 12:03
#2634 landed on main as a squash. Main's copy of its files is taken,
and only this branch's own changes are kept on top.
@samjulien
samjulien marked this pull request as ready for review December 2, 2026 12:15

This branch has not been deployed

No deployments
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