`hide-user-forks`: breaks browsing org repos
Description
When you click on the "Repositories" tab for an org, or hit "View all repositories" at the bottom of the page, you get taken to a page like https://github.com/orgs/NixOS/repositories?type=source (hide-user-forks adds the ?type=source). There's a "Clear filter" button, and clicking it removes the filter (e.g. takes you to https://github.com/orgs/NixOS/repositories), but the pagination buttons at the bottom will reapply the filter (e.g. linking to https://github.com/orgs/NixOS/repositories?page=2&type=source), which makes it very annoying to page through all repos owned by an org.
How to replicate the issue + URL
- Visit https://github.com/NixOS
- Click "View all repositories"
- Click "Clear filter"
- Click "Next" (to go to page 2)
- Observe that the filter is silently reapplied
Extension version
23.12.17
Browser(s) used
Chrome 120.0.6099.109
You're right we should exclude the navigation. We have similar logic in sort-conversations-by-update-time
https://github.com/refined-github/refined-github/blob/cf69a82b38ae7e18563a195d8d45e63e83d7ebd5/source/features/sort-conversations-by-update-time.tsx#L27
hi
They added a new view in beta, there's no "clear filter" and the navigation works as expected: