Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create config patching mechanism #69

Open
aggregate1166877 opened this issue Dec 2, 2021 · 0 comments
Open

Create config patching mechanism #69

aggregate1166877 opened this issue Dec 2, 2021 · 0 comments
Labels
high-level concept pre-alpha grind Pre-alpha MVP task: tasks used as rough indication of what needs to be done to get out of pre-alpha

Comments

@aggregate1166877
Copy link
Collaborator

Details:
If a new feature is created and is stored in the user profile, existing profiles never have the value set. Users have to manually delete their entire profile for all new values to make their way to the profile configs (or manually change items in menus to trigger a write of those specific items).

We need logic that specifically checks if any config values in user profile files are undefined (not null or falsy, actually undefined). If undefined, it should be patched and saved. This mechanism should not be version aware (unless we have an exceptional case). It should simply check for undefined config values and set them.

We might need to (at least partially) exclude controls from this however, because we do not want new features clashing with existing user control bindings. Instead, the user should have the option to reset individual new controls from blank to default, maybe even an option to automatically set all unbound controls to their defaults. In the latter case, the user should be given a list of controls that will be changed, with the option to cancel the auto-bind.

@aggregate1166877 aggregate1166877 added pre-alpha grind Pre-alpha MVP task: tasks used as rough indication of what needs to be done to get out of pre-alpha high-level concept labels Dec 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
high-level concept pre-alpha grind Pre-alpha MVP task: tasks used as rough indication of what needs to be done to get out of pre-alpha
Projects
None yet
Development

No branches or pull requests

1 participant