Skip to content

Conversation

@aklinker1
Copy link
Owner

No description provided.

@aklinker1 aklinker1 self-assigned this Oct 25, 2025
Comment on lines +127 to +131
// Cache the result if the same content script tries to get the result multiple times.
if (mountCache[options.mountId]) {
logger.debug("[recalculateDiff] Using mount cache");
return mountCache[options.mountId];
}
Copy link
Owner Author

Choose a reason for hiding this comment

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

I was previously fetching the PR details every second, now it fetches only once per page load.

*-lock*`;

export const GREY_COLOR = "var(--color-fg-muted)";
export const GREY_COLOR = "var(--color-fg-muted, var(--fgColor-muted))";
Copy link
Owner Author

Choose a reason for hiding this comment

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

Fallback on the new PR UI's grey variable if the old one doesn't exist.

@@ -0,0 +1,10 @@
export function querySelectorFirst(
Copy link
Owner Author

Choose a reason for hiding this comment

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

Hopefully this helper will reduce lines changed of future UI changes.

@aklinker1 aklinker1 merged commit 768953a into main Oct 25, 2025
1 check passed
@aklinker1 aklinker1 deleted the new-pr-ui branch October 25, 2025 00:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants