-
Notifications
You must be signed in to change notification settings - Fork 798
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Unified Admin Color Schemes module skeleton #17750
Conversation
E2E results is available here (for debugging purposes): https://jetpack-e2e-dashboard.herokuapp.com/pr-17750 This is an automated check which relies on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This works okay as described. Let's add the file to the list as the bot comment above suggests.
The place for the module looks good to me but for this case, I'd rather have a secondary check from somebody in the crew, just to make sure we land it appropriately.
My other note is about the uacs
shorthand. These always seem cryptic to me and I'm not sure whether that's a built-in system name or something we came up with. Would it make sense to write those words out or do something like jetpack_color_schemes
instead? I'll leave this up to you, since I don't think it breaks any rule.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The place for the module looks good to me but for this case, I'd rather have a secondary check from somebody in the crew, just to make sure we land it appropriately.
Discussion: p1604926678074100-slack-CJS75TX3R
My personal preference would be for us to expand the existing masterbar
module, which already gets preferential treatment on Atomic sites, to include all those UI tweaks we'll be making for Atomic sites.
As part of the changes, we could even rename the module; as long as the module slug (the entry point's file name, modules/masterbar.php
, remains the same, we won't lose anything.
My other note is about the uacs shorthand. These always seem cryptic to me and I'm not sure whether that's a built-in system name or something we came up with.
I think it'd be okay, and more readable to switch to a namespace that better describes this?
See #17629 for a first attempt at adding to the masterbar module |
Note that if we proceed with this approach we'll want to structure it as a class similar to how we'd done in #17762. We could also consider namespacing. |
Fixed in #17762 |
Adds a new module skeleton to provide a starting point for all code required for the admin color scheme unification on Dotcom.
Changes proposed in this Pull Request:
unified-admin-color-schemes
.Jetpack product discussion
Automattic/wp-calypso#45675
Does this pull request change what data or activity we track or use?
Nope
Testing instructions:
uacs_setup_admin
function.Proposed changelog entry for your changes:
unified-admin-color-schemes
module.