5sControl / 5sControl/5s-frontend
[5h]fix bug: no notification about the absence of a license when adding cameras
- Dominant language
- TypeScript
- Stars
- 3
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Summary: **Не появляется уведомление об отсутствии лицензии**
Preconditions:
- Пользователь авторизован
- Лицензионный ключ НЕ ПРИМЕНЕН
Steps to reproduce:
1. Нажать вкладку "Configuration"
2. Нажать кнопку "Add camera"
3. Выбрать необходимую камеру
4. В появившемся окне ввести Username и Password
5. Нажать кнопку "Connect"
Expected result:
Появляется уведомление о том, что добавить камеру невозможно, т.к. не активирована лицензия
Actual result:
Камера успешно добавлена
Contributor guide
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100