OpenHands/agent-canvas

[Bug]: Disable Save button if there are no new settings to save

Chiusa

#909 aperta il 28 mag 2026

 (3 commenti) (0 reazioni) (0 assegnatari)TypeScript (26 fork)github user discovery
buggood first issue

Metriche repository

Star
 (43 stelle)
Metriche merge PR
 (Merge medio 2g 10h) (106 PR mergiate in 30 g)

Descrizione

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

  1. Change a setting (enable confirmation mode)
  2. Save button becomes enabled
  3. Revert change (disable confirmation mode)
  4. Save button remains enabled
  5. Click save
  6. 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

Guida contributor