Repository navigation
feat(web): Corbit avatars in sidebar and transcript with live-turn and reply-ready indicators (CL-8475) - #894
Merged
Conversation
…d reply-ready indicators (CL-8475) Wire CorbitAvatar/IdentityAvatar into the sidebar chat rows, chat transcript, and room timeline/participant list, and restore the sidebar reply-ready indicator (unread agent reply, cleared on open) using existing chat-summary data. A turn-in-flight signal isn't derivable from the mailbox data available on the client, so only reply-ready is implemented.
TheGreatAxios
force-pushed
the
cl-8475-avatars-live-state
branch
from
September 18, 2026 07:12
3631041 to
2faecdd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.shell-ch-avatarslot:CorbitAvatarfor agents, a pastel initials chip (hashed off the principal id viaavatarColorForPrincipal/avatarClassForPrincipal) for people — via a new sharedIdentityAvatarhelper inapps/web/src/chat/avatar.tsx.ChatSummary.lastAuthor/lastMessageIdinapps/web/src/chat/threads-api.ts), and an unseen agent reply shows the existing.shell-ch-completioncheck badge plus a polite live-region announcement, clearing when the chat is opened (markChatSeen, tracked per-viewer inlocalStorage).apps/web/src/app.csswas already present on this branch (from the original PR's changes surviving); no CSS changes were needed.Not implemented
ChatAgent/mail turns carry no in-flight/pending state). Only the reply-ready half of the original indicator is implemented, as called out in the task.Verified
bunx tsc -p apps/web --noEmitbun run lintbun run fmtcd apps/web && bun run buildcd apps/web && bun test ./src(584 pass) — note:bun test apps/web/srcfrom the repo root fails on DOM globals because it skipsapps/web's bunfig; running fromapps/web(or viabun run test, which builds first) is required.Not verified
Worth upstreaming to corbitsdev/react-ui
IdentityAvatar(agent-vs-person avatar resolution) and the underlyingCorbitAvatar/avatarColorForPrincipalpastel-initials pattern inapps/web/src/chat/avatar.tsxlook like a reusable "identity avatar" primitive rather than workbench-specific composition.