Skip to content

Disable onboarding tour - #8014

Merged
albarin merged 1 commit into
trunkfrom
sen-57-disable-onboarding-tour
Jun 17, 2026
Merged

albarin merged 1 commit into
trunkfrom
sen-57-disable-onboarding-tour

Conversation

@albarin

@albarin albarin commented Jun 16, 2026 •

Copy link
Copy Markdown
Contributor

Resolves SEN-57

Proposed Changes

  • Disable the onboarding tour by defaulting the onboarding_tour feature flag to false in both production and development environments. The tour is buggy and inconsistent across themes, so we're turning it off until it can be polished.

Testing Instructions

  1. The tour only auto-starts once per user, so clear any saved completion for your admin user first: wp user meta delete admin sensei_tours
  2. Go to Courses → Add New (the course block editor).
  3. Confirm the guided tour popover no longer appears.

Pre-Merge Checklist

  • PR title and description contain sufficient detail and accurately describe the changes
  • Adheres to coding standards (PHP, JavaScript, CSS, HTML)
  • All strings are translatable (without concatenation, handles plurals)
  • Follows our naming conventions (P6rkRX-4oA-p2)
  • Hooks (p6rkRX-1uS-p2) and functions are documented
  • New UIs are responsive and use a mobile-first approach
  • Code is tested on the minimum supported PHP and WordPress versions

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 16, 2026 09:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR disables the Sensei onboarding tour by default by changing the default value of the onboarding_tour feature flag to false across environments, while keeping the tour code available for re-enabling via the existing constant/filter mechanism.

Changes:

  • Set onboarding_tour default to false for both production and development environments in Sensei_Feature_Flags.
  • Add a changelog entry documenting the user-facing behavior change.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
includes/class-sensei-feature-flags.php Updates default feature flag values to disable onboarding_tour by default.
changelog/fix-disable-onboarding-tour Adds a patch-level changelog entry noting the onboarding tour is disabled.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions

Copy link
Copy Markdown
Contributor

WordPress Playground Preview

The changes in this pull request can previewed and tested using a WordPress Playground instance.

Open WordPress Playground Preview

@albarin albarin added this to the 4.26.2 milestone Jun 16, 2026
@albarin
albarin requested a review from donnapep June 16, 2026 10:07

@donnapep donnapep left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻

@albarin
albarin merged commit 2990def into trunk Jun 17, 2026
24 of 25 checks passed
@albarin
albarin deleted the sen-57-disable-onboarding-tour branch June 17, 2026 08: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.

3 participants