(signal: AbortSignal)
| 39 | } |
| 40 | |
| 41 | function init(signal: AbortSignal): void { |
| 42 | observe( |
| 43 | [ |
| 44 | 'span[class^="ReviewDecision-module__reviewDecisionContent"]', |
| 45 | |
| 46 | // Note: This feature alters the `href` so this selector cannot be used by any other features |
| 47 | // TODO [2027-01-01]: Drop selector when the old PR list is removed |
| 48 | '.js-issue-row .text-small a[href$="#partial-pull-merging"]', |
| 49 | ], |
| 50 | alterLink, |
| 51 | {signal}, |
| 52 | ); |
| 53 | } |
| 54 | |
| 55 | void features.add(import.meta.url, { |
| 56 | include: [ |