Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions dashboard/src/components/IssueDetails/IssueDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ export const IssueDetails = ({
return [];
}
const reportUrl = valueOrEmpty(data.report_url);
const loreUrl = `https://lore.kernel.org/all/?q=${encodeURIComponent(data.id)}`;
Comment thread
tales-aparecida marked this conversation as resolved.
const reportSubject = valueOrEmpty(data.report_subject);

return [
Expand All @@ -194,6 +195,15 @@ export const IssueDetails = ({
title: 'global.origin',
linkText: valueOrEmpty(data.origin),
},
{
title: 'issueDetails.loreUrl',
linkText: shouldTruncate(loreUrl) ? (
<TruncatedValueTooltip value={loreUrl} isUrl={true} />
) : (
loreUrl
),
link: loreUrl,
},
{
title: 'issueDetails.reportUrl',
linkText: shouldTruncate(reportUrl) ? (
Expand Down
1 change: 1 addition & 0 deletions dashboard/src/locales/messages/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ export const messages = {
'The culprit for all issues listed is code',
'issueDetails.lastIncident': 'Last Incident Data',
'issueDetails.logspecData': 'Logspec Data',
'issueDetails.loreUrl': 'Lore URL',
'issueDetails.nextCheckout': 'Next Checkout',
'issueDetails.noBuildResults': 'No builds associated with this issue',
'issueDetails.noTestResults': 'No tests associated with this issue',
Expand Down
Loading