5sControl / 5sControl/5s-frontend

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

Abierto
#568 0 comentarios 0 reacciones 1 asignado Reclamado por @payne52 Ver en GitHub
bug
Lenguaje dominante
TypeScript
Estrellas
3
Forks
1
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
react, typescript
Área
frontend
Tipo de issue
Error
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.