5sControl / 5sControl/5s-frontend

Order item is added to the order without saving changes when creating a new order

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

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

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.