feat(apollo-vertex): ai-chat message actions — copy, feedback, edit, regenerate [3/5]#630
Open
petervachon wants to merge 1 commit intofeat/ai-chat-2-code-blocksfrom
Open
feat(apollo-vertex): ai-chat message actions — copy, feedback, edit, regenerate [3/5]#630petervachon wants to merge 1 commit intofeat/ai-chat-2-code-blocksfrom
petervachon wants to merge 1 commit intofeat/ai-chat-2-code-blocksfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Apr 30, 2026
e315e1b to
cc1b25a
Compare
28f05e0 to
e6653c8
Compare
Dependency License Review
License distribution
Excluded packages
|
cc1b25a to
1cd03f4
Compare
e6653c8 to
7817feb
Compare
1cd03f4 to
c39dd48
Compare
7b409a5 to
2c7e90f
Compare
ccb80ab to
cf9efc2
Compare
2c7e90f to
d332c03
Compare
…/feedback/edit - types.ts: AiChatConfig interface + MessageFeedbackType shared across components - AiChatProvider: React context that distributes config (assistantName, action callbacks, isLoading, latestAssistantMessageId) to message components without prop drilling; uses display:contents wrapper to preserve h-full layout - AiChatMessageActions: copy / thumbs up+down / regenerate / edit toolbar; latest assistant message keeps actions always-visible, older messages reveal on hover/focus for clean reading - AiChatMessage: rewritten to use provider context; adds entrance animation (fade + 8px slide-up), styled user/assistant bubbles, inline edit mode (textarea swap, Save & re-run / Cancel, auto-scroll to centre) - AiChat: wraps children with AiChatProvider; adds onFeedback, onRegenerate, onEditMessage, showMessageActions, showCopyButton props; computes latestAssistantMessageId for the provider - AiChatAgentHubMode: removes assistantName from AiChatMessage (now in provider) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
d332c03 to
6a9cb61
Compare
cf9efc2 to
b3871a0
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.
What this does
Adds the per-message action layer — the controls that let users interact with individual messages rather than just reading them.
onFeedbackcallback so the host app can record quality signalsAiChatProvidercontext so all message components can read it without prop-drillingTest plan
onFeedbackwith the message ID and typeonRegenerate🤖 Generated with Claude Code