5sControl / 5sControl/5s-frontend
Order is created with time 0 minutes
- Lingua principale
- TypeScript
- Stelle
- 3
- Fork
- 1
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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:


Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- react, typescript
- Ambito
- frontend, mobile
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100