`dim-bots`: Dim bot PRs on global PR search · Issue #9797 · refined-github/refined-github · GitHub
Skip to content

dim-bots: Dim bot PRs on global PR search #9797

Open

Description

@hkdobrev

Description

When using the global search for pull requests, those created by a bot are not dimmed.

Example URLs

https://github.com/pulls/search?q=is%3Aopen+is%3Apr+org%3Aapple+archived%3Afalse+draft%3Afalse

Activity

  1. changed the title [-]dim-bots: Dim bot PRs on global PR search[/-] [+]`dim-bots`: Dim bot PRs on global PR search[/+] on Jul 10, 2026
  2. fregante commented on Jul 10, 2026

    @fregante
    Member

    It should work but it doesn't

    Image
  3. TemRevil commented on Jul 10, 2026

    @TemRevil

    Did some digging on why this doesn't fire. Page detection isn't the problem: github-url-detection@11 matches https://github.com/pulls/search?q=... with both isIssueOrPRList and isGlobalIssueOrPRList (I ran the packaged predicates against that URL directly). So the include list is satisfied and init should run.

    That leaves the selectors. botLinksPrSelectors and the .Box-row ancestor lookup in dim() presumably don't match the markup on the search results page, which uses the newer React list components instead of .Box-row rows. I can't inspect the logged-in DOM right now, but that's where it seems to break.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions