diff --git a/frontend/src/apiDefinitions.ts b/frontend/src/apiDefinitions.ts index 612e6c9a..2be2e1c8 100644 --- a/frontend/src/apiDefinitions.ts +++ b/frontend/src/apiDefinitions.ts @@ -507,6 +507,16 @@ export interface LogDetectiveResultGroup { target_build: string | null; run_ids: number[]; submitted_time: number | null; + branch_name: string | null; + pr_id: number | null; + issue_id: number | null; + release: string | null; + project_url: string; + repo_name: string; + repo_namespace: string; + anitya_version: string | null; + anitya_project_name: string | null; + anitya_package: string | null; } // /api/log-detective/groups/$id diff --git a/frontend/src/components/logdetective/LogDetectiveResultsTable.tsx b/frontend/src/components/logdetective/LogDetectiveResultsTable.tsx index 962b7c3e..cbc73905 100644 --- a/frontend/src/components/logdetective/LogDetectiveResultsTable.tsx +++ b/frontend/src/components/logdetective/LogDetectiveResultsTable.tsx @@ -17,10 +17,12 @@ import { SkeletonTable } from "@patternfly/react-component-groups"; import { useQuery } from "@tanstack/react-query"; import { logDetectiveResultsQueryOptions } from "../../queries/logdetective/logDetectiveResultsQuery"; import { ErrorConnection } from "../errors/ErrorConnection"; +import { ForgeIcon } from "../icons/ForgeIcon"; import { PackitPagination } from "../shared/PackitPagination"; import { PackitPaginationContext } from "../shared/PackitPaginationContext"; import { Timestamp } from "../shared/Timestamp"; import { StatusLabel } from "../statusLabels/StatusLabel"; +import { TriggerLink, TriggerSuffix } from "../trigger/TriggerLink"; export const LogDetectiveResultsTable = () => { const [page, setPage] = useState(1); @@ -29,6 +31,8 @@ export const LogDetectiveResultsTable = () => { // Headings const columnNames = { + forge: "Forge", + trigger: "Trigger", packit_id: "Packit ID", analysisId: "Analysis ID", target: "Target", @@ -41,19 +45,25 @@ export const LogDetectiveResultsTable = () => { ); const TableHeads = [ +