OpenHands/agent-canvas
[Bug]: Disable Save button if there are no new settings to save
已關閉
#909 建立於 2026年5月28日
buggood first issue
倉庫指標
- 星標
- (43 顆星)
- PR 合併指標
- (平均合併 2天 10小時) (30 天內合併 106 個 PR)
描述
Operating System
macOS
Installation Method
From source (npm run dev / npm run dev:minimal)
Agent Canvas Version
1.0.0-alpha.7
Bug Description
The save button remains enabled when there are no new changes to save
Steps to Reproduce
- Change a setting (enable confirmation mode)
- Save button becomes enabled
- Revert change (disable confirmation mode)
- Save button remains enabled
- Click save
- Successful save settings toast message renders
Actual Behavior
- Save button state is NOT dependent on settings state
- If there are no new settings to save, the save button is enabled
Expected Behavior
- Save button is enabled/disabled based on settings state
- If no new settings to save, disable the button
Relevant Logs
Screenshots
https://github.com/user-attachments/assets/d62c265e-2a98-42d8-abd8-3984977e564a
Additional Context
No response