-
Notifications
You must be signed in to change notification settings - Fork 1
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
New mechanism for project settings #168
Comments
This was referenced Nov 8, 2023
svetter
added a commit
that referenced
this issue
Nov 11, 2023
svetter
added a commit
that referenced
this issue
Nov 11, 2023
svetter
added a commit
that referenced
this issue
Nov 11, 2023
Still missing: - Group settings and encoding/decoding (if necessary) - Database upgrade - Compatibility warning for db version > app version For #168
svetter
added a commit
that referenced
this issue
Nov 11, 2023
svetter
added a commit
that referenced
this issue
Nov 11, 2023
svetter
added a commit
that referenced
this issue
Nov 11, 2023
svetter
added a commit
that referenced
this issue
Nov 11, 2023
svetter
added a commit
that referenced
this issue
Nov 12, 2023
New class DatabaseUpgrader detects and/or reads version and if necessary, asks for user confirmatino before performing the upgrade. For #168
svetter
added a commit
that referenced
this issue
Nov 12, 2023
svetter
added a commit
that referenced
this issue
Nov 12, 2023
And allow resetting them instead of always having to remove them For #168
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Store an arbitrary number of settings by using just one string column in the settings table, with a string column identifying what setting it is. A table in code then lists and reserves the key for every single setting, or a number of consecutive keys for a collection of settings.
Needs functions to encode to and decode from string from/to various data types.
Also needs a new mechanism to update the database structure to new versions (to get rid of the old table and create a new one), and to block incompatible versions from opening.
This will enable storing all implicit settings where it makes the most sense - in the system or the database, that is, as global implicit settings or as project-specific implicit settings, without the need for a new column in the project settings table, which is obviously not a good usage of a table, especially when settings have different amounts of values. E.g., column widths can then be stored per project, which makes more sense.
SettingsTable
andProjectSettings
classes to use only one column and store/load project settings by keyImplementing uses for this more convenient mechanism can be done after this issue is completed.
The text was updated successfully, but these errors were encountered: