-
Notifications
You must be signed in to change notification settings - Fork 133
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
Stabilizing follow-us plugin #2160
Stabilizing follow-us plugin #2160
Conversation
Unfortunately I can't get the local preview working on my devices, but I coded the page elsewhere to validate these edits should work to improve the design spacing |
@Garneauma when you have time this week, can you build a site demo + link to where to download the compiled version in .zip. |
@jmealing Unfortunately, some of the changes you made are breaking the older pattern of the follow us plugin ( Secondly, I think this stabilization will require us to create a documentation for the follow us plugin in order for us to test and track upcoming changes. Are you interested in creating this documentation or are you relying on us to create it? If you are relying on us, we will most likely create a separate PR that would include your few change suggestions regarding margins. Finally, could you send the link to the guidance for this plugin? Thank you! |
@Garneauma The intention is to stop supporting the older pattern and replace it with this one I'll discuss the other items with the DTO team and get back to you The guidance is in staging here: https://deploy-preview-308--design-system-canada-ca.netlify.app/common-design-patterns/social-media-channels |
@Garneauma Could you clarify what changes would be breaking between the new pattern and the old? They use two entirely different classes |
They indeed use a different class. However, they use the same pseudo-class to build the styles in SASS ( |
@Garneauma Thanks for clarifying, I see what happened now. I accepted your changes |
@jmealing The old pattern looks good now. Thank you. I was comparing the output of GCWeb with your latest changes vs the guidance and noticed the spacing is a little different for the stacked version and very different for the inline version. Is this intentional? |
@Garneauma You're right, there shouldn't be that much spacing between the heading and the icons for inline. I am not able to preview my edits reliably which makes it a challenge. It's about more than double what it should be. The guidance draft image does need to be updated too. The slightly increased spacing between the individual icons themselves is correct, and a bit more space between header and icons than that pictured is intended. |
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.
@jmealing The following change should fix the issue.
@Garneauma Thank you! Changes accepted |
@jmealing This component will need a documentation page and working examples (for stacked and inline). Are you willing to try the new data-first approach for the documentation? If so, you can start with the sites/date-modified files and edit it for gc-follow-us. You will only need the 2 HTML files and the JSON-LD file. Don't bother with the "changesets" and "iterations" properties in the JSON-LD as they can be a bit tricky. I can suggest the content for those once you are done. If not, we can discuss another approach. Thanks! |
@Garneauma guidance and examples have been created in the |
Co-authored-by: Garneauma <[email protected]>
Co-authored-by: Garneauma <[email protected]>
Co-authored-by: Garneauma <[email protected]>
Co-authored-by: Garneauma <[email protected]>
Co-authored-by: Garneauma <[email protected]>
Co-authored-by: Garneauma <[email protected]>
b2e1ba1
to
c74843d
Compare
Pre-approved upon review and testing |
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.
Reviewed and tested, everything work as expected.
The following will need to be completed, we will do it after this is merged considering this is only documentation related
- Documents the to be deprecated asset "twitter.svg"
- Document the new asset "x.svg"
Changes was reviewed and addressed by Garneauma
To do: