5sControl / 5sControl/5s-frontend

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

Offen
#770 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @pkostukevich Auf GitHub ansehen
bug mobile
Vorherrschende Sprache
TypeScript
Sterne
3
Forks
1
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
react, typescript
Bereich
frontend, mobile
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.