Просмотр исходного кода

docs(help): cover integrations and certificates in the in-app guide (#1828)

Nacho 1 месяц назад
Родитель
Сommit
d2334e626b

+ 1 - 0
CHANGELOG.md

@@ -19,6 +19,7 @@ y este proyecto se adhiere a [Versionado Semántico](https://semver.org/lang/es/
 
 ### Changed
 
+- The in-app help covers integrations and certificates (#1823). Two flows are new: one walks through the add-ons group in Settings, the vendor catalog and what a pusher is, including the units that already push without a record; the other covers the HTTPS card, from the certificate or private CA source to the agent pin and the extra options for connection strings and plain HTTP. Both cite the real UI labels as chips, like the rest of the page.
 - The Channels page no longer repeats its name (#1823). The top bar said Canales and the page said Analisis de canales right below it, because it was the one page that kept its own title and had no breadcrumb. It now follows the same header as the rest. The extra margin that pushed the explanation away from the breadcrumb on Routers, Devices, Reports and Roaming is gone too, so the gap is the same everywhere.
 - Every page header now uses the same layout as the topology one (#1823). Alerts, Devices and Settings still placed the breadcrumb and the explanation differently, with a slash separator and a caption-sized line, so the text landed in a different spot on each page. They now share the chevron separator, the caption breadcrumb and the body-sized explanation, aligned the same way.
 - Firmware upgrades no longer repeats its own name (#1823). The page was the only one still printing the section title under the top bar, and the line below it opened with the same words. The title is gone and the line now says what the page does: track each unit, start the flash and keep a copy of the configuration first.

+ 25 - 0
app/public/locales/en/translation.json

@@ -2962,6 +2962,31 @@
           "In your assistant, configure a remote MCP server with the URL http://IP:port/mcp and the token as a Bearer credential."
         ],
         "tip": "The tools are read-only and every call is logged in the server journal. Revoke the token when you stop using it."
+      },
+      "integrations": {
+        "title": "Connect integrations",
+        "subtitle": "Units that cannot be polled over SSH",
+        "intro": "A pusher is a small binary that runs where the unit is and sends its data to NetPulse. Every vendor ships as its own executable, so you only download the code for hardware you own.",
+        "steps": [
+          "Open ⟦Settings⟧ and find the ⟦Add-ons⟧ group.",
+          "Turn on ⟦External agents⟧ and press its gear to open the integrations manager.",
+          "Pick the vendor from the catalog: asuswrt, bbox, opnsense, routeros or unifi, among others.",
+          "NetPulse deploys the pusher, starts it and lets you edit its settings and token from the same dialog.",
+          "A unit that was already pushing without a record shows up under ⟦Managed outside NetPulse⟧ with its version and last push: NetPulse cannot start it or rotate its token."
+        ]
+      },
+      "certificates": {
+        "title": "Install your certificate",
+        "subtitle": "HTTPS with your own certificate or CA",
+        "intro": "The HTTPS card in Settings accepts your own certificate or one issued by your CA. The pair is validated before the listener is touched, so a broken certificate does not take the instance down.",
+        "steps": [
+          "Open ⟦Settings⟧ and go to the ⟦HTTPS⟧ card.",
+          "Choose the source: ⟦private CA⟧ or ⟦own pair⟧.",
+          "Point to the certificate and key paths, and give the password when the key is encrypted.",
+          "Apply: NetPulse loads the pair and restarts the listener; if the new one does not start, it rolls back.",
+          "Agents pin the leaf key, so after changing it they have to be paired again.",
+          "Under ⟦Additional options⟧ you can re-issue the connection strings and decide what plain HTTP is still allowed to do."
+        ]
       }
     }
   },

+ 25 - 0
app/public/locales/es/translation.json

@@ -2962,6 +2962,31 @@
           "En tu asistente, configura un servidor MCP remoto con la URL http://IP:puerto/mcp y el token como Bearer."
         ],
         "tip": "Las herramientas son de solo lectura y cada llamada queda registrada en el journal del servidor. Revoca el token cuando dejes de usarlo."
+      },
+      "integrations": {
+        "title": "Conectar integraciones",
+        "subtitle": "Unidades que no se pueden sondear por SSH",
+        "intro": "Un pusher es un binario pequeño que corre donde está la unidad y manda sus datos a NetPulse. Cada fabricante es su propio ejecutable, así que solo descargas el código del hardware que tienes.",
+        "steps": [
+          "Abre ⟦Ajustes⟧ y busca el grupo ⟦Complementos⟧.",
+          "Activa ⟦Agentes externos⟧ y pulsa su engranaje para abrir el gestor de integraciones.",
+          "Elige el fabricante en el catálogo: asuswrt, bbox, opnsense, routeros o unifi, entre otros.",
+          "NetPulse despliega el pusher, lo arranca y te deja editar sus ajustes y su token desde la misma ventana.",
+          "Si una unidad ya empujaba sin registro, aparece en ⟦Managed outside NetPulse⟧ con su versión y su último envío: NetPulse no puede arrancarla ni rotarle el token."
+        ]
+      },
+      "certificates": {
+        "title": "Poner tu certificado",
+        "subtitle": "HTTPS con tu certificado o tu CA privada",
+        "intro": "La tarjeta HTTPS de Ajustes acepta un certificado propio o uno emitido por tu CA. El par se valida antes de tocar el listener, así que un certificado roto no tumba la instancia.",
+        "steps": [
+          "Abre ⟦Ajustes⟧ y entra en la tarjeta ⟦HTTPS⟧.",
+          "Elige el origen: ⟦CA privada⟧ o ⟦par propio⟧.",
+          "Indica las rutas del certificado y de la clave, y la contraseña si la clave va cifrada.",
+          "Aplica: NetPulse carga el par y reinicia el listener; si el nuevo no arranca, vuelve al anterior.",
+          "Los agentes fijan la clave de la hoja, así que tras cambiarla hay que re-emparejarlos.",
+          "En ⟦Opciones adicionales⟧ puedes re-emitir los connection strings y decidir qué sigue permitiendo el HTTP plano."
+        ]
       }
     }
   },

+ 4 - 0
app/src/pages/Help.tsx

@@ -23,6 +23,8 @@ import {
   Router as RouterIcon,
   Send,
   Server,
+  ShieldCheck,
+  Blocks,
   Wifi,
 } from 'lucide-react'
 import {
@@ -66,6 +68,8 @@ const FLOWS = [
   { key: 'ntfy', icon: BellRing },
   { key: 'telegram', icon: Send },
   { key: 'mcp', icon: Bot },
+  { key: 'integrations', icon: Blocks },
+  { key: 'certificates', icon: ShieldCheck },
 ] as const
 
 export default function Help() {