On Settings → Agent profiles, typing into a profile field and clearing it again leaves "1 unsaved settings change" with every field visibly empty. While any change is unsaved, AgentProfilesPage.vue disables the name input and Add profile (:disabled="unsaved"), so the page looks broken. Likely cause: patch() writes image: "" (or adapter, kit) onto a stored entry that had no such key, and the settings diff counts "" against a missing key as a change.
Done when
Clearing a field back to its stored state shows no unsaved change, and Add profile is available.
## Problem
On Settings → Agent profiles, typing into a profile field and clearing it again leaves "1 unsaved settings change" with every field visibly empty. While any change is unsaved, `AgentProfilesPage.vue` disables the name input and Add profile (`:disabled="unsaved"`), so the page looks broken. Likely cause: `patch()` writes `image: ""` (or `adapter`, `kit`) onto a stored entry that had no such key, and the settings diff counts `""` against a missing key as a change.
## Done when
Clearing a field back to its stored state shows no unsaved change, and Add profile is available.
sam
added the mediumbug labels 2026-11-12 15:51:30 +00:00
Fixed in 04515452. patch() in AgentProfilesPage.vue now drops a field cleared to empty unless the stored profile already has that key, so emptying a field never written no longer diffs as a change and Add profile stays available. Ran task check (pass).
Fixed in 04515452. patch() in AgentProfilesPage.vue now drops a field cleared to empty unless the stored profile already has that key, so emptying a field never written no longer diffs as a change and Add profile stays available. Ran task check (pass).
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Problem
On Settings → Agent profiles, typing into a profile field and clearing it again leaves "1 unsaved settings change" with every field visibly empty. While any change is unsaved,
AgentProfilesPage.vuedisables the name input and Add profile (:disabled="unsaved"), so the page looks broken. Likely cause:patch()writesimage: ""(oradapter,kit) onto a stored entry that had no such key, and the settings diff counts""against a missing key as a change.Done when
Clearing a field back to its stored state shows no unsaved change, and Add profile is available.
Fixed in
04515452. patch() in AgentProfilesPage.vue now drops a field cleared to empty unless the stored profile already has that key, so emptying a field never written no longer diffs as a change and Add profile stays available. Ran task check (pass).