Skip to content

fix(chat): stabilize mobile keyboard, composer, and new-turn layout - #5161

Merged
benjaminshafii merged 7 commits into
devfrom
fix/mobile-chat-interaction-parity
Sep 19, 2026
Merged

benjaminshafii merged 7 commits into
devfrom
fix/mobile-chat-interaction-parity

Conversation

@benjaminshafii

@benjaminshafii benjaminshafii commented Sep 19, 2026 •

Copy link
Copy Markdown
Member

Scope

Interaction parity from the supplied mobile comparison recording, not a chat-feature or branding redesign. Implemented in a separate worktree on fix/mobile-chat-interaction-parity.

Changes

  • Fit the narrow-screen chat shell to visualViewport.height and offsetTop, keeping header and composer inside the visible area during keyboard resize/pan. Leave pinch zoom browser-owned.
  • Dock the sessionless mobile composer at the bottom, matching its position in an existing conversation.
  • Use a one-line mobile editor minimum, bounded expansion, 16px input text and one-row toolbar; keep existing model, attachment, agent and send controls.
  • Preserve editor focus on touch-send and avoid programmatic focus scrolling the document.
  • Reuse the existing scroll controller to reserve only unfilled answer space, anchor a new mobile turn through resize/response growth, and yield to manual scrolling.
  • Do not show a false Jump to latest action when only reserved blank space is below the viewport.
  • Keep the wide desktop shell and editor sizing unchanged.

Verification at 54ca86680ea59b3a9c89c41f9c5a695de8326393

Check Result
Focused viewport, mobile layout, scroll and model-control unit tests 56 passed, 0 failed; exit 0
App typecheck Passed; exit 0
Browser callback checks 1,020 callbacks checked; exit 0
MOBILE-CHAT-01, default v1 engine, Daytona Passed; exit 0
Same selected case, v2 engine, Daytona Failed after first session creation; exit 1
v1 screenshot validation 6 passed, 0 failed, 0 pending

The v1 browser journey checks 390px and 320px phone widths, a 1440px desktop width, trusted touch-send, delayed first-session creation, deterministic long and short responses, simulated keyboard shrink/pan/dismissal, manual scrolling and Jump to latest. No live model credentials were required. Two other cases in the same source file were excluded by the explicit case selector, not claimed as passed.

Measured v1 composer editor bottom: 489px before send → 488.5px during held creation → 489px in the persisted conversation. The toolbar stayed 36px high, and document scroll remained zero. Native keyboard continuity cannot be inferred from these numbers.

pnpm --dir apps/app exec bun test --isolate tests/mobile-chat-layout.test.ts tests/mobile-viewport-hook.test.tsx tests/session-scroll.test.tsx tests/composer-model-controls.test.ts
pnpm --filter @openwork/app typecheck
pnpm --dir evals run check:browser
GODEBUG=http2client=0 OPENWORK_EVAL_REF=$(git rev-parse HEAD) pnpm evals:e2e v2-sessionless-first-send --daytona --engine v1 --case MOBILE-CHAT-01 --strict-ref
GODEBUG=http2client=0 OPENWORK_EVAL_REF=$(git rev-parse HEAD) pnpm evals:e2e v2-sessionless-first-send --daytona --engine v2 --case MOBILE-CHAT-01 --strict-ref

Both E2E runs used placement: daytona (--daytona) and matched the runner/product SHA. Owned test sandboxes were deleted.

Why draft / remaining gaps

  • v2 mobile failure is unresolved: the app shows “This conversation could not be loaded” after first creation and does not show the expected reply. The same unchanged original sessionless-first-send test was run from a clean baseline runner against baseline ab24f4788868f0147a1226cb48ea9a36f80e166b and this head. Both fail at the native-history boundary with HTTP 200 and data: []. That establishes an existing native-history test failure, but does not prove the mobile-specific visible error/retained draft is pre-existing. No unrelated engine fix is included.
  • Real iPhone Safari verification remains needed. Automated evidence uses Chromium mobile emulation plus explicit VisualViewport getter/event simulation. It does not render or validate an actual iOS keyboard, WebKit focus rules, keyboard animation or browser chrome.
  • The additional existing composer-focus-continuity.test.tsx check returned 6 pass / 1 fail on both the branch and clean baseline: “Timed out waiting for the native history before attachment sends.” The focused passing suite above does not conceal that separate failure.

Design / screenshots

Follows DESIGN.md P5, P7, P10, S6, V6, T5: reuse the composer and scroll owner; compact controls; no decorative animations; input positioning rather than a visual redesign. All screenshots below are synthetic test conversations. Shortened-view screenshots simulate keyboard geometry and intentionally contain no native keyboard.

Mobile new chat - 390px Chromium

First send - simulated keyboard viewport, not native iOS

New turn anchored after simulated keyboard dismissal

Narrow phone - 320px Chromium

Desktop layout - 1440px Chromium

Approved mobile composition follow-up — 705450d3a3b133a24033c7b6cf119b87f51f54c0

  • Hide the sessionless greeting and four suggestion cards while mobile composition is focused or has a draft, and throughout pending first-send creation even after the draft clears. A null blur never guesses keyboard state; only an outside pointer/focus interaction exits composition, and the introduction returns only when idle and empty.
  • Hide mobile session-header title and workspace metadata, retaining existing accessible navigation/menu actions. Desktop metadata and existing message content are unchanged. Uses the existing mobile breakpoint and shared composer (DESIGN.md P3, P5, P7, P10, T5).
  • Focused mobile-chat-layout.test.ts: 8 passed / 0 failed, exit 0. App typecheck: exit 0. check:browser: 1,020 callbacks, exit 0.
  • Current pushed head, cold Daytona v1 MOBILE-CHAT-01: 1 selected passed / 0 failed / 0 skipped, exit 0; two other cases excluded by selector. Placement: daytona (--daytona); runner and sandbox SHA match. Added DOM assertions for empty focused composition, cleared-draft pending creation, mobile header metadata (not message text), and desktop metadata visibility.
  • Infisical dev evidence:judge: 7 passed / 0 failed / 0 pending, exit 0. Inspected focused, pending and desktop screenshots. Current published evidence.
  • Reproduce: OPENWORK_EVAL_REF=705450d3a3b133a24033c7b6cf119b87f51f54c0 GODEBUG=http2client=0 pnpm evals:e2e v2-sessionless-first-send --daytona --engine v1 --case MOBILE-CHAT-01 --strict-ref.
  • Overall verification remains Incomplete: v2 is unresolved and was not rerun or changed in this follow-up. All prior v2/baseline context above remains applicable; no native iOS Safari test was performed. These screenshots use Chromium and simulated keyboard geometry, not a rendered iOS keyboard.
  • Composed private-review publication exited 1 because OPENWORK_REVIEW_URL was unset. The supported single-run GitHub publisher then succeeded (exit 0); no storage policy or credential was changed.

Focused empty mobile composition — simulated Chromium viewport

First send pending after draft clears — simulated Chromium viewport

Desktop metadata retained

@vercel

vercel Bot commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

4 Skipped Deployments
Project Deployment Actions Updated
openwork-app Ignored Ignored Preview Sep 19, 2026 7:58pm UTC
openwork-den Ignored Ignored Preview Sep 19, 2026 7:58pm UTC
openwork-diagnostics Ignored Ignored Preview Sep 19, 2026 7:58pm UTC
openwork-landing Ignored Ignored Preview Sep 19, 2026 7:58pm UTC

@benjaminshafii

benjaminshafii commented Sep 19, 2026 •

Copy link
Copy Markdown
Member Author

Test evidence — MOBILE-CHAT-01 keyboard geometry and new turns keep a stable chat layout — ✅ passed

SHA 54ca866 · sandbox ref 54ca866 · engine v1

✅ 6/6 screenshots passed · 2 assertions · 8 expectations passed · 0 failed · 0 pending

[world] mock(mcp) · appWeb(daytona) · workspace(/tmp/openwork-sessionless-first-send-1789837659793) · [seed:raw] evalIn() ×3
[user] see(composer, editable)
[vision] looks(1 expectations)
[probe] eventually(chat shell follows keyboard viewport shrink and pan)
[user] type(composer, "Summarize this workspace in one sentence. FIRST-SEND-mu8n4p01-15475")
[probe] composer · eventually(mobile send enabled) · eventually(held first mobile session creation)
[vision] looks(1 expectations)
[user] see(text=Paragraph 18:, timeoutMs=120000) · type(composer, "Give me a short follow-up. MOBILE-FOLLOWUP-mu8n4p01-15475") · Run task · click(Run task) · see(text=Follow-up complete mu8n4p01-15475., timeoutMs=90000)
[probe] eventually(new user turn aligned at the transcript start)
[vision] looks(1 expectations)
[probe] eventually(keyboard dismissal retains new turn position)
[user] notSee(label=Jump to latest)
[vision] looks(1 expectations)
[probe] eventually(manual reading takes precedence over new-turn anchoring)
[user] see(label=Jump to latest) · label=Jump to latest · click(label=Jump to latest)
[probe] eventually(narrow phone toolbar fits)
[vision] looks(1 expectations)
[probe] eventually(desktop ignores mobile keyboard shell geometry)
[vision] looks(1 expectations)
steps 1 ✅ a new mobile turn reserves answer space and survives keyboard dismissal (9.4s) · 2 ✅ narrow phone and desktop retain usable composer controls (1.8s)
verdict passed · 11 user observations (see ×4, looks ×6, notSee ×1) · 9 probes · steps 2/2

✅ PASS — 1. At phone width, the new-chat composer sits near the bottom of the app rather than directly below the heading.

  • ✅ PASS At phone width, the new-chat composer sits near the bottom of the app rather than directly below the heading. — The “Describe your task...” composer is visibly anchored near the bottom of the phone-width screen, well below the heading and option cards.

At phone width, the new-chat composer sits near the bottom of the app rather than directly below the heading.

✅ PASS — 2. The mobile composer remains visible inside the shortened app viewport while the first send is pending; the header remains visible.

  • ✅ PASS The mobile composer remains visible inside the shortened app viewport while the first send is pending; the header remains visible. — The screenshot visibly shows the “New session” header at the top and the full “Describe your task...” composer with “First send model” and circular pending control inside the viewport.

The mobile composer remains visible inside the shortened app viewport while the first send is pending; the header remains visible.

