Skip to content

fix(dashboard): Show copy and link actions under person messages - #3899

Merged
sergical merged 2 commits into
mainfrom
fix/dashboard-person-message-actions
Nov 24, 2026
Merged

sergical merged 2 commits into
mainfrom
fix/dashboard-person-message-actions

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Person messages in the transcript had no action row, so you could not copy one or copy a link to it. The row was scoped to Junior replies in #2763 and #3616, and neither gives a reason to leave person messages out.

Person messages now get Copy message and Copy link to message under them. Ratings and fork stay on Junior replies only. The row keeps its hover and visual treatment, and the classic UI and the new UI share TranscriptMessageView, so both get the change. On touch screens the row is always visible, so each person message is about 24px taller there, the same as a reply.

The gate on the row does not change for replies. A reply with no text never reaches TranscriptMessageView. Every delivery path drops a reply whose text is empty, and groupTranscriptMessages makes a message entry only from text parts.

Known gap: files that Junior sends with sendFiles are stored as a separate attachments_delivered event. TranscriptAttachmentsDeliveredView renders it with no action row, and this PR leaves it that way:

  • Fork needs a finished reply with saved agent history.
  • Ratings attach to a reply's messageId.
  • The ?message= link target needs a messageId.

That event has none of these. A reply that has only images still shows no actions.

Screenshots (mock data. The person message is hovered on desktop, and on mobile the row is always shown.)

Person message Junior reply
Classic, desktop
Classic, mobile
New UI, desktop
New UI, mobile

via @sergical.

--

View Session [Sentry]

@vercel

vercel Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
junior-docs Ready Ready Preview Nov 20, 2026 9:52pm UTC

Request Review

@blacksmith-sh

blacksmith-sh Bot commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Found 1 test failure on Blacksmith runners:

Failure

Test View Logs
tests/telemetry-components.test.tsx/dashboard canonical-event components >
shows responding state independently from live transcript following
View Logs

Fix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@github-actions

Copy link
Copy Markdown
Contributor

409 screenshot changes — 0 changed · 409 added · 0 removed

Review screenshots in Frameshift

@sentry-junior
sentry-junior Bot marked this pull request as ready for review November 20, 2026 22:05
@sentry-junior
sentry-junior Bot requested a review from sergical November 20, 2026 22:05
@github-actions github-actions Bot added the risk: medium PR risk score: medium label Nov 20, 2026
@github-actions

Copy link
Copy Markdown
Contributor

This PR has had no activity for 3 days. It closes in 2 days unless someone pushes, comments, or adds the WIP label.

@github-actions github-actions Bot added the Stale label Nov 24, 2026
@sergical
sergical merged commit fae0575 into main Nov 24, 2026
52 checks passed
@sergical
sergical deleted the fix/dashboard-person-message-actions branch November 24, 2026 16:18
BYK added a commit that referenced this pull request Nov 24, 2026
#3899 added four clipboard reads to each conversation
spec as script run in the page, which put both specs over their
test-architecture baseline for page scripts.

The reads now go through `readClipboard` in `e2e/clipboard.ts`. The
helper and its first two call sites match the commit on
#4211, so the two merge cleanly. With all four reads
moved, the two baselines go down to the new counts: 15 to 13 and 14 to
12.

<!-- junior-request-attribution:start -->
via @BYK.
<!-- junior-request-attribution:end -->

<!-- junior-session-footer:start -->
<!-- junior-conversation-id:agent%3Ae3086031533cddd76d50b7e5e3fceddf -->

--

[View
Session](https://junior-prod.sentry.dev/conversations/agent%3Ae3086031533cddd76d50b7e5e3fceddf)
[[Sentry]](https://sentry.sentry.io/explore/conversations/agent%3Ae3086031533cddd76d50b7e5e3fceddf/?project=4510944073809921)

<!-- junior-session-footer:end -->

Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: BYK <[email protected]>
BYK added a commit that referenced this pull request Nov 24, 2026
…4211)

The classic Conversation Details lists every To-do on the Conversation,
including the agent's own. A Participant can Start, Mark done, Stop,
Drop or Reopen each one. The new shell never rendered that list, so in
the new UI the only To-do action was closing one assigned to you from
the Inbox. This gap must close before the classic UI is removed in
#4205.

The new `shell/conversations/ConversationDetails.tsx` now renders the
shared `conversations/ConversationTodos` card, between the Inbox items
and the Threads, as classic does. The component is unchanged, so it
keeps the same actions, the same rule (only Participants get the status
menu, never on a redacted To-do) and the same `DetailsCard` look as the
other Details cards.

#4205 must keep `conversations/ConversationTodos.tsx`,
because the new shell now imports it.

The new Details card of open Inbox items is now titled Inbox instead of
To do, so it does not read as a second To-do list. It lists every open
Inbox item linked to the Conversation, not only the viewer's.

A separate commit moves the clipboard reads that #3899
added to the two conversation specs into an `e2e/clipboard.ts` helper.
Those reads put both specs over their `test-architecture` baseline on
main.

## Screenshots

| | Dark | Light |
| --- | --- | --- |
| Desktop | ![desktop
dark](https://junior-prod.sentry.dev/public/artifacts/7d8b1192-9e4c-47ff-a597-a814fb807f65.png)
| ![desktop
light](https://junior-prod.sentry.dev/public/artifacts/9f9ea1f5-9195-4386-82a5-edf6d2cce059.png)
|
| Mobile | ![mobile
dark](https://junior-prod.sentry.dev/public/artifacts/25cd1804-718a-407d-8652-372b1f424596.png)
| ![mobile
light](https://junior-prod.sentry.dev/public/artifacts/96406c9f-4cbe-462a-af30-e0588ec68bf6.png)
|

<!-- junior-request-attribution:start -->
via @BYK.
<!-- junior-request-attribution:end -->

<!-- junior-session-footer:start -->
<!-- junior-conversation-id:agent%3A3abd33694405b87d8441b723fdaddb3d -->

--

[View
Session](https://junior-prod.sentry.dev/conversations/agent%3A3abd33694405b87d8441b723fdaddb3d)
[[Sentry]](https://sentry.sentry.io/explore/conversations/agent%3A3abd33694405b87d8441b723fdaddb3d/?project=4510944073809921)

<!-- junior-session-footer:end -->

---------

Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: BYK <[email protected]>

This branch was successfully deployed

1 active deployment
Preview – junior-docs — ea2d4c61 Deployed Nov 20, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: medium PR risk score: medium Stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant