diff --git a/components/frontend/src/subject/SubjectTableHeader.js b/components/frontend/src/subject/SubjectTableHeader.js index e05c7929e3..2682e93d6d 100644 --- a/components/frontend/src/subject/SubjectTableHeader.js +++ b/components/frontend/src/subject/SubjectTableHeader.js @@ -1,6 +1,19 @@ import { Table } from "semantic-ui-react"; import { SortableTableHeaderCell } from '../widgets/SortableTableHeaderCell'; +const measurementHelp = <> +

+ The latest measurement value. +

+

+ If the measurement value is '?', no sources have been configured for the metric. + Expand the metric and navigate to the sources tab to add sources. +

+

+ If the measurement value has a red background, the metric has not been measured recently. +

+ + const timeLeftHelp = <>

The number of days left to address the metric. @@ -13,6 +26,26 @@ const timeLeftHelp = <>

+const sourcesHelp = <> +

+ The tools and reports accessed to collect the measurement data. +

+

+ If a source has a red background, the source could not be accessed or the data could not be parsed. + Expand the metric and navigate to the source to see the error details. +

+ + +const issuesHelp = <> +

+ Links to issues, opened in an issue tracker such as Jira, to track progress of addressing the metric. +

+

+ If an issue has a red background, the issue tracker could not be accessed or the data could not be parsed. + Expand the metric and navigate to the technical debt tab to see the error details. +

+ + export function SubjectTableHeader( { columnDates, @@ -30,13 +63,13 @@ export function SubjectTableHeader( {nrDates > 1 && columnDates.map(date => {date.toLocaleDateString()})} {nrDates === 1 && !hiddenColumns.includes("trend") && Trend (7 days)} {nrDates === 1 && !hiddenColumns.includes("status") && } - {nrDates === 1 && !hiddenColumns.includes("measurement") && } + {nrDates === 1 && !hiddenColumns.includes("measurement") && } {nrDates === 1 && !hiddenColumns.includes("target") && } {!hiddenColumns.includes("unit") && } - {!hiddenColumns.includes("source") && } + {!hiddenColumns.includes("source") && } {!hiddenColumns.includes("time_left") && } {!hiddenColumns.includes("comment") && } - {!hiddenColumns.includes("issues") && } + {!hiddenColumns.includes("issues") && } {!hiddenColumns.includes("tags") && }