Repository navigation
Description
Feature Description
The Feature Discovery Hub is a standalone wp-admin page, reached from a new Add Features item in the Site Kit menu. It follows the precedent set by the Settings page: its own WordPress screen, its own script asset, and its own view context.
This issue stands that page up. It adds the screen and its menu item, the script asset and webpack configuration for the hub's entry point, and a new view context so that tracking, notifications and permission checks can be scoped to the hub. The page renders the hub app with no content of its own — the hero and the tabs (#13248), and the feature lists inside them (#13321, #13328), are built on top of this.
For reference, see the Where the hub lives section in the design doc.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
- A new WordPress screen,
googlesitekit-features, is created. - The screen appears in the Site Kit menu in wp-admin as Add Features, listed after Dashboard and before Settings.
- The screen and its menu item are only available to administrators.
- The screen and its menu item are only present when the
featureDiscoveryHubfeature flag is enabled. - The screen renders the hub app, which has no content of its own at this stage. The hero and tabs are added by Build the
FeatureDiscoveryAppshell (hero,TabBar,HashRouter) #13248, and the feature lists inside them by Build the "What's new?" tab #13321 and Build the "All services and features" tab + goal groups #13328. - The hub has its own view context,
featureDiscovery, distinct from the dashboard and settings view contexts.
Implementation Brief
- In
includes/Core/Admin/Screens.php:- Register a new
Screenforgooglesitekit-featureswith the menu labelAdd Features. - Parent it under the main Site Kit menu so it appears after Dashboard and before Settings.
- Restrict access with
Permissions::MANAGE_OPTIONSso the hub is admin-only. - Gate the screen registration on
featureDiscoveryHubusingFeature_Flags::enabledso that the screen is only registered when feature flag is enabled.
- Register a new
- In
assets/webpack/modules.config.js- Add a
googlesitekit-featureswebpack entrypoint that builds fromassets/js/googlesitekit-features.tsx.
- Add a
- Create
assets/js/components/feature-discovery/FeatureDiscoveryApp.tsx- Just a blank component. It can render a placeholder text for now. The hero, tabs and feature lists will be added in subsequent issues.
- In
assets/js/googlesitekit-features.tsx- Boot the page with the same DOM-ready render pattern used by Settings.
- Mount
RootwithVIEW_CONTEXT_FEATURE_DISCOVERYso tracking, notifications, and permission-aware logic can scope to the hub. - Render a dedicated hub app component that currently returns no content so the page loads cleanly before the hero, tabs, and feature list work lands.
- Keep the render target aligned with the screen mount node id
js-googlesitekit-features.
- In
assets/js/googlesitekit/constants.js:- Add
VIEW_CONTEXT_FEATURE_DISCOVERY = 'featureDiscovery'alongside the other exported view-context constants.
- Add
Test Coverage
- Add PHP coverage for the new screen registration, including menu placement, admin-only capability, and feature-flag gating.
QA Brief
- Enable the
featureDiscoveryHubflag in tester plugin. - Setup the SK plugin.
- There should be a new menu
Add Featuresmenu listed afterDashboardand beforeSettingsunderSite Kitmenu. - Clicking on
Add Featuresmenu would open a blank page with placeholder textFDH App. - There should be no console error on the page.
Changelog entry
- Add the "Add Features" admin menu item, and a placeholder screen for the Feature Discovery Hub.
Activity
techanvil commentedon Aug 4, 2026
IB ✅
wpdarren commentedon Aug 24, 2026
QA Update: ✅
Verified:
Add Featuresmenu listed after Dashboard and before Settings under Site Kit menu.Screenshots