OpenHands/agent-canvas

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

クローズ

#909 opened on 2026/05/28

 (3 件のコメント) (0 件のリアクション) (0 人の担当者)TypeScript (26 件のフォーク)github user discovery
buggood first issue

Repository metrics

Stars
 (43 個のスター)
PR merge metrics
 (平均マージ 2d 10h) (30d で 106 merged PRs)

説明

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

コントリビューターガイド