Commit Graph

46 Commits

Author SHA1 Message Date
d422ffd48e refactor: rebrand to SafeSight Control (merge p0-dashboard) 2026-07-17 11:08:47 +08:00
15f6f91fb6 feat: task timestamps, dirty state, confirmation dialog
- Task 模型增加 CreatedAt/CompletedAt,DB 读取和快照同步
- 总览页最近任务显示时间,限制5条,增加"更多 →"链接
- 任务中心增加创建时间/完成时间列
- 管控台"保存并下发"按钮:修改功能或视频源后才激活
- 下发前弹出变更摘要确认对话框
- 下发后回到管控台并显示任务ID
2026-05-12 14:26:10 +08:00
57b9ec3523 增加管控台 2026-05-12 10:13:20 +08:00
62d73f36e2 refactor: 合并第三方服务类型,去重字段
1. token_service 合并到 alarm_service
   - 去掉重复的 username/password/tenant_code
   - alarm_service 保留 get_token_url、put_message_url、tenant_code 三个有效字段
   - token_service_main 槽位绑定类型改为接受 alarm_service

2. 第三方服务页支持按类型动态显示字段(JS控制)
   - 添加自定义(custom)类型,使用 JSON 文本域
   - custom 类型支持槽位解析(resolvedServiceBinding)

3. 后端代码清理
   - 移除 token_service 类型相关逻辑
   - integration_type_label 去掉认证服务
2026-05-09 12:31:09 +08:00
ce18c85eba feat: 标准调试参数 & 克隆不立即保存
1. 新增标准调试参数
   - templates/standard_overlays/ 目录下导入 std_face_debug、
     std_test_sensitive、std_production_quiet 三个标准调试参数
   - 启动时通过 ImportStandardOverlaysFromDir 自动导入 SQLite
   - 支持 std_ 前缀只读保护,不可直接编辑/删除

2. 复制后不立即保存
   - 调试参数克隆:重定向到新建页预填数据,点击保存才入库
   - 识别模板克隆:重定向到模板编辑页预填,点击创建/进入可视化编辑才入库
   - 可视化编辑也支持 clone_source 参数,编辑保存时创建新模板

3. 简化调试参数 JSON 结构
   - 去掉 instance_overrides 层级,改为顶层 override 键
   - 运行时渲染兼容新旧两种格式
   - UI 去掉目标/目标数量字段

4. 清理死代码
   - 移除从零新建空白调试参数/模板的代码路径
2026-05-09 11:39:02 +08:00
b7268212e3 chore: convert all tabs to spaces 2026-05-08 20:05:40 +08:00
bcd5da575e fix: update dashboard test for new layout 2026-05-08 13:00:51 +08:00
c77391e5c5 feat: face gallery management page with person CRUD 2026-05-08 09:42:32 +08:00
697505fdf2 feat: merge audit records into diagnostics page, remove redundant sections 2026-05-06 16:45:01 +08:00
3ddffdc8f4 feat: redesign system page - service status with refresh, separate backup/restore cards 2026-05-06 16:17:44 +08:00
80955c95a0 chore: remove unnecessary sections from system status page 2026-05-06 16:07:12 +08:00
4df7af7f05 feat: add resource management page handler and sync action; rewrite resources template 2026-05-06 12:40:16 +08:00
2304516dbc 合并模型管理分支,修改启动脚本,增加了managerd.bat和managerd.ps1,删除了restart.bat 2026-05-06 11:45:26 +08:00
28764a1a6d Refine model management status and optional slot rendering 2026-05-05 12:57:45 +08:00
7ae66b2569 Add model management workflow to admin backend 2026-05-05 11:14:57 +08:00
03e0c2f2cc Refactor admin IA around scene templates and assignments 2026-05-03 09:50:46 +08:00
328705ebc6 Refactor config management flow and admin IA 2026-04-29 18:59:57 +08:00
12e2aac6f6 Add third-party service config flow 2026-04-29 10:51:13 +08:00
8666589e79 Refine admin UI themes 2026-04-29 02:10:21 +08:00
d712e5628b Add visual template editor and refine template management 2026-04-28 18:45:28 +08:00
43d18d0c7b feat: add local sqlite storage foundation 2026-04-28 15:21:16 +08:00
fdd7a03378 feat: consolidate diagnostics domain 2026-04-27 10:41:09 +08:00
a0a1812b8a feat: promote tasks as batch execution domain 2026-04-27 10:38:47 +08:00
74dfbbf7b5 feat: fold single-device operations into device workspace 2026-04-27 10:37:29 +08:00
ca004e07a7 test: lock approved IoT UI architecture 2026-04-27 10:28:07 +08:00
42514918d2 Refine device config management UI 2026-04-23 12:34:01 +08:00
165949db26 Refine config assets UI and profile editor 2026-04-20 15:26:39 +08:00
d772882ba3 Refine backend UI and fix batch config selection 2026-04-20 10:13:16 +08:00
2a994b7220 Align batch operations with audit workflow 2026-04-20 01:15:55 +08:00
2eca56e59a Add batch config rollout workflow 2026-04-20 01:01:44 +08:00
17240ac7bd Promote device batch service actions in overview 2026-04-20 00:44:54 +08:00
513062f08e Add device overview batch selection mode 2026-04-20 00:31:40 +08:00
9f4a910594 Refine backend device operations UI 2026-04-19 21:10:46 +08:00
9779e9a367 Switch admin UI to previous config fields 2026-04-19 14:46:19 +08:00
94c945bc19 Rename last good config in UI 2026-04-19 14:30:14 +08:00
468db800cd Clarify config identity in preview UI 2026-04-19 14:14:56 +08:00
1731a30c5c Refresh config status after apply 2026-04-19 13:58:35 +08:00
1cb3077b80 Show config apply result summary 2026-04-19 13:42:01 +08:00
8806985c8b Preserve config preview selections and results 2026-04-19 13:15:32 +08:00
ec419e87c3 Keep candidate apply action visible 2026-04-19 12:33:17 +08:00
5d3948250d Apply candidate config from preview UI 2026-04-19 12:23:27 +08:00
e703dacce6 Upload preview config as candidate 2026-04-19 11:24:33 +08:00
c9e3698008 Add config preview page 2026-04-19 11:14:29 +08:00
c2729d90c9 Show device config status in admin UI 2026-04-19 10:53:07 +08:00
8c80f3a1a5 Polish admin UI styles 2026-04-19 10:17:48 +08:00
debfb95e35 增加上传配置文件功能 2026-01-16 15:58:35 +08:00