5sControl / 5sControl/5s-frontend

Camera section: Camera not deleted when disconnected

Aperta
#923 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
3
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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:

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
react, typescript
Ambito
frontend
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
55/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.