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
Remove Ubuntu and Canonical social icons #2683
Conversation
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.
LGTM
This will be a breaking change for sites using canonical and Ubuntu icons. |
Exactly, I wanted to ask about that. @kwm14 @deadlight Should we first deprecate it (hide from docs, but keep in code)? |
You can search GitHub for example: https://github.com/search?q=org%3Acanonical-web-and-design+p-icon--canonical&type=Code I would suggest these icons should be deprecated for now. |
scss/_patterns_icons.scss
Outdated
@@ -32,8 +32,6 @@ $social-icon-size: map-get($icon-sizes, heading-icon--small); | |||
@include vf-p-icon-instagram; | |||
@include vf-p-icon-linkedin; | |||
@include vf-p-icon-youtube; | |||
@include vf-p-icon-canonical; |
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.
We need to keep @include vf-p-icon-canonical; @include vf-p-icon-ubuntu;
to make sure these icons are still part of Vanilla for backwards compatibility.
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.
Ah yes. Will add back in 👍
While adding If someone is using vanilla directly from CSS (not build it on their own), they may not notice the deprecation from the code. It should also be reflected in the docs. Unless we treat removing them from the docs a direct indication that they shouldn't be used? |
Good idea. I can add them to our component status table - https://docs.vanillaframework.io/component-status#current-status and add 'Deprecated' label alongside the heading similar to https://docs.vanillaframework.io/patterns/menu-button/ |
@bartaz added |
@kwm14 Thanks. I think that deprecation label in social icon docs looks a bit misleading - like the whole set of social icons is deprecated: Instead of showing "Deprecated" label right after the title, could we just add a note after the icons example that would say something like "Deprecated: |
Valid point 😉
Will update 👍 |
Co-Authored-By: Bartek Szopka <83575+bartaz@users.noreply.github.com>
@kwm14 It doesn't seem related to this PR, but |
Yes, it's from the previous PR. New icons won't show it the Docs as it's not running on the latest version |
|
Done
QA
./run serve --watch
Details
Fixes #2574
Screenshots