✅ PASS — 3. The latest user message starts near the top of the transcript with the short assistant answer below it and the compact composer at the bottom of the shortened viewport.

  • ✅ PASS The latest user message starts near the top of the transcript with the short assistant answer below it and the compact composer at the bottom of the shortened viewport. — The user bubble begins near the top with “Give me a short follow-up...”; “Follow-up complete mu8n4p01-15475.” appears below, and the compact “Describe your task...” composer is at the bottom.

The latest user message starts near the top of the transcript with the short assistant answer below it and the compact composer at the bottom of the shortened viewport.

✅ PASS — 4. At full phone height, the latest user turn remains at the top of the conversation pane and the composer stays at the bottom.

  • ✅ PASS At full phone height, the latest user turn remains at the top of the conversation pane and the composer stays at the bottom. — The latest user bubble is visible directly below the top bar, while the rounded “Describe your task...” composer is anchored at the bottom.

At full phone height, the latest user turn remains at the top of the conversation pane and the composer stays at the bottom.

ℹ️ ASSERTION — 5. Reserved answer space does not show a false jump affordance or trap manual scrolling

{"dismissed":{"shell":{"top":0,"bottom":844,"left":0,"right":390,"height":844,"width":390},"editor":{"top":759,"bottom":783,"left":29,"right":361,"height":24,"width":332},"toolbar":{"top":791,"bottom":827,"left":29,"right":361,"height":36,"width":332},"send":{"top":791,"bottom":827,"left":325,"right":361,"height":36,"width":36},"thread":{"top":48,"bottom":734,"left":0,"right":390,"height":686,"width":390},"latestUser":{"top":47.5,"bottom":155.5,"left":12,"right":378,"height":108,"width":366},"scrollTop":1173,"pageScroll":0,"viewport":{"height":844,"top":0},"editorFontSize":16,"editorFocused":true,"userCount":2},"reading":{"shell":{"top":0,"bottom":844,"left":0,"right":390,"height":844,"width":390},"editor":{"top":759,"bottom":783,"left":29,"right":361,"height":24,"width":332},"toolbar":{"top":791,"bottom":827,"left":29,"right":361,"height":36,"width":332},"send":{"top":791,"bottom":827,"left":325,"right":361,"height":36,"width":36},"thread":{"top":48,"bottom":734,"left":0,"right":390,"height":686,"width":390},"latestUser":{"top":287.5,"bottom":395.5,"left":12,"right":378,"height":108,"width":366},"scrollTop":933,"pageScroll":0,"viewport":{"height":844,"top":0},"editorFontSize":16,"editorFocused":true,"userCount":2}}

  • ✅ PASS Reserved answer space does not show a false jump affordance or trap manual scrolling — {"dismissed":{"shell":{"top":0,"bottom":844,"left":0,"right":390,"height":844,"width":390},"editor":{"top":759,"bottom":783,"left":29,"right":361,"height":24,"width":332},"toolbar":{"top":791,"bottom":827,"left":29,"right":361,"height":36,"width":332},"send":{"top":791,"bottom":827,"left":325,"right":361,"height":36,"width":36},"thread":{"top":48,"bottom":734,"left":0,"right":390,"height":686,"width":390},"latestUser":{"top":47.5,"bottom":155.5,"left":12,"right":378,"height":108,"width":366},"scrollTop":1173,"pageScroll":0,"viewport":{"height":844,"top":0},"editorFontSize":16,"editorFocused":true,"userCount":2},"reading":{"shell":{"top":0,"bottom":844,"left":0,"right":390,"height":844,"width":390},"editor":{"top":759,"bottom":783,"left":29,"right":361,"height":24,"width":332},"toolbar":{"top":791,"bottom":827,"left":29,"right":361,"height":36,"width":332},"send":{"top":791,"bottom":827,"left":325,"right":361,"height":36,"width":36},"thread":{"top":48,"bottom":734,"left":0,"right":390,"height":686,"width":390},"latestUser":{"top":287.5,"bottom":395.5,"left":12,"right":378,"height":108,"width":366},"scrollTop":933,"pageScroll":0,"viewport":{"height":844,"top":0},"editorFontSize":16,"editorFocused":true,"userCount":2}}

✅ PASS — 6. At narrow phone width, the composer send button and model control remain inside the viewport without horizontal overflow.

  • ✅ PASS At narrow phone width, the composer send button and model control remain inside the viewport without horizontal overflow. — The bottom composer is fully visible within the phone-width viewport; the truncated model control ('First send m...' with dropdown) and circular upward-arrow send button both remain inside its right edge.

At narrow phone width, the composer send button and model control remain inside the viewport without horizontal overflow.

✅ PASS — 7. At desktop width, the normal full-height chat layout and larger composer remain visible.

  • ✅ PASS At desktop width, the normal full-height chat layout and larger composer remain visible. — Wide desktop layout shows a full-height conversation pane with sidebar and a large composer labeled “Describe your task...” at the bottom.

At desktop width, the normal full-height chat layout and larger composer remain visible.

ℹ️ ASSERTION — 8. Mobile viewport and turn layout do not resize the desktop shell

