Repository navigation
feat(inbox): show the contact's pages in the conversation header - #1802
Merged
Merged
Conversation
- Add a page strip under the conversation header: each page (inbox) the contact talks to as avatar + channel + page name, the page of the latest message first and highlighted, extra pages folded into "+N", and the exact local time of the last message on the right. Both follow realtime messages through the conversation's latest message. - Page pictures come from the same publish-destination rows and URLs as Posts (new publishDestinationService.listInboxAvatars), exposed as the public inboxes.listAvatars (GET /v1/inboxes/avatars) and a session RPC. - Compact the header: BizAI and the other actions move onto the name row at a smaller height; "Assigned to me" (left) and "joined the conversation" (right, now with the members' avatars) share one row. - Move LastActivityAgo into its own component so it can be shared.
viethung0o0
force-pushed
the
feat/inbox-header-page-strip
branch
from
November 27, 2026 07:46
57c2671 to
b90f642
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
Agents had to hover a conversation in the list to see which page (inbox) a contact belongs to. The conversation header now shows it directly, and the header itself is more compact.
Header (
message-head.tsx)h-7,text-xs).Page strip (
conversation-page-strip.tsx), under the header:LastActivityAgo, moved out ofconversation-item.tsx).Page pictures
publishDestinationService.listInboxAvatars: same publish-destination rows and URLs as Posts (stored copy, else the signed/media/destination-avatarroute). Missing bindings are created idempotently, likelistdoes, so a page has its picture before Posts was ever opened. Capped at 50 inboxes per call.inboxes.listAvatars→GET /v1/inboxes/avatars?inboxIds=…(scopeinbox), CLIchatbotx inboxes avatars. The builder uses an RPC-only session procedure that calls the same service method.Test plan
packages/businessunit testinbox-avatars.test.ts(dedupe, cap, stored vs on-view URL, disconnected inbox) + existingdestination-list-avatar.test.tspublic-spec-operationssnapshot updated (onlyinboxes.listAvatarsadded);public-spec-mcp,edge-instrumentation-graphpasspnpm --filter builder lint(i18n parity, keys added to all 21 locales),check:invariants, ultraciteGET /v1/inboxes/avatars?inboxIds=<id>with a workspace token returns the page picture URL