Skip to content

The half under the fold is a desk, not empty space - #981

Merged
promptclickrun merged 5 commits into
promptclickrun:mainfrom
TeddOravec:duo-deck
Nov 14, 2026
Merged

promptclickrun merged 5 commits into
promptclickrun:mainfrom
TeddOravec:duo-deck

Conversation

@TeddOravec

@TeddOravec TeddOravec commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Closes #982.

On the iPhone Duo, half-folded as a small laptop, a chat keeps its messages above the fold and its message box below it. The remaining part of the lower half was empty while the keyboard did not show.

What changes

The lower half now shows a desk below the message box:

  • the face of the bot of the chat, large, with its name
  • one line that says what the bot does now: the step that it is on, or "Here for you" when it does not work
  • two buttons, New chat and Bot page

When the person types, the desk goes away and the message box is on the keyboard. A blank New chat and a group chat do not show the desk. All other screens and devices do not change.

Changes after the review

  • The base is the current main. The first version called the actions of the tab bar that was below a chat, and main no longer has that bar.
  • Bot page replaces Switch agent, which the app no longer has.
  • The desk is a view of its own (ChatLaptopDesk). Thus it reads the live step of the bot there and not in the body of ChatView.
  • The face is large while the bot works too. The first version showed a small card then.
  • At a large text size, the face moves to the side of its lines, and the two buttons go one above the other.
  • The desk shows the same face as the header of the chat.
  • The test checks the two buttons and opens the Bot page.
  • AGENTS.md has a line for the desk, and a line for the island rule of The Duo draws no island of its own, and a toolbar has one "⋯" #979.

Trust boundary

None. The desk shows the status that the chat already has, and its buttons use actions that the chat already has.

Tested

On a Mac with Xcode 27.1. An iPad Pro 11-inch simulator shows the half-folded position with the debug arguments, because the Duo simulator cannot fold.

  • testHalfFoldedLikeALaptopKeepsTheMessagesAboveTheFold: passed in the light and the dark appearance. It checks the desk, its status line and its two buttons. It also checks that Bot page opens the page of the bot, and that the desk goes away when the person types.
  • BighelpTests/ScreenPostureTests: 10 tests passed.
  • Screenshots, checked by eye: the desk at rest in light and dark, and the desk with the keyboard open.
  • Screenshots, checked by eye: the desk while the bot works ("Thinking"), and the desk at an accessibility text size.

Not verified

  • The real fold, and a device.
  • New chat from the desk. No test taps it.
  • A group chat and a blank New chat. The desk stays away there, and no test checks that.
  • The full test suites, Mac Catalyst and visionOS. The change is in the layout for a half-folded Duo only.

Claude Fable 5.2 in Claude Code made the rebase and the changes after the review.

🤖 Generated with Claude Code

@TeddOravec

Copy link
Copy Markdown
Contributor Author

Evidence pinned to this head, 113608dc (not an ancestor):

  • -only-testing:BighelpTests/ScreenPostureTests — 9 tests in 1 suite passed.
  • -only-testing:BighelpUITests/DuoLayoutUITests/testHalfFoldedLikeALaptopKeepsTheMessagesAboveTheFold on iPad Pro 13-inch (M5) — passed (68.6s), with the desk assertions in place.
  • Light and dark screenshots checked by eye at the same commit: message box at the fold, agent filling the space under it, New chat / Switch agent legible in both.

No GitHub checks are configured for this repo, so these Mac runs are the record.

@promptclickrun

Copy link
Copy Markdown
Owner

Merge readiness: unscored · Needs discussion

The diff adds agent status and New chat / Switch agent controls below the composer in the half-folded layout, hiding the tray while the draft is focused. This addresses #982, but this review is incomplete—not a merge clearance.

Type: Feature · Linked issue: #982

Suggestions

  • [Suggestion · Confirmed] BighelpUITests/DuoLayoutUITests.swift:198 The added assertions check only New chat, although the description says both controls are checked. Assert Switch agent is visible and on screen before typing and absent while typing; exercise both buttons to verify their navigation outcomes.

Checks

  • Read the full diff and linked report. GitHub reports no checks; the simulator pass and 9/9 posture tests are author-reported, not independently verified.
  • Review blocked: PR metadata retrieval failed on unsupported authorAssociation; file-content and sandbox execution tools are unavailable in this run. The full files, callback implementations, and exact head SHA could not be verified. No code blocker is established from the diff alone.

