Skip to content

Db builder warning and partial dialogue refactor - #554

Merged
hk21702 merged 12 commits into
mainfrom
DB-Builder-warning
Aug 30, 2024
Merged

hk21702 merged 12 commits into
mainfrom
DB-Builder-warning

Conversation

@hk21702

@hk21702 hk21702 commented Aug 8, 2024 •

Copy link
Copy Markdown
Collaborator

Implements conditional warning dialogs that pop up before critical db builder actions. Warns the user that the action is most likely not something they should be doing.

Utilizes a new binary conditional dialog which inherits from new base classes to be used with future dialogs. There are two of these base dialogs, a more generic one (_BaseDialogue) and one specifically for dialogs based on QMessageBox (_BaseMessageBox).

Marked show_dialogue_confirmation as deprecated in favor of creating a BinaryChoiceDialog object and then using one of its exec methods instead.

Implements some pytests for TestBinaryChoiceDialog which require the new development lib, pytestqt. Adds a new step in the pytest action to install required linux libraries for QT.

image

image

image

@hk21702 hk21702 added Code refactoring 🧹 improving the structure and organization of the code; restructuring, cleaning up accessibility 👀 ℹ️🤓 user-friendly optimization, like notifications, warnings and action alerts labels Aug 8, 2024
@hk21702 hk21702 self-assigned this Aug 8, 2024
@github-actions github-actions Bot added the dependencies Pull requests that update a dependency file label Aug 8, 2024
@github-actions github-actions Bot added the DevOps 💻 Related to development automation, auto building, auto actions, and other CI/CD things label Aug 8, 2024
@hk21702
hk21702 force-pushed the DB-Builder-warning branch 16 times, most recently from 562006f to e8fc147 Compare August 8, 2024 19:57
@hk21702
hk21702 force-pushed the DB-Builder-warning branch from e8fc147 to 717c8f2 Compare August 8, 2024 20:00
Comment thread app/controllers/settings_controller.py Resolved
Comment thread app/views/dialogue.py Resolved
@hk21702
hk21702 merged commit f19dfee into main Aug 30, 2024
@hk21702
hk21702 deleted the DB-Builder-warning branch August 30, 2024 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accessibility 👀 ℹ️🤓 user-friendly optimization, like notifications, warnings and action alerts Code refactoring 🧹 improving the structure and organization of the code; restructuring, cleaning up dependencies Pull requests that update a dependency file DevOps 💻 Related to development automation, auto building, auto actions, and other CI/CD things

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants