Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Repository contributors page: Revamp ideas #34352

@umpox

Description

@umpox

Context

Example page: https://sourcegraph.com/github.com/sourcegraph/sourcegraph/-/stats/contributors

The repository contributors page has a lot of potential. Aside from just showing the most commits to the default branch (like most code hosts), we have additional support to filter these results.

For example, maybe a developer wants to quickly find someone to talk to about Wildcard. They could quickly do that by filtering through Sourcegraph

image

Ideas

There's a things we can do here, some thoughts:

  • Change the revision input from free form text to use the Branch/Tag/Commit selector (autocomplete revisions)
    • Also fix, as it seems to error right now
  • Add autocompletion to the file path (maybe we could integrate with our Monaco input).
  • Make it more obvious what exactly is possible with the file path
    • E.g. *.json works if you wanted to find all contributors that have made changes to JSON files
  • Fix bugs with the time period (currently seems to error for anything except "All time")
  • Overall redesign to make the page look better (this page wasn't finished in the 2021 redesign: https://github.com/sourcegraph/sourcegraph/issues/21630 )
  • Include contribution charts like the GitHub contributors page. Helps visualise contribution amounts and timeframes

Metadata

Metadata

Assignees

No one assigned

    Labels

    fpt/p3Nice to have (non critical)frontend-platformIssues related to our frontend platform, owned collectively by our frontend crew.ideasourcegraph-refinement-bot

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions