5sControl / 5sControl/5s-frontend
Order item is added to the order without saving changes when creating a new order
- 主要语言
- TypeScript
- 星标
- 3
- 派生
- 1
- PR 合并指标
- 30 天内没有已合并 PR
描述
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
贡献指南
调研方向
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.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- react, typescript
- 领域
- frontend, mobile
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100