From 63c1a60b06f971c07dbabdbb51cc0c9960dcf517 Mon Sep 17 00:00:00 2001 From: gorkem-bwl Date: Fri, 1 May 2026 18:01:44 -0400 Subject: [PATCH] refactor(infrastructure): move capture-form guidance to ConfigBox subtitle MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The previous commit added inline helperText under the URL and Secret fields, but no other form in the codebase uses helperText for static guidance — only for validation errors. The project's pattern for setup guidance is the ConfigBox subtitle text on the left side of the form, populated from pages.createMonitor.form.general.description.. Move the guidance there so this form follows the same convention as every other monitor type. - Remove urlHelperText / secretHelperText from GeneralSettingsConfig - Remove the new helperText props on the URL and Secret TextFields - Drop captureUrl.helperText and secret.helperText keys from all 16 locales - Beef up description.hardware to mention the /api/v1/metrics path requirement and the no-Bearer-prefix rule The realistic captureUrl placeholder (added in the previous commit) stays — it does most of the URL-disambiguation work on its own. --- client/src/Pages/CreateMonitor/index.tsx | 16 ++-------------- client/src/locales/ar.json | 8 +++----- client/src/locales/cs.json | 8 +++----- client/src/locales/de.json | 8 +++----- client/src/locales/en.json | 8 +++----- client/src/locales/es.json | 8 +++----- client/src/locales/fi.json | 8 +++----- client/src/locales/fr.json | 8 +++----- client/src/locales/ja.json | 8 +++----- client/src/locales/pt-BR.json | 8 +++----- client/src/locales/ru.json | 8 +++----- client/src/locales/th.json | 8 +++----- client/src/locales/tr.json | 8 +++----- client/src/locales/uk.json | 8 +++----- client/src/locales/vi.json | 8 +++----- client/src/locales/zh-CN.json | 8 +++----- client/src/locales/zh-TW.json | 8 +++----- 17 files changed, 50 insertions(+), 94 deletions(-) diff --git a/client/src/Pages/CreateMonitor/index.tsx b/client/src/Pages/CreateMonitor/index.tsx index 7bc828393..4ae518caa 100644 --- a/client/src/Pages/CreateMonitor/index.tsx +++ b/client/src/Pages/CreateMonitor/index.tsx @@ -44,13 +44,11 @@ import type { MonitorFormData } from "@/Validation/monitor"; interface GeneralSettingsConfig { urlLabel: string; urlPlaceholder: string; - urlHelperText?: string; namePlaceholder: string; showUrl: boolean; showPort: boolean; showGameSelect: boolean; showSecret: boolean; - secretHelperText?: string; showGrpcServiceName: boolean; showIgnoreTls: boolean; } @@ -140,13 +138,11 @@ const getGeneralSettingsConfig = ( hardware: { urlLabel: t("pages.createMonitor.form.general.option.captureUrl.label"), urlPlaceholder: t("pages.createMonitor.form.general.option.captureUrl.placeholder"), - urlHelperText: t("pages.createMonitor.form.general.option.captureUrl.helperText"), namePlaceholder: t("pages.createMonitor.form.general.option.name.placeholder"), showUrl: true, showPort: false, showGameSelect: false, showSecret: true, - secretHelperText: t("pages.createMonitor.form.general.option.secret.helperText"), showGrpcServiceName: false, showIgnoreTls: false, }, @@ -393,11 +389,7 @@ const CreateMonitorPage = () => { fullWidth disabled={isEditMode} error={!!fieldState.error} - helperText={ - fieldState.error?.message ?? - generalSettingsConfig.urlHelperText ?? - "" - } + helperText={fieldState.error?.message ?? ""} /> )} /> @@ -498,11 +490,7 @@ const CreateMonitorPage = () => { )} fullWidth error={!!fieldState.error} - helperText={ - fieldState.error?.message ?? - generalSettingsConfig.secretHelperText ?? - "" - } + helperText={fieldState.error?.message ?? ""} /> )} /> diff --git a/client/src/locales/ar.json b/client/src/locales/ar.json index 85e9d6b86..590b743d4 100644 --- a/client/src/locales/ar.json +++ b/client/src/locales/ar.json @@ -513,8 +513,7 @@ }, "secret": { "label": "مفتاح التفويض", - "placeholder": "أدخل مفتاحك السري", - "helperText": "Paste only the token string. Don't include 'Bearer' — it's added automatically." + "placeholder": "أدخل مفتاحك السري" }, "url": { "label": "URL", @@ -538,8 +537,7 @@ }, "captureUrl": { "label": "Capture endpoint", - "placeholder": "http://192.168.1.10:5001/api/v1/metrics", - "helperText": "The full Capture metrics endpoint, including the path. Example: http://192.168.1.10:5001/api/v1/metrics" + "placeholder": "http://192.168.1.10:5001/api/v1/metrics" } }, "title": "الإعدادات العامة", @@ -552,7 +550,7 @@ "pagespeed": "تتبع أداء تحميل الصفحة ومؤشرات Core Web Vitals ودرجات التحسين لموقعك.", "grpc": "أدخل اسم المضيف ومنفذ خادم gRPC، وحدد اختيارياً اسم خدمة لفحص الصحة، وأضف اسم عرض.", "websocket": "أدخل رابط WebSocket للمراقبة (مثال: wss://example.com/socket) وأضف اسم عرض.", - "hardware": "مراقبة استخدام CPU والذاكرة والقرص ودرجة الحرارة للبنية التحتية الخاصة بك." + "hardware": "Monitor CPU, memory, disk usage, and temperature for your infrastructure. The Capture endpoint URL must include the full path /api/v1/metrics (e.g. http://192.168.1.10:5001/api/v1/metrics). For the authorization secret, paste only the token string — don't include 'Bearer'." } }, "ignoreTls": { diff --git a/client/src/locales/cs.json b/client/src/locales/cs.json index eb9e0260a..8678b2e0e 100644 --- a/client/src/locales/cs.json +++ b/client/src/locales/cs.json @@ -513,8 +513,7 @@ }, "secret": { "label": "Autorizační tajný klíč", - "placeholder": "Zadejte svůj tajný klíč", - "helperText": "Paste only the token string. Don't include 'Bearer' — it's added automatically." + "placeholder": "Zadejte svůj tajný klíč" }, "url": { "label": "URL", @@ -538,8 +537,7 @@ }, "captureUrl": { "label": "Capture endpoint", - "placeholder": "http://192.168.1.10:5001/api/v1/metrics", - "helperText": "The full Capture metrics endpoint, including the path. Example: http://192.168.1.10:5001/api/v1/metrics" + "placeholder": "http://192.168.1.10:5001/api/v1/metrics" } }, "title": "Obecná nastavení", @@ -552,7 +550,7 @@ "pagespeed": "Sledujte výkon načítání stránky, metriky Core Web Vitals a hodnocení optimalizace vašeho webu.", "grpc": "Zadejte název hostitele a port gRPC serveru, volitelně zadejte název služby pro kontrolu stavu a přidejte zobrazovaný název.", "websocket": "Zadejte WebSocket URL ke sledování (např. wss://example.com/socket) a přidejte zobrazovaný název.", - "hardware": "Sledujte využití CPU, paměti, disku a teplotu vaší infrastruktury." + "hardware": "Monitor CPU, memory, disk usage, and temperature for your infrastructure. The Capture endpoint URL must include the full path /api/v1/metrics (e.g. http://192.168.1.10:5001/api/v1/metrics). For the authorization secret, paste only the token string — don't include 'Bearer'." } }, "ignoreTls": { diff --git a/client/src/locales/de.json b/client/src/locales/de.json index ecce58f67..e0d4a8ba6 100644 --- a/client/src/locales/de.json +++ b/client/src/locales/de.json @@ -513,8 +513,7 @@ }, "secret": { "label": "Autorisierungsschlüssel", - "placeholder": "Geben Sie Ihren geheimen Schlüssel ein", - "helperText": "Paste only the token string. Don't include 'Bearer' — it's added automatically." + "placeholder": "Geben Sie Ihren geheimen Schlüssel ein" }, "url": { "label": "URL", @@ -538,8 +537,7 @@ }, "captureUrl": { "label": "Capture endpoint", - "placeholder": "http://192.168.1.10:5001/api/v1/metrics", - "helperText": "The full Capture metrics endpoint, including the path. Example: http://192.168.1.10:5001/api/v1/metrics" + "placeholder": "http://192.168.1.10:5001/api/v1/metrics" } }, "title": "Allgemeine Einstellungen", @@ -552,7 +550,7 @@ "pagespeed": "Verfolgen Sie die Ladezeit, Core Web Vitals und Optimierungswerte Ihrer Website.", "grpc": "Geben Sie den Hostnamen und Port des gRPC-Servers ein, optional einen Dienstnamen für den Health-Check, und fügen Sie einen Anzeigenamen hinzu.", "websocket": "Geben Sie die zu überwachende WebSocket-URL ein (z. B. wss://example.com/socket) und fügen Sie einen Anzeigenamen hinzu.", - "hardware": "Überwachen Sie CPU-, Arbeitsspeicher-, Festplattenauslastung und Temperatur Ihrer Infrastruktur." + "hardware": "Monitor CPU, memory, disk usage, and temperature for your infrastructure. The Capture endpoint URL must include the full path /api/v1/metrics (e.g. http://192.168.1.10:5001/api/v1/metrics). For the authorization secret, paste only the token string — don't include 'Bearer'." } }, "ignoreTls": { diff --git a/client/src/locales/en.json b/client/src/locales/en.json index b1336a5dd..b5fe0c1cb 100644 --- a/client/src/locales/en.json +++ b/client/src/locales/en.json @@ -513,8 +513,7 @@ }, "secret": { "label": "Authorization secret", - "placeholder": "Enter your secret key", - "helperText": "Paste only the token string. Don't include 'Bearer' — it's added automatically." + "placeholder": "Enter your secret key" }, "url": { "label": "URL", @@ -538,8 +537,7 @@ }, "captureUrl": { "label": "Capture endpoint", - "placeholder": "http://192.168.1.10:5001/api/v1/metrics", - "helperText": "The full Capture metrics endpoint, including the path. Example: http://192.168.1.10:5001/api/v1/metrics" + "placeholder": "http://192.168.1.10:5001/api/v1/metrics" } }, "title": "General settings", @@ -552,7 +550,7 @@ "pagespeed": "Track page load performance, Core Web Vitals, and optimization scores for your website.", "grpc": "Enter the hostname and port of the gRPC server, optionally specify a service name for the health check, and add a display name.", "websocket": "Enter the WebSocket URL to monitor (e.g., wss://example.com/socket) and add a display name.", - "hardware": "Monitor CPU, memory, disk usage, and temperature for your infrastructure." + "hardware": "Monitor CPU, memory, disk usage, and temperature for your infrastructure. The Capture endpoint URL must include the full path /api/v1/metrics (e.g. http://192.168.1.10:5001/api/v1/metrics). For the authorization secret, paste only the token string — don't include 'Bearer'." } }, "ignoreTls": { diff --git a/client/src/locales/es.json b/client/src/locales/es.json index bdfd9e3ae..b4acab28e 100644 --- a/client/src/locales/es.json +++ b/client/src/locales/es.json @@ -520,8 +520,7 @@ }, "secret": { "label": "Secreto de autorización", - "placeholder": "Ingrese su clave secreta", - "helperText": "Paste only the token string. Don't include 'Bearer' — it's added automatically." + "placeholder": "Ingrese su clave secreta" }, "url": { "label": "URL", @@ -545,8 +544,7 @@ }, "captureUrl": { "label": "Capture endpoint", - "placeholder": "http://192.168.1.10:5001/api/v1/metrics", - "helperText": "The full Capture metrics endpoint, including the path. Example: http://192.168.1.10:5001/api/v1/metrics" + "placeholder": "http://192.168.1.10:5001/api/v1/metrics" } }, "title": "Configuración general", @@ -559,7 +557,7 @@ "pagespeed": "Rastree el rendimiento de carga de página, Core Web Vitals y puntuaciones de optimización de su sitio web.", "grpc": "Ingrese el nombre de host y puerto del servidor gRPC, opcionalmente especifique un nombre de servicio para la verificación de salud, y agregue un nombre para mostrar.", "websocket": "Ingrese la URL de WebSocket a monitorear (p. ej., wss://example.com/socket) y agregue un nombre para mostrar.", - "hardware": "Monitoree el uso de CPU, memoria, disco y temperatura de su infraestructura." + "hardware": "Monitor CPU, memory, disk usage, and temperature for your infrastructure. The Capture endpoint URL must include the full path /api/v1/metrics (e.g. http://192.168.1.10:5001/api/v1/metrics). For the authorization secret, paste only the token string — don't include 'Bearer'." } }, "ignoreTls": { diff --git a/client/src/locales/fi.json b/client/src/locales/fi.json index 834f869dd..b5ae80912 100644 --- a/client/src/locales/fi.json +++ b/client/src/locales/fi.json @@ -513,8 +513,7 @@ }, "secret": { "label": "Valtuutusavain", - "placeholder": "Syötä salausavaimesi", - "helperText": "Paste only the token string. Don't include 'Bearer' — it's added automatically." + "placeholder": "Syötä salausavaimesi" }, "url": { "label": "URL", @@ -538,8 +537,7 @@ }, "captureUrl": { "label": "Capture endpoint", - "placeholder": "http://192.168.1.10:5001/api/v1/metrics", - "helperText": "The full Capture metrics endpoint, including the path. Example: http://192.168.1.10:5001/api/v1/metrics" + "placeholder": "http://192.168.1.10:5001/api/v1/metrics" } }, "title": "Yleiset asetukset", @@ -552,7 +550,7 @@ "pagespeed": "Seuraa sivun latausnopeutta, Core Web Vitals -arvoja ja optimointipisteitä verkkosivustollasi.", "grpc": "Syötä gRPC-palvelimen isäntänimi ja portti, määritä halutessasi palvelun nimi terveystarkistusta varten ja lisää näyttönimi.", "websocket": "Syötä monitoroitava WebSocket URL (esim. wss://example.com/socket) ja lisää näyttönimi.", - "hardware": "Monitoroi infrastruktuurisi CPU:n, muistin ja levyn käyttöä sekä lämpötilaa." + "hardware": "Monitor CPU, memory, disk usage, and temperature for your infrastructure. The Capture endpoint URL must include the full path /api/v1/metrics (e.g. http://192.168.1.10:5001/api/v1/metrics). For the authorization secret, paste only the token string — don't include 'Bearer'." } }, "ignoreTls": { diff --git a/client/src/locales/fr.json b/client/src/locales/fr.json index b5ab31986..8a9da0ec3 100644 --- a/client/src/locales/fr.json +++ b/client/src/locales/fr.json @@ -513,8 +513,7 @@ }, "secret": { "label": "Secret d'autorisation", - "placeholder": "Saisissez votre clé secrète", - "helperText": "Paste only the token string. Don't include 'Bearer' — it's added automatically." + "placeholder": "Saisissez votre clé secrète" }, "url": { "label": "URL", @@ -538,8 +537,7 @@ }, "captureUrl": { "label": "Capture endpoint", - "placeholder": "http://192.168.1.10:5001/api/v1/metrics", - "helperText": "The full Capture metrics endpoint, including the path. Example: http://192.168.1.10:5001/api/v1/metrics" + "placeholder": "http://192.168.1.10:5001/api/v1/metrics" } }, "title": "Paramètres généraux", @@ -552,7 +550,7 @@ "pagespeed": "Suivez les performances de chargement, les Core Web Vitals et les scores d'optimisation de votre site web.", "grpc": "Saisissez le nom d'hôte et le port du serveur gRPC, spécifiez éventuellement un nom de service pour le bilan de santé, et ajoutez un nom d'affichage.", "websocket": "Saisissez l'URL WebSocket à surveiller (ex. wss://example.com/socket) et ajoutez un nom d'affichage.", - "hardware": "Surveillez l'utilisation du CPU, de la mémoire, du disque et la température de votre infrastructure." + "hardware": "Monitor CPU, memory, disk usage, and temperature for your infrastructure. The Capture endpoint URL must include the full path /api/v1/metrics (e.g. http://192.168.1.10:5001/api/v1/metrics). For the authorization secret, paste only the token string — don't include 'Bearer'." } }, "ignoreTls": { diff --git a/client/src/locales/ja.json b/client/src/locales/ja.json index 5ec727046..b17bdb4fe 100644 --- a/client/src/locales/ja.json +++ b/client/src/locales/ja.json @@ -513,8 +513,7 @@ }, "secret": { "label": "認証シークレット", - "placeholder": "シークレットキーを入力", - "helperText": "Paste only the token string. Don't include 'Bearer' — it's added automatically." + "placeholder": "シークレットキーを入力" }, "url": { "label": "URL", @@ -538,8 +537,7 @@ }, "captureUrl": { "label": "Capture endpoint", - "placeholder": "http://192.168.1.10:5001/api/v1/metrics", - "helperText": "The full Capture metrics endpoint, including the path. Example: http://192.168.1.10:5001/api/v1/metrics" + "placeholder": "http://192.168.1.10:5001/api/v1/metrics" } }, "title": "一般設定", @@ -552,7 +550,7 @@ "pagespeed": "Webサイトのページ読み込みパフォーマンス、Core Web Vitals、最適化スコアを追跡します。", "grpc": "gRPCサーバーのホスト名とポートを入力し、必要に応じてヘルスチェック用のサービス名を指定し、表示名を追加してください。", "websocket": "監視するWebSocket URLを入力し(例: wss://example.com/socket)、表示名を追加してください。", - "hardware": "インフラストラクチャのCPU、メモリ、ディスク使用量、温度を監視します。" + "hardware": "Monitor CPU, memory, disk usage, and temperature for your infrastructure. The Capture endpoint URL must include the full path /api/v1/metrics (e.g. http://192.168.1.10:5001/api/v1/metrics). For the authorization secret, paste only the token string — don't include 'Bearer'." } }, "ignoreTls": { diff --git a/client/src/locales/pt-BR.json b/client/src/locales/pt-BR.json index e5568897b..d579c5bb5 100644 --- a/client/src/locales/pt-BR.json +++ b/client/src/locales/pt-BR.json @@ -513,8 +513,7 @@ }, "secret": { "label": "Chave de autorização", - "placeholder": "Digite sua chave secreta", - "helperText": "Paste only the token string. Don't include 'Bearer' — it's added automatically." + "placeholder": "Digite sua chave secreta" }, "url": { "label": "URL", @@ -538,8 +537,7 @@ }, "captureUrl": { "label": "Capture endpoint", - "placeholder": "http://192.168.1.10:5001/api/v1/metrics", - "helperText": "The full Capture metrics endpoint, including the path. Example: http://192.168.1.10:5001/api/v1/metrics" + "placeholder": "http://192.168.1.10:5001/api/v1/metrics" } }, "title": "Configurações gerais", @@ -552,7 +550,7 @@ "pagespeed": "Acompanhe o desempenho de carregamento da página, Core Web Vitals e pontuações de otimização do seu site.", "grpc": "Digite o hostname e a porta do servidor gRPC, opcionalmente especifique um nome de serviço para a verificação de saúde e adicione um nome de exibição.", "websocket": "Digite a URL do WebSocket para monitorar (ex.: wss://exemplo.com/socket) e adicione um nome de exibição.", - "hardware": "Monitore o uso de CPU, memória, disco e temperatura da sua infraestrutura." + "hardware": "Monitor CPU, memory, disk usage, and temperature for your infrastructure. The Capture endpoint URL must include the full path /api/v1/metrics (e.g. http://192.168.1.10:5001/api/v1/metrics). For the authorization secret, paste only the token string — don't include 'Bearer'." } }, "ignoreTls": { diff --git a/client/src/locales/ru.json b/client/src/locales/ru.json index 8da92929a..81d2dc8ef 100644 --- a/client/src/locales/ru.json +++ b/client/src/locales/ru.json @@ -513,8 +513,7 @@ }, "secret": { "label": "Секрет авторизации", - "placeholder": "Введите Ваш секретный ключ", - "helperText": "Paste only the token string. Don't include 'Bearer' — it's added automatically." + "placeholder": "Введите Ваш секретный ключ" }, "url": { "label": "URL", @@ -538,8 +537,7 @@ }, "captureUrl": { "label": "Capture endpoint", - "placeholder": "http://192.168.1.10:5001/api/v1/metrics", - "helperText": "The full Capture metrics endpoint, including the path. Example: http://192.168.1.10:5001/api/v1/metrics" + "placeholder": "http://192.168.1.10:5001/api/v1/metrics" } }, "title": "Основные настройки", @@ -552,7 +550,7 @@ "pagespeed": "Отслеживайте производительность загрузки, Core Web Vitals и показатели оптимизации для Вашего сайта.", "grpc": "Введите имя хоста и порт gRPC-сервера, при необходимости укажите имя сервиса для проверки состояния и добавьте отображаемое имя.", "websocket": "Введите WebSocket URL для мониторинга (напр., wss://example.com/socket) и добавьте отображаемое имя.", - "hardware": "Мониторинг CPU, памяти, дисков и температуры Вашей инфраструктуры." + "hardware": "Monitor CPU, memory, disk usage, and temperature for your infrastructure. The Capture endpoint URL must include the full path /api/v1/metrics (e.g. http://192.168.1.10:5001/api/v1/metrics). For the authorization secret, paste only the token string — don't include 'Bearer'." } }, "ignoreTls": { diff --git a/client/src/locales/th.json b/client/src/locales/th.json index cfac73ae2..ee3b1da11 100644 --- a/client/src/locales/th.json +++ b/client/src/locales/th.json @@ -513,8 +513,7 @@ }, "secret": { "label": "รหัสลับสำหรับยืนยันตัวตน", - "placeholder": "กรอกรหัสลับของคุณ", - "helperText": "Paste only the token string. Don't include 'Bearer' — it's added automatically." + "placeholder": "กรอกรหัสลับของคุณ" }, "url": { "label": "URL", @@ -538,8 +537,7 @@ }, "captureUrl": { "label": "Capture endpoint", - "placeholder": "http://192.168.1.10:5001/api/v1/metrics", - "helperText": "The full Capture metrics endpoint, including the path. Example: http://192.168.1.10:5001/api/v1/metrics" + "placeholder": "http://192.168.1.10:5001/api/v1/metrics" } }, "title": "ตั้งค่าทั่วไป", @@ -552,7 +550,7 @@ "pagespeed": "ติดตามประสิทธิภาพการโหลดหน้า Core Web Vitals และคะแนนการเพิ่มประสิทธิภาพของเว็บไซต์", "grpc": "กรอกชื่อโฮสต์และพอร์ตของเซิร์ฟเวอร์ gRPC ระบุชื่อบริการสำหรับ health check (ไม่บังคับ) และตั้งชื่อที่แสดง", "websocket": "กรอก URL ของ WebSocket ที่ต้องการตรวจสอบ (เช่น wss://example.com/socket) และตั้งชื่อที่แสดง", - "hardware": "ตรวจสอบการใช้งาน CPU หน่วยความจำ ดิสก์ และอุณหภูมิของโครงสร้างพื้นฐาน" + "hardware": "Monitor CPU, memory, disk usage, and temperature for your infrastructure. The Capture endpoint URL must include the full path /api/v1/metrics (e.g. http://192.168.1.10:5001/api/v1/metrics). For the authorization secret, paste only the token string — don't include 'Bearer'." } }, "ignoreTls": { diff --git a/client/src/locales/tr.json b/client/src/locales/tr.json index 6a2acf120..b3be88ae5 100644 --- a/client/src/locales/tr.json +++ b/client/src/locales/tr.json @@ -513,8 +513,7 @@ }, "secret": { "label": "Yetkilendirme anahtarı", - "placeholder": "Gizli anahtarınızı girin", - "helperText": "Paste only the token string. Don't include 'Bearer' — it's added automatically." + "placeholder": "Gizli anahtarınızı girin" }, "url": { "label": "URL", @@ -538,8 +537,7 @@ }, "captureUrl": { "label": "Capture endpoint", - "placeholder": "http://192.168.1.10:5001/api/v1/metrics", - "helperText": "The full Capture metrics endpoint, including the path. Example: http://192.168.1.10:5001/api/v1/metrics" + "placeholder": "http://192.168.1.10:5001/api/v1/metrics" } }, "title": "Genel ayarlar", @@ -552,7 +550,7 @@ "pagespeed": "Web sitenizin sayfa yükleme performansını, Core Web Vitals metriklerini ve optimizasyon puanlarını takip edin.", "grpc": "gRPC sunucusunun ana bilgisayar adını ve portunu girin, isteğe bağlı olarak sağlık kontrolü için bir servis adı belirtin ve bir görünen ad ekleyin.", "websocket": "İzlenecek WebSocket URL'sini girin (örn. wss://example.com/socket) ve bir görünen ad ekleyin.", - "hardware": "Altyapınız için CPU, bellek, disk kullanımı ve sıcaklığı izleyin." + "hardware": "Monitor CPU, memory, disk usage, and temperature for your infrastructure. The Capture endpoint URL must include the full path /api/v1/metrics (e.g. http://192.168.1.10:5001/api/v1/metrics). For the authorization secret, paste only the token string — don't include 'Bearer'." } }, "ignoreTls": { diff --git a/client/src/locales/uk.json b/client/src/locales/uk.json index 0fbdad260..7aa795123 100644 --- a/client/src/locales/uk.json +++ b/client/src/locales/uk.json @@ -513,8 +513,7 @@ }, "secret": { "label": "Секрет авторизації", - "placeholder": "Введіть Ваш секретний ключ", - "helperText": "Paste only the token string. Don't include 'Bearer' — it's added automatically." + "placeholder": "Введіть Ваш секретний ключ" }, "url": { "label": "URL", @@ -538,8 +537,7 @@ }, "captureUrl": { "label": "Capture endpoint", - "placeholder": "http://192.168.1.10:5001/api/v1/metrics", - "helperText": "The full Capture metrics endpoint, including the path. Example: http://192.168.1.10:5001/api/v1/metrics" + "placeholder": "http://192.168.1.10:5001/api/v1/metrics" } }, "title": "Загальні налаштування", @@ -552,7 +550,7 @@ "pagespeed": "Відстежуйте швидкість завантаження сторінки, показники Core Web Vitals та оцінки оптимізації Вашого сайту.", "grpc": "Введіть ім'я хоста та порт gRPC-сервера, за бажанням вкажіть назву сервісу для перевірки стану та додайте відображуване ім'я.", "websocket": "Введіть WebSocket URL для моніторингу (напр., wss://example.com/socket) та додайте відображуване ім'я.", - "hardware": "Моніторинг CPU, пам'яті, використання диска та температури Вашої інфраструктури." + "hardware": "Monitor CPU, memory, disk usage, and temperature for your infrastructure. The Capture endpoint URL must include the full path /api/v1/metrics (e.g. http://192.168.1.10:5001/api/v1/metrics). For the authorization secret, paste only the token string — don't include 'Bearer'." } }, "ignoreTls": { diff --git a/client/src/locales/vi.json b/client/src/locales/vi.json index 017518e61..3a277ebda 100644 --- a/client/src/locales/vi.json +++ b/client/src/locales/vi.json @@ -513,8 +513,7 @@ }, "secret": { "label": "Khóa xác thực", - "placeholder": "Nhập khóa bí mật của bạn", - "helperText": "Paste only the token string. Don't include 'Bearer' — it's added automatically." + "placeholder": "Nhập khóa bí mật của bạn" }, "url": { "label": "URL", @@ -538,8 +537,7 @@ }, "captureUrl": { "label": "Capture endpoint", - "placeholder": "http://192.168.1.10:5001/api/v1/metrics", - "helperText": "The full Capture metrics endpoint, including the path. Example: http://192.168.1.10:5001/api/v1/metrics" + "placeholder": "http://192.168.1.10:5001/api/v1/metrics" } }, "title": "Cài đặt chung", @@ -552,7 +550,7 @@ "pagespeed": "Theo dõi hiệu suất tải trang, Core Web Vitals và điểm tối ưu hóa cho trang web của bạn.", "grpc": "Nhập tên máy chủ và cổng của máy chủ gRPC, tùy chọn chỉ định tên dịch vụ cho kiểm tra sức khỏe và thêm tên hiển thị.", "websocket": "Nhập URL WebSocket cần giám sát (vd: wss://example.com/socket) và thêm tên hiển thị.", - "hardware": "Giám sát CPU, bộ nhớ, dung lượng ổ đĩa và nhiệt độ cho hạ tầng của bạn." + "hardware": "Monitor CPU, memory, disk usage, and temperature for your infrastructure. The Capture endpoint URL must include the full path /api/v1/metrics (e.g. http://192.168.1.10:5001/api/v1/metrics). For the authorization secret, paste only the token string — don't include 'Bearer'." } }, "ignoreTls": { diff --git a/client/src/locales/zh-CN.json b/client/src/locales/zh-CN.json index 3e7d3cb2f..32211dc5c 100644 --- a/client/src/locales/zh-CN.json +++ b/client/src/locales/zh-CN.json @@ -513,8 +513,7 @@ }, "secret": { "label": "授权密钥", - "placeholder": "输入您的密钥", - "helperText": "Paste only the token string. Don't include 'Bearer' — it's added automatically." + "placeholder": "输入您的密钥" }, "url": { "label": "URL", @@ -538,8 +537,7 @@ }, "captureUrl": { "label": "Capture endpoint", - "placeholder": "http://192.168.1.10:5001/api/v1/metrics", - "helperText": "The full Capture metrics endpoint, including the path. Example: http://192.168.1.10:5001/api/v1/metrics" + "placeholder": "http://192.168.1.10:5001/api/v1/metrics" } }, "title": "常规设置", @@ -552,7 +550,7 @@ "pagespeed": "跟踪网站的页面加载性能、Core Web Vitals 和优化评分。", "grpc": "输入 gRPC 服务器的主机名和端口,可选指定健康检查的服务名称,并添加显示名称。", "websocket": "输入要监控的 WebSocket URL(例如 wss://example.com/socket),并添加显示名称。", - "hardware": "监控基础设施的 CPU、内存、磁盘使用率和温度。" + "hardware": "Monitor CPU, memory, disk usage, and temperature for your infrastructure. The Capture endpoint URL must include the full path /api/v1/metrics (e.g. http://192.168.1.10:5001/api/v1/metrics). For the authorization secret, paste only the token string — don't include 'Bearer'." } }, "ignoreTls": { diff --git a/client/src/locales/zh-TW.json b/client/src/locales/zh-TW.json index d3515f72d..5113a2cc9 100644 --- a/client/src/locales/zh-TW.json +++ b/client/src/locales/zh-TW.json @@ -513,8 +513,7 @@ }, "secret": { "label": "授權密鑰", - "placeholder": "輸入您的密鑰", - "helperText": "Paste only the token string. Don't include 'Bearer' — it's added automatically." + "placeholder": "輸入您的密鑰" }, "url": { "label": "URL", @@ -538,8 +537,7 @@ }, "captureUrl": { "label": "Capture endpoint", - "placeholder": "http://192.168.1.10:5001/api/v1/metrics", - "helperText": "The full Capture metrics endpoint, including the path. Example: http://192.168.1.10:5001/api/v1/metrics" + "placeholder": "http://192.168.1.10:5001/api/v1/metrics" } }, "title": "一般設定", @@ -552,7 +550,7 @@ "pagespeed": "追蹤您網站的頁面載入效能、Core Web Vitals 和最佳化分數。", "grpc": "輸入 gRPC 伺服器的主機名稱和連接埠,可選擇指定健康檢查的服務名稱,並新增一個顯示名稱。", "websocket": "輸入要監控的 WebSocket URL(例如 wss://example.com/socket),並新增一個顯示名稱。", - "hardware": "監控您基礎架構的 CPU、記憶體、磁碟使用量和溫度。" + "hardware": "Monitor CPU, memory, disk usage, and temperature for your infrastructure. The Capture endpoint URL must include the full path /api/v1/metrics (e.g. http://192.168.1.10:5001/api/v1/metrics). For the authorization secret, paste only the token string — don't include 'Bearer'." } }, "ignoreTls": {