5sControl / 5sControl/5s-frontend

fix bug in create new item

オープン
#119 コメント 0 件 リアクション 0 件 担当者 1 名 @miloshroma が担当を希望しています GitHub で見る
bug Front
主要言語
TypeScript
スター
3
フォーク
1
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
react, typescript
領域
frontend
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。