Skip to content

Close the model settings dialog once a save works - #181

Merged
adityak74 merged 1 commit into
mainfrom
fix/web-close-settings-on-save
Sep 5, 2026
Merged

Close the model settings dialog once a save works#181
adityak74 merged 1 commit into
mainfrom
fix/web-close-settings-on-save

Conversation

@adityak74

Copy link
Copy Markdown
Contributor

Saving in the model settings dialog left it open behind a Saved. line, so every save needed a second click on the close button.

Now a successful save closes it. A failed save keeps it open, because the message on it is the only place the reason is said.

Two lines in saveSettings. No test: main.ts has no unit harness, and the success branch is structurally the statement after the awaited PUT resolves.

https://claude.ai/code/session_01PG2vuux5tMsjnZBLWJzMyp

The dialog stayed open behind a Saved. line, so every save ended with a
second click on the close button. A save that fails still keeps it open,
because the message on it is the only place the reason is said.

Claude-Session: https://claude.ai/code/session_01PG2vuux5tMsjnZBLWJzMyp
@adityak74
adityak74 merged commit 452325a into main Sep 5, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant