Skip to content

feat(slack): Continue dashboard conversations from shared links - #2826

Merged
BYK merged 5 commits into
mainfrom
feat/continue-in-slack-unfurl
Nov 9, 2026
Merged

BYK merged 5 commits into
mainfrom
feat/continue-in-slack-unfurl

Conversation

@sentry-junior

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

Copy link
Copy Markdown
Contributor

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.

via @BYK.

--

View Session in Sentry

@sentry-junior
sentry-junior Bot added this pull request to stack #2827 November 6, 2026 14:50
@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 8, 2026 8:43pm UTC

Request Review

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

@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.

Stale Bugbot comment from a previous run.

@sentry-junior
sentry-junior Bot force-pushed the feat/continue-in-slack-unfurl branch from 585bbd9 to 15e8d05 Compare November 7, 2026 01:52
@sentry-junior
sentry-junior Bot force-pushed the feat/continue-in-slack-unfurl branch from 15e8d05 to 8331bb0 Compare November 7, 2026 02:09
Base automatically changed from feat/continue-in-slack to main November 7, 2026 02:16
@BYK
BYK force-pushed the feat/continue-in-slack-unfurl branch from 8331bb0 to d392bbb Compare November 7, 2026 02:16
sentry-junior Bot and others added 2 commits November 7, 2026 02:17
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.
…k-unfurl

Co-Authored-By: BYK <[email protected]>

# Conflicts:
#	packages/docs/src/content/docs/start-here/slack-app-setup.md
@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

10 screenshot changes — 10 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 Details Watched Linked Work · Desktop
Conversation Details Watched Linked Work · Desktop
Changed
Show 4 more changed screenshots
Conversation Details Watched Linked Work · Mobile
Conversation Details Watched Linked Work · Mobile
Changed
Conversation Event Log Virtual · Desktop
Conversation Event Log Virtual · Desktop
Changed
Conversation Long Transcript Touch · Mobile
Conversation Long Transcript Touch · Mobile
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 1 potential issue.

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 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 BYK left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

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.
@sentry-junior

sentry-junior Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor Author

Review follow-up in f771bc3:

  • Shared "signed in, or prompt" check: there was none, so I added resolveSlackActingUser in chat/ingress/slack-acting-user.ts. Review item cards and Continue here both use it now.
  • Name the location: when a conversation has already moved, the refusal now names its thread: "This conversation already continues in #channel: ". When another conversation took the thread, the refusal says so instead.

@BYK
BYK merged commit 8fc6a07 into main Nov 9, 2026
43 checks passed
@BYK
BYK deleted the feat/continue-in-slack-unfurl branch November 9, 2026 09:34

This branch was successfully deployed

1 active deployment
Preview – junior-docs — f771bc30 Deployed Nov 9, 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