You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Reopening a closed issue tab with Mod+Shift+T omits the issue from the /issues URL #42744
Reopening a closed issue tab on /issues with Mod+Shift+T (or Reopen Closed View) restores the tab in the right panel, but navigates to /issues with only readIssueListPreferences()—leaving the reopened issue's selection params (selectedEnvironmentId, selectedProjectId, selectedHost, tracker, scope, key) out of the URL.
Because the /issues right panel is not persisted (rightPanelStore.ts drops :issues-panel in partialize), the URL is the only thing that keeps the selected issue across reloads and shared links:
Reloading the page after reopening makes the issue disappear.
Copying or sharing the URL points to the bare /issues list instead of the reopened issue.
Steps to reproduce
Open /issues and click any issue row to open it in the right panel (URL includes selectedEnvironmentId, selectedProjectId, selectedHost, tracker, scope, key).
Close the issue tab (× or Mod+W). The URL clears the selection params.
Press Mod+Shift+T (from /issues or another route) to reopen the closed issue tab.
Observe the URL and reload the page.
Expected behavior
Mod+Shift+T writes the reopened issue's selection params into the /issues URL (matching /pull-requests reopen and openIssueLink.ts), so copying the URL points to the issue and reloading keeps it open.
Actual behavior
The issue tab reopens in the right panel, but the URL stays at /issues?who=...&status=... with no selection params, and reloading drops the reopened issue.
Cause
In apps/web/src/components/ReopenClosedViewShortcut.tsx, globalIssues navigates with linkOptions({ to: "/issues", search: readIssueListPreferences() }) without including the reopened selected issue surface's selection fields.
Activity