5sControl / 5sControl/5s-frontend

[5h]fix bug: no notification about the absence of a license when adding cameras

未关闭
#71 1 条评论 0 个 reaction 已指派 1 人 已指派给 @AlexGurski 在 GitHub 查看
bug
主要语言
TypeScript
星标
3
派生
1
PR 合并指标
30 天内没有已合并 PR

描述

Summary: **Не появляется уведомление об отсутствии лицензии**

Preconditions:
- Пользователь авторизован
- Лицензионный ключ НЕ ПРИМЕНЕН

Steps to reproduce:
1. Нажать вкладку "Configuration"
2. Нажать кнопку "Add camera"
3. Выбрать необходимую камеру
4. В появившемся окне ввести Username и Password
5. Нажать кнопку "Connect"

Expected result:
Появляется уведомление о том, что добавить камеру невозможно, т.к. не активирована лицензия

Actual result:
Камера успешно добавлена

贡献指南

打开贡献指南

调研方向

Look for the camera addition flow in the Configuration section. Find where the license check should happen before allowing a camera to connect. The UI notification logic and the API call for adding a camera need to be examined. Verify the fix by testing the camera addition process without a license applied.

由索引模型根据 Issue 内容生成。

评估

技术栈
react, typescript
领域
frontend
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。