You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is actually not strictly related to the global navigation but your demo link itself right on this issue is broken 😅 because it doesn't have any selectable attributes.
It seems that we should just alter the feature to observe('[href*="?tab=repositories"]', alterLink) and then filter out any unrelated links via !isProfile
changed the title [-]`set-default-repositories-type-to-sources` broken on "Global navigation update"[/-][+]`set-default-repositories-type-to-sources` missing from some links[/+]on Apr 7, 2023
but your demo link itself right on this issue is broken
Hmm have it ever worked? Because the feature never targeted user content (comments etc.).
It seems that we should just alter the feature to observe('[href*="?tab=repositories"]', alterLink) and then filter out any unrelated links via !isProfile
There's a slight issue with isProfile in that it solely relies on github-reserved-names to avoid false positives. But I'm probably worrying too much because:
Adding &type=source is just noop in most pages
If we do find any false positive we can report to github-reserved-names
changed the title [-]`set-default-repositories-type-to-sources` missing from some links[/-][+]`hide-user-forks` missing from some links[/+]on Apr 10, 2023
Activity
fregante commentedon Apr 7, 2023
This is actually not strictly related to the global navigation but your demo link itself right on this issue is broken 😅 because it doesn't have any selectable attributes.
It seems that we should just alter the feature to
observe('[href*="?tab=repositories"]', alterLink)and then filter out any unrelated links via!isProfile[-]`set-default-repositories-type-to-sources` broken on "Global navigation update"[/-][+]`set-default-repositories-type-to-sources` missing from some links[/+]fregante commentedon Apr 7, 2023
kidonng commentedon Apr 7, 2023
kidonng commentedon Apr 7, 2023
Hmm have it ever worked? Because the feature never targeted user content (comments etc.).
There's a slight issue withisProfilein that it solely relies ongithub-reserved-namesto avoid false positives. But I'm probably worrying too much because:Adding&type=sourceis just noop in most pagesIf we do find any false positive we can report togithub-reserved-namesNever mind, forgot there's another filter
fregante commentedon Apr 7, 2023
Judging by the comments in the current
observearray: no.We have a handful of similar features that should target "all links" across the interface rather than hand-picked one. Similar features:
shorten-linkssort-conversations-by-update-timecomments-time-machine-links(almost, these are limited to comments)[-]`set-default-repositories-type-to-sources` missing from some links[/-][+]`hide-user-forks` missing from some links[/+]