Repository navigation
fix(activity): open the browser alternative in the Slack web client - #462
Open
makeitfutureDev wants to merge 1 commit into
Open
makeitfutureDev wants to merge 1 commit into
makeitfutureDev wants to merge 1 commit into
Conversation
Ctrl/Cmd-click on Open in Slack redirected to the workspace permalink, which Slack serves as a "Redirecting... / Launching" page with an extra "open this link in your browser" step. Redirect browser=1 to the web client's thread route (app.slack.com/client/<team>/<channel>/thread/ <channel>-<root ts>) instead, built from shape-checked ids after the same participant, root-owner and permalink checks. The slack:// app target is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tiberiu Socaci <tsocaci@makeitfuture.com>
This branch has not been 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.
What
Ctrl/⌘-click on Open in Slack in the personal Activity dashboard (
GET /activity/<id>/open/<channel>/<ts>?browser=1) redirected to the workspace permalink (https://<ws>.slack.com/archives/…). Slack serves that as a "Redirecting… / Launching" page with one more "open this link in your browser" step (QA ACTIVITY-WEB-11, fire156 evidencedefect-ACTIVITY-WEB-11-Independent.md).browser=1now redirects to the Slack web client's own thread route:https://app.slack.com/client/<teamId>/<channelId>/thread/<channelId>-<threadTs>.slackWebThreadUrl()from shape-checked ids (teamT/E…, channelC/D/G…, Slack ts); anything else → 403, no redirect.slack://channelapp target is unchanged.Other browser links checked: the channel heading (
activity-page.js,data-web) and the automation board already useapp.slack.com/client/…. The Calls history "Threads visited" link (/calls/<id>/thread/<n>) still redirects to the workspace permalink; it is a primary link (not the Ctrl-click alternative), so it is left unchanged here and noted for a separate decision.Tests
node scripts/run-tests.mjs test/activity.test.js→ 88 pass, 0 fail (updated "Open thread targets Slack app…" browser assertions; new "slackWebThreadUrl builds only the web client thread route from shape-checked ids").npm run check:static→ passed.Docs: FEATURES.md (Activity Open in Slack paragraph), TEST-PLAN.md (Activity compact monitor + 2026-11-12 section note), CHANGELOG.md.
Live acceptance (unexecuted, engine-independent UI): ACTIVITY-WEB-11 — Ctrl-click the Slack icon on an owned native root in chrome-apps; pass = the new tab lands on
app.slack.com/client/T…/C…/thread/C…-<root ts>with the thread pane open, no "Redirecting… / Launching" page.Not merged or deployed (QA campaign overnight-20261125, fire157 WE-FIX157).
🤖 Generated with Claude Code