Skip to content

feat(conversations): Continue dashboard conversations in Slack - #2822

Merged
BYK merged 2 commits into
mainfrom
feat/continue-in-slack
Nov 7, 2026
Merged

BYK merged 2 commits into
mainfrom
feat/continue-in-slack

Conversation

@sentry-junior

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

Copy link
Copy Markdown
Contributor

Lets a participant move a public dashboard conversation to a thread in a public Slack channel. This is part 1 of 2. Part 2 adds a "Continue here" button when someone pastes a dashboard link in Slack, and it uses the same attach code.

Junior posts a thread root in the chosen channel (title link, Brief summary, and who moved it). It joins the channel first if it has to. Then the thread becomes the conversation's Location, and replies in the thread reach the same conversation. The move is one-way and happens once. Messages sent from the dashboard still get no Slack Delivery (#1563).

The channel picker lists the public Slack channels that /api/locations already knows. The API refuses the move while a Turn runs or waits to resume. The Redis mailbox record and its pending messages get the Slack Destination under the same mutation lock as the SQL move. Without that, the next execution write would put the dashboard Destination back.

The thread root is a raw Slack post. I added it to the no-raw-slack-turn-post ignores because it starts the thread and is not Turn output.

Menu Pick a channel
menu dialog
Moved Header after the move
moved after

The screenshots come from the mock dashboard. In it, "Dashboard QA edge cases" stands in for a public dashboard conversation.

via @BYK.

--

View Session in Sentry

@vercel

vercel Bot commented Nov 6, 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 7, 2026 2:10am UTC

Request Review

@github-actions github-actions Bot added the risk: high PR risk score: high label Nov 6, 2026
@blacksmith-sh

This comment has been minimized.

@github-actions

github-actions Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

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

Review screenshots in Frameshift

Conversation Attachment · Desktop
Conversation Attachment · Desktop
Changed
Conversation Attachment · Mobile
Conversation Attachment · Mobile
Changed
Conversation Attachment Modal · Desktop
Conversation Attachment Modal · Desktop
Changed
Conversation Attachment Zoom · Desktop
Conversation Attachment Zoom · Desktop
Changed
Conversation Captured Memories Popover · Desktop
Conversation Captured Memories Popover · Desktop
Changed
Conversation Captured Memories Popover · Mobile
Conversation Captured Memories Popover · Mobile
Changed
Show 6 more changed screenshots
Conversation Catch Up · Mobile
Conversation Catch Up · Mobile
Changed
Conversation Details Watched Linked Work · Desktop
Conversation Details Watched Linked Work · Desktop
Changed
Conversation Details Watched Linked Work · Mobile
Conversation Details Watched Linked Work · Mobile
Changed
Conversation Long Transcript Touch · Mobile
Conversation Long Transcript Touch · Mobile
Changed
Conversations Sections Collapsed · Desktop
Conversations Sections Collapsed · Desktop
Changed
Settings Mcp · Desktop
Settings Mcp · Desktop
Changed

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 0c9c7a5. Configure here.

…ck move

A dashboard send that read the dashboard Destination before a move now
follows the move instead of failing. The dialog also refreshes the
conversation feed and Location pages after a move.
@BYK
BYK merged commit 20516fa into main Nov 7, 2026
44 checks passed
@BYK
BYK deleted the feat/continue-in-slack branch November 7, 2026 02:16
BYK added a commit that referenced this pull request Nov 9, 2026
Stacked on #2822.

When someone posts a dashboard conversation link in Slack, Junior now
shows a preview with the conversation title and Brief summary. A public
dashboard conversation that has not moved yet, shared in a public
channel, also gets a **Continue here** button. If a participant clicks
it, the conversation moves into the thread of the message with the link.
Later mentions in that thread go to the same conversation. Then the
preview drops the button and links to the thread.

Private conversations get no preview. Composer previews and Slack
Connect channels also get no preview. A click from someone who is not a
participant gets an ephemeral refusal. The same happens when the thread
already has a Junior conversation.

The move core is now in `chat/slack/continue-in-slack.ts`, and the API
route and the button both use it. It keeps the state-lock move, the busy
and once checks, and the delete-on-race cleanup. With a thread ts, it
replies in that thread and does not start a new one.

**Slack app config:** the reference manifest in this repo now lists
`links:read`, `links:write`, the `link_shared` event, and
`unfurl_domains`. The production app in `getsentry/junior-prod` (or
wherever the live app settings are kept) needs the same scopes and
event. It also needs the dashboard host as an unfurl domain, and then a
reinstall. Until then, Slack sends no `link_shared` events, so this
change has no effect.

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

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

--

[View Session in
Sentry](https://sentry.sentry.io/explore/conversations/agent%3Ab7ae9b75c325aab56c3ed0418505caf6/?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 — f8878810 Deployed Nov 7, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: high PR risk score: high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant