Skip to content

hackbot-ui: link to the bug from the run detail view - #6440

Open
sylvestre wants to merge 1 commit into
mozilla:masterfrom
sylvestre:hackbot-ui-bug-link
Open

hackbot-ui: link to the bug from the run detail view#6440
sylvestre wants to merge 1 commit into
mozilla:masterfrom
sylvestre:hackbot-ui-bug-link

Conversation

@sylvestre

Copy link
Copy Markdown
Contributor

No description provided.

@sylvestre
sylvestre requested a review from a team as a code owner July 30, 2026 19:55
Copilot AI review requested due to automatic review settings July 30, 2026 19:55

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 bugId from run.inputs.
  • Renders a “Bug {id}” external link in the run metadata section when bugId is present.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

<a
href={`${BUGZILLA_URL}${bugId}`}
target="_blank"
rel="noreferrer"
Comment on lines +22 to +23
const BUGZILLA_URL = "https://bugzilla.mozilla.org/show_bug.cgi?id=";

target="_blank"
rel="noreferrer"
>
Bug {bugId}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be redundant

Suggested change
Bug {bugId}
{bugId}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants