Skip to content

Conversation

@ilicfilip
Copy link
Collaborator

@ilicfilip ilicfilip commented Jan 15, 2026

Summary

  • Adds a guided tour system using driver.js for hosting partner onboarding
  • Tours can span multiple contexts: frontend, block editor, and admin pages
  • Includes "go-to-publish" tour that guides users through editing their homepage (heading, paragraph, image, save)
  • State persisted in user meta, survives page reloads

Playground / Admin Bar Testing

  1. Create new Page (add paragraph of text and an image) and set it as a Home page
  2. Visit the site's homepage (not wp-admin)
  3. Click "Start Guided Tour" in the admin bar
  4. Follow the tour: Edit Page link → heading → paragraph → image → Save button
  5. To test again, click "Reset Tour" in the admin bar

Testing while locally developing

  1. Add this filter to enable the tour: add_filter( 'progress_planner_is_hosting_install', '__return_true' );
  2. Visit the site's homepage (not wp-admin) while logged in as admin
  3. A welcome card appears in the bottom-right corner - click it to start the tour
  4. Follow the tour: Edit Page link → heading → paragraph → image → Save button
  5. To reset and test again: delete_user_meta( get_current_user_id(), 'pp_guided_tour_state' );

@github-actions
Copy link
Contributor

github-actions bot commented Jan 15, 2026

Test on Playground
Test this pull request on the Playground
or download the zip

@github-actions
Copy link
Contributor

github-actions bot commented Jan 15, 2026

✅ Code Coverage Report

Metric Value
Total Coverage 31.60% 📉
Base Coverage 31.60%
Difference 📈 0.00%

⚠️ Coverage below recommended 40% threshold

🎉 Great job maintaining/improving code coverage!

📊 File-level Coverage Changes (1 files)

📉 Coverage Decreased

Class Before After Change
Progress_Planner\Base 44.51% 44.31% -0.20%
ℹ️ About this report
  • All tests run in a single job with Xdebug coverage
  • Security tests excluded from coverage to prevent output issues
  • Coverage calculated from line coverage percentages

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