5sControl / 5sControl/5s-frontend

Order is created with time 0 minutes

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

Description

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)

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

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

Évaluation

Stack technique
react, typescript
Domaine
frontend, mobile
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
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.