5sControl / 5sControl/5s-frontend

[1] No name is assigned in the new zone when the name field remains empty

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

説明

При создании новой зоны с пустым полем , имя автоматически не присваивается

**Precondition:**
Открыта вкладка configuration и настройки камеры

**Steps:**

1. Перейти во вкладку Zones
2. Добавить Zone
3. Поле Name оставить пустым
4. Сохранить зону

**Actual result:**
Зона создается без имени

**Expected Result:**
Зона создается с именем “Zone N “ где N - порядковый номер зоны

**files:**

https://github.com/user-attachments/assets/0d5d98f4-bb92-4611-a1b1-13e4f441855c

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

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

調査の方向性

The issue is about a zone creation form where an empty name field should auto-assign a name like 'Zone N'. Look for the zone creation component and the form handling logic, likely in a file related to Zones or configuration. Check how the name field is validated and where the default naming logic should be added. The test steps describe the UI flow, so run the app to reproduce the bug and verify the fix.

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

評価

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

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

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