5sControl / 5sControl/5s-frontend

Order is created with time 0 minutes

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

Descripción

Precondition:
Go to https://stage.5scontrol.com\mobile
Login as admin
Отсканировать QR с операцией сборка.
Login - петров_петр
пароль - 1234

Description:
После сканирования QR операции, а после отменить (не выбрав никое время), в заказах появляется данная операция с временем 0 минут

Step to reproduce:
1. Отсканировать QR под worker
2. Кликнуть на иконку "Назад" сверху слева
3. Проверить заказ под админом

Expected result:
Появляется заказ. Время указывается 0 минут

Actual result:
Заказ не должен создаваться

Attachment:
![Image](https://github.com/user-attachments/assets/499655b4-3073-47d5-b59a-9eecdc5949e7)
![Image](https://github.com/user-attachments/assets/2b802c2c-0642-4583-8717-30b28d985285)

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

The issue describes a mobile frontend bug where an order is incorrectly created with 0 minutes when a QR scan operation is cancelled. Start by examining the mobile login flow and QR scanning components. Look for the order creation logic and the condition that triggers it when the 'back' icon is clicked. Check the state management for the operation time to see why a zero value is passed. Verify the expected behavior by testing the cancellation path.

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

Evaluación

Stack tecnológico
react, typescript
Área
frontend, mobile
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
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.