{"narrow":{"shell":{"top":0,"bottom":844,"left":0,"right":320,"height":844,"width":320},"editor":{"top":759,"bottom":783,"left":29,"right":291,"height":24,"width":262},"toolbar":{"top":791,"bottom":827,"left":29,"right":291,"height":36,"width":262},"send":{"top":791,"bottom":827,"left":255,"right":291,"height":36,"width":36},"thread":{"top":48,"bottom":734,"left":0,"right":320,"height":686,"width":320},"latestUser":{"top":488.75,"bottom":620.75,"left":12,"right":293,"height":132,"width":281},"scrollTop":1136,"pageScroll":0,"viewport":{"height":844,"top":0},"editorFontSize":16,"editorFocused":false,"userCount":2},"desktop":{"shell":{"top":0,"bottom":900,"left":0,"right":1440,"height":900,"width":1440},"editor":{"top":762,"bottom":822,"left":431,"right":1197,"height":60,"width":766},"toolbar":{"top":830,"bottom":866,"left":431,"right":1197,"height":36,"width":766},"send":{"top":830,"bottom":866,"left":1161,"right":1197,"height":36,"width":36},"thread":{"top":45,"bottom":737,"left":229,"right":1399,"height":692,"width":1170},"latestUser":{"top":539.5,"bottom":623.5,"left":446.5,"right":1166.5,"height":84,"width":720},"scrollTop":678,"pageScroll":0,"viewport":{"height":450,"top":90},"editorFontSize":13,"editorFocused":false,"userCount":2}}

  • ✅ PASS Mobile viewport and turn layout do not resize the desktop shell — {"narrow":{"shell":{"top":0,"bottom":844,"left":0,"right":320,"height":844,"width":320},"editor":{"top":759,"bottom":783,"left":29,"right":291,"height":24,"width":262},"toolbar":{"top":791,"bottom":827,"left":29,"right":291,"height":36,"width":262},"send":{"top":791,"bottom":827,"left":255,"right":291,"height":36,"width":36},"thread":{"top":48,"bottom":734,"left":0,"right":320,"height":686,"width":320},"latestUser":{"top":488.75,"bottom":620.75,"left":12,"right":293,"height":132,"width":281},"scrollTop":1136,"pageScroll":0,"viewport":{"height":844,"top":0},"editorFontSize":16,"editorFocused":false,"userCount":2},"desktop":{"shell":{"top":0,"bottom":900,"left":0,"right":1440,"height":900,"width":1440},"editor":{"top":762,"bottom":822,"left":431,"right":1197,"height":60,"width":766},"toolbar":{"top":830,"bottom":866,"left":431,"right":1197,"height":36,"width":766},"send":{"top":830,"bottom":866,"left":1161,"right":1197,"height":36,"width":36},"thread":{"top":45,"bottom":737,"left":229,"right":1399,"height":692,"width":1170},"latestUser":{"top":539.5,"bottom":623.5,"left":446.5,"right":1166.5,"height":84,"width":720},"scrollTop":678,"pageScroll":0,"viewport":{"height":450,"top":90},"editorFontSize":13,"editorFocused":false,"userCount":2}}

Test run created 2026-09-19T17:07:39.776Z · Source: evals/results/test-runs/2026-09-19T17-07-39-776Z-15475-mobile-chat-01-keyboard-geometry-and-new-turns-keep-a-stable-chat-layout/test-run.json · Repro: pnpm --dir evals artifacts:publish -- --pr 5161 --test-run 2026-09-19T17-07-39-776Z-15475-mobile-chat-01-keyboard-geometry-and-new-turns-keep-a-stable-chat-layout

@benjaminshafii

benjaminshafii commented Sep 19, 2026 •

Copy link
Copy Markdown
Member Author

Test evidence — MOBILE-CHAT-01 keyboard geometry and new turns keep a stable chat layout — ❌ failed

SHA 54ca866 · sandbox ref 54ca866 · engine v2

❌ 2/2 screenshots passed · 2 expectations passed · 0 failed · 0 pending

[world] mock(mcp) · appWeb(daytona) · workspace(/tmp/openwork-sessionless-first-send-1789837775832) · [seed:raw] evalIn() ×3
[user] see(composer, editable)
[vision] looks(1 expectations)
[probe] eventually(chat shell follows keyboard viewport shrink and pan)
[user] type(composer, "Summarize this workspace in one sentence. FIRST-SEND-mu8n76jb-16198")
[probe] composer · eventually(mobile send enabled) · eventually(held first mobile session creation)
[vision] looks(1 expectations)
[user] ❌ see(text=Paragraph 18:, timeoutMs=120000)
verdict failed · 4 user observations (see ×2, looks ×2) · 4 probes · steps 0/0

✅ PASS — 1. At phone width, the new-chat composer sits near the bottom of the app rather than directly below the heading.

  • ✅ PASS At phone width, the new-chat composer sits near the bottom of the app rather than directly below the heading. — The “Describe your task...” composer is visibly anchored near the bottom of the phone-width screen, well below the heading and option cards.

At phone width, the new-chat composer sits near the bottom of the app rather than directly below the heading.

✅ PASS — 2. The mobile composer remains visible inside the shortened app viewport while the first send is pending; the header remains visible.

  • ✅ PASS The mobile composer remains visible inside the shortened app viewport while the first send is pending; the header remains visible. — The header with “New session” is visible at the top, and the composer with “Describe your task...” and “First send model” remains visible below the suggestion cards.

The mobile composer remains visible inside the shortened app viewport while the first send is pending; the header remains visible.


