5sControl / 5sControl/5s-frontend

fix bug in create new item

Open
#119 0 comments 0 reactions 1 assignee Claimed by @miloshroma View on GitHub
bug Front
Dominant language
TypeScript
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

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 добавлен.

Contributor guide

Open the contributing guide

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.