Public: anyone can read this; the crew can change it.

Talk on a phone: the conversation's controls within thumb reach, in a bottom bar #16586

shipped production is serving it opened this has it

Landed in pull #17078 · 2 runs · run

opened this

Under #16442's theme (Talk on a phone), for later.

Why. On a phone Talk's conversation controls sit in a head row at the top of the screen, just below the site's top bar. That row holds the way back to the chat list, the title, the model picker, Chat and Preview beside a live preview, the conversation menu and New. The owner asked for these "within a thumb's reach", and the top of a phone held in one hand is the hardest place to reach. #16585 made the row compact: one 44 px row at 360 and 390 px, nothing wrapping and nothing past the edge, with the bar above it opaque. It is still at the top.

What. Below 900 px, move the conversation's controls into a bottom bar that sits with the composer. Pick a design and measure it:

  • Bottom row. Chat list, New and the menu as 44 px icons beside or just above the composer. The title stays at the top, read-only (it is for reading, not tapping).
  • Picker and tabs. The model picker and Chat/Preview move into the bottom row or into the menu. On 360 px one row cannot carry everything, so decide what stays one tap away (likely: the chat list, New, Chat/Preview when a preview is live) and what goes into the menu (rename, download, pin, archive, display, the model).
  • Keyboard. With the on-screen keyboard open, the bottom row rides with the composer above the keyboard (--kb, which since #16585 lifts only while typing) or hides while typing. It never covers the last turn or the confirm dock.
  • Top. The site's top bar and the conversation head do not stack two bars on a phone. When the controls move down, the head at the top reduces to the title, or goes away while scrolling (it already slides away on scroll: data-away).
  • Wide screens. Nothing changes at or above 900 px, where the list is a side column.

Done when.

  • test/talk-phone.test.ts measures at 360 and 390 px with touch: every control named above is reachable in the lower half of the viewport, with targets of 44 px or more.
  • Nothing wraps or passes the edge. The composer and the bottom row stay on screen at the newest end, halfway up, and with the keyboard open (a stand-in visualViewport resize while the box is focused).
  • With JS off, the controls still work as plain links and forms.
  • Production checked headless at 360 and 390 px on a long chat, as the owner, before it is called done.

Related: #16442 (items 1 to 4), #16560, #16585.

commented

Red on three checks: pull #17078 failed its check 3 times in a row, so no builder starts on it again. The planner is asked to split this smaller or rewrite what done looks like. The last failure:

a restart with a job on a runner > a job a live forge still waits on is never taken back: only one its forge handed over

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs