no-self-reference - New feature#8854
Merged
fregante merged 24 commits intorefined-github:mainfrom Jan 24, 2026
Merged
Conversation
fregante
reviewed
Jan 7, 2026
fregante
reviewed
Jan 9, 2026
underline-pr-self-reference - New Featureno-self-reference - New feature
Co-authored-by: fregante <me@fregante.com>
…underline-pr-self-reference
Updated the function to disable both link and hovercard attributes for self-references. Adjusted the TODO comment for shorthand property usage in 2027.
Member
|
this link is clickable -> #8854 if you enter the editing mode and switch to "Preview" |
Member
|
Damn 😅 I guess the easiest think would be to rebuild the element. @Harrish92 something like link.replaceWith(
<span style={{etc}} title="etc">{link.textContent}</span>
);Edit: this won't work well with links rendered inside bullet points. |
Member
|
That's weird though, are we doing that? If I disable Refined GitHub and remove the |
Member
|
It's good enough for now, it can be updated separately, but honestly it's not worth it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

closes #8804
Test URLs
refined-github/sandbox#120
refined-github/sandbox#122
Screenshot