Skip to content

default-branch-button on forks: add secondary button to see folder on source repo #2985

@fregante

Description

@fregante
  1. Visit https://github.com/fregante/refined-github/blob/incremental-tag-changelog-link/source/background.ts
  2. There should be a << link to https://github.com/sindresorhus/refined-github/blob/master/source/background.ts

Example: (ignore the arrow)

How:

  1. Edit the get-default-branch function to accept a user/repo string (and it should only use parseBranchFromDom if the string matches the current page)
  2. Add the button on forks using the CSS code here: Default branch link: add support for forked repos #1132

More issues semi-related to this one: #1115 #1168 #1557

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions