sindresorhus/refined-github

Add `line-through` on deleted branches in PRs #2274

gurrrung posted onGitHub

Only colon is line-throughed here. Screenshot from 2019-07-27 13-21-33

Link to PR in screenshot: https://github.com/sindresorhus/refined-github/pull/2233


Thanks for the report!

It’s a duplicate of https://github.com/sindresorhus/refined-github/issues/1985

I hope someone sends a PR soon ☺️

posted by fregante over 5 years ago

Reopening because now this needs to be re-implemented as its own feature: cross-deleted-pr-branches

Most of the logic is in https://github.com/sindresorhus/refined-github/commit/cb8de12eb680475024c21d5586aa31a232493c73 (removed) but now we only need to use the part that adds the strike-through, not the linkifier.

The feature could also point the link to the repo root (instead of the 404 deleted branch) to make it somewhat useful.

posted by fregante over 5 years ago

The feature could also point the link to the repo root (instead of the 404 deleted branch) to make it somewhat useful.

Forked repo root or the primary repo?

posted by gurrrung over 5 years ago

The head branch could either be from the same repo or from a fork. I think it would only make sense to point to the fork’s default branch and do nothing if it’s the same repo.

posted by fregante over 5 years ago

Fund this Issue

$0.00
Funded

Pull requests