From a646a8148858587df7ce10b8ebcbb0eec2ffc9e5 Mon Sep 17 00:00:00 2001 From: Jiayuan Zhang Date: Mon, 13 Apr 2026 14:37:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20address=20code=20review=20=E2=80=94=20fi?= =?UTF-8?q?x=20hub=20tests=20and=20avatar=20rounding?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. Hub tests: consume the member:online presence event from the first connection before asserting on broadcast messages. 2. ActorAvatar: use rounded-[inherit] on the inner wrapper so callers can override rounding (e.g. rounded-lg for agent list items). --- .../ui/components/common/actor-avatar.tsx | 2 +- server/internal/realtime/hub_test.go | 27 +++++++++++++++++-- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/packages/ui/components/common/actor-avatar.tsx b/packages/ui/components/common/actor-avatar.tsx index d5059763ce..de835f96e1 100644 --- a/packages/ui/components/common/actor-avatar.tsx +++ b/packages/ui/components/common/actor-avatar.tsx @@ -44,7 +44,7 @@ function ActorAvatar({ style={{ width: size, height: size, fontSize: size * 0.45 }} title={name} > -
+
{avatarUrl && !imgError ? (