hackbot-ui: link to the bug from the run detail view - #6440
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a direct Bugzilla link to the Hackbot UI run detail page when a run was triggered with a bug_id, making it easier to navigate from a run back to its originating bug.
Changes:
- Introduces a Bugzilla URL prefix constant and derives
bugIdfromrun.inputs. - Renders a “Bug {id}” external link in the run metadata section when
bugIdis present.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| <a | ||
| href={`${BUGZILLA_URL}${bugId}`} | ||
| target="_blank" | ||
| rel="noreferrer" |
| const BUGZILLA_URL = "https://bugzilla.mozilla.org/show_bug.cgi?id="; | ||
|
|
| target="_blank" | ||
| rel="noreferrer" | ||
| > | ||
| Bug {bugId} |
There was a problem hiding this comment.
It would be redundant
| Bug {bugId} | |
| {bugId} |
|
Can this please also show the link while it is in the pending state? I haven't tested this to see if it does this already or not, just wanted to ask as this has come up in feedback I've received also. Thanks for the PR! |
@msujaws This is for when it is pending. When the result is ready, we already have it shown in the finding in the friendly view. |
No description provided.