MCPcopy Index your code
hub / github.com/refined-github/refined-github / linkifyFeature

Function linkifyFeature

source/features/rgh-linkify-yolo.tsx:14–23  ·  view source on GitHub ↗
(issueCell: HTMLElement)

Source from the content-addressed store, hash-verified

12}
13
14function linkifyFeature(issueCell: HTMLElement): void {
15 const url = getFeatureUrl(issueCell.textContent as FeatureId);
16 issueCell.replaceChildren(
17 <code>
18 <a className="d-inline-block" href={url}>
19 {issueCell.firstChild}
20 </a>
21 </code>,
22 );
23}
24
25function init(signal: AbortSignal): void {
26 // .js-csv-data is the old selector

Callers

nothing calls this directly

Calls 1

getFeatureUrlFunction · 0.85

Tested by

no test coverage detected