(id: string)
| 22 | } |
| 23 | |
| 24 | export function getFeatureRelatedIssuesQuery(id: string): string { |
| 25 | const oldNames = getOldFeatureNames(id); |
| 26 | const searchTerms = [id, ...oldNames].map(name => `"${name}"`); |
| 27 | const joinedTerms = searchTerms.length > 1 ? `(${searchTerms.join(' OR ')})` : searchTerms[0]; |
| 28 | return `state:open ${joinedTerms}`; |
| 29 | } |
| 30 | |
| 31 | export function getFeatureRelatedIssuesUrl(id: string): URL { |
| 32 | const conversationsUrl = new URL('https://github.com/refined-github/refined-github/issues'); |
no test coverage detected