5sControl / 5sControl/5s-frontend

Camera section: Camera not deleted when disconnected

Aperta
#921 0 commenti 0 reazioni 1 assegnatario Rivendicata da @ThanhDoIVan Vedi su GitHub
bug Front mobile
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
Login as admin

Description:
После отключения камеры, она не удаляется сама из списка подключенных, а продолжает висеть с картинкой при последнем обновлении. На данную камеру все также допускается добавление зон

Step to reproduce:
1. Отклюбчить любую камеру от сети (в данном случае уже отключены)
2. Проверить состояние подключенной камеры в "Настройка камер"
3. Добавить несколько зон и кликнуть [Сохранить]

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 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.

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
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.