Masterbar: refactor feature and move to mu-wpcom #35469
Labels
Epic
Formerly "Primary Issue", or "Master Issue"
[Feature] Masterbar
WordPress.com Toolbar and Dashboard customizations
[Focus] Jetstream
[Plugin] Jetpack
Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/
[Plugin] mu wpcom
jetpack-mu-wpcom plugin
[Pri] Normal
[Type] Janitorial
Let's talk about the Masterbar module and its future in the Jetpack plugin and in the mu-wpcom plugin.
Now
History
Improves the experience for Jetpack authors when they've transferred their WordPress site from WordPress.com to a self-hosted plan by providing a similar experience to the front-end navigation on WordPress.com.
Current features
The feature currently lives here on WoA and self-hosted sites:
https://github.com/Automattic/jetpack/blob/5b320dc39fc6a437b6482757c9a68930f1f99138/projects/plugins/jetpack/modules/masterbar.php
It is:
On WordPress.com Simple sites, it is loaded differently:
fbhepr%2Skers%2Sjcpbz%2Sjc%2Qpbagrag%2Szh%2Qcyhtvaf%2Sznfgreone.cuc%3Se%3Q494pr4o9%233-og
It includes the following features:
The basic feature set is a replacement for the core admin bar, defined in
projects/plugins/jetpack/modules/masterbar/masterbar/class-masterbar.php
. This custom admin bar is extended with side-panels (that we talked about removing in #35199)We extend that basic feature set with other features that are enabled on WoA and/or simple sites:
jetpack/projects/plugins/jetpack/modules/masterbar.php
Lines 45 to 47 in 5b320dc
jetpack/projects/plugins/jetpack/modules/masterbar/inline-help/class-inline-help.php
Line 3 in 5b320dc
jetpack/projects/plugins/jetpack/modules/masterbar/nudges/bootstrap.php
Line 3 in 5b320dc
jetpack/projects/plugins/jetpack/modules/masterbar/admin-color-schemes/class-admin-color-schemes.php
Line 3 in 5b320dc
jetpack/projects/plugins/jetpack/modules/masterbar/profile-edit/bootstrap.php
Line 3 in 5b320dc
Show wp-admin pages if available
turned on) wp-calypso#52692.jetpack/projects/plugins/jetpack/modules/masterbar/wp-posts-list/bootstrap.php
Line 3 in 5b320dc
In the future
I do not think any of those features belong in the Jetpack plugin. At a time it made sense to ship those features in Jetpack because Jetpack was a good delivery mechanism for both WordPress.com simple and WoA sites. We now have the mu-wpcom plugin for that.
With that in mind, we could aim to do the following:
Tasks
Internal references:
The text was updated successfully, but these errors were encountered: