Skip to content

One home: Bots or Chats, Today and Work in three tabs, with Spaces and one bot page - #986

Merged
promptclickrun merged 9 commits into
mainfrom
one-home
Nov 13, 2026
Merged

promptclickrun merged 9 commits into
mainfrom
one-home

Conversation

@promptclickrun

Copy link
Copy Markdown
Owner

Closes #977. This is step 3 to step 7 of #973. The plugin side of Spaces is promptclickrun/bighelp-plugin#302.

The app had three modes: Bots, Chat and Code. Each mode had its own home, header, menu and way to start a chat. The same chat screen, stores and bots were behind all three. This change removes the modes and gives the app one home.

What changes

  • One home, three places. The first tab shows the Bots view or the Chats view. Today and Work are the other two tabs. The bar and the round New chat button are the same for each person. The circle in the header opens Settings from each tab.
  • You select where the app opens. Settings › Chat › Opens on has Bots, Chats, Today and Work. The switch in the header changes the view for the current run only. First run asks one question: With a bot, or Across chats.
  • Chats is one list of each chat on each computer. The newest chat is first, and pinned chats are at the top. With two or more computers, one row of chips filters the list.
  • A chat is a pushed page with one header: Back, the bot and the menu. No bar shows below a chat. The bot opens the bot page.
  • New chat is the chat screen with a To row. One bot starts a chat. Two to six bots start a group chat. For one bot, one row of choices below the message box starts a coding session: project, where it runs, branch, mode and Stage. The row scrolls sideways and does not wrap.
  • Today is a grid of panels. The Needs you card shows while a question, an approval or a workflow sign-off waits. One panel shows Feed, Ideas and Goals for all bots. You can change the order, the size and the visibility of each panel.
  • Spaces. A bot drafts a live panel in a chat. Add to Today makes it a space, and a routine on your computer updates it. Today lists, sizes, hides and deletes spaces. See docs/SPACES.md.
  • Work is one list of the work of your bots: coding sessions, chats and background work, workflow runs, Kanban tasks and scheduled tasks. Four doors open Projects, Tasks, Workflows and Schedules.
  • One bot page for each bot from each door. Name, Role and Summary change in place.
  • Show every computer is one switch in Settings. It replaces the all-hosts view and Multi-gateway.

What the app no longer has

  • Modes, the mode switch, the Modes page and App layout.
  • The Agents screen, the Code home and the Code message box.
  • The menu on iPhone. iPad has a sidebar that slides in. The Mac and Vision Pro keep the sidebar column.
  • The custom bottom bar and the profile sheet of a bot.

This change removes about 21,000 lines and adds about 23,000.

What does not change

  • The chat screen, the model control in the message box, the Model settings sheet and the Default Model page of a bot.
  • Saved settings keys. The app reads the old mode and layout settings one time and selects the new landing place from them.

Trust boundary

  • A page that a bot made (a space, or an app from a chat) can open only a web link that the person taps. The app drops each other navigation off the page:
    • a navigation that a script starts, and window.open from a script
    • each scheme that is not http or https
  • Before this change, a page could open a link of bighelp or of another app with no tap.
  • One limit stays. WebKit reports a click that a script makes on a link as a tap. Thus a script can still open a web address in the browser.
  • A page of a space cannot send a message.
  • A draft becomes a space only when the person taps Add to Today.
  • The app cuts the title and the description that a bot writes to the wire limits.
  • When you remove a computer, the app erases the spaces of that computer from the phone.

Review

Two reviewers read the new code before this pull request. They found 29 defects, and this branch has a fix for each one. The most important fixes:

  • A group chat Send keeps the text in the message box until the group chat is open.
  • Send does not drop an attachment. A group chat and a coding session start with text only, and the app says so.
  • A pick that you make while a chat starts is not lost. The last pick wins.
  • Today shows a workflow sign-off before you open Work.
  • Changes to one space go to the computer one at a time.
  • A short bot list during a reconnect does not remove spaces.

Screens

Demo data, iPhone simulator.

Bots Chats New chat, two bots
Today Spaces on Today Edit on Today
Work A chat The bot page
Bots, dark Chats, dark New chat, one bot, dark
Today, dark Work, dark

Tests

All on a Mac, with demo data on the iPhone simulator.

  • Unit tests: the full unit bundle without BotScreenRFBTests, which stops the run on this Mac. That is 5,846 Swift Testing tests in 534 suites, and 34 XCTest tests. Six tests fail, and each one fails on main too:

    • A build of main at 430f1c8 confirmed three today: CompactChatComposerTests.longUnbrokenDraftRemainsInsideComposerViewport, ProviderLogoStoreTests.rejectsUnsafePathsAndUnsupportedProviderArtworkBeforeImageRequests and VoiceModelTests.accessibilityTranscriptRemainsScrollableAboveBottomControlsInLandscape.
    • The other three are in code that this change does not touch, and One Settings in every mode, Advanced options in place of the Hermes tools list #978 lists them: two tests in ChatModelTests and DesignSystemTests.agentBubblesAreASeeThroughNeutralOnEveryBackground.
  • One more test failed in one of three full runs: DirectHermesCatalogListConcurrencyTests.atMostFourRunAtOnceInTheOrderTheyWereAsked. It passes when it runs without the other suites.

  • The Shortcuts unit tests need the AI data agreement in the settings of the simulator. The first-run UI tests need it absent. Each group ran with the setting that it needs.

  • UI tests, 34 classes. All tests in these 31 classes pass:

    • New shell: HomeShellUITests (14 tests, light and dark), LandingScreenUITests, FirstRunOnboardingUITests, MenuButtonPlacementUITests, SearchPlacementUITests, ScreenKindsUITests.
    • Bots and chats: SimpleBotsUITests, SimpleBotsAppearanceUITests, SimpleBotsActivityUITests, SimpleBotsSectionsUITests, BotChatUITests, BotDashboardUITests, AgentsUITests, GroupSettingsUITests, ChatInfoUITests, SessionsParityUITests, SessionsSearchUITests, SessionAppFilterUITests, SessionOriginUITests.
    • New chat and code: CodeModeUITests.
    • Today, Settings and text: NeedsYouBlueprintsModesUITests, SettingsLayoutUITests, LocalizationUITests, UsageNavigationUITests.
    • Cards and pages in a chat: HTMLAppsUITests, ObjectCardsUITests, WeatherCardsUITests, DraftAttachmentRailUITests, BigFileChatUITests, VoiceStepLineUITests, BotScreenUITests.
  • Three UI tests fail:

    • ComposerInteractionUITests.testExpandRailShowsAboveTheBoxFromThreeLines: the software keyboard of the simulator shows and hides while the test types. The test expects the message box to stay at one height. The screenshots show the box in the correct position in each keyboard state. This change does not touch the Expand control.
    • ImageDraftsUITests.testClosingKeepsTheDraftAndItsChanges: a text field does not get the keyboard focus. I did not run it on main.
    • CardRepliesUITests.testFormLimitsShowAndHoldBackAnAnswerOutsideThem: this test failed on main before this change.
  • BotDashboardUITests looked for text in the message box. Since Let's do it sends the idea as a card; Discuss attaches posts and goals as cards #965, a post goes to the message box as a card. The test now looks for the card.

  • The app compiles for Mac Catalyst and for visionOS.

  • Scripts/check-localization.py passes. The String Catalog has 210 new entries with drafts in Simplified Chinese. This change removes 72 keys of the old shell.

Demo data

  • A demo with no chat open at launch now reads its chat list at launch. Before, the first chat that opened did this. This does not change a real computer, because its connection reads the list.
  • A chat that a demo opens at launch shows the content of that run, not a saved copy.

Not verified

  • No test on a real computer and no test on a device. The demo cannot deliver the first message of a group chat, so that step ran only to the point where the group chat opens.
  • iPad, Mac, Vision Pro and iPhone Duo: the code compiles for each one. I looked at screenshots of the four places on an iPad simulator. They show the sidebar button, the header, the bar and the New chat button. Nobody used the sidebar on the Mac, the ornament on Vision Pro, or the strip and split column on the Duo.
  • Spaces against a released plugin. The plugin change is on main of bighelp-plugin and has no release.
  • A coding first message, staged jobs and Send all with a real project.
  • New chat with a bot on a second computer.
  • Links, widgets, Shortcuts and alerts that open a tab or a page.
  • VoiceOver on the Actions menu of a panel.
  • The Simplified Chinese drafts need a review by a fluent speaker.
  • UI tests of a real computer did not run. Seven UI test files of the old shell are gone. Two real-computer checks have no replacement:
    • a group chat with a bot from each of two computers
    • secure input in a chat on a second computer

Later

#973 keeps these items:

  • The words bot, chat, computer and project in the text of older screens, and the error messages that the String Catalog does not translate.
  • Dead code that only tests use: the old plugin update store, and a folder chooser with no door.

Claude Fable 5.2 made this change in Claude Code, with subagents for the screens, the tests, the docs and the review.

🤖 Generated with Claude Code

promptclickrun and others added 9 commits November 13, 2026 01:02
…, Spaces); not compiled yet

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ind fixture arguments

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…oday, Work); old shell not deleted yet

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
… rewritten; does not compile yet

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ocs follow; compiles on iPhone, Mac and Vision Pro

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ns only tapped web links, Spaces keep their state), String Catalog for the one home; compiles for the simulator

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…n state, Spaces test follows the wider read

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
… dashboard test follows the card draft

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
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.

One home: Bots or Chats, Today and Work in three tabs, one bot page

1 participant