Skip to content

feat(bots): outfit badge on the avatar in the New bot picture picker - #50500

Merged
orca-remote-automation[bot] merged 3 commits into
mainfrom
orca-remote-automation/blenny-2
Nov 27, 2026
Merged

orca-remote-automation[bot] merged 3 commits into
mainfrom
orca-remote-automation/blenny-2

Conversation

@orca-remote-automation

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

Copy link
Copy Markdown
Contributor

ELI5

The picture picker in the New bot dialog had a tiny dark hanger icon squeezed onto the end of the color row. It is now a round "Outfit" badge on the big picture itself, the same way the pencil badge sits on the bot's picture. The popover also has the same 12px of space on every side and only scrolls when the window is too short for it.

Files Added Deleted Net
Test 0 0 0 0
Prod 8 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​88 $\color{#cf222e}{\Huge{\mathbf{−}}}$​42 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​46

What Changed

  • The outfit toggle moves from the end of the color swatch row to a 24px badge on the bottom-right of the carousel's current mascot (accessible name "Outfit", aria-expanded, aria-controls pointing at the outfit grid). It shows only when the current face can wear an outfit (not on Generate or an uploaded image) and inverts while the grid is open.
  • BotPictureLook no longer owns a trigger: its collapsible is controlled by the picker, which renders the badge through a new badge slot on BotPictureCarousel. The badge sits outside the carousel's clipped strip so it can overhang the face by 4px.
  • The New bot popover shows no scrollbar when its content fits; it scrolls only when the window is too short for it (e.g. 420px tall with the outfits open), so the outfit grid and Upload stay reachable. Its padding is px-3 pt-2 pb-1.5, so with the carousel's 4px above the picture and the caption's 6px below its text, the visible content is 12px from every edge (measured in the fixture: 12/12/12/12).
  • Left/right arrow keys pressed on the badge don't move the carousel, so focus never lands on a badge that disappears. The badge's ring uses the popover's surface color.
  • The Import and bot settings pickers share the picker, so they get the same badge (shown below).
  • Footer copy is shorter: "Upload or paste" (bots.new.uploadOrPaste, replacing bots.new.uploadDropOrPaste in en/zh/tr). Dropping still works.

Why

This layout was chosen from three mockups. Without the hanger, the color row fits inside the carousel's arrow edges at narrow width, so left and right edges line up. Checked against how comparable products handle this.

Linked Issue

N/A (internal design request)

Visual Proof

Component fixtures at 2x. Dialog width 340 and 480, light and dark.

Before After
340 light
340 dark
480 light
480 dark
Outfits open, light
Outfits open, dark

Short window, outfits open:

420px tall, scrolled to the bottom 450px tall, fits

Other pickers with the badge:

Import Bot settings

Testing

  • I manually tested these changes locally (component fixtures bots/NewBotDialog:picker340|picker480|pictureDraft340, bots/BotPicturePicker:newOutfit|settingsIdle|generateIdle, the Import picker, both themes; measured padding, badge position and scroll from the DOM, including 420px and 450px tall windows)
  • Automated tests added/updated, or explained why not below: layout and styling only, covered by screenshots
  • Every added test fails without this change and avoids the test anti-patterns (none added)

pnpm check:changed passes. macOS only; the change is CSS and React with no platform branches.

Performance

None, because this only renders while the picture popover is open and adds one small button.

Risk

Level: Low

Visual only. The Import and bot settings pickers share the picker, so they show the same badge. Back out with a plain revert.

AI Disclosure

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

Ensure no issues in: Security, Cross-platform support (Linux, Windows, Mac), Remote SSH, Mobile, general backwards compatibility, performance

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)

…w bot picture popover

The outfit toggle leaves the end of the color row and becomes a 24px badge on
the big avatar's bottom-right corner. The popover no longer scrolls, pads 12px
around what it shows, and the caption reads "Upload or paste".
…he outfit badge focused

Restores the popover's scroll for windows too short for the open outfit grid,
keeps arrow keys on the badge from moving the carousel out from under it, and
rings the badge in the popover's own surface color.
@orca-remote-automation
orca-remote-automation Bot force-pushed the orca-remote-automation/blenny-2 branch from 23484d0 to 5a86d5c Compare November 27, 2026 07:19
@orca-remote-automation
orca-remote-automation Bot merged commit 1022c39 into main Nov 27, 2026
55 checks passed
AmethystLiang added a commit that referenced this pull request Nov 27, 2026
English retired it in #50500; the catalog check now fails on the extra entry.
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