-
Notifications
You must be signed in to change notification settings - Fork 827
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
Changing rails helper example to view component #674
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.
Looks good to me @jonrohan! 🚀
@jonrohan Hi Jon In order to use the Octicons without the rails helper - I presume that the |
You should be able to follow the directions for installation here. https://primer.style/view-components/#installation |
### Why this change? * To clarify installation instructions: Usage of Rails view helpers to render octicons are discouraged as per primer#674 - but legacy users might be confused as to how to make it work - given it worked previously. This PR seeks to address any doubts raised. I hope it is useful, if not feel free to close. rgds Ben
* update: installation instructions ### Why this change? * To clarify installation instructions: Usage of Rails view helpers to render octicons are discouraged as per #674 - but legacy users might be confused as to how to make it work - given it worked previously. This PR seeks to address any doubts raised. I hope it is useful, if not feel free to close. rgds Ben * Update docs/content/packages/ruby.mdx fix: links to make them more impactful as per the (Primer Accessibility Style Guide)[https://primer.style/design/accessibility/guidelines#links]. Co-authored-by: Ash Guillaume <[email protected]> * Create ten-toes-doubt.md Co-authored-by: Ash Guillaume <[email protected]> Co-authored-by: Jon Rohan <[email protected]> Co-authored-by: Jon Rohan <[email protected]>
I want to change the Ruby implementation example on the octicons pages to point to usage of the Octicon View Component. Our goal in dotcom is to deprecate use of the helper and probably deprecate the package afterwards.