5sControl / 5sControl/5s-frontend
fix bug fields are empty after clicking button "cancel" in camera connection window
- 主要言語
- TypeScript
- スター
- 3
- フォーク
- 1
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Поля не заполняются прошлыми данными после клика "Cancel"
**Precondition**
пользователь авторизован
камера авторизована
открыта страница "Configuration"
**Environment:**
win 11
CHrom 114
**STR:**
1. Кликнуть по камере
2. Кликнуть по кнопке "Edit" в окне "Camera Settings"
3. Очистить данные в полях "Username", "Password" "Camera connection"
4. Кликнуть по кнопке "Cancel"
5. Кликнуть по кнопке "Edit" в окне "Camera Settings"
**ER:**
Поля "Username", "Paassword" заполнены предыдущими данными, которые были стерты
**AR:**
Поля "Username", "Paassword" пустые
**Attachments:**
https://drive.google.com/file/d/1xT2ObDt7pEV6l7jQ5IF7zOu6KDxckk_K/view?usp=drive_link
コントリビューションガイド
調査の方向性
Look for the camera connection window component, likely in a file like CameraSettings.tsx or similar. Find the edit form and the cancel button handler. The bug is that the form state is not being reset to the previous values on cancel. Check how the form data is managed (state, props, context) and ensure the cancel action reverts changes. Verify by testing the UI flow described.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- react, typescript
- 領域
- frontend
- issue の種類
- バグ
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100