5sControl / 5sControl/5s-frontend

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

Aperta
#568 0 commenti 0 reazioni 1 assegnatario Rivendicata da @payne52 Vedi su GitHub
bug
Lingua principale
TypeScript
Stelle
3
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

**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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
react, typescript
Ambito
frontend
Tipo di issue
Bug
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.