You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 43747ae
Browse filesBrowse the repository at this point in the historyBrowse files
authored
feat(mentions): quieter mention menu that marks agents and their owners (#2328)
People and agents looked the same in the mention menu, so it was easy to
tag someone's agent by mistake (AIDA-2362). This makes both mention
menus (inline `@` and the toolbar picker) quieter and makes agents easy
to tell apart.
## What changes
- Identity keys no longer show on mention rows.
- An agent icon appears after an agent's name. Screen readers hear
"Agent".
- Other people's agents show "Managed by <owner>".
- The outside-channel detail is shortened to "Not in channel".
- The "Narrow your search to see more members." footer is removed.
- People search now passes each agent's declared owner, so namesakes get
readable labels ("Wes's Honey") instead of key suffixes.
## Implementation notes
- `CompletionSuggestion` gains an optional `agent` flag. The host's
`completionResult` keeps it only when it's `true`.
- "Managed by" uses only the NIP-OA attested owner (`profiles.owner`),
read at render time because attestation settles after the profile lands.
It is skipped when the owner has only a fallback name.
- Rows carry their exact key (`data-mention-choice` on picker rows,
`data-completion-id` on completion options), so browser journeys still
select namesakes by exact identity.
## Not in this PR
Sorting changes, hiding agents you can't tag, linking the owner name,
and naming for unknown people.
## Testing
- `tsc --noEmit`, biome.
- vitest across mentions, conversation, identity-names, solo, messages
and direct-messages: 3,023 passed.
- Playwright, locally with `--workers=1`, on the 16 affected specs:
chromium 145 passed, webkit 130 passed.
- Pushed with `--no-verify`. The local pre-push hook timed out in
unrelated suites on a heavily loaded machine, so CI is the source of
truth.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Signed-off-by: morgmart <[email protected]>
Co-authored-by: Morgarita <6e967af659416160ab4f2fd56d74c8c6f273791ee7bfc9468a1be37c387947be@buzz.block.builderlab.xyz>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: Carl <c217fe6b9d958f41c3a5e030dccc7f626775a923089cb6491305eade75ea1f1b@buzz.block.builderlab.xyz>
0 commit comments