5sControl / 5sControl/5s-frontend

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

Ouverte
#568 0 commentaires 0 réactions 1 personne assignée Réclamée par @payne52 Voir sur GitHub
bug
Langage dominant
TypeScript
Étoiles
3
Forks
1
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
react, typescript
Domaine
frontend
Type d'issue
Bug
Difficulté
2/5
Temps estimé
1-3 heures
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.