cmux NEXT: no import suggestion on the New Tab or the Chief front page

Closed
TE
15d ago
+67-549

Removes the "Bring your stuff to cmux" import suggestion from the New Tab page and from the Chief's empty front page. Importing stays in Settings › Import and in the command palette.

Leo, 2026-10-21 (relayed by claude-sr2):

"yeah the bring your stuff to cmux is extrmeely questionable idk why that's there + why they went to the chief thingy"

He was asked whether to remove it from the New Tab and the Chief completely, leaving import only in Settings and the command palette. He said:

"yes to both"

What changed

Removed

  • Chief front page: the compact glass import row that #23940 added (ImportSuggestionRowView). This includes its wiring in HomeHostView, the first-run panel's accessory slot in HomeFirstRunView, and setFirstRunAccessory / firstRunAccessoryChanged.
  • New Tab: the Claude Code and Codex import cards. On the Swift side this is AgentPaneImportCards, the importCards page push and the importCards.act op (decoding, model, page host, bridge replay). On the web side it is NewTabImportCards.tsx, its importCards.ts store, applyImportCards, the pageHost case and the dev-host stub.
  • Dead code: ImportCardDeck's home/newTab surfaces and their caps and 24 h linger (the deck now lists only what Settings › Import shows); ImportSuggestionsCenter's push to New Tab; ImportCards' row layout and its CSS; the gallery's New Tab variants. The Settings variants still cover the request, running, paused and dismiss states.
  • Strings: importSuggestions.list.title ("Bring your stuff to cmux") and importSuggestions.button.showAll. They are removed from ImportSuggestions.xcstrings and ImportSuggestionStrings because no code uses them now.

Kept

  • The scan, the import jobs and the import.list / import.card / import.suggest / import.open actions (ImportSuggestionsCenter, CmuxNextImportSuggestions).
  • Settings › Import's card list (ImportSuggestionsCard, import_suggestions host list).
  • The palette's Import from Other Apps… (import.open), which opens Settings › Import.
  • The Debug Settings switch browserImport.suggestionCards. Its help text now names only Settings › Import.

CmuxNextImportCards no longer depends on CmuxNextAgentPane. This PR does not hand-edit ci-target-graph.json; the PR autofix regenerates it from dump-package.

Tests

Tests/CmuxNextAppTests/ImportSuggestionRemovedTests.swift replaces HomeImportSuggestionRowTests.swift:

  • theChiefFrontPageHasNoImportSuggestion: a real HomeHostView for an empty conversation has no cmux.home.importSuggestion view, no Import* view and no "Bring your stuff" text anywhere in its first-run panel.
  • theNewTabHasNoImportCards: the agent page has no importCards.act op, and a page that posts one is refused as unsupported.
  • thePalettesImportCommandStillOpensSettingsImport: import.open is a palette action, it is bound by ImportSuggestionsCenter.bind, and running it opens #/settings/import.

ImportCardDeckTests now tests the one list (Settings) instead of each surface.

Red at the test commit, green at the head. Both use the same command:

cmux-ci run --class light --script scripts/ci/package-test-lane.sh --ref <sha> --arg=suite --arg=Packages/macOS/CmuxNext --arg=ImportSuggestionRemovedTests,ImportCardDeckTests --env CMUX_CI_XCODE_APP=/Applications/Xcode_26.6.app

RED_GREEN_PLACEHOLDER

Observed / Not run

OBSERVED_PLACEHOLDER

Captures

CAPTURES_PLACEHOLDER

Changelog

  • Removed: the "Bring your stuff to cmux" import suggestion on the New Tab page and the Chief's front page. Import stays in Settings › Import and the command palette (Import from Other Apps…).

Agent session: cosmic-gray

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.


Summary by cubic

Removes the "Bring your stuff to cmux" import suggestion from the Chief's empty front page, leaving importing in Settings › Import and the command palette only. The New Tab removal is a separate PR.

Removed

  • The Chief front-page import row (ImportSuggestionRowView), its wiring in HomeHostView, HomeFirstRunView's accessory slot, and setFirstRunAccessory / firstRunAccessoryChanged.
  • The "Show All" string and its "Bring your stuff to cmux" heading.

Kept

  • The scan, jobs, and import.* actions, Settings › Import's card list, and the Debug Settings browserImport.suggestionCards toggle.
  • Tests now assert the Chief front page shows no suggestion and that the palette's Import from Other Apps… still opens Settings › Import.