sindresorhus/refined-github

Make exploring topics always focus the code tab #3127

NightMachinary posted onGitHub

Currently, Github sometimes focuses the issues tab when exploring repositories through topics: image

I want it to always focus the code tab that actually explains what the repo is for: image

Related issues:


Yeah honestly the decision to show a random issue is mind-boggling for an "explore" section.

posted by fregante almost 5 years ago

Apparently GitHub loads either the Code tab or the Issues tab, automatically. We can't really switch them without loading each repo and reconstruct the UI.

The UI could be fetched from the search pages and slightly adjusted to match the spacing/content: https://github.com/search?q=repo%3Aogham%2Fexa

<img width="483" alt="" src="https://user-images.githubusercontent.com/1402241/83000139-3f47ab00-a00a-11ea-9a49-73871b67f87d.png">

Kinda like:

select('article > :last-child').append(
    await fetchDom(
        'https://github.com/search?q=repo%3Aogham%2Fexa',
        '.repo-list-item'
    )
);
posted by fregante almost 5 years ago

Not worth the trouble since we'd have to rebuild the UI and hide content they decided to show.

posted by fregante over 3 years ago

I opened an upstream issue.

posted by NightMachinary over 3 years ago

Fund this Issue

$0.00
Funded

Pull requests