5sControl / 5sControl/5s-frontend

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

オープン
#770 コメント 0 件 リアクション 0 件 担当者 1 名 @pkostukevich が担当を希望しています GitHub で見る
bug mobile
主要言語
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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。