Skip to content

Single click on "Fork" to redirect to personal fork #6291

Closed as not planned
Closed as not planned

Description

@casperklein

Hi,

if I remember correctly, I could once in an upstream repository click on "fork" and would then be redirected to my personal fork.

This does not work anymore. I am not sure when this exactly "broke" for me. I looked through the issues and found "Drop forked-to feature #5745", which could be the feature I was using.

Is there still the possibility with a one-click action, to get to my personal fork? Now I've to click on "Fork" and then select the only listed fork (my fork).

Not a big deal, but I wanted to ask in case there is a solution to save me one click 😉

Activity

  1. fregante commented on Feb 4, 2023

    @fregante
    Member

    Indeed we used to have a one-click button when a fork was detected. I suppose I wouldn't be opposed to restoring that button if a single fork was detected:

    <a
    href={createLink(forks[0])}
    className="btn btn-sm px-2 rgh-forked-link"
    title={`Open your fork at ${forks[0]}`}
    >
    <ChevronRightIcon className="v-align-text-top"/>
    </a>

    Possible feature:

    1. on fork menu opening, store fork if there's only one, clear cache if there's more than one
    2. if there's a stored fork, add button on load
  2. casperklein commented on Feb 4, 2023

    @casperklein
    Author

    I can't provide a PR for that, as I am not familiar with typescript. If you or someone else implements this, that would be cool.

  3. fregante commented on Aug 1, 2024

    @fregante
    Member

    Not worth the complexity to save 1 second. Just open the dropdown:

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

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