From 0abdce59caf88a297a65bf164d97b2c2579d5cf0 Mon Sep 17 00:00:00 2001 From: PrplHaz4 Date: Sun, 17 Dec 2023 22:04:33 -0500 Subject: [PATCH 1/2] Add constant for IDENTIFYING_CLIENTS_LINK Add constant for IDENTIFYING_CLIENTS_LINK --- client/src/helpers/constants.js | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/helpers/constants.js b/client/src/helpers/constants.js index 0b345f4df3d..7d37c55806c 100644 --- a/client/src/helpers/constants.js +++ b/client/src/helpers/constants.js @@ -63,6 +63,7 @@ export const REPOSITORY = { }; export const CLIENT_ID_LINK = 'https://github.com/AdguardTeam/AdGuardHome/wiki/Clients#clientid'; +export const IDENTIFYING_CLIENTS_LINK = 'https://github.com/AdguardTeam/AdGuardHome/wiki/Clients#idclient'; export const MANUAL_UPDATE_LINK = 'https://github.com/AdguardTeam/AdGuardHome/wiki/FAQ#manual-update'; export const PORT_53_FAQ_LINK = 'https://github.com/AdguardTeam/AdGuardHome/wiki/FAQ#bindinuse'; export const PRIVACY_POLICY_LINK = 'https://link.adtidy.org/forward.html?action=privacy&from=ui&app=home'; From a51b3f284d506292504dde2a7d4f7d3e115f1aa2 Mon Sep 17 00:00:00 2001 From: PrplHaz4 Date: Sun, 17 Dec 2023 22:15:57 -0500 Subject: [PATCH 2/2] Update Client Identifier description to use IDENTIFYING_CLIENTS_LINK Existing clientid link is too narrow for this general description, and skips over the whole part about MAC Address only being useful if AGH is also the DHCP Server. --- client/src/components/Settings/Clients/Form.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/client/src/components/Settings/Clients/Form.js b/client/src/components/Settings/Clients/Form.js index ba4ec4b3eb9..60f2b1d5698 100644 --- a/client/src/components/Settings/Clients/Form.js +++ b/client/src/components/Settings/Clients/Form.js @@ -26,7 +26,7 @@ import { renderTextareaField, } from '../../../helpers/form'; import { validateClientId, validateRequiredValue } from '../../../helpers/validators'; -import { CLIENT_ID_LINK, FORM_NAME, UINT32_RANGE } from '../../../helpers/constants'; +import { IDENTIFYING_CLIENTS_LINK, FORM_NAME, UINT32_RANGE } from '../../../helpers/constants'; import './Service.css'; const settingsCheckboxes = [ @@ -98,12 +98,12 @@ const renderFieldsWrapper = (placeholder, buttonTitle) => function cell(row) { ))} @@ -298,7 +298,7 @@ let Form = (props) => { title: 'upstream_dns', component:
- link]}> + ]}> upstream_dns_client_desc
@@ -372,7 +372,7 @@ let Form = (props) => {
link, + key="0">, ]}> tags_desc @@ -393,7 +393,7 @@ let Form = (props) => {
text, ]}> client_identifier_desc