Repository navigation
feat(site/src): show a family message with its sender - #274
Conversation
With fork-family-messages on, a user message that message_family_chat delivered shows a "Message from agent" header that links to the sender chat, followed by the body without the envelope tags and preamble.
…header The hook returns the parsed message and UserMessageContent renders the header, the sender link uses the header's size at full opacity, an empty title reads Untitled in the parser, and a story covers the experiment off.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1ac8de080f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Restore the agent-message tags the server escapes in a sender title, skip async answer parsing for a family message body, and keep only the navigation outcome in the render test, since the stories cover the rendered states.
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 86284ddd31
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 86284ddd31
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 86284ddd31
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
@codex review |
|
Codex Review: Didn't find any major issues. What shall we delve into next? Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
@codex review |
|
Codex Review: Didn't find any major issues. Keep them coming! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Merged as
|
Part of #247 (PR 4 of 4).
A message that
message_family_chatdelivers arrives in the recipient chat as a user-role message wrapped in an<agent-message>envelope. Withfork-family-messageson, that bubble now reads "Message from agent", then a link to the sender chat labelled with its title, then only the message body. The envelope tags and the preamble for the model are hidden. With the experiment off, the raw text renders exactly as upstream.forkFamilyMessage.tsparses the envelope. The sender title is Gostrconv.Quoteoutput, so a title that JSON cannot parse falls back to the quoted text without its quotes.UserMessageContent.tsxgets one hook (useForkFamilyMessage) next to the existing async-answer split. The header lives inForkFamilyMessageHeader.tsx.ForkChatLinktakes an optionalclassName.Not covered here: the copy button, editing, queued-message previews and prompt history still use the raw envelope text.