Repository navigation
feat(slack): Continue dashboard conversations from shared links - #2826
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
BYK
approved these changes
Nov 7, 2026
sentry-junior
Bot
force-pushed
the
feat/continue-in-slack-unfurl
branch
from
November 7, 2026 01:52
585bbd9 to
15e8d05
Compare
sentry-junior
Bot
force-pushed
the
feat/continue-in-slack-unfurl
branch
from
November 7, 2026 02:09
15e8d05 to
8331bb0
Compare
BYK
force-pushed
the
feat/continue-in-slack-unfurl
branch
from
November 7, 2026 02:16
8331bb0 to
d392bbb
Compare
Preview shared dashboard conversation links in Slack. A public dashboard conversation in a public channel gets a Continue here button that moves it into the thread of the shared message. The API route and the button share one move core. Co-Authored-By: BYK <[email protected]>
Claim the thread binding before setting the Location, so a second Conversation that races for the same thread returns refused, deletes its reply, and tells the clicker. It no longer throws.
sentry-junior
Bot
force-pushed
the
feat/continue-in-slack-unfurl
branch
from
November 7, 2026 02:18
d392bbb to
d5a81bd
Compare
…k-unfurl Co-Authored-By: BYK <[email protected]> # Conflicts: # packages/docs/src/content/docs/start-here/slack-app-setup.md
Contributor
|
10 screenshot changes — 10 changed · 0 added · 0 removed Review screenshots in Frameshift |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit f4954cf. Configure here.
Slack accepts unfurl_id with source in channels that Junior has not joined. Use it for link_shared previews. The update after a move keeps channel and ts, because the move joins the channel.
BYK
requested changes
Nov 9, 2026
BYK
left a comment
Member
There was a problem hiding this comment.
Looks like we can DRY this code up a bit?
Review item cards and Continue here now use one helper to resolve the person who clicked and ask them to sign in. A refusal for a moved Conversation names its Slack thread. Both webhook tests share one fixture for a linked Slack user.
Contributor
Author
|
Review follow-up in f771bc3:
|
BYK
approved these changes
Nov 9, 2026
23 tasks done
This branch was successfully deployed
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.

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, thelink_sharedevent, andunfurl_domains. The production app ingetsentry/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 nolink_sharedevents, so this change has no effect.via @BYK.
--
View Session in Sentry