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

feat: Add terms and policy submenu to AnkiHub menu #1072

Merged
merged 5 commits into from
Jan 10, 2025
Merged

feat: Add terms and policy submenu to AnkiHub menu #1072

merged 5 commits into from
Jan 10, 2025

Conversation

pedroven
Copy link
Collaborator

@pedroven pedroven commented Jan 9, 2025

Related issues

Proposed changes

This pull request adds a new "Terms and Policy" submenu to the AnkiHub menu. The submenu includes links to the Terms and Conditions and Privacy Policy documents, which are accessible directly from the main menu.

The modifications include adding a new function _ankihub_terms_and_policy_setup in menu.py, which creates the terms and policy sub-menu with two actions: "Terms && Conditions" and "Privacy Policy". These actions are connected to open links to the respective documents on the AnkiHub community website.

How to reproduce

  1. Run the AnkiHub application.
  2. Access the main menu.
  3. Click on the new "Terms and Policy" submenu.
  4. Select either "Terms && Conditions" or "Privacy Policy" to access the corresponding document link.

Screenshots and videos

image

@pedroven pedroven marked this pull request as ready for review January 9, 2025 18:52
@pedroven pedroven requested a review from a team January 9, 2025 18:52
@pedroven pedroven merged commit 7d20930 into main Jan 10, 2025
7 checks passed
@pedroven pedroven deleted the BUILD-954 branch January 10, 2025 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants