-
Notifications
You must be signed in to change notification settings - Fork 156
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
Fix/update admin icon #1132
Fix/update admin icon #1132
Conversation
includes/settings.php
Outdated
@@ -306,7 +306,7 @@ function admin_menu() { | |||
* @since 1.2 | |||
*/ | |||
function network_admin_menu() { | |||
add_menu_page( 'Distributor', 'Distributor', 'manage_options', 'distributor-settings', __NAMESPACE__ . '\network_settings_screen', 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzYiIGhlaWdodD0iMzkiIHZpZXdCb3g9IjAgMCAzNiAzOSIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48dGl0bGU+ZGlzdHJpYnV0b3ItaWNvbjwvdGl0bGU+PGRlc2M+Q3JlYXRlZCB1c2luZyBGaWdtYTwvZGVzYz48ZyBpZD0iQ2FudmFzIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNDAyNCAzNjUpIj48ZyBpZD0iZGlzdHJpYnV0b3ItaWNvbiI+PHVzZSB4bGluazpocmVmPSIjcGF0aDBfZmlsbCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNDAyNC43MSAtMzY1KSIgZmlsbD0iI0EwQTVBQSIvPjx1c2UgeGxpbms6aHJlZj0iI3BhdGgxX2ZpbGwiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQwMjQuNzEgLTM2NSkiIGZpbGw9IiNBMEE1QUEiLz48dXNlIHhsaW5rOmhyZWY9IiNwYXRoMl9maWxsIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg0MDI0LjcxIC0zNjUpIiBmaWxsPSIjQTBBNUFBIi8+PHVzZSB4bGluazpocmVmPSIjcGF0aDNfZm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zMi44NDAzIDI4LjAyMDNDIDM1LjM1MjQgMjIuNTMyNiAzNS4xNTA4IDE2LjAzMzggMzIuMzA1NSAxMC43NjE2WiIvPjxwYXRoIGlkPSJwYXRoNF9maWxsIiBkPSJNIDE5LjI5MTUgMi41QyAxOS4yOTE1IDMuODgwNzEgMTguMTcyMiA1IDE2Ljc5MTUgNUMgMTUuNDEwOCA1IDE0LjI5MTUgMy44ODA3MSAxNC4yOTE1IDIuNUMgMTQuMjkxNSAxLjExOTI5IDE1LjQxMDggMCAxNi43OTE1IDBDIDE4LjE3MjIgMCAxOS4yOTE1IDEuMTE5MjkgMTkuMjkxNSAyLjVaIi8+PHBhdGggaWQ9InBhdGg1X2ZpbGwiIGQ9Ik0gMzMuMjkxNSAxMC41QyAzMy4yOTE1IDExLjg4MDcgMzIuMTcyMiAxMyAzMC43OTE1IDEzQyAyOS40MTA4IDEzIDI4LjI5MTUgMTEuODgwNyAyOC4yOTE1IDEwLjVDIDI4LjI5MTUgOS4xMTkyOSAyOS40MTA4IDggMzAuNzkxNSA4QyAzMi4xNzIyIDggMzMuMjkxNSA5LjExOTI5IDMzLjI5MTUgMTAuNVoiLz48cGF0aCBpZD0icGF0aDZfZmlsbCIgZD0iTSAxMC4yOTE1IDI1LjVDIDEwLjI5MTUgMjYuODgwNyA5LjE3MjIyIDI4IDcuNzkxNSAyOEMgNi40MTA3OSAyOCA1LjI5MTUgMjYuODgwNyA1LjI5MTUgMjUuNUMgNS4yOTE1IDI0LjExOTMgNi40MTA3OSAyMyA3Ljc5MTUgMjNDIDkuMTcyMjIgMjMgMTAuMjkxNSAyNC4xMTkzIDEwLjI5MTUgMjUuNVoiLz48L2RlZnM+PC9zdmc+' ); | |||
add_menu_page( 'Distributor', 'Distributor', 'manage_options', 'distributor-settings', __NAMESPACE__ . '\network_settings_screen', 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbDpzcGFjZT0icHJlc2Vyd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yMC42NDgtNC44MzctNDcuMDkxIDE1LjgxMi01OS4wMTIgMjAuNjQ4LTExLjkyMiA0Ny4wOTEtNC44MzYgNTkuMDEyIDE1LjgxMiA3Ljc3IDEzLjQ1OCA3LjQ2NiAyOS4zNzcuNTk1IDQyLjEzM1oiLz4KICA8cGF0aCBmaWxsPSIjYTdhYWFkIiBkPSJNMjYyLjIzNyA3Mi45ODVDMTQ4LjggOTEuMTAxIDYyIDE4OS40OTQgNjIgMzA4YzAgMTMxLjM1NiAxMDYuNjQ0IDIzOCAyMzggMjM4czIzOC0xMDYuNjQ0IDIzOC0yMzhjMC0zNC4wNTktNy4xNjgtNjYuNDU4LTIwLjA4LTk1Ljc2Ni0xNS4xMjEuOTktMzAuMzIzLTYuMDE0LTM5LjEzNy0xOS42MjYtMTIuOTU5LTIwLjAxNC03LjIzMS00Ni43ODMgMTIuNzgzLTU5Ljc0MiAyMC4wMTQtMTIuOTU4IDQ2Ljc4My03LjIzMSA1OS43NDIgMTIuNzgzIDEwLjA5NSAxNS41OTIgOC44NDkgMzUuMjg0LTEuNjU3IDQ5LjM1MkM1NjUuMjg4IDIyOS40NjEgNTc0IDI2Ny43MjEgNTc0IDMwOGMwIDE1MS4yMjUtMTIyLjc3NSAyNzQtMjc0IDI3NFMyNiA0NTkuMjI1IDI2IDMwOEMyNiAxNzAuNTM5IDEyNy40NDMgNTYuNTg0IDI1OS40ODcgMzYuOTggMjY1LjU5NCAyMC41MzMgMjgxLjQzOCA4LjggMzAwIDguOGMyMy44NDMgMCA0My4yIDE5LjM1NyA0My4yIDQzLjIgMCAyMy44NDMtMTkuMzU3IDQzLjItNDMuMiA0My4yLTE2LjIyOSAwLTMwLjM4LTguOTY4LTM3Ljc2My0yMi4yMTVaIi8+Cjwvc3ZnPgo=' ); |
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.
@zach-adams can we create a separate file and function to get the data image?
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.
Sure, I'll take a look
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.
@ravinderk Would moving these data URL strings to a function in utils.php called something like "get_admin_icon" work alright? That way it could be simplified both here and in the 'external-connection-cpt.php' file to:
add_menu_page( 'Distributor', 'Distributor', 'manage_options', 'distributor-settings', __NAMESPACE__ . '\network_settings_screen', 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbDpzcGFjZT0icHJlc2VydmUiIHN0eWxlPSJmaWxsLXJ1bGU6ZXZlbm9kZDtjbGlwLXJ1bGU6ZXZlbm9kZDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6MiIgdmlld0JveD0iMTMuNCA4LjggNTczLjIgNTczLjIiPgogIDxwYXRoIGZpbGw9IiNhN2FhYWQiIGQ9Ik0xOTUuMTEzIDQxMS4wMzNjNDUuODM1IDQ2LjY5MiAxMTkuMTI0IDU4LjQ4OCAxNzguMzg3IDI0LjI3MyA3MC4yNjItNDAuNTY2IDk0LjM3MS0xMzAuNTQ0IDUzLjgwNi0yMDAuODA2LTQwLjU2Ni03MC4yNjItMTMwLjU0NC05NC4zNzEtMjAwLjgwNi01My44MDYtMTkuODczIDExLjQ3NC0zNi4wNTUgMjYuODk5LTQ4LjEyNCA0NC43MTVsNjQuNzIyIDMzLjE4NmMyMi4yMDEtMjUuNTkzIDU5Ljc5Ni0zMy43ODIgOTEuMjc5LTE3LjYzOSAzNy4wMDIgMTguOTczIDUxLjY0IDY0LjQxOCAzMi42NjcgMTAxLjQyMS0xOC45NzMgMzcuMDAyLTY0LjQxOCA1MS42NC0xMDEuNDIxIDMyLjY2Ny0zMS40ODMtMTYuMTQzLTQ2Ljc3Ni01MS40NS0zOC45NTEtODQuNDE1bC04MS43MDItNDEuODkyYy04LjgzOC00LjUzMi0xMi4zMzUtMTUuMzY3LTcuODE0L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Y1LjU5NCAyMC41MzMgMjgxLjQzOCA4LjggMzAwIDguOGMyMy44NDMgMCA0My4yIDE5LjM1NyA0My4yIDQzLjIgMCAyMy44NDMtMTkuMzU3IDQzLjItNDMuMiA0My4yLTE2LjIyOSAwLTMwLjM4LTguOTY4LTM3Ljc2My0yMi4yMTVaIi8+Cjwvc3ZnPgo=' ); | |
add_menu_page( 'Distributor', 'Distributor', 'manage_options', 'distributor-settings', __NAMESPACE__ . '\network_settings_screen', Utils\get_admin_icon() ); |
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.
@zach-adams Make sense.
includes/external-connection-cpt.php
Outdated
@@ -662,7 +662,7 @@ function add_menu_item() { | |||
apply_filters( 'dt_capabilities', 'manage_options' ), | |||
'distributor', | |||
__NAMESPACE__ . '\dashboard', | |||
'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzYiIGhlaWdodD0iMzkiIHZpZXdCb3g9IjAgMCAzNiAzOSIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48dGl0bGU+ZGlzdHJpYnV0b3ItaWNvbjwvdGl0bGU+PGRlc2M+Q3JlYXRlZCB1c2luZyBGaWdtYTwvZGVzYz48ZyBpZD0iQ2FudmFzIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNDAyNCAzNjUpIj48ZyBpZD0iZGlzdHJpYnV0b3ItaWNvbiI+PHVzZSB4bGluazpocmVmPSIjcGF0aDBfZmlsbCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNDAyNC43MSAtMzY1KSIgZmlsbD0iI0EwQTVBQSIvPjx1c2UgeGxpbms6aHJlZj0iI3BhdGgxX2ZpbGwiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQwMjQuNzEgLTM2NSkiIGZpbGw9IiNBMEE1QUEiLz48dX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displayed to describe this comment to others. Learn more.
@zach-adams can we create a separate file and function to get the data image?
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.
@zach-adams I left a minor suggestion which is not a blocker. Let me know if you have questions.
@ravinderk Moved icon data string to a utility function, let me know if that looks alright |
Description of the Change
Closes #1119
Updates the admin SVG icon to have roughly the same width & height so it no long appears squished in the admin menus or in the block editor plugin. The main benefit realized is that it will no longer mildly annoy me whenever I notice it's squished 😉
The SVG has been reworked & simplified to smooth out several issues that appeared when the original was enlarged. It's down to just 2 path elements which reduces file size greatly (8KB to 1.5KB) and it should make it somewhat easier to update in the future.
Applies to:
Examples of how it looked before vs with the updated icon:
How to test the Change
Changelog Entry
Credits
Props @zach-adams
Checklist: