From 936ef9f461c3e80a36099508c420dc44d8cd293c Mon Sep 17 00:00:00 2001 From: Stevie Robinson Date: Tue, 29 Aug 2023 04:27:15 +0200 Subject: [PATCH] Add info box under health messages Closes #5958 --- frontend/src/System/Status/Health/Health.js | 10 +++++++++- src/NzbDrone.Core/Localization/Core/en.json | 1 + 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/frontend/src/System/Status/Health/Health.js b/frontend/src/System/Status/Health/Health.js index 5683a035c..31e1cf053 100644 --- a/frontend/src/System/Status/Health/Health.js +++ b/frontend/src/System/Status/Health/Health.js @@ -1,10 +1,12 @@ import PropTypes from 'prop-types'; import React, { Component } from 'react'; +import Alert from 'Components/Alert'; import FieldSet from 'Components/FieldSet'; import Icon from 'Components/Icon'; import IconButton from 'Components/Link/IconButton'; import SpinnerIconButton from 'Components/Link/SpinnerIconButton'; import LoadingIndicator from 'Components/Loading/LoadingIndicator'; +import InlineMarkdown from 'Components/Markdown/InlineMarkdown'; import TableRowCell from 'Components/Table/Cells/TableRowCell'; import Table from 'Components/Table/Table'; import TableBody from 'Components/Table/TableBody'; @@ -204,7 +206,7 @@ class Health extends Component { { !!testLink && - testLink + testLink } @@ -214,6 +216,12 @@ class Health extends Component { } + { + healthIssues && + + + + } ); } diff --git a/src/NzbDrone.Core/Localization/Core/en.json b/src/NzbDrone.Core/Localization/Core/en.json index 4bbb83591..cf3a2cb17 100644 --- a/src/NzbDrone.Core/Localization/Core/en.json +++ b/src/NzbDrone.Core/Localization/Core/en.json @@ -509,6 +509,7 @@ "HardlinkCopyFiles": "Hardlink/Copy Files", "HasMissingSeason": "Has Missing Season", "Health": "Health", + "HealthMessagesInfoBox": "You can find more information about the cause of these health check messages by clicking the wiki link (book icon) at the end of the row, or by checking your [logs]({link}). If you have difficulty interpreting these messages then you can reach out to our support, at the links below.", "Here": "here", "HiddenClickToShow": "Hidden, click to show", "HideAdvanced": "Hide Advanced",