The issue has been closed

- If the fork button would redirect you to your repo, then indicate it, with something like 'Forked', instead of 'Fork'.
- The 'Fork' button may open the 'select an org' menu. Split? the button, so you could jump directly to your already existing fork.

This actually already exists, it's called forked-to
The only handicap is that it will only show a button after you open your own fork. This is to avoid making an unnecessary API request on every single repo you open.
posted by fregante almost 4 years ago
In that case, it seems that the feature doesn't work for me. I have added a personal token, the feature is enabled, and visited my fork, and refreshed the fork's parent's page.
posted by jtagcat almost 4 years ago
What browser are you using? The rendering seems off and misaligned
posted by fregante almost 4 years ago
Confirmed on Firefox.
Wen enabling debug checkbox of showing all page enable features, forked-to
is not in that list.
posted by jerone almost 4 years ago
What page were you on? A single file or a repo tree?
posted by yakov116 almost 4 years ago
Any page; this issue page, repo root, single file, PR, ...
posted by jerone almost 4 years ago
I see some work being done on this feature, but for me it still doesn't work.
Test: this repo.
Current situation:

I expected to see a drop-down with 2 results:

Feature is enabled in options.
Clearing cache did nothing.
Latest version installed.
No error in console.
Interestingly this feature does not appear in the console of enabled features, at all.
Refined GitHub: 21.4.23
Firefox 88.0
posted by jerone almost 4 years ago
Can you clear the cache? One bug I definitely noticed is:
- Create your first fork
- Visit it
- The button will now appear on the source
- Create a new fork in an org
- Visit it
- The button will stay a button, it won't become a dropdown.
Clearing the cache shows the dropdown correctly.
posted by fregante almost 4 years ago
Visiting one of the forks for this repo did create the dropdown again.
posted by jerone almost 4 years ago
Yes. That's how this feature works and it's in my first comment.
posted by fregante almost 4 years ago
Yes. That's how this feature works and it's in my first comment.
Guess I'm not the only one just knowing this (well, I never read that feature's code).
Is this piece of information mentioned elsewhere? Or should it be added to the description?
posted by kidonng almost 4 years ago
I see now where I got confused; there used to be some code that stored all the forks when the fork-modal was opened, but I guess that got lost.
posted by jerone almost 4 years ago