Test run created 2026-09-19T17:09:35.813Z · Source: evals/results/test-runs/2026-09-19T17-09-35-812Z-16198-mobile-chat-01-keyboard-geometry-and-new-turns-keep-a-stable-chat-layout/test-run.json · Repro: pnpm --dir evals artifacts:publish -- --pr 5161 --test-run 2026-09-19T17-09-35-812Z-16198-mobile-chat-01-keyboard-geometry-and-new-turns-keep-a-stable-chat-layout

@vercel
vercel Bot temporarily deployed to Preview – openwork-diagnostics September 19, 2026 19:16 Inactive
@vercel
vercel Bot temporarily deployed to Preview – openwork-landing September 19, 2026 19:16 Inactive
@vercel
vercel Bot temporarily deployed to Preview – openwork-den September 19, 2026 19:16 Inactive
@benjaminshafii

Copy link
Copy Markdown
Member Author

Test evidence — MOBILE-CHAT-01 keyboard geometry and new turns keep a stable chat layout — ✅ passed

SHA 8fcec4a · sandbox ref 8fcec4a · engine v1

✅ 11/11 screenshots passed · 3 assertions · 14 expectations passed · 0 failed · 0 pending

[world] mock(mcp) · appWeb(daytona) · workspace(/tmp/openwork-sessionless-first-send-1789847064376) · [seed:raw] evalIn() ×3
[user] see(composer, editable)
[vision] looks(1 expectations)
[probe] composer · eventually(fixture model ready)
[user] label=Change model · click(label=Change model) · label=/^Model\s+First send model/ · click(label=/^Model\s+First send model/) · see(placeholder=Search models...)
[probe:raw] [probe:raw] eval()
[vision] looks(1 expectations)
[user] label=Model · click(label=Model)
[probe:raw] [probe:raw] eval()
[user] label=/^Model\s+First send model/ · click(label=/^Model\s+First send model/) · label=Connect more providers · click(label=Connect more providers) · see(placeholder=Filter providers by name or ID)
[probe:raw] [probe:raw] eval()
[probe] eventually(mobile provider dialog focuses its title, not search)
[vision] looks(1 expectations)
[user] type(placeholder=Filter providers by name or ID, "Google") · label=/^Google/ · click(label=/^Google/) · see(placeholder=sk-...)
[probe:raw] [probe:raw] eval()
[vision] looks(1 expectations)
[user] label=Back · click(label=Back)
[probe:raw] [probe:raw] eval()
[user] notSee(placeholder=sk-...) · press(Escape) · notSee(placeholder=Filter providers by name or ID) · press(Escape)
[probe] composer · eventually(chat shell follows keyboard viewport shrink and pan)
[user] composer · click(composer)
[probe] eventually(mobile composition hides the greeting, suggestions and header metadata)
[vision] looks(1 expectations)
[user] type(composer, "Summarize this workspace in one sentence. FIRST-SEND-mu8sq9mf-31167")
[probe] composer · eventually(mobile send enabled) · eventually(held first mobile session creation) · composer
[vision] looks(1 expectations)
[user] see(text=Paragraph 18:, timeoutMs=120000) · type(composer, "Give me a short follow-up. MOBILE-FOLLOWUP-mu8sq9mf-31167") · Run task · click(Run task) · see(text=Follow-up complete mu8sq9mf-31167., timeoutMs=90000)
[probe] eventually(new user turn aligned at the transcript start)
[vision] looks(1 expectations)
[probe] eventually(keyboard dismissal retains new turn position)
[user] notSee(label=Jump to latest)
[vision] looks(1 expectations)
[probe] eventually(manual reading takes precedence over new-turn anchoring)
[user] see(label=Jump to latest) · label=Jump to latest · click(label=Jump to latest)
[probe] eventually(narrow phone toolbar fits)
[vision] looks(1 expectations)
[probe] eventually(desktop ignores mobile keyboard shell geometry)
[vision] looks(1 expectations)
[user] label=Change model · click(label=Change model) · label=/^Model\s+First send model/ · click(label=/^Model\s+First send model/)
[probe:raw] [probe:raw] eval()
[probe] eventually(desktop model search retains keyboard focus)
[vision] looks(1 expectations)
[user] press(Escape)
steps 1 ✅ mobile model and provider navigation does not reopen search or lose focus (21.0s) · 2 ✅ a new mobile turn reserves answer space and survives keyboard dismissal (10.1s) · 3 ✅ narrow phone and desktop retain usable composer controls (5.0s)
verdict passed · 21 user observations (see ×7, looks ×11, notSee ×3) · 22 probes · steps 3/3

✅ PASS — 1. At phone width, the new-chat composer sits near the bottom of the app rather than directly below the heading.

  • ✅ PASS At phone width, the new-chat composer sits near the bottom of the app rather than directly below the heading. — The “Describe your task...” composer is positioned at the bottom of the phone-width screen, below the four option cards and a large blank space.

At phone width, the new-chat composer sits near the bottom of the app rather than directly below the heading.

✅ PASS — 2. At phone width, the model picker has a readable search field, a Model back control, and model/provider actions inside the viewport.

  • ✅ PASS At phone width, the model picker has a readable search field, a Model back control, and model/provider actions inside the viewport. — The mobile-width overlay visibly shows a “Search models...” field, a “‹ Model” back control, model rows with star/chevron actions, and “Connect more providers” within the viewport.

At phone width, the model picker has a readable search field, a Model back control, and model/provider actions inside the viewport.

✅ PASS — 3. At phone width, Connect providers shows a readable filter field, provider rows and a close action without horizontal overflow.

  • ✅ PASS At phone width, Connect providers shows a readable filter field, provider rows and a close action without horizontal overflow. — The phone-width modal visibly contains the full “Filter providers by name or ID” field, readable provider rows from OpenCode Zen through Abacus, an X and bottom-right “Close” button; all content fits within the viewport with no horizontal clipping or scrollbar.

At phone width, Connect providers shows a readable filter field, provider rows and a close action without horizontal overflow.

✅ PASS — 4. The mobile Google provider form shows its API key field and Back/Close actions within the viewport; no credential has been entered.

  • ✅ PASS The mobile Google provider form shows its API key field and Back/Close actions within the viewport; no credential has been entered. — Visible “API key” field shows placeholder “sk-...”, and both “Back” and “Close” buttons are visible at the bottom.

The mobile Google provider form shows its API key field and Back/Close actions within the viewport; no credential has been entered.

ℹ️ ASSERTION — 5. Mobile picker navigation preserves focus without automatic search focus or provider submission

Model Back restores its root control; provider selection and Back retain dialog/row focus; visible search and API-key inputs compute to at least 16px; no credential is entered, no prompt is sent and the route/draft are unchanged.

  • ✅ PASS Mobile picker navigation preserves focus without automatic search focus or provider submission — Model Back restores its root control; provider selection and Back retain dialog/row focus; visible search and API-key inputs compute to at least 16px; no credential is entered, no prompt is sent and the route/draft are unchanged.

✅ PASS — 6. While composing on mobile, greeting and suggestion cards are hidden, and the header shows navigation and actions without the session title or workspace metadata.

  • ✅ PASS While composing on mobile, greeting and suggestion cards are hidden, and the header shows navigation and actions without the session title or workspace metadata. — The mobile view shows an active cursor in “Describe your task...”; no greeting, suggestion cards, session title, or workspace metadata are visible, while the header contains a left navigation icon and a three-dot action menu.

While composing on mobile, greeting and suggestion cards are hidden, and the header shows navigation and actions without the session title or workspace metadata.

✅ PASS — 7. The mobile composer remains visible inside the shortened app viewport while the first send is pending; the header remains visible.

  • ✅ PASS The mobile composer remains visible inside the shortened app viewport while the first send is pending; the header remains visible. — The composer is fully visible near the lower middle with “First send model” and a partial-ring pending button; the upper header divider, left icon, and three-dot menu remain visible.

The mobile composer remains visible inside the shortened app viewport while the first send is pending; the header remains visible.

✅ PASS — 8. The latest user message starts near the top of the transcript with the short assistant answer below it and the compact composer at the bottom of the shortened viewport.

  • ✅ PASS The latest user message starts near the top of the transcript with the short assistant answer below it and the compact composer at the bottom of the shortened viewport. — The user bubble appears near the top, “Follow-up complete mu8sq9mf-31167.” is directly below, and the compact “Describe your task...” composer is visible near the bottom.

The latest user message starts near the top of the transcript with the short assistant answer below it and the compact composer at the bottom of the shortened viewport.

✅ PASS — 9. At full phone height, the latest user turn remains at the top of the conversation pane and the composer stays at the bottom.

  • ✅ PASS At full phone height, the latest user turn remains at the top of the conversation pane and the composer stays at the bottom. — The latest user bubble is visible at the top beneath the header, while the rounded “Describe your task...” composer is anchored at the bottom.

At full phone height, the latest user turn remains at the top of the conversation pane and the composer stays at the bottom.

ℹ️ ASSERTION — 10. Reserved answer space does not show a false jump affordance or trap manual scrolling

{"dismissed":{"shell":{"top":0,"bottom":844,"left":0,"right":390,"height":844,"width":390},"editor":{"top":759,"bottom":783,"left":29,"right":361,"height":24,"width":332},"toolbar":{"top":791,"bottom":827,"left":29,"right":361,"height":36,"width":332},"send":{"top":791,"bottom":827,"left":325,"right":361,"height":36,"width":36},"thread":{"top":48,"bottom":734,"left":0,"right":390,"height":686,"width":390},"latestUser":{"top":47.5,"bottom":155.5,"left":12,"right":378,"height":108,"width":366},"scrollTop":1173,"pageScroll":0,"viewport":{"height":844,"top":0},"editorFontSize":16,"editorFocused":true,"userCount":2,"greetingVisible":false,"suggestionsVisible":false,"headerTitleVisible":false,"headerWorkspaceVisible":false},"reading":{"shell":{"top":0,"bottom":844,"left":0,"right":390,"height":844,"width":390},"editor":{"top":759,"bottom":783,"left":29,"right":361,"height":24,"width":332},"toolbar":{"top":791,"bottom":827,"left":29,"right":361,"height":36,"width":332},"send":{"top":791,"bottom":827,"left":325,"right":361,"height":36,"width":36},"thread":{"top":48,"bottom":734,"left":0,"right":390,"height":686,"width":390},"latestUser":{"top":287.5,"bottom":395.5,"left":12,"right":378,"height":108,"width":366},"scrollTop":933,"pageScroll":0,"viewport":{"height":844,"top":0},"editorFontSize":16,"editorFocused":true,"userCount":2,"greetingVisible":false,"suggestionsVisible":false,"headerTitleVisible":false,"headerWorkspaceVisible":false}}

  • ✅ PASS Reserved answer space does not show a false jump affordance or trap manual scrolling — {"dismissed":{"shell":{"top":0,"bottom":844,"left":0,"right":390,"height":844,"width":390},"editor":{"top":759,"bottom":783,"left":29,"right":361,"height":24,"width":332},"toolbar":{"top":791,"bottom":827,"left":29,"right":361,"height":36,"width":332},"send":{"top":791,"bottom":827,"left":325,"right":361,"height":36,"width":36},"thread":{"top":48,"bottom":734,"left":0,"right":390,"height":686,"width":390},"latestUser":{"top":47.5,"bottom":155.5,"left":12,"right":378,"height":108,"width":366},"scrollTop":1173,"pageScroll":0,"viewport":{"height":844,"top":0},"editorFontSize":16,"editorFocused":true,"userCount":2,"greetingVisible":false,"suggestionsVisible":false,"headerTitleVisible":false,"headerWorkspaceVisible":false},"reading":{"shell":{"top":0,"bottom":844,"left":0,"right":390,"height":844,"width":390},"editor":{"top":759,"bottom":783,"left":29,"right":361,"height":24,"width":332},"toolbar":{"top":791,"bottom":827,"left":29,"right":361,"height":36,"width":332},"send":{"top":791,"bottom":827,"left":325,"right":361,"height":36,"width":36},"thread":{"top":48,"bottom":734,"left":0,"right":390,"height":686,"width":390},"latestUser":{"top":287.5,"bottom":395.5,"left":12,"right":378,"height":108,"width":366},"scrollTop":933,"pageScroll":0,"viewport":{"height":844,"top":0},"editorFontSize":16,"editorFocused":true,"userCount":2,"greetingVisible":false,"suggestionsVisible":false,"headerTitleVisible":false,"headerWorkspaceVisible":false}}

✅ PASS — 11. At narrow phone width, the composer send button and model control remain inside the viewport without horizontal overflow.

  • ✅ PASS At narrow phone width, the composer send button and model control remain inside the viewport without horizontal overflow. — The bottom composer visibly contains the truncated model control (“First send m...”) and circular upward-arrow send button fully within the phone-width viewport.

At narrow phone width, the composer send button and model control remain inside the viewport without horizontal overflow.

✅ PASS — 12. At desktop width, the normal full-height chat layout and larger composer remain visible.

  • ✅ PASS At desktop width, the normal full-height chat layout and larger composer remain visible. — Wide desktop viewport shows the full-height conversation panel with left sidebar and a large bottom composer labeled “Describe your task...”.

At desktop width, the normal full-height chat layout and larger composer remain visible.

ℹ️ ASSERTION — 13. Mobile viewport and turn layout do not resize the desktop shell

{"narrow":{"shell":{"top":0,"bottom":844,"left":0,"right":320,"height":844,"width":320},"editor":{"top":759,"bottom":783,"left":29,"right":291,"height":24,"width":262},"toolbar":{"top":791,"bottom":827,"left":29,"right":291,"height":36,"width":262},"send":{"top":791,"bottom":827,"left":255,"right":291,"height":36,"width":36},"thread":{"top":48,"bottom":734,"left":0,"right":320,"height":686,"width":320},"latestUser":{"top":488.75,"bottom":620.75,"left":12,"right":293,"height":132,"width":281},"scrollTop":1136,"pageScroll":0,"viewport":{"height":844,"top":0},"editorFontSize":16,"editorFocused":false,"userCount":2,"greetingVisible":false,"suggestionsVisible":false,"headerTitleVisible":false,"headerWorkspaceVisible":false},"desktop":{"shell":{"top":0,"bottom":900,"left":0,"right":1440,"height":900,"width":1440},"editor":{"top":762,"bottom":822,"left":431,"right":1197,"height":60,"width":766},"toolbar":{"top":830,"bottom":866,"left":431,"right":1197,"height":36,"width":766},"send":{"top":830,"bottom":866,"left":1161,"right":1197,"height":36,"width":36},"thread":{"top":45,"bottom":737,"left":229,"right":1399,"height":692,"width":1170},"latestUser":{"top":539.5,"bottom":623.5,"left":446.5,"right":1166.5,"height":84,"width":720},"scrollTop":678,"pageScroll":0,"viewport":{"height":450,"top":90},"editorFontSize":13,"editorFocused":false,"userCount":2,"greetingVisible":false,"suggestionsVisible":false,"headerTitleVisible":true,"headerWorkspaceVisible":true}}

  • ✅ PASS Mobile viewport and turn layout do not resize the desktop shell — {"narrow":{"shell":{"top":0,"bottom":844,"left":0,"right":320,"height":844,"width":320},"editor":{"top":759,"bottom":783,"left":29,"right":291,"height":24,"width":262},"toolbar":{"top":791,"bottom":827,"left":29,"right":291,"height":36,"width":262},"send":{"top":791,"bottom":827,"left":255,"right":291,"height":36,"width":36},"thread":{"top":48,"bottom":734,"left":0,"right":320,"height":686,"width":320},"latestUser":{"top":488.75,"bottom":620.75,"left":12,"right":293,"height":132,"width":281},"scrollTop":1136,"pageScroll":0,"viewport":{"height":844,"top":0},"editorFontSize":16,"editorFocused":false,"userCount":2,"greetingVisible":false,"suggestionsVisible":false,"headerTitleVisible":false,"headerWorkspaceVisible":false},"desktop":{"shell":{"top":0,"bottom":900,"left":0,"right":1440,"height":900,"width":1440},"editor":{"top":762,"bottom":822,"left":431,"right":1197,"height":60,"width":766},"toolbar":{"top":830,"bottom":866,"left":431,"right":1197,"height":36,"width":766},"send":{"top":830,"bottom":866,"left":1161,"right":1197,"height":36,"width":36},"thread":{"top":45,"bottom":737,"left":229,"right":1399,"height":692,"width":1170},"latestUser":{"top":539.5,"bottom":623.5,"left":446.5,"right":1166.5,"height":84,"width":720},"scrollTop":678,"pageScroll":0,"viewport":{"height":450,"top":90},"editorFontSize":13,"editorFocused":false,"userCount":2,"greetingVisible":false,"suggestionsVisible":false,"headerTitleVisible":true,"headerWorkspaceVisible":true}}

✅ PASS — 14. At desktop width, the model picker shows its compact search field, model options and provider actions.

  • ✅ PASS At desktop width, the model picker shows its compact search field, model options and provider actions. — The desktop screenshot shows an open Model popover with “Search models...”, options including “Big Pickle” and “Ling 3.0 Flash Fin Free,” plus “Connect more providers” and “All models.”

At desktop width, the model picker shows its compact search field, model options and provider actions.


Test run created 2026-09-19T19:44:24.359Z · Source: evals/results/test-runs/2026-09-19T19-44-24-358Z-31167-mobile-chat-01-keyboard-geometry-and-new-turns-keep-a-stable-chat-layout/test-run.json · Repro: pnpm --dir evals artifacts:publish -- --pr 5161 --test-run 2026-09-19T19-44-24-358Z-31167-mobile-chat-01-keyboard-geometry-and-new-turns-keep-a-stable-chat-layout

@benjaminshafii

Copy link
Copy Markdown
Member Author

Mobile picker follow-up — 8fcec4a

Added 274e3f6 (approved picker fixes) and 8fcec4a (journey tooltip dismissal); credential fix 27e01f5 remains in history. PR remains draft.

  • Mobile model/provider searches and provider key/code fields use 16px text; desktop search remains 13px. Base UI owns opening/closing focus; pane Back restores a control without automatically reopening mobile search. Single-method provider selection now uses the selected entry rather than stale state.
  • Extended MOBILE-CHAT-01 on the existing real app + mock fixture. It verifies computed input fonts, model Back focus, Connect providers selection/Back focus, no automatic mobile search focus, unchanged route/draft and no inference before sending. The shared Connect providers dialog is entered from the composer; Settings navigation itself was not separately exercised.
  • Strict-ref Daytona v1 run at 8fcec4a: 1 selected case passed, 0 failed/skipped; 2 other cases intentionally not selected. Final focused Bun tests: 39 passed. App typecheck and browser callback check passed. Screenshot judging: 11/11 passed, 0 pending. All final commands exited 0.
  • Initial run at 274e3f6 passed the new picker assertions but failed when the restored trigger tooltip covered the composer. After inspecting artifacts, the journey now dismisses that mouse-driven focus tooltip with Escape before its separate keyboard simulation. No unrelated app change was made.

Single-run evidence and screenshots: mobile model picker, provider list, provider form, desktop picker.

Design: P5 (existing focus primitives), P10 (real-size evidence), V1 (desktop density retained; mobile input-size exception prevents a known autozoom risk).

Limits: Chromium device emulation and simulated keyboard geometry are not native Safari/WebKit verification. The existing v2 issue remains unresolved and is not claimed fixed by this v1 result. User preview and provider credentials were untouched; no production deployment.

Reproduce: GODEBUG=http2client=0 OPENWORK_EVAL_REF=8fcec4a30797e508ab3623e1601b3521fdccd1ad pnpm evals:e2e v2-sessionless-first-send --daytona --engine v1 --case MOBILE-CHAT-01 --strict-ref

@benjaminshafii

Copy link
Copy Markdown
Member Author

CI repair pushed in e62a269: added MOBILE-CHAT-01 (v1/v2) to the exact registry expectation, matching the registration introduced by this PR. No assertions weakened or CI behavior changed. The failing Node unit command reproduced 21 passed / 1 failed, then passed 22/22 with zero skips after repair. Current-head openwork-tests-core and openwork-tests-required pass: https://github.com/different-ai/openwork/actions/runs/35465947436 . Builds and CodeQL also pass; gh reports no branch-protection required checks. This is CI-only verification; the separately documented manual v2 failure and full Safari validation remain outstanding, and older UI evidence is not new-head evidence.

@benjaminshafii
benjaminshafii marked this pull request as ready for review September 19, 2026 20:09
@benjaminshafii
benjaminshafii requested a review from a team September 19, 2026 20:09
@benjaminshafii
benjaminshafii merged commit 8fdc5f1 into dev Sep 19, 2026
19 checks passed
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