Skip to content

Desktop: Personas and the chat header's picker mark who the chat is on the same way (#348) - #350

Merged
Khoality-dev merged 2 commits into
mainfrom
feat/348-in-the-chat
Sep 28, 2026
Merged

Khoality-dev merged 2 commits into
mainfrom
feat/348-in-the-chat

Conversation

@Khoality-dev

Copy link
Copy Markdown
Owner

Closes #348

Section 2 of the Claude Design mockup "Kurisu - Voice Mode v1": who the chat is on is marked the same way wherever it is chosen.

What changes

  • One mark (InTheChatChip, selectionColors): the "In the chat" chip, a blue outline (drawn inset, so choosing never shifts the grid) and a tinted row.
  • Settings → Personas
    • The chosen persona's card wears the chip and outline and offers Use the assistant (with the assistant's icon). Every other card offers an outlined Talk to.
    • A new Assistant row above the cards ("No persona. The assistant answers as itself.") wears the mark when no persona is chosen. Otherwise it is a dashed row that puts the chat on the assistant.
    • Cards are named groups with aria-current on the chosen one.
    • The grid's columns follow the pane (auto-fill, 240 px minimum), not the window width, so the card actions do not wrap.
  • Header picker: the current row is tinted, its avatar ringed, and it wears the chip. The subtitle says "Saved to your account, so every device opens on it. Press Esc to cancel." (the selection is the account's since Desktop: signing in again opens an empty chat under "Assistant" instead of my conversation with the default persona #334). A Manage personas row at the foot opens Settings → Personas.
  • Icons: a persona without a picture shows the person icon in the header and the picker (the voice bar already did, Desktop: the voice bar says what voice mode is doing, and what is wrong when it can't #345); the assistant keeps its robot.

Tests

Written first (656d0f5), red against the old code:

  • Playwright inTheChat.spec.ts (3): the card and the Assistant row carry the mark and move it; the picker marks the same row, says it is saved to the account, and leads to Personas; the person icon versus the assistant's.
  • personaOptional.spec.ts: after "Use the assistant" the chip is no longer gone. It moves to the Assistant row, so the assertion says that.

Locally: the ui suite 156; inTheChat, personaOptional, personaExport 14/14 in Electron. Screenshots in light and dark checked against 2a. docs/assets/04-settings-personas.png is regenerated with the documented capture.

Not done

  • The regenerated capture's Tools & MCP screen hits an error boundary: the capture's stub bridge lacks getPlaywrightAutostart. That screenshot is left as it was, so it isn't touched here.

🤖 Generated with Claude Code

https://claude.ai/code/session_014L9pxjp1MTSJe5DZG9A9sv

akn-sfu and others added 2 commits September 28, 2026 01:32
…348)

Red first: Settings → Personas marks the chosen card (aria-current,
"In the chat", "Use the assistant") and has an Assistant row that takes
the mark when no persona is chosen; the header picker marks the same row,
says the choice is saved to the account and leads to Personas; a persona
without a picture has the person icon. The persona-optional spec now
expects the chip to move to the Assistant row.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014L9pxjp1MTSJe5DZG9A9sv
… the same way (#348)

Section 2 of the Claude Design mockup "Kurisu - Voice Mode v1":

- One "In the chat" chip (InTheChatChip) and blue outline on the chosen
  persona's card, its row in the header picker, and a new Assistant row
  above the cards, which otherwise is a dashed row that puts the chat on
  the assistant.
- The chosen card offers "Use the assistant", the others "Talk to".
- The picker says the choice is saved to the account and ends with
  "Manage personas".
- A persona without a picture shows the person icon; the assistant keeps
  its robot.
- The personas grid sizes its columns to the pane.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014L9pxjp1MTSJe5DZG9A9sv
@Khoality-dev
Khoality-dev marked this pull request as ready for review September 28, 2026 08:49
@Khoality-dev
Khoality-dev merged commit e715c45 into main Sep 28, 2026
3 checks passed
@Khoality-dev
Khoality-dev deleted the feat/348-in-the-chat branch September 28, 2026 08:49
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.

Desktop: Personas and the chat header's picker mark who the chat is on the same way

2 participants