sindresorhus/refined-github

Do you want to work on this issue?

You can request for a bounty in order to promote it!

Extend `linkify-branch-references` to more places #4740

kidonng posted onGitHub

Description

When making changes in a project without write access, GitHub will automatically create a fork and display a tip (first screenshot). The text "created a fork of this project" in the tip is bold, I think it's a good candidate for putting a link to the fork.

If the fork is already created, the description will change to include the forked repo name (second screenshot).


Also, the branch references in hovercards can also be linkified:

image

Screenshot

image

image

Example URL

https://github.com/kidonng/nixpkgs/edit/master/README.md


If it's 2 lines of code and part of "linkify branch refs" feature, I wouldn't be opposed to it, but the same link is available on the fork button:

  • still 1 click if you don't have organizations
  • 2 clicks if you have them
posted by fregante over 3 years ago

PR welcome if part of the existing feature (even with the feature freeze), but I won't be leaving this issue open.

posted by fregante over 3 years ago

Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests