Skip to content

feat(routes): Add redirect from /snapshots/ to explore releases#116053

Merged
NicoHinderling merged 2 commits into
masterfrom
feat/snapshots-redirect
May 22, 2026
Merged

feat(routes): Add redirect from /snapshots/ to explore releases#116053
NicoHinderling merged 2 commits into
masterfrom
feat/snapshots-redirect

Conversation

@NicoHinderling
Copy link
Copy Markdown
Contributor

Adds a client-side redirect so that visiting /snapshots/ (e.g. sentry.sentry.io/snapshots) takes users to /explore/releases/?tab=snapshots.

Uses the existing redirectTo + withOrgPath route pattern, so it works on both customer domain URLs and org-prefixed paths.

…=snapshots

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label May 21, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 21, 2026

📊 Type Coverage Diff

✅ No new type safety issues introduced. Coverage: 93.63%

@NicoHinderling NicoHinderling marked this pull request as ready for review May 21, 2026 22:28
Copy link
Copy Markdown
Contributor

@cursor cursor Bot left a comment

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 673f007. Configure here.

Comment thread static/app/router/routes.tsx
Comment thread static/app/router/routes.tsx
withOrgPath is ignored when redirectTo is set because
translateSentryRoute returns early. Define both the customer domain
path and the org-prefixed path explicitly.

Co-Authored-By: Claude <noreply@anthropic.com>
@NicoHinderling NicoHinderling merged commit 8e4cc8e into master May 22, 2026
71 checks passed
@NicoHinderling NicoHinderling deleted the feat/snapshots-redirect branch May 22, 2026 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants