feat: render agent avatars as squircles (#7106)

## Summary

- render every agent/AI identity as a 30% squircle across desktop and
mobile while keeping human avatars circular
- propagate agent identity through message, thread, profile, reaction,
member, DM, search, workflow, project, huddle, forum, pulse, and
agent-management surfaces
- preserve squircle geometry for fallbacks, focus/status treatments,
add-agent controls, and overlapping avatar outlines (`calc(30% + 2px)`
for the outer background)

### Related issue

None found. This change was requested and visually reviewed in the
originating Buzz thread.

### Testing

- `just desktop-test` — 5,799 passed
- `just mobile-test` — 2,008 passed
- pre-push gates passed at `0d59d77b120dcb90aac2f918e422c11c9fa5353b`:
desktop check, TypeScript typecheck, desktop full test suite, mobile
format/analyze and full test suite, Rust tests, Tauri checks, and
differential file-size gate
- deterministic desktop visual sweep covered channel messages/thread
summaries; thread, subthread, and sub-subthread depths; reactions and
reactor popovers; hover/full profiles; added-to-channel activity;
channel members/settings; agent library/team overlaps; agent creation;
mention autocomplete; and DM header/sidebar/settings

### UI evidence

The complete labeled visual matrix is available in the originating Buzz
review thread. GitHub-hosted copies will be added in a follow-up PR
comment using the repository screenshot script.

---------

Signed-off-by: Fizz <dae5f6af70b8695a8b83c8deae555f63be41630ec2b8cd493e41a439c9527dd8@buzz.block.builderlab.xyz>
Co-authored-by: Fizz <dae5f6af70b8695a8b83c8deae555f63be41630ec2b8cd493e41a439c9527dd8@buzz.block.builderlab.xyz>
This commit is contained in:
Arjun Mahanti
2026-08-31 13:31:33 -04:00
committed by GitHub
parent 17ecf0b8c9
commit bc006f6708
109 changed files with 873 additions and 170 deletions

View File

@@ -181,6 +181,7 @@ export function AddAgentDialog({
avatarUrl={agent.avatar_url}
className="h-9 w-9 shrink-0 text-xs"
label={agent.name}
shape="squircle"
/>
<span className="min-w-0 flex-1 truncate text-sm font-medium">
{agent.name}

View File

@@ -373,7 +373,7 @@ export function HuddleParticipantsControl({
trigger={
<button
aria-label={`Voice settings for ${participant.displayName}`}
className="inline-flex shrink-0 cursor-pointer rounded-full outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-black"
className="inline-flex shrink-0 cursor-pointer rounded-[30%] outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-black"
data-testid="huddle-agent-voice-menu-trigger"
type="button"
>
@@ -443,7 +443,8 @@ function ParticipantAvatar({
return (
<span
className={cn(
"buzz-huddle-speaking-avatar relative z-0 inline-flex shrink-0 rounded-full",
"buzz-huddle-speaking-avatar relative z-0 inline-flex shrink-0",
participant.isAgent ? "rounded-[30%]" : "rounded-full",
sizeClass,
)}
data-testid="huddle-participant-avatar"
@@ -452,7 +453,8 @@ function ParticipantAvatar({
<ProfileAvatar
avatarUrl={participant.avatarUrl}
label={participant.displayName}
className="h-full w-full rounded-full border-2 border-black text-2xs"
className="h-full w-full border-2 border-black text-2xs"
shape={participant.isAgent ? "squircle" : "circle"}
/>
</span>
);