Refined-github: Add `line-through` on deleted branches in PRs

Created on 27 Jul 2019  路  4Comments  路  Source: sindresorhus/refined-github

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

enhancement good first issue help wanted

All 4 comments

Thanks for the report!

It鈥檚 a duplicate of https://github.com/sindresorhus/refined-github/issues/1985

I hope someone sends a PR soon 鈽猴笍

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.

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?

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鈥檚 default branch and do nothing if it鈥檚 the same repo.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

olso picture olso  路  3Comments

hkdobrev picture hkdobrev  路  3Comments

juliocanares picture juliocanares  路  3Comments

vanniktech picture vanniktech  路  3Comments

hkdobrev picture hkdobrev  路  3Comments