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

Settings Editor #451

Open
2 tasks
tomlin7 opened this issue Nov 3, 2024 · 0 comments · May be fixed by #453
Open
2 tasks

Settings Editor #451

tomlin7 opened this issue Nov 3, 2024 · 0 comments · May be fixed by #453
Assignees
Labels
enhancement New feature or request

Comments

@tomlin7
Copy link
Owner

tomlin7 commented Nov 3, 2024

Feature

Settings editor GUI has been added. But it's not fully functional yet.

  • update config manager state according to the settings editor state
  • use sqlite3 db to store the settings and restore

Note

@tomlin7 tomlin7 added the enhancement New feature or request label Nov 3, 2024
@tomlin7 tomlin7 self-assigned this Nov 3, 2024
tomlin7 added a commit that referenced this issue Nov 3, 2024
Fixes #451

Add functionality to update config manager state and store settings using sqlite3 in the settings editor.

* **Config Manager (`src/biscuit/settings/config.py`):**
  - Add methods to save and load settings from sqlite3.
  - Update `__init__` method to initialize sqlite3 database in `datadir`.
  - Update `load_data` method to load settings from sqlite3.

* **Settings Editor (`src/biscuit/settings/editor/editor.py`):**
  - Add methods to save and load settings from sqlite3.
  - Update `add_sections` method to load settings from config manager.

* **Settings (`src/biscuit/settings/settings.py`):**
  - Update `Settings` class to use sqlite3 for configuration.
  - Update `late_setup` method to load settings from sqlite3.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/tomlin7/biscuit/issues/451?shareId=XXXX-XXXX-XXXX-XXXX).
@tomlin7 tomlin7 linked a pull request Nov 3, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant