OpenHands/agent-canvas
[Bug]: Disable Save button if there are no new settings to save
Geschlossen
#909 geöffnet am 28.05.2026
buggood first issue
Repository-Metriken
- Stars
- (43 Sterne)
- PR-Merge-Metriken
- (Durchschn. Merge 2T 10h) (106 gemergte PRs in 30 T)
Beschreibung
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