Skip to content

🐛 Fix after GitHub site update#128

Merged
jerone merged 2 commits into
jerone:masterfrom
darkred:patch-2
May 20, 2018
Merged

🐛 Fix after GitHub site update#128
jerone merged 2 commits into
jerone:masterfrom
darkred:patch-2

Conversation

@darkred

@darkred darkred commented May 20, 2018

Copy link
Copy Markdown
Contributor

Hey @jerone

I've made a few tweaks to make 'GitHub Commit Compare' work after the recent GitHub site update.


Two things to note, please:

  • the script currently doesn't work when you follow links,
    i.e. it doesn't work while being e.g. here https://github.com/jerone/UserScripts if you follow the link 526 Commits - it only works if you refresh the page while already being in the Commits page.

  • I've taken the liberty of adding my nick as 'Contributor' in this PR (as I did in my other PR, for 'Github News Feed Filter' too). I just hope it's ok with you (sorry I didn't ask you first!). Otherwise (maybe because my tweaks are minor/basic and/or simply because it's your personal work), please feel free to remove // @contributor darkred (and from the other script, too). No problem at all.

@jerone jerone left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @darkred,

GitHub Commit Compare was more or less a test that's WIP, but didn't have time to finish (read lost interest and moved on). The biggest thing missing to make it an useful userscript, is support over multiple pages.

Tested changes; looks good and everything working again.

Would you mind to update the readme too (changelog & contributor).

// @namespace https://github.com/jerone/UserScripts
// @description Add controls to compare commits.
// @author jerone
// @contributor darkred

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@jerone jerone self-assigned this May 20, 2018
Added changelog, my nick in Contributors and External links
@darkred

darkred commented May 20, 2018

Copy link
Copy Markdown
Contributor Author

Gladly. I just updated it.

@jerone jerone merged commit 22874f7 into jerone:master May 20, 2018
@darkred darkred deleted the patch-2 branch May 20, 2018 20:29
@jerone

jerone commented May 20, 2018

Copy link
Copy Markdown
Owner

Thanks @darkred 🎬

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants