-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
small-user-avatars
showing wrong avatars on commit history/details
#7137
Comments
It looks like the added the I'll hot fix the feature to disable it. |
Yeah, this change to GH's markup makes no sense to me. If RGH has the ability to treat |
Yes I think that would cover it. |
Bootstrapped Node locally so I could test the change locally, and opened #7139 with the results. Hope it's helpful! (I just have to figure out linting + fix the code style.) |
small-user-avatars
showing wrong avatars on commit history/details
To maintainers: Disable the hotfix by adding |
Description
GitHub appears to have added the
user-mention
class tocommit-author
links in places like the commit detail page and commit list. Refined GitHub now adds an incorrect, redundant small avatar if that feature is turned on:In the above example, the avatar for "gw" is shown instead of "dgw". RGH expects a
user-mention
to start with@
and trims the first character, but thecommit-author
link type does not include@
.refined-github/source/features/small-user-avatars.tsx
Line 25 in a0381ca
How to replicate the issue + URL
I noticed it at sopel-irc/sopel@120477f but this happens anywhere a commit is shown (including
/:user/:repo/commits/:refname
and at the top of/:user/:repo
)Extension version
23.12.1
Browser(s) used
Chrome 119
The text was updated successfully, but these errors were encountered: