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
{{ message }}
Repository navigation
clean-conversation-headers - head ref is mistakenly highlighted #9952
So we cannot use it. And the second diff is that the first element are pointing to /refined-github/refined-github/tree/main. I think we can use it for the selector BUT this will only work for external pull request. PR from this repository will point to refined-github/refined-github Too ..
I think a good fix would be to not rely on picking the first match until we're sure both elements are present in the DOM (wait for ('[class^="PullRequestBranchName"]', summaryRow) to return 2 elements) before assuming the first one is the base. I think, this can fix the bug
Let me know if that approach sounds right. Happy to open a new PR once we agree on the direction
That's acceptable, but I think this can be achieved via the existing observer itself. It can target the second branch using selector like header ref ~ ref.
Note that untested AI PRs are not welcome so if you do open a PR make sure it includes a gif/video of it working.
Activity
Sebastien-Ahkrin commentedon Aug 8, 2026
Both
a hrefare like this :E.g from this PR
First element with the
PullRequestBranchNameselectorSecond element with the
PullRequestBranchNameselectorTwo diff, only first element use
rgh-base-branchSet by usrefined-github/source/features/clean-conversation-headers.tsx
Line 104 in 0815595
So we cannot use it. And the second diff is that the first element are pointing to
/refined-github/refined-github/tree/main. I think we can use it for the selector BUT this will only work for external pull request. PR from this repository will point torefined-github/refined-githubToo ..I think a good fix would be to not rely on picking the first match until we're sure both elements are present in the DOM (wait for
('[class^="PullRequestBranchName"]', summaryRow)to return 2 elements) before assuming the first one is the base. I think, this can fix the bugLet me know if that approach sounds right. Happy to open a new PR once we agree on the direction
fregante commentedon Aug 8, 2026
That's acceptable, but I think this can be achieved via the existing observer itself. It can target the second branch using selector like
header ref ~ ref.Note that untested AI PRs are not welcome so if you do open a PR make sure it includes a gif/video of it working.