Skip to content

rgh-linkify-features - Add tooltip to issue count#9466

Draft
Copilot wants to merge 7 commits into
mainfrom
copilot/add-tooltip-to-related-issue-count
Draft

rgh-linkify-features - Add tooltip to issue count#9466
Copilot wants to merge 7 commits into
mainfrom
copilot/add-tooltip-to-related-issue-count

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 14, 2026

Test URLs

Screenshot

AI GOT NO EYES

Comment thread source/helpers/tooltipped.svelte Outdated
Comment thread source/helpers/tooltipped.svelte Outdated
Copilot AI changed the title Add Svelte tooltipped helper and show open-issue tooltip in related issue count Add open-issue tooltip to related issue count via addToolTip effect May 14, 2026
Copilot AI requested a review from fregante May 14, 2026 13:39
Comment on lines +31 to +44
const apply = (value?: string): void => {
tooltip?.remove();
tooltip = undefined;
if (!value) {
return;
}

addToolTip(value, node);
const tooltipId = node.getAttribute('aria-labelledby');
const potentialTooltip = tooltipId && globalThis.document.querySelector<globalThis.HTMLElement>(`#${tooltipId}`);
if (potentialTooltip?.matches('tool-tip')) {
tooltip = potentialTooltip;
}
};
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yikes

@fregante fregante changed the title Add open-issue tooltip to related issue count via addToolTip effect rgh-linkify-features - Add tooltip to issue count May 14, 2026
@github-actions github-actions Bot added the meta Related to Refined GitHub itself label May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

meta Related to Refined GitHub itself

Development

Successfully merging this pull request may close these issues.

2 participants