sindresorhus/refined-github

Double-click a project card to edit it #3035

ewen-lbh posted onGitHub

<!-- 1. Make sure your requested feature makes sense for Refined GitHub: https://github.com/sindresorhus/refined-github/issues/2960 2. Include a full URL where the feature should appear. -->

This should appear on project urls, e.g. https://github.com/users/ewen-lbh/projects/2 or https://github.com/schoolsyst/frontend/projects/5.

Every time I need to edit a project card, I double-click it by instinct, but I end up reaching for the three-dots button and clicking "Edit note"

I'm willing to do a pull request


I made a quick POC (the cards need to be loaded within two seconds for it to work): https://gist.github.com/ewen-lbh/ce46d8db03326e86daff6bf5c8135d72

Load it with Greasemonkey to test it

posted by ewen-lbh almost 5 years ago

Sorry Refined GitHub doesn't add Projects-related features

posted by fregante almost 5 years ago

Huh, this was not in the contributing guide I believe. I wonder why, is Projects still in beta? Seems weird to make an exception just for it (and detectPage has a inProjects function), so I thought it was possible, sorry!

posted by ewen-lbh almost 5 years ago

detectPage has a inProjects function

Indeed, but it's not used: https://github.com/sindresorhus/refined-github/search?q=isproject&unscoped_q=isproject

this was not in the contributing guide I believe. I wonder why, is Projects still in beta?

I added it there yesterday. This is why:

Projects are too big of a feature and everyone wants to make a Jira out of it. None of the maintainers use Projects, so it’s best to suggest it to ZenHub or alternatives.

Over the years rejected all previous requests for a reason or another:

https://github.com/sindresorhus/refined-github/issues/2411 https://github.com/sindresorhus/refined-github/issues/2406 https://github.com/sindresorhus/refined-github/issues/2356 https://github.com/sindresorhus/refined-github/issues/1736 https://github.com/sindresorhus/refined-github/issues/1510 https://github.com/sindresorhus/refined-github/issues/2069

posted by fregante almost 5 years ago

Oh I see. While I disagree with you with that (I think that Projects is mature enough for a simple automated kanban, and it seems more comfy to me to have all the tools integrated on the same site), I guess my idea could fall under the "could be implemented as a userscript" bullet point in the contributing guide. I just had another idea though, I'm going to make an issue about it

Still this is a really good extension, and I looked into how to contribute code, and adding features seems really easy :)

posted by ewen-lbh almost 5 years ago

Fund this Issue

$0.00
Funded

Pull requests