Skip to content

[ACTV-272] Adjust feature flag for onboarding tour#1244

Merged
abdnh merged 2 commits intomainfrom
ACTV-272
Feb 12, 2026
Merged

[ACTV-272] Adjust feature flag for onboarding tour#1244
abdnh merged 2 commits intomainfrom
ACTV-272

Conversation

@abdnh
Copy link
Contributor

@abdnh abdnh commented Feb 11, 2026

Related issues

ACTV-272

Proposed changes

  • Ensure onboarding prompt is not shown by default for first-time users for now.
  • Rename the addon_tours flag to onboarding_tour.

How to reproduce

  • Confirm integration tests pass.
  • Test syncing with a new user (Reset the last_deck_sync field) and confirm the prompt is shown.

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @abdnh, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request refines the control mechanism for the onboarding tour by renaming its associated feature flag and modifying its default activation state. The primary goal is to prevent the onboarding prompt from appearing by default for new users, providing more granular control over its presentation. This change impacts how the onboarding tour is triggered and displayed within the application.

Highlights

  • Feature Flag Renaming: The feature flag controlling the onboarding tour has been renamed from addon_tours to onboarding_tour for clarity and consistency.
  • Onboarding Prompt Default Behavior: The default behavior for showing the onboarding prompt to first-time users has been adjusted, ensuring it is not shown by default for now.
  • Test Updates: Integration tests have been updated to reflect the new feature flag name and its associated logic.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • ankihub/gui/menu.py
    • Updated the feature flag name from addon_tours to onboarding_tour when checking whether to display the 'Start onboarding tour' menu action.
  • ankihub/gui/operations/ankihub_sync.py
    • Changed the feature flag name from addon_tours to onboarding_tour in the condition that determines if a user should be prompted for the onboarding tour during sync.
  • ankihub/gui/tutorial.py
    • Modified the prompt_for_onboarding_tutorial function to use the onboarding_tour feature flag instead of addon_tours and changed its default check from True to False.
  • tests/addon/test_integration.py
    • Updated test method names and mock return values to reflect the onboarding_tour feature flag instead of addon_tours.
    • Adjusted parameter names in test_subscribe_to_intro_deck_conditions to use onboarding_tour_enabled.
    • Updated comments within the test file to refer to the onboarding_tour feature flag.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@abdnh abdnh merged commit e1a6a41 into main Feb 12, 2026
8 checks passed
@abdnh abdnh deleted the ACTV-272 branch February 12, 2026 17:06
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

Comments