Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't move Github Project cards when GitHub code show whitespace is active #36

Closed
colin-marshall opened this issue Jan 28, 2018 · 5 comments
Labels

Comments

@colin-marshall
Copy link

Whenever I have the GitHub code show whitespace active, I cannot move cards between columns in GitHub projects.

@Mottie
Copy link
Owner

Mottie commented Jan 28, 2018

Hi @colin-marshall!

Hmm, that's very odd. I think it has something to do with with @grant setting and GitHub's CSP.

I can break the drag-and-drop on the project page with this minimal userscript:

// ==UserScript==
// @name        test
// @version     1.0.0
// @include     https://github.com/*
// @grant       GM_addStyle
// ==/UserScript==
console.log(document.readyState);

And, if I change the @grant setting to none, the project page starts working. I've only tested this on Tampermonkey Beta for Chrome so far. I'm tired, so I'll test it some more in the morning.

@Mottie
Copy link
Owner

Mottie commented Jan 28, 2018

Related: StylishThemes/GitHub-Dark#581 (GitHub-Dark script)

@Mottie
Copy link
Owner

Mottie commented Feb 16, 2018

It looks like this has been fixed in Tampermonkey Beta.

@colin-marshall
Copy link
Author

colin-marshall commented Feb 17, 2018

@Mottie sorry for being slow to respond. Thanks for looking into this and staying on top it!

Update: Just tested on Tampermonkey Beta and can confirm it works.

@Mottie
Copy link
Owner

Mottie commented May 8, 2018

Tampermonkey v4.6 is now available... closing this issue.

@Mottie Mottie closed this as completed May 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants