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

Function openReviewPopup

source/features/quick-review.tsx:174–177  ·  view source on GitHub ↗
(button: HTMLButtonElement)

Source from the content-addressed store, hash-verified

172
173// TODO [2027-01-01]: Drop after legacy PR files view is removed
174async function openReviewPopup(button: HTMLButtonElement): Promise<void> {
175 await delay(100); // The popover appears immediately afterwards in the HTML, observe() might trigger too soon
176 (button.popoverTargetElement as HTMLElement).showPopover();
177}
178
179function openReviewDialog(reviewMenuButton: HTMLButtonElement): void {
180 reviewMenuButton.click();

Callers

nothing calls this directly

Calls 1

delayFunction · 0.85

Tested by

no test coverage detected