Needs from maintainer

Complete source/context review at 113608dcf30cd29fe9951f6cf9727b12a956ab20 before treating this as merge-ready.


🤖 Big Bob, the automated reviewer for this repo. A maintainer makes the final call.

@promptclickrun promptclickrun added area: app iPhone, iPad or Vision Pro app outside contribution PR from someone outside the maintainers type: feature New feature or improvement labels Nov 13, 2026
@promptclickrun promptclickrun self-assigned this Nov 13, 2026
@promptclickrun

Copy link
Copy Markdown
Owner

Note

🤖 Claude Fable 5.2 responding on behalf of promptclickrun

This PR does not apply to the current main, and a rebase alone does not correct it. The idea still fits. The maintainer now selects a direction for the half below the fold from mocks.

What changed on main (#986)

  • A chat is a pushed page. It has no tab bar below it, and startNewChatFromBar and pickAgentsFromBar are gone.
  • The app has no "Switch agent" action. New chat selects the bots in its To row.
  • The area below the message box also holds the row of choices of a new chat (newChatChoices).

What applies again without change

  • The layout change: the tray in the place of the Spacer, with the message box at the fold.
  • The face and status block. AgentLiveAvatar, liveActivityKind and homeAgentID are still there.

What a new version needs

  • New chat through onNewChatTap, which the chat destination gives to ChatView. Bot page (homeChrome.onProfile) in the place of Switch agent, or no second button.
  • No tray on a blank new chat, and a decision for group chats.
  • The test must check each button that the tray shows.

Please wait for the direction before you rebase.

Tandy and others added 5 commits November 14, 2026 03:42
Half-folded like a laptop, the iPhone Duo reserved the whole bottom half for the message box: with no keyboard up that left the composer and the tab bar centred in a slab of nothing. The deck now says what the agent is doing and keeps New chat and Switch agent in reach above the message box, which sits at the bottom of the deck by the thumbs. Typing still gives the message box the keyboard.
… and Bot page

The tray called the chat's old tab bar actions, which are gone, and offered Switch agent, which the app
no longer has. It is now a view of its own: the bot's face, large, with the step it is on or how it
rests, then New chat and Bot page. A blank New chat and a group chat keep the half clear.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@promptclickrun
promptclickrun merged commit 3d5af77 into promptclickrun:main Nov 14, 2026
@promptclickrun

Copy link
Copy Markdown
Owner

Merge readiness: 4/5 · Looks good

Re-reviewed d92942cd against the previously reviewed 113608dc, separating the rebased shell changes from this PR’s changes. GitHub already marks this PR merged; this is a retrospective review. No blocking defect found.

Type: Feature · Linked issue: #982

The desk now uses the pushed chat’s existing New chat and Bot page actions, with live status isolated in ChatLaptopDesk. The group-chat and blank-New-chat guards keep it out of those layouts.

Review follow-up

  • Both buttons now have visibility and screen-bounds assertions, and the test opens Bot page. This addresses the previous review’s second-button coverage concern.
  • Traced New chat through ChatDestinationView to RootShellView.openNewChat(), and Bot page through the existing deferred profile push; neither uses the removed tab-bar callbacks.

Suggestions

  • [Suggestion · Confirmed] BighelpUITests/DuoLayoutUITests.swift:158–175 New chat is still only located, not tapped. Add a tap assertion for the To row and absence of the desk, then verify the desk returns after the first message. Add a group-chat absence case to protect the new visibility guard.

Checks

  • git diff --check passed against the PR base.
  • Author reports the light/dark laptop UI test and 10 posture tests passing, plus working-state and accessibility-size screenshots. These are author-reported results, not independently rerun tests.

🤖 Big Bob, the automated reviewer for this repo. A maintainer makes the final call.

@promptclickrun promptclickrun added the review: looks good Big Bob found no blocking problems. A maintainer still decides label Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: app iPhone, iPad or Vision Pro app outside contribution PR from someone outside the maintainers review: looks good Big Bob found no blocking problems. A maintainer still decides type: feature New feature or improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

iPhone Duo laptop pose: the half under the fold is empty when the keyboard is down

2 participants