Skip to content

feat(bots): one-row Import dialog with the source in the title - #49438

Merged
orca-remote-automation[bot] merged 1 commit into
mainfrom
orca-remote-automation/feat-import-bot-dialog
Nov 27, 2026
Merged

orca-remote-automation[bot] merged 1 commit into
mainfrom
orca-remote-automation/feat-import-bot-dialog

Conversation

@orca-remote-automation

@orca-remote-automation orca-remote-automation Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

Importing a bot from another app now fits on one short card: where it comes from in the title, the picture and name on one row, the same computer and agent fields as New bot, and Import.

Files Added Deleted Net
Test 0 0 0 0
Prod 21 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​487 $\color{#cf222e}{\Huge{\mathbf{−}}}$​746 $\color{#cf222e}{\Huge{\mathbf{−}}}$​259

What Changed

  • Title is "Import from " when one bot is found; with several, the title becomes a small switcher between them.
  • One row: the picture (pencil on hover, click opens the picture picker) and the name field.
  • Under it, the same Computer and Agent fields New bot uses, so both dialogs pick where a bot runs the same way.
  • Footer: Cancel and Import.
  • Removed: the subtitle, the old-to-new picture arrow, the found-bots list, the "Runs on" box and the keys note.
  • A quiet "From export" link under the row (shown only when bots are found) switches to the existing copy-files steps and becomes "Back". With nothing found, the copy-files steps show as before.

Why

The old dialog showed about a dozen elements for a one-decision task. Checked against comparable products: import dialogs keep a title, one input and two buttons, and keep settings few.

Linked Issue

Maintainer change, no issue.

Visual Proof

Before (light / dark):

before light
before dark

After, one bot found (light / dark, 420 px and 300 px):

after light
after dark
after narrow light
after narrow dark

Several found, switcher closed and open:

several light
several dark
several open dark

From export (420 px and 300 px):

export light
export dark
export narrow light
export narrow dark

Long name and long computer name at 300 px:

long light
long dark

Updating a bot an earlier import made (its own picture, read-only):

update light
update dark

Screenshots are component fixtures with seeded data (pnpm fixtures:shot bots/ImportBotDialog --theme both).

Testing

  • I manually tested these changes locally
  • Automated tests added/updated, or explained why not below
  • Every added test fails without this change and avoids the test anti-patterns

macOS, component fixtures in a headless browser: the Computer list and Agent menu open and Escape closes them without closing the dialog; the title switcher changes the source and the name; "From export" switches to the copy-files steps and "Back" returns; updating a bot imported before shows its picture read-only and ignores pasted or dropped images. No unit tests: layout only. Added ImportBotDialog.fixture.tsx for the states above.

Performance

None, because this only changes the layout of a dialog that renders when opened; it reads the same sources once per open as before and adds no polling or IPC.

Risk

Level: Low

Renderer-only layout change to the Import dialog; creation, update and copy-files flows call the same code. Riskiest part: BotRunsOnPicker now has one layout; New bot renders exactly as before (its only variant), and the run-target field's tooltip no longer reappears after Escape. Plain revert.

Review

Agent skill upstream boundary

  • Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.

Notes

Remote hosts: the computer picker works as before; the existing note for exports on a server now shows in the body. No platform-specific code.

Checklist

  • This PR is small and focused
  • I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
  • I stated the risk: what could break, for whom, and how to back it out
  • Before/after screenshots or videos attached for UI changes, or N/A with reason
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
  • pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)

@orca-remote-automation
orca-remote-automation Bot force-pushed the orca-remote-automation/feat-import-bot-dialog branch 2 times, most recently from 1f2e498 to f7d5ee4 Compare November 26, 2026 21:27
…mputer and Agent fields

Import from another app shows the source as its title (a switcher only when
several bots are found), the picture and name on one row, New bot's own
Computer and Agent fields under them, a quiet From export / Back link for the
copy-files path, and Cancel / Import. Updating a bot an earlier import made
shows its picture read-only and takes no pasted or dropped picture. The
run-target field no longer reopens its tooltip after Escape.
@orca-remote-automation
orca-remote-automation Bot force-pushed the orca-remote-automation/feat-import-bot-dialog branch from 9caeb53 to 0a92a4e Compare November 27, 2026 23:16
@orca-remote-automation
orca-remote-automation Bot merged commit 38ca661 into main Nov 27, 2026
56 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.

0 participants