ci-link - Restore feature#8944
Merged
SunsetTechuila merged 5 commits intorefined-github:mainfrom Feb 5, 2026
Merged
Conversation
fa23249 to
62660b6
Compare
SunsetTechuila
requested changes
Feb 4, 2026
62660b6 to
c75c0f7
Compare
Update the anchor according to the UI changes on GitHub.
c75c0f7 to
9d7f374
Compare
blzsaa
commented
Feb 5, 2026
Member
|
Please do not force-push without good reason. This creates noise and makes review process harder |
Member
|
I decided it would be faster to commit the changes myself |
SunsetTechuila
approved these changes
Feb 5, 2026
fregante
reviewed
Feb 5, 2026
source/features/ci-link.tsx
Outdated
| await expectToken(); | ||
|
|
||
| observe([ | ||
| 'div[data-testid="top-nav-center"] li[class^="prc-Breadcrumbs-ItemWrapper"]:last-child a[class*="prc-Breadcrumbs-Item"]', |
Member
There was a problem hiding this comment.
How many breadcrumbs are on the page? The first part of the selector seems redundant.
Maybe even the second one. How about li:last-child > a[class*="prc-Breadcrumbs-Item"]. Note the additional > since li could be any parent otherwise
Member
fregante
approved these changes
Feb 5, 2026
Member
fregante
left a comment
There was a problem hiding this comment.
Seems ok as long as it works only in the desktop view and it doesn't duplicate/break when the viewport is too small.
Member
fregante
reviewed
Feb 5, 2026
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.


Update the anchor according to the UI changes on GitHub.
closes #8943
Test URLs
https://github.com/refined-github/refined-github
Screenshot
Without this:


With this: