Răsfoiți Sursa

docs(help): explain what's new and the client detail (#2116, #2076, #2081)

gnacho 1 săptămână în urmă
părinte
comite
fa385f73e8

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

@@ -3029,6 +3029,29 @@
     "docsFooter": "This guide lives inside the app and quotes the real interface labels, so it always matches the version you are running.",
     "docsLink": "Full documentation on GitHub",
     "flows": {
+      "whatsNew": {
+        "title": "See what changed",
+        "subtitle": "The release notes live inside the app",
+        "intro": "Every release gets a page with a card per change, each one with a short animation of the interaction instead of a bullet in a changelog. It is written in your language, and opening it is what clears the marker.",
+        "steps": [
+          "After an update, a strip under the header says which version you are on and links to the page. The version stamp at the bottom of the menu does the same, with a dot while there is something you have not opened.",
+          "Each card shows the change in motion: the icon picker filtering, the DNS bars filling, a quiet neighbour coming back. The number at the bottom right opens the pull request behind it.",
+          "The link at the end leads to the changelog, with every change including the ones that have no animation."
+        ],
+        "tip": "The cards are built from the same code as the app, so they follow your theme and your language. A card that looks wrong is a bug worth reporting."
+      },
+      "deviceDetail": {
+        "title": "Read a client's detail",
+        "subtitle": "Traffic, DNS and what the marks mean",
+        "intro": "Clicking a client opens its detail: identity, connection and two panels that answer two different questions, how much it moved and what it asked for.",
+        "steps": [
+          "Open ⟦Clients⟧ and click a client.",
+          "The traffic card sums down, up and total over 1 hour, 24 hours, 30 days or 12 months, with the series for the same window. It needs the unit to report per-client counters.",
+          "The DNS card lists the domains the client resolved, how often and which were blocked, from the AdGuard query log, in a 1 hour or 24 hour window.",
+          "A ⟦no IP⟧ mark means the client is associated by Wi-Fi and has no address yet. After two minutes in that state it also leaves an info entry in the activity log."
+        ],
+        "tip": "Both panels say it when they have no data. An empty panel is not a broken one: the source is not configured, or the window has no samples."
+      },
       "firstLogin": {
         "title": "First run and password",
         "subtitle": "Sign in for the first time and secure the admin account",

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

@@ -3029,6 +3029,29 @@
     "docsFooter": "Esta guía vive dentro de la app y cita las etiquetas reales de la interfaz, así que siempre está al día con la versión que estás usando.",
     "docsLink": "Documentación completa en GitHub",
     "flows": {
+      "whatsNew": {
+        "title": "Ver qué ha cambiado",
+        "subtitle": "Las notas de release viven dentro de la app",
+        "intro": "Cada release tiene una página con una tarjeta por cambio, cada una con una animación corta de la interacción en vez de un punto en el changelog. Está en tu idioma, y abrirla es lo que quita la marca.",
+        "steps": [
+          "Después de una actualización, una franja bajo la cabecera dice en qué versión estás y enlaza a la página. El sello de versión al pie del menú hace lo mismo, con un punto mientras haya algo sin abrir.",
+          "Cada tarjeta enseña el cambio en movimiento: el selector de iconos filtrando, las barras de DNS llenándose, un vecino callado volviendo. El número de abajo a la derecha abre el pull request que lo trajo.",
+          "El enlace del final lleva al changelog, con todos los cambios, también los que no tienen animación."
+        ],
+        "tip": "Las tarjetas están hechas con el mismo código que la app, así que siguen tu tema y tu idioma. Una tarjeta que se ve mal es un bug que merece un aviso."
+      },
+      "deviceDetail": {
+        "title": "Leer el detalle de un cliente",
+        "subtitle": "Tráfico, DNS y qué significan las marcas",
+        "intro": "Al pulsar un cliente se abre su detalle: identidad, conexión y dos paneles que responden a dos preguntas distintas, cuánto movió y qué preguntó.",
+        "steps": [
+          "Abre ⟦Clientes⟧ y pulsa un cliente.",
+          "La tarjeta de tráfico suma bajada, subida y total en 1 hora, 24 horas, 30 días o 12 meses, con la serie de la misma ventana. Necesita que la unidad reporte contadores por cliente.",
+          "La tarjeta de DNS lista los dominios que resolvió el cliente, con qué frecuencia y cuáles se bloquearon, desde el registro de consultas de AdGuard, en 1 hora o 24 horas.",
+          "La marca ⟦sin IP⟧ significa que el cliente está asociado por WiFi y aún no tiene dirección. Tras dos minutos así, también deja una nota informativa en el registro de actividad."
+        ],
+        "tip": "Los dos paneles lo dicen cuando no tienen datos. Un panel vacío no está roto: falta configurar la fuente o la ventana no tiene muestras."
+      },
       "firstLogin": {
         "title": "Primer arranque y contraseña",
         "subtitle": "Entrar por primera vez y asegurar la cuenta admin",

+ 23 - 0
app/public/locales/ru/translation.json

@@ -3070,6 +3070,29 @@
     "docsFooter": "Это руководство живёт внутри приложения и цитирует настоящие надписи интерфейса, поэтому всегда совпадает с версией, которая у вас запущена.",
     "docsLink": "Полная документация на GitHub",
     "flows": {
+      "whatsNew": {
+        "title": "Посмотреть, что изменилось",
+        "subtitle": "Заметки о выпуске живут внутри приложения",
+        "intro": "У каждого выпуска есть страница с карточкой на каждое изменение, и на каждой короткая анимация взаимодействия вместо строки в журнале. Всё на вашем языке, и открытие страницы снимает отметку.",
+        "steps": [
+          "После обновления полоса под заголовком показывает вашу версию и ведёт на страницу. Отметка версии внизу меню делает то же самое, с точкой, пока есть неоткрытое.",
+          "Каждая карточка показывает изменение в движении: фильтр выбора иконок, растущие полосы DNS, возвращающийся тихий сосед. Номер справа снизу открывает запрос, который это принёс.",
+          "Ссылка в конце ведёт в журнал изменений, где есть все изменения, включая те, у которых нет анимации."
+        ],
+        "tip": "Карточки собраны из того же кода, что и приложение, поэтому следуют вашей теме и языку. Карточка, которая выглядит плохо, это ошибка, о которой стоит сообщить."
+      },
+      "deviceDetail": {
+        "title": "Прочитать детали клиента",
+        "subtitle": "Трафик, DNS и что значат отметки",
+        "intro": "Нажатие на клиента открывает детали: идентичность, подключение и две панели, которые отвечают на разные вопросы, сколько он передал и что запрашивал.",
+        "steps": [
+          "Откройте ⟦Клиенты⟧ и нажмите на клиента.",
+          "Карточка трафика суммирует входящий, исходящий и общий объём за 1 час, 24 часа, 30 дней или 12 месяцев, с рядом за то же окно. Нужно, чтобы устройство отдавало счётчики по клиентам.",
+          "Карточка DNS перечисляет домены, которые разрешил клиент, как часто и какие были заблокированы, из журнала запросов AdGuard, за 1 час или 24 часа.",
+          "Отметка ⟦без IP⟧ значит, что клиент подключён по Wi-Fi и адреса ещё нет. После двух минут в таком состоянии в журнале активности появляется информационная запись."
+        ],
+        "tip": "Обе панели сообщают, когда данных нет. Пустая панель не сломана: источник не настроен или в окне нет замеров."
+      },
       "firstLogin": {
         "title": "Первый запуск и пароль",
         "subtitle": "Первый вход и защита аккаунта администратора",

+ 23 - 0
app/public/locales/zh/translation.json

@@ -2916,6 +2916,29 @@
     "docsFooter": "本指南内置于应用中,并引用真实的界面标签,因此始终与你正在使用的版本一致。",
     "docsLink": "GitHub 上的完整文档",
     "flows": {
+      "whatsNew": {
+        "title": "查看有什么变化",
+        "subtitle": "更新说明就在应用里",
+        "intro": "每个版本都有一个页面,每项改动一张卡片,用一小段真实交互的动画代替更新日志里的一条文字。内容使用你的语言,打开页面即清除标记。",
+        "steps": [
+          "更新后,页头下方的横条会显示当前版本并链接到该页面。菜单底部的版本标记也一样,有未查看内容时带一个小圆点。",
+          "每张卡片用动画展示改动:图标选择器筛选、DNS 条形增长、安静的邻居恢复。右下角的编号打开对应的拉取请求。",
+          "最下面的链接通向更新日志,包含所有改动,也包括没有动画的那些。"
+        ],
+        "tip": "卡片与应用使用同一套代码,因此会跟随你的主题和语言。卡片显示异常就是一个值得报告的 bug。"
+      },
+      "deviceDetail": {
+        "title": "查看客户端详情",
+        "subtitle": "流量、DNS 以及各个标记的含义",
+        "intro": "点击客户端会打开详情:身份、连接情况,以及两个回答不同问题的面板,它传输了多少、它查询了什么。",
+        "steps": [
+          "打开 ⟦客户端⟧ 并点击一个客户端。",
+          "流量卡片汇总 1 小时、24 小时、30 天或 12 个月的下载、上传和总计,并显示同一窗口的曲线。需要设备上报按客户端的计数器。",
+          "DNS 卡片列出该客户端解析的域名、频率以及哪些被拦截,来自 AdGuard 查询日志,窗口为 1 小时或 24 小时。",
+          "⟦无 IP⟧ 标记表示客户端已通过 WiFi 关联但还没有地址。保持这种状态两分钟后,活动日志里也会留下一条信息记录。"
+        ],
+        "tip": "两个面板在没有数据时都会说明。空白面板并不代表损坏:源没有配置,或窗口内没有样本。"
+      },
       "firstLogin": {
         "title": "首次运行与密码",
         "subtitle": "首次登录并保护管理员账户",

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

@@ -29,6 +29,7 @@ import {
   Wifi,
   Sparkles,
   ArrowRight,
+  Activity,
 } from 'lucide-react'
 import {
   Accordion,
@@ -62,6 +63,9 @@ function RichText({ text }: { text: string }) {
 
 const FLOWS = [
   { key: 'firstLogin', icon: KeyRound },
+  // #2116/#2076/#2081: lo que trajo 2.54.0 también se explica aquí.
+  { key: 'whatsNew', icon: Sparkles },
+  { key: 'deviceDetail', icon: Activity },
   { key: 'addRouter', icon: RouterIcon },
   { key: 'installAgent', icon: CircleHelp },
   { key: 'channelPlan', icon: Wifi },