5sControl / 5sControl/5s-frontend
Order item is added to the order without saving changes when creating a new order
- Dominant language
- TypeScript
- Stars
- 3
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Device: iPhone 15 pro
iOS version: 17.7
Browser: Safari
Version: 17.7
Steps to reproduce:
1. Нажать вкладку Orders на главной странице
2. Нажать "+" для создания нового заказа
3. Нажать на Add
4. Поставить галочку
5. Нажать стрелку "Назад"
Actual result:
предмет операции добавлен к заказу без сохранения изменений
Expected result:
при возвращении на предыдущий экран без нажатия на кнопку Save появляется диалоговое окно, подтверждающее сохранение изменений
https://github.com/user-attachments/assets/03285114-d3f3-46b3-a2e7-21945524e741
Contributor guide
Research direction
The issue describes a mobile UI flow in a React frontend where an order item is added without proper save confirmation. Start by examining the order creation component and the state management for the order form. Look for the 'Add' button handler and the back navigation logic to see where the unsaved changes are being committed. Check if there is a confirmation dialog component that should trigger on navigation away. Testing will involve running the app and reproducing the steps on a mobile simulator or device.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100