5sControl / 5sControl/5s-frontend

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

Offen
#568 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @payne52 Auf GitHub ansehen
bug
Vorherrschende Sprache
TypeScript
Sterne
3
Forks
1
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
react, typescript
Bereich
frontend
Issue-Typ
Bug
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.