Skip to content

Remove auto-save of view preferences#13

Merged
benvinegar merged 1 commit into
masterfrom
remove-config-auto-save
Mar 21, 2026
Merged

Remove auto-save of view preferences#13
benvinegar merged 1 commit into
masterfrom
remove-config-auto-save

Conversation

@benvinegar
Copy link
Copy Markdown
Member

Summary

  • Remove automatic persistence of view preferences (layout mode, theme, line numbers, wrap, hunk headers, agent notes) to the TOML config file when settings change during a session
  • Config files are still read on startup but are now read-only at runtime
  • Removes persistViewPreferences, TOML serialization helpers, and the onPreferencesChange callback plumbing

Test plan

  • bun run typecheck passes
  • bun test passes (1 pre-existing unrelated failure)
  • Smoke test: change settings in the UI and verify no config file is written

🤖 Generated with Claude Code

Settings changed during a session (layout mode, theme, line numbers, etc.)
no longer persist to the TOML config file. Config files are still read on
startup but are now treated as read-only at runtime.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@benvinegar benvinegar merged commit cd77a48 into master Mar 21, 2026
9 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