From 37aa7396116a23f5e104729e089a254c7676e970 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 (cherry picked from commit 936ef9f461c3e80a36099508c420dc44d8cd293c) Closes #9095 --- frontend/src/System/Status/Health/Health.js | 8 ++++++++ src/NzbDrone.Core/Localization/Core/en.json | 1 + 2 files changed, 9 insertions(+) diff --git a/frontend/src/System/Status/Health/Health.js b/frontend/src/System/Status/Health/Health.js index 139b8a567..781df58d9 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'; @@ -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 663aa4eca..3192e3a4d 100644 --- a/src/NzbDrone.Core/Localization/Core/en.json +++ b/src/NzbDrone.Core/Localization/Core/en.json @@ -436,6 +436,7 @@ "HardlinkCopyFiles": "Hardlink/Copy Files", "HaveNotAddedMovies": "You haven't added any movies yet, do you want to import some or all of your movies first?", "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.", "HealthNoIssues": "No issues with your configuration", "HiddenClickToShow": "Hidden, click to show", "HideAdvanced": "Hide Advanced",