sindresorhus/refined-github

`deep-reblame` doesn't work if there are multiple unrelated linked issues #4440

fregante posted onGitHub

  1. Visit https://github.com/pixiebrix/pixiebrix-extension/blame/69a0e85c03f57e094591865b5dcf0632c4c9e26f/browsers/chrome/webpack/webpack.dev.js#L101
  2. alt-click reblame icon
  3. "The PR linked in the title didn’t create this commit"

This is because the commit title also includes a link to an issue. This is because our code only looks for the first link:

https://github.com/sindresorhus/refined-github/blob/addd5ab1bce675fbebfbd373569eb2333b49b95e/source/features/deep-reblame.tsx#L66

We can probably fix this by using a more specific [data-hovercard-type="pull_request"] instead.

In the PR: Please include a gif of this successfully working on that page


Fund this Issue

$0.00
Funded

Pull requests