Skip to content

x/pkgsite: redesign - umbrella issue #41585

Closed

Description

@julieqiu

This is the umbrella issue for an upcoming redesign of pkg.go.dev. Specific plans will be shared via a series of additional issues:

  1. x/pkgsite: redesign - the pkg.go.dev/<path> page #41586: the pkg.go.dev/<path> page
  2. x/pkgsite: redesign - the documentation section #41587: the documentation section
  3. x/pkgsite: redesign - surfacing “latest” #41588: surfacing “latest”
  4. x/pkgsite: support custom links #42968: support custom links
  5. x/pkgsite: additional metadata in the right sidebar #43129: additional metadata in the right sidebar

Milestone: pkgsite/design-2020

Background

Pkg.go.dev is a site for developers to discover and evaluate Go packages and modules, and have the information they need to decide whether they want to integrate these packages into their codebase. Like godoc.org, pkg.go.dev serves Go documentation, but it also provides information about past versions of packages. Eventually, traffic from godoc.org will be redirected to the corresponding page on pkg.go.dev.

A Go repository can contain several Go modules, each of which has its own packages. The way this information is organized on pkg.go.dev today makes it confusing to users how packages, modules, different major versions, and repositories are related to each other.

Based on feedback, the general themes are:

pkg.go.dev/<path> page

The /mod/ pages are not surfacing useful information:

Package page lacks potentially useful information:

The “latest” version for a pkg.go.dev/<path> pages can be confusing:

Search page

Search results are noisy:

The “latest” version for a search result can be confusing:

Next

We plan to redesign pkg.go.dev to address these issues, with the goal of providing a better user experience on pkg.go.dev. These plans will be shared via a series of issues for discussion. Work for this milestone will be tracked at pkgsite/design-2020.

Activity

  1. added this to the Unreleased milestone on Sep 23, 2020
  2. changed the title [-]x/pkgiste: <this issue is a placeholder for a future issue>[/-] [+]x/pkgsite: redesign - tracking issue[/+] on Sep 23, 2020
  3. added
    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.
    on Sep 23, 2020
  4. locked as resolved and limited conversation to collaborators on Sep 23, 2020
  5. changed the title [-]x/pkgsite: redesign - tracking issue[/-] [+]x/pkgsite: umbrella issue for pkg.go.dev redesign[/+] on Sep 24, 2020
  6. changed the title [-]x/pkgsite: umbrella issue for pkg.go.dev redesign[/-] [+]x/pkgsite: redesign - umbrella issue[/+] on Sep 24, 2020
  7. julieqiu commented on Oct 28, 2020

    @julieqiu
    MemberAuthor

    A preview of the redesign is now available on beta.pkg.go.dev! Give it a try, and please file an issue for any bugs!

    If you’d like to run the beta site locally, you can do so using these steps:

    1. git clone https://go.googlesource.com/pkgsite
    2. go run devtools/cmd/create_experiment_config/main.go
    3. Set GO_DISCOVERY_CONFIG_DYNAMIC to the output of that script.
    4. Follow instructions at doc/frontend.md to run the frontend.
    5. Visit localhost:8080/<your-package>.
  8. julieqiu commented on Nov 10, 2020

    @julieqiu
    MemberAuthor

    The redesign of the pkg.go.dev/<path> page is now live on https://pkg.go.dev!

    Check out the blog post for details.

    As always, please file an issue for any feedback or bugs!

  9. julieqiu commented on Dec 15, 2020

    @julieqiu
    MemberAuthor

    Closing this issue, since the redesign of the pkg.go.dev/<path> page and issues at https://github.com/golang/go/milestone/159 are completed.

    We plan to revisit the search page in 2021. Issues are being tracked at https://github.com/golang/go/milestone/164.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.pkgsiteumbrella

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions