5sControl / 5sControl/5s-frontend
fix bug in create new item
- Lingua principale
- TypeScript
- Stelle
- 3
- Fork
- 1
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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 добавлен.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
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.
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