Repository navigation
feat: add Copy, Edit and resend and Expand actions to user messages - #2097
Merged
Merged
Conversation
Douglasymlai
force-pushed
the
feat/user-message-actions
branch
from
October 22, 2026 22:52
f89bab5 to
cb35a5f
Compare
Douglasymlai
changed the base branch from
main
to
feat/approvals-above-composer
October 22, 2026 22:52
Douglasymlai
marked this pull request as ready for review
October 22, 2026 23:41
Douglasymlai
force-pushed
the
feat/approvals-above-composer
branch
from
October 22, 2026 23:59
0d56b5c to
b5bfe10
Compare
Douglasymlai
force-pushed
the
feat/user-message-actions
branch
from
October 22, 2026 23:59
cb35a5f to
6e37c49
Compare
Douglasymlai
force-pushed
the
feat/approvals-above-composer
branch
from
October 23, 2026 00:19
0511644 to
4b40279
Compare
Douglasymlai
force-pushed
the
feat/user-message-actions
branch
from
October 23, 2026 00:19
b3e4271 to
fc77b20
Compare
Douglasymlai
changed the base branch from
feat/approvals-above-composer
to
main
October 23, 2026 00:21
Douglasymlai
force-pushed
the
feat/user-message-actions
branch
from
October 23, 2026 00:22
fc77b20 to
14a7fbd
Compare
Douglasymlai
force-pushed
the
feat/user-message-actions
branch
from
October 23, 2026 00:45
14a7fbd to
f9821f8
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.
Split out of #1958 so it can be reviewed on its own. #1958 stays open as a Draft reference.
Stacked on #2095 (which stacks on #2096 and #2098); merge after those.
Problem
Once a message is sent, there is little you can do with it. The Copy button sits on top of the message text and only shows on mouse hover. There is no way to see when a message was sent. To change a request and try again, you have to retype or copy-paste it into the composer. Long messages fold after four lines, but the Expand and Collapse text buttons share the same overlay as Copy.
Cause
The user message bubble had a single hover overlay inside the bubble. It held Copy and the Expand/Collapse text buttons, had no keyboard or touch path, and the sent time was not shown. Nothing connected a sent message back to the composer.
Fix
ProjectSection.tsxonly gains the new prop (+3 lines) on top of #2095.Testing
npx vitest run test/unit/components/ChatBox test/unit/components/ChatBox.test.tsx test/unit/components/ChatBox.spaceModelSelection.test.tsx: 649 tests passed; after restacking on feat: show approvals and questions above the message box #2095, the same suites plus the model-divider and approval suites: 690 passed. New tests cover:UserMessageCard.test.tsx)MarkDown.test.tsx)ChatBox.test.tsx)ChatBox.test.tsx)TimelineModes.test.tsx)npm run type-check: passednpm run check:i18n: passednpm run check:design-tokens: passedgit diff --check: clean