Easily switch between fork and upstream · Issue #9671 · refined-github/refined-github · GitHub
Skip to content

Easily switch between fork and upstream #9671

Description

@mbtools

Description

It would be nice to get a button or link in the page header switching from a repo to my fork, and from my fork back to a repo.

To make this more useful, it should not be just a link to the repo/fork homepage but take the current navigation into consideration. For example, if I view PRs on my fork, then the link should lead to PRs of the main repo and vice versa.

Example

Suggested location of button/link would be in page header after the org/repo:

Main repo

Image

Fork

Image

PS: Parts of forked-to which was removed might be reused for this feature.

Example URLs

https://github.com/refined-github/refined-github
https://github.com/refined-github/refined-github/issues
https://github.com/refined-github/refined-github/pulls?q=sort%3Aupdated-desc+is%3Apr+is%3Aopen+
https://github.com/refined-github/refined-github/actions
https://github.com/refined-github/refined-github/... any

https://github.com/mbtools/refined-github
https://github.com/mbtools/refined-github/issues
https://github.com/mbtools/refined-github/pulls?q=sort%3Aupdated-desc+is%3Apr+is%3Aopen+
https://github.com/mbtools/refined-github/actions
https://github.com/mbtools/refined-github/... any

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions