5sControl / 5sControl/5s-frontend

bug with item change(change from remote to active)

Offen
#410 0 Kommentare 0 Reaktionen 1 zugewiesene Person Zugewiesen an @Dimskay1988 Auf GitHub ansehen
bug Front
Vorherrschende Sprache
TypeScript
Sterne
3
Forks
1
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Preconditions: пользователь авторизован, получена лицензия, созданы itemы, удалена камера к которой подключен MinMax.
Summary: Inventory, при изменении(через настройки itema) камеры с удалённой на активную, уведомление could not safe the item.
1. Открыть приложение;
2. Открыть вкладку Inventory;
3. Выбрать item с удалённой камерой(пример Multi row);
4. Открыть настройки айтема;
5. Изменить камеру с удалённой на 192.168.1.162;
6. Левый клик по кнопке done.
Result: Уведомление-could not safe the item, камера изменяется только после повторного нажатия на кнопку done.
Expecte result: Камера изменена.

https://github.com/5sControl/django-front/assets/113969187/21888c94-9b22-4be7-9f97-dd80d9df8d53

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

The issue describes a bug in the Inventory item settings where changing a camera from remote to active fails on the first save attempt. Look at the frontend code handling item settings, likely in a component like `InventoryItemSettings` or similar. Examine the API call for saving item changes and the state management around camera selection. The video attachment may show the UI flow. Check for any error handling or validation logic that might cause the first save to fail. Verify the fix by testing the camera change flow in the UI.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
react, typescript
Bereich
frontend
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
40/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.