5sControl / 5sControl/5s-frontend
Camera section: Camera not deleted when disconnected
- Langage dominant
- TypeScript
- Étoiles
- 3
- Forks
- 1
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Precondition:
Go to https://stage.5scontrol.com\mobile
Login as admin
Description:
После отключения камеры, она не удаляется сама из списка подключенных, а продолжает висеть с картинкой при последнем обновлении. На данную камеру все также допускается добавление зон
Step to reproduce:
1. Отклюбчить любую камеру от сети (в данном случае уже отключены)
2. Проверить состояние подключенной камеры в "Настройка камер"
3. Добавить несколько зон и кликнуть [Сохранить]
Expected result:
Камера должна удалиться из списка подключенных после отключения
Actual result:
Камера остается в списке подключенных
Attachment:
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Look for camera management components and state handling in the frontend codebase, likely under settings or camera configuration. Check how camera connection status is polled or updated, and where the list of connected cameras is rendered. The fix involves removing a camera from the UI list when it disconnects and preventing zone additions to it.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- react, typescript
- Domaine
- frontend
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100