refined-github: `ci-link`: hide duplicate status icon

1

It seems that lately GitHub added a build status icon on the repo homepage and commit details page for repos using GitHub Actions. The latter is fine, while the former duplicates Refined GitHub’s ci-link feature. I think it’s better to hide one of them, GitHub’s one for consistency, or Refined GitHub’s one for fewer HTTP requests/DOM manipulation (though I don’t care about these expenses 😂).

Off topic

2

GitHub hurried this feature…

Example URL: https://github.com/zeit/now-builders

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 17 (17 by maintainers)

Most upvoted comments

Just wonder if we can add something like:

.rgh-repo-root .rgh-ci-link {
  display: none;
}
document.body.classList.toggle('rgh-repo-root', isRepoRoot())

<small>😆 Guess this would get disapproved and I have to write user script myself</small>

@fregante looks like they added it for all ci’s!

I disabled Refined GitHub and found the icon still exists, without custom classes like rgh-xxx, so I believe it is from GitHub.

rgh is Refined GitHub, I suppose you’re talking about the icon still being after the repo title after you disable the extension. It’s still there because you have to fully refresh the page to let the JavaScript unload

I like the 2 new positions you’re showing me, they make sense and I hope to see them soon.