Skip to content

feat(inbox): Show related issues in the issue preview sidebar - #132076

Merged
Christinarlong merged 1 commit into
masterfrom
related-section-fe
Nov 20, 2026
Merged

Christinarlong merged 1 commit into
masterfrom
related-section-fe

Conversation

@Christinarlong

@Christinarlong Christinarlong commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Like so
image
image

AI Overview

What?

The inbox issue preview sidebar gets a Related field between First/Last Seen and External links. It lists the top 3 issues from /related/. Each row is an issue icon plus SHORT-ID – title, cut off with an ellipsis when long, and links to that issue's details page.

It asks for every relation type with limit: 3 and shows the first 3 rows. The limit applies per type, so more can come back, but the endpoint already lists issues matched by more types first, so the first 3 are the strongest matches.

Why?

While triaging in the inbox, you can see issues that likely share a cause without opening issue details. This builds on the unified /related/ endpoint (#130867) and its same_title (#131717) and same_supergroup (#131946) types.

Rollout and failure modes

  • Who gets it: everyone with the inbox, which is already behind universal-inbox. No separate flag.
  • When it runs: one /related/ request per opened preview, once the issue has loaded. The similar stack trace type calls Seer, so this request can be slower than the rest of the sidebar; it shows a placeholder and doesn't block anything else.
  • Failures: an error, including the 503 the endpoint returns when every type fails, shows "Unable to load related issues". An empty result shows "No related issues". The field has its own error boundary.

Notes

  • Patterns: reuses relatedIssuesApiOptions (as the similar issues tab and same-trace section do), the sidebar's SidebarField, and the preview's IssueTitleLink. The new logic is InboxIssueRelated and InboxIssueRelatedRow in inboxIssuePreview.tsx.
  • Types: adds same_title and same_supergroup to the frontend relation and meta types, since the backend already returns both. Other callers name the types they request, so they're unaffected.
  • Styling: rows are plain. External links still renders its rows in a bordered box, so the two sections look different until that one is restyled.
  • Not in this PR: related investigations. They need a backend change to /related/ first.

🤖 Generated with Claude Code

Add a Related field to the inbox issue preview sidebar. It lists the top
three issues from the /related/ endpoint and links each to its issue
details page.

Also add the same_title and same_supergroup relation types to the
frontend /related/ types, which the backend already returns.
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Nov 20, 2026
@Christinarlong
Christinarlong marked this pull request as ready for review November 20, 2026 23:25
@Christinarlong
Christinarlong requested review from a team as code owners November 20, 2026 23:25

This branch was successfully deployed

1 active deployment
Preview — 30ddda76 Deployed Nov 20, 2026 by vercel[bot]
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