Skip to content

Use Apply & Save for boolean and enum values too - #5

Merged
arithex merged 1 commit into
mainfrom
claude/affectionate-goodall-gn2lqa
Oct 29, 2026
Merged

arithex merged 1 commit into
mainfrom
claude/affectionate-goodall-gn2lqa

Conversation

@arithex

@arithex arithex commented Oct 29, 2026

Copy link
Copy Markdown
Owner

This follows tester feedback. Every value type now saves the same way, with an explicit Apply & Save. Before, clicking ON/Off or picking an enum label saved straight away, before the user had a chance to choose the Save To files.

Changes (MainWindow.xaml.cs)

  • Apply & Save is always shown. It is enabled when a value is chosen, the input is valid, and at least one Save To file is ticked.
  • ON/Off and the enum dropdown now only stage the value. Apply & Save writes it, the same as for text values. Pressing Enter in the text box still applies.
  • Fill with default now works for booleans and enums too. It selects the default ON/Off button or enum label.
  • The enum dropdown no longer needs its deferred save, so that workaround is removed.

Saving still writes to disk right away when Apply & Save is clicked, so "changes are auto-saved" in CLAUDE.md still holds.

Testing

  • The C# compiles against the .NET 4.8 reference assemblies, using stand-ins for the code the XAML generates.
  • Windows CI build.
  • Manual check: change a boolean value, then an enum value, and confirm neither is saved until Apply & Save is clicked.

Generated by Claude Code

Per tester feedback: clicking ON/Off, or picking an enum label, now only
stages the value; Apply & Save writes it, the same as for text values.
This is more consistent, and leaves time to choose the Save To files
first. Fill with default now works for boolean and enum values too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KaEsnLMDyw72GZ8a6ZxAGq
@arithex
arithex merged commit 66fdf70 into main Oct 29, 2026
2 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.

2 participants