-
Notifications
You must be signed in to change notification settings - Fork 18k
x/pkgsite: additional metadata in the right sidebar #43129
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
Comments
Change https://golang.org/cl/277832 mentions this issue: |
Change https://golang.org/cl/277852 mentions this issue: |
Change https://golang.org/cl/277854 mentions this issue: |
For golang/go#43129 Change-Id: I5b5231270efc298186e84444fc72241416888376 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/277852 Trust: Jamal Carvalho <[email protected]> Run-TryBot: Jamal Carvalho <[email protected]> Reviewed-by: Julie Qiu <[email protected]> TryBot-Result: kokoro <[email protected]>
Adds HasGoMod and VersionType fields to the UnitMeta struct and ModFileURL and IsStableVersion to UnitMain to support the details section in the right sidebar. For golang/go#43129 Change-Id: Id605d27d6a421d7c5ff2afc39f4532b11e49ace6 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/277832 Reviewed-by: Julie Qiu <[email protected]> Trust: Julie Qiu <[email protected]> Trust: Jamal Carvalho <[email protected]> Run-TryBot: Julie Qiu <[email protected]> TryBot-Result: kokoro <[email protected]>
Adds a section to the right sidenav highlighting metadata about modules to help reinforce best practices for maintaining modules on the pkgsite. This feature is implemented behind the "unit-meta-details" experiment. For golang/go#43129 Change-Id: I2755756b10f5cb1b1d1a2f9caf42c90fc715ff3b Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/277854 Trust: Jamal Carvalho <[email protected]> Reviewed-by: Julie Qiu <[email protected]>
These details are not visible in a browser window not deemed to be sufficiently wide—in my case, about 885 pixels. Can we display these details elsewhere, such as at the bottom of the page if it's too narrow? |
We want to surface useful information to Go users and help reinforce best practices for maintaining packages on pkg.go.dev. To do so, we plan to highlight the following metadata:
This information will be displayed in the right sidebar in the order listed above. A toggle tip will explain in more detail what each item represents.
Meets all best practices

Meets no best practices

This set of data is not an exhaustive representation of best practices but will provide a good foundation for one and should evolve over time to include information about things like popularity, code quality, and code stability.
The text was updated successfully, but these errors were encountered: