5sControl / 5sControl/5s-frontend

[2h]fix bug: no possibility to disconnect the database

オープン
#105 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
TypeScript
スター
3
フォーク
1
PR マージ指標
30日以内にマージされた PR はありません

説明

Summary: Нет возможности отключить базу данных

Preconditions: Пользователь авторизован
Лицензионный ключ применен

Steps to reproduce:
1. Нажать вкладку "Configuration"
2. Выбрать таб "Database"
3. Нажать кнопку "Connect to Database"
4. Ввести все данные о базе данных
- Host: 192.168.1.110
- Database name: test
- User: sa
- Password: just4Taqtile
5. Нажать "Connect"
6. Нажать кнопку "Disconnect"
7. В появившемся окне подтвердить действие, нажав кнопку "Disconnect"
8. Нажать кнопку "Cancel"
9. Обновить страницу

Expected result:
Database is not connected

Actual result:
Database is connected

Attachment:

https://user-images.githubusercontent.com/109624457/227224465-a2c10511-450d-4779-a36a-4582fe3b554e.mp4

![Image](https://user-images.githubusercontent.com/109624457/227224487-e1210072-49b0-43d1-a54a-a053e177fd0b.png)

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Look at the frontend code for the database connection UI, likely in a component handling the Configuration/Database tab. The disconnect button click handler and the subsequent API call or state update need to be examined. Check if the connection state is properly cleared on disconnect and persists after a page refresh. The video attachment shows the UI flow.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
react, typescript
領域
database, frontend
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
50/100

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

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