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
[Feature]: Show PRs and issues differently in chat link chips #25894
I searched existing issues and did not find a duplicate.
I am describing a concrete problem or use case, not just a vague idea.
Area
apps/web
Problem or use case
Chat turns GitHub PR and issue references into chips that all show the same GitHub logo. In the chat, a PR and an issue look the same, even though:
they're different kinds of thing, and
they open in different places. PR links open in T3 Code's right panel, but issue links open the system browser.
Nothing tells you which one you're clicking until you've clicked it.
Proposed solution
Use GitHub's own icons for the type: the pull-request icon for /pull/N, the issue icon for /issues/N. The URL path already says which it is, so no API call is needed.
Optional: colour the icon by state, the way GitHub does (open green, merged purple, closed red or grey). This could reuse the snapshot data linked PRs already have.
Activity