SECUREXSECURITY ENGINEERINGNVR 文档

前端 UI

前端 UI 是 Securex NVR 插件开发规范的一部分,必须兼顾升级、卸载、多语言和统一 UI。

核心说明

本页内容按该功能本身整理,不再使用通用占位说明。以下项目均与当前主题直接相关。

要点 1

前端采用 Securex/Frigate 一致的间距、卡片、按钮和弹窗风格。

要点 2

不要把页面做成 iframe 外站风格;插件设置应融入主 UI。

要点 3

所有异步动作显示 loading、成功和可诊断错误。

验证与排查

  • 修改或执行前记录当前版本/配置,以便回退。
  • 完成后同时检查 UI 状态和后端日志,不只看一个成功提示。
  • 如果问题只在单个摄像头/插件出现,先做最小范围对比,避免全局改动。

Frontend UI

Frontend UI is part of the Securex NVR plugin development contract and must remain compatible with upgrades, uninstall, i18n and the host UI.

Contract

  • Use stable plugin IDs, declared capabilities and versioned manifests.
  • Keep user configuration separate from plugin code.

Implementation

  • Follow Securex navigation, theme and translation conventions.
  • Host-privileged actions must run through a controlled backend.

Release checks

  • Test fresh install, upgrade, uninstall, retained configuration and rollback before release.

UI frontend

UI frontend forma parte del contrato de plugins de Securex NVR y debe ser compatible con actualización, desinstalación, i18n y UI.

Contrato

  • Use IDs estables, capacidades declaradas y manifest versionado.
  • Separe configuración del código.

Implementación

  • Respete navegación, tema e i18n de Securex.
  • Acciones privilegiadas deben pasar por backend controlado.

Pruebas de release

  • Pruebe instalación, actualización, desinstalación, conservación y rollback.
输入关键词开始搜索