From c061c309bdddf28a00d9f4a35d180614aeb4fb9d Mon Sep 17 00:00:00 2001 From: bakerboy448 <55419169+bakerboy448@users.noreply.github.com> Date: Thu, 14 Sep 2023 12:48:28 -0500 Subject: [PATCH] Improve tags helptext and add warnings --- frontend/src/Indexer/Edit/EditIndexerModalContent.js | 1 + .../Applications/Applications/EditApplicationModalContent.js | 3 ++- src/NzbDrone.Core/Localization/Core/en.json | 5 ++++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/frontend/src/Indexer/Edit/EditIndexerModalContent.js b/frontend/src/Indexer/Edit/EditIndexerModalContent.js index 1fdc06eb0..b09b9e656 100644 --- a/frontend/src/Indexer/Edit/EditIndexerModalContent.js +++ b/frontend/src/Indexer/Edit/EditIndexerModalContent.js @@ -187,6 +187,7 @@ function EditIndexerModalContent(props) { type={inputTypes.TAG} name="tags" helpText={translate('IndexerTagsHelpText')} + helpTextWarning={translate('IndexerTagsHelpTextWarning')} {...tags} onChange={onInputChange} /> diff --git a/frontend/src/Settings/Applications/Applications/EditApplicationModalContent.js b/frontend/src/Settings/Applications/Applications/EditApplicationModalContent.js index 33cae830a..00e30cdb7 100644 --- a/frontend/src/Settings/Applications/Applications/EditApplicationModalContent.js +++ b/frontend/src/Settings/Applications/Applications/EditApplicationModalContent.js @@ -133,7 +133,8 @@ function EditApplicationModalContent(props) { diff --git a/src/NzbDrone.Core/Localization/Core/en.json b/src/NzbDrone.Core/Localization/Core/en.json index 309613c7d..e543300ef 100644 --- a/src/NzbDrone.Core/Localization/Core/en.json +++ b/src/NzbDrone.Core/Localization/Core/en.json @@ -47,6 +47,8 @@ "ApplicationLongTermStatusCheckSingleClientMessage": "Applications unavailable due to failures for more than 6 hours: {0}", "ApplicationStatusCheckAllClientMessage": "All applications are unavailable due to failures", "ApplicationStatusCheckSingleClientMessage": "Applications unavailable due to failures: {0}", + "ApplicationTagsHelpText": "Sync Indexers to this application that have no tags or that have 1 or more matching tags", + "ApplicationTagsHelpTextWarning": "Tags should be used with caution, they can have unintended effects. An app with a tag will only sync to indexers with the same tag.", "ApplicationURL": "Application URL", "ApplicationUrlHelpText": "This application's external URL including http(s)://, port and URL base", "Applications": "Applications", @@ -280,7 +282,8 @@ "IndexerStatus": "Indexer Status", "IndexerStatusCheckAllClientMessage": "All indexers are unavailable due to failures", "IndexerStatusCheckSingleClientMessage": "Indexers unavailable due to failures: {0}", - "IndexerTagsHelpText": "Use tags to specify Indexer Proxies or which apps the indexer is synced to. Applications without 1 or more matching Indexer Tags will not be synced to.", + "IndexerTagsHelpText": "Use tags to specify Indexer Proxies or which apps the indexer is synced to.", + "IndexerTagsHelpTextWarning": "Tags should be used with caution, they can have unintended effects. An indexer with a tag will only sync to apps with the same tag.", "IndexerVipCheckExpiredClientMessage": "Indexer VIP benefits have expired: {0}", "IndexerVipCheckExpiringClientMessage": "Indexer VIP benefits expiring soon: {0}", "Indexers": "Indexers",