Automattic / Automattic/tours

Add the ability to activate tours by URL part

Open
#17 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
13
Forks
3
Avg merge
8m
Merged PRs (30d)
2

Description

There should be a field in the JSON that can be a regex or a simple string and the tour will be only offered on URLs that match the Regex or contain the string.

Use case for Polyglots: have language specific tours on pages like https://make.wordpress.org/polyglots/teams/?locale=de_DE that don't have a CSS class that allows differentiation.

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test entry point is named in the issue; begin by tracing how tour JSON is loaded and how the current page URL determines whether a tour is offered. Done means a tour condition can use either a regex or substring and can distinguish the Polyglots locale URL example.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
frontend, web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.