Skip to content

Drop support for some old GHE versions - #9905

Merged
fregante merged 8 commits into
mainfrom
outdated-more
Jul 31, 2026
Merged

fregante merged 8 commits into
mainfrom
outdated-more

Conversation

@fregante

Copy link
Copy Markdown
Member

No description provided.

@fregante fregante added the meta Related to Refined GitHub itself label Jul 31, 2026
"Elements with hotkeys require a mention in the tooltip, which requires: import addTooltip from '../helpers/tooltip.js';",
}, {
message: 'JSX elements with `data-hotkey` must be wrapped in `tooltipped()` or use `withTooltipRef()`',
message: 'JSX elements with `data-hotkey` use `withTooltipRef()`',

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

if (currentUserElements) {
for (const currentUserElement of currentUserElements) {
// For `sticky-comment-header`. Use attribute because classes are altered by GitHub
closestElementOptional('[data-testid="comment-header"]', currentUserElement)?.setAttribute(

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I assume viewerDidAuthor was not available when this feature was implemented. It's there now, so I dropped the dependency on show-names

/* TODO [2026-08-01]: Remove */
.pull-request-tab-content {
--rgh-issue-or-pr-sticky-header-height: 56px;
html:not([rgh-OFF-sticky-comment-header]) {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Cleaned up the feature

@fregante
fregante marked this pull request as ready for review July 31, 2026 10:27
@fregante
fregante merged commit 2a314a7 into main Jul 31, 2026
14 checks passed
@fregante
fregante deleted the outdated-more branch July 31, 2026 10:28
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.

1 participant