5sControl / 5sControl/5s-frontend

fix bug in create new item

Offen
#119 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @miloshroma Auf GitHub ansehen
bug Front
Vorherrschende Sprache
TypeScript
Sterne
3
Forks
1
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Preconditions: Пользователь авторизован, добавлена камера 192.168.1.163, к камере подключён алгоритм MinMax.
Summury: Inventory, для добавления нового item необходимо добавить камеру и подключить алгоритм через страницу configuration.
1. Открыть вкладку Inventory;
2. Ввести item name, current stock level, select a camera;
3. Выбрать камеру 192.168.1.168.
Result: Item не добавлен, для добавления нового item необходимо добавить камеру и подключить алгоритм через страницу configuration.
Expecte result: Item добавлен.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

The issue describes a bug in the Inventory feature where selecting a camera (192.168.1.168) with a MinMax algorithm fails to add a new item. Start by examining the frontend components for Inventory item creation, likely in a directory like `src/components/Inventory` or `src/pages/Inventory`. Look for the form handling camera selection and algorithm integration. Check the API calls made when submitting the form and verify the payload matches backend expectations. Testing the fix will require a local setup with a connected camera and algorithm.

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

Neue Issues direkt in Ihr Postfach

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