Skip to content

Allows importing existing config files - #9

Merged
BadgerCode merged 1 commit into
mainfrom
import-config
Nov 24, 2026
Merged

BadgerCode merged 1 commit into
mainfrom
import-config

Conversation

@BadgerCode

Copy link
Copy Markdown
Owner

Users can continue where they left off by importing their existing config files.

If a value can't be parsed, it gets set to a default value (shown in the import summary)

Adds an Import button to the Configure page so users can carry on from
files they downloaded earlier, including ones from older versions of
the site.

- Config.h settings each have a list of readers, newest format first;
  anything not found falls back to its default and is listed in the
  import summary. A type check fails the build if a setting has no reader
- Missing expressions the firmware needs are added back from the defaults
- Imports replace that file's state in place (the views hold references),
  ask before replacing undownloaded changes, and count as a download
  when nothing had to be filled in
- Downloaded files now include a "Toaster Oven format" version line

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@BadgerCode
BadgerCode merged commit d095336 into main Nov 24, 2026
2 checks passed
@BadgerCode
BadgerCode deleted the import-config branch November 24, 2026 19:13
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