Mirobit / bitcoin-node-manager

:bar_chart: Lightweight dashboard and control system for bitcoin nodes
MIT License
123 stars 64 forks source link

Incorrect "Wallet Disabled!" Popup Behavior #69

Closed k0gen closed 1 year ago

k0gen commented 1 year ago

The wallet tab in Bitcoin Node Manager shows a red popup displaying "Wallet disabled!" when the bitcoind.conf file has disablewallet=1, which is expected behavior. However, when the wallet functionality is enabled by setting disablewallet=0, and no wallet data is created, the same red popup "Wallet disabled!" continues to be displayed.

Screenshot 2023-08-03 at 11 58 04 AM

This behavior is misleading as it gives the impression that the wallet is still disabled, although it should indicate that no wallet data is found.

Expected Behavior: When the wallet functionality is enabled (disablewallet=0) but no wallet is created, the popup should be displayed in a different color, such as blue, along with a message like "No wallet data found" to accurately convey the actual status.

This issue may confuse users who enable the wallet functionality without creating a wallet, leading to misunderstanding the status of the wallet in Bitcoin Node Manager.

Proposed Solution: Modify the behavior of the popup when disablewallet=0 and no wallet data is found. Instead of displaying the red "Wallet disabled!" popup, show a blue popup with the message "No wallet data found" to provide accurate information to users.

Ensuring consistent and clear messaging in the wallet tab will improve user experience and avoid confusion about the wallet status.