5sControl / 5sControl/5s-frontend
Camera section: Camera not deleted when disconnected
- Dominant language
- TypeScript
- Stars
- 3
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Precondition:
Go to [https://stage.5scontrol.com\mobile](https://stage.5scontrol.com%5Cmobile/)
Login as admin
Description:
После отключения камеры, она не удаляется сама из списка подключенных, а продолжает висеть с картинкой при последнем обновлении. На данную камеру все также допускается добавление зон
Step to reproduce:
Отклюбчить любую камеру от сети (в данном случае уже отключены)
Проверить состояние подключенной камеры в "Настройка камер"
Добавить несколько зон и кликнуть [Сохранить]
Expected result:
Камера должна удалиться из списка подключенных после отключения
Actual result:
Камера остается в списке подключенных
Attachment:
Contributor guide
Research direction
Look for camera management components and state handling, likely in a 'cameras' or 'settings' directory. Check how camera connection status is polled or updated, and where the list of connected cameras is rendered. The fix involves detecting a disconnection and removing the camera from the UI state. Verify by simulating a camera disconnect in the staging environment.
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
- 55/100