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

Function updateUi

source/features/sync-pr-commit-title.tsx:59–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57}
58
59function updateUi(): void {
60 if (needsSubmission()) {
61 $(commitTitleFieldSelector).parentElement!.after(getUi());
62 } else {
63 getUi().remove();
64 }
65}
66
67async function updatePrTitle(): Promise<void> {
68 if (!needsSubmission()) {

Callers

nothing calls this directly

Calls 3

needsSubmissionFunction · 0.85
getUiFunction · 0.85
removeMethod · 0.80

Tested by

no test coverage detected