-
Notifications
You must be signed in to change notification settings - Fork 0
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
[BUILD-974] feat: Add config options for MH steps #1076
Conversation
@@ -3055,62 +3059,80 @@ def test_send_daily_review_summaries_without_data(mocker): | |||
mock_anki_hub_client.send_daily_card_review_summaries.assert_not_called() | |||
|
|||
|
|||
def url_mh_integrations_preview(slug: str) -> str: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use settings.url_mh_integrations_preview() instead of this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, because the config.app_url
is not initialized when the parametrization data is initialized. I'll add a comment
ankihub/gui/config_dialog.py
Outdated
|
||
def update_main_checkbox() -> None: | ||
main_checkbox.blockSignals(True) | ||
main_checkbox.setChecked( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we can set Qt.CheckState.PartiallyChecked if only one step is enabled?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea!
We want to allow users to select for which USMLE step they want to see BB/FA resources in the sidebar.
Related issues
https://ankihub.atlassian.net/jira/software/c/projects/BUILD/boards/1?selectedIssue=BUILD-914
Proposed changes
How to reproduce
Screenshot