-
Notifications
You must be signed in to change notification settings - Fork 114
Add link to repo pack directory #1470
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 link to repo pack directory #1470
Conversation
* now on each pack page, there is a button with a link to the pack directory in the page section. * added github images copied from opensource repo.
Gatsby Cloud Build Reportdeveloper-website-feature/o11y-packs 🎉 Your build was successful! See the Deploy preview here. Build Details🕐 Build time: 2m |
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.
My requests on the PR preview branch are all going to a 404
. Looks like the URL has some placeholder text in it: https://observabilitypacks-addlinktorepopackdirectory.gtsb.io/github.com/newrelic/newrelic-observability-packs/tree/main/packs/cassandra
Left a few other comments about code style.
Also, why was the lock file updated? 🤔
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 great overall! I just have a few requested changes and one idea that you definitely don't have to do.
* broke out the getPackUrl method into its own utility * import & call the utility from observabilityPackDetails
* there is already instrumentation used in the button component, just missing data for what we want to track. added packName as something we might want to track.
* swap back to using logoUrl to check * updated tests
🎉 This PR is included in version 1.57.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This PR adds a button to the pagetools section of a pack's page which, when clicked, takes the user to the packs main directory in the newrelic-observability-packs repo, or the packs/ directory for all packs (if the particular pack does not have a logo).
Resolves: #1447
Screenshots