Repository navigation
last-update-sort - Disable on custom and pre-defined Views - #9926
Merged
Merged
Conversation
last-update-sort - Disable on custom Viewslast-update-sort - Disable on custom and pre-defined Views
fregante
commented
Aug 2, 2026
|
|
||
| // Exclude /pulls/ global pages since they're already sorted by update time #9604 | ||
| // This also breaks the feature on the header button regardless of the PR inbox beta status. This is because the feature breaks the inbox, overriding the user's preference. | ||
| if (/^[/]pulls[/]\w+$/.test(link.pathname) || link.matches('[href="/pulls"][class*="appHeaderButton"]')) { |
| [href*="/labels/"] | ||
| ):not( | ||
| [href^="/pulls"], | ||
| [href^="/issues"], |
Member
Author
There was a problem hiding this comment.
All global pages are affected, they're already sorted this way anyway
| [href^="/issues"], | ||
|
|
||
| [href*="/issues/labels"], | ||
| [href*="/issues/views"], |
Member
Author
There was a problem hiding this comment.
This covers the recent bug report
1 task done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
last-update-sortclears view filters #9922sort-conversations-by-update-timeconflicts with/pulls/inbox#9604Note: the links were altered, but when left-clicking them, React would load the correct view regardless of the link's
href. This bug only affected cmd-clicks etcTest URLs
https://github.com/refined-github/refined-github/issues/views
https://github.com/issues