-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Fix several features that depended on specific classes #4021
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
Fix several features that depended on specific classes #4021
Conversation
|
@fregante what do we do about GHE? |
You can see if someone with the new layout can test, otherwise these appear to be "clutter" cleanup features and they won't work. I am personally not as concerned with those breaking and focus more on the new features we add. |
|
Ah yes, forgot about GHE. As I said in my PR most of those we can leave as is without breaking anything (for now), and for the two features that are actually affected I guess we can do something like select('.muted-link, .Link--muted'); |
|
Thankfully it’s as easy as using both classes. Only the clean repo sidebar selector is going to be a little longer. |
.muted-link class|
It still makes sense to use both classes in our markup, don’t undo that part |
|
if only we could use |
fregante
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unverified but the code looks good so far. Maybe we can wait a couple more days to see if there are any new classes that need to be changed.
|
Another class seems to have changed: I've already fixed |
|
Are you saying this PR fixes #4026? |
Yep |
Hey, we can! 🎉 https://developer.mozilla.org/en-US/docs/Web/CSS/:is We just need to update the minimum versions in the manifest |
First one ( |
|
@fregante I'm seeing |
|
It’s worth checking out its blame to understand it |
|
Let me know when you think you're done on this PR, I'd like to merge this soon (ideally together with the |
|
🙌 Merging for the time being because I keep seeing bugs and I don't if this already fixed them. |
|
There are definitely more instances of |
I'm aware, but I didn't want to blindly search & replace every instance seeing as |
|
No worries, thanks for the detailed PR, it will be useful when blaming these changes 🙌 |


Replaces and closes Fix
first-published-tag-for-merged-prselector #4017Fixes
align-issue-labelsis broken #4026clean-repo-sidebarconvert-pr-to-draft-improvementsparse-backticksfirst-published-tag-for-merged-pralign-issue-labelsGitHub changed some class names related to links, which broke a few features:
.muted-link→.Link--muted(clean-repo-sidebar,convert-pr-to-draft-improvements).link-gray→.Link--secondary(parse-backticks,easier-pr-sha-copy).link-gray-dark→.Link--primary(parse-backticks,first-published-tag-for-merged-pr).text-gray→.color-text-secondary(align-issue-labels,pr-approvals-count,center-reactions-popup, and probably others).text-gray-dark→.color-text-primary(clean-dashboard,parse-backticks)