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

Function addForPr

source/features/action-pr-link.tsx:21–23  ·  view source on GitHub ↗
(actionLink: HTMLAnchorElement)

Source from the content-addressed store, hash-verified

19}
20
21async function addForPr(actionLink: HTMLAnchorElement): Promise<void> {
22 setSearchParameter(actionLink, 'pr', String(getConversationNumber()));
23}
24
25async function initForRepositoryActionsPage(signal: AbortSignal): Promise<void> {
26 observe('div.Box-row[id^=check_suite_] a[data-hovercard-type="pull_request"]', addForRepositoryActions, {signal});

Callers

nothing calls this directly

Calls 2

setSearchParameterFunction · 0.85
getConversationNumberFunction · 0.85

Tested by

no test coverage detected