Slim the PosePicker down, and show the worn style in the outfit list #42
Loading…
Reference in a new issue
No description provided.
Delete branch "armin-bot/impress:claude/slim-pose-picker"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Step 3 of the NC Pet Styles plan: the PosePicker stops being a second place to browse styles, and points to NC Pet Styles search instead. The worn style also gets a row in the outfit list.
Screenshots
Phone width
What changes for users
Under the hood
WardrobePagehas a stablebrowseStylescallback, passed to the PosePicker (throughWardrobePreviewAndControlsandOutfitControls) and toItemsPanel. If you're already in styles mode it keeps your text. It also bumps asearchFocusRequestcounter thatItemsAndSearchPanelsuses to focus the field.returnFocusOnClosewhen it closes for this, or focus would bounce back to its button.StyleSelectand its hover preview leave the PosePicker, andmatchesDefaultStylegoes with it.full_name, for the outfit row's title. The controller spec checks it.Testing
yarn lint, Prettier and the controller spec pass. In Chromium against a local server with public data:?style=URL shows the outfit row and the worn card.A fresh-eyes review pass found the outfit row looked clickable; that's fixed in the last commit.
🤖 Generated with Claude Code
https://claude.ai/code/session_014PWWczDoFB58ZYFZ68WxeS
Now that NC Pet Styles have a home in search, the PosePicker doesn't need its own Styles tab, which opened right over the pet you were previewing. - With no style worn, the popover shows the expressions, then an "NC Pet Styles" row with the species' style count. The row closes the popover and opens the NC Pet Styles search, with the cursor in the field. - With a style worn, the popover shows that style instead, with "Change style" (to the search) and "Remove", plus a note that styles come with their own expression. - The outfit list starts with an "NC Pet Style" group when one is worn: the token's thumbnail, the style's full name, NC and Pet Style badges, and Change, Remove and More info actions. For the full name ("Nostalgic Faerie Aisha"), the alt styles JSON now includes `full_name`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014PWWczDoFB58ZYFZ68WxeSarmin-bot referenced this pull request2026-11-17 15:48:33 -08:00
e8c360d07daf385b9974