Some background info is at #2358375: My Projects view should show co-maintained projects and #101341: 'My projects' should also display projects that are being co-maintained.

https://www.drupal.org/project/user is a View, and the exposed filter has some customization to only list the projects owned by a person. That should be updated to show co-maintained projects.

Screengrab

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

drumm created an issue. See original summary.

Liam Morland’s picture

realityloop’s picture

Issue summary: View changes
Liam Morland’s picture

Do I have it right that what is needed is a new option in project_issue_get_projects()?

pwolanin’s picture

Yes, I might also like an easier way to exclude one project (e.g. I see Drupal core in my list and all core issues due to being in maintiners.txt)

dww’s picture

Re: #5: Right, @berdir and I were just discussing in the Slack that we should probably special-case core in a d.o hack for this feature, since *no one* listed in MAINTAINERS.txt wants core polluting their "My projects" page. ;)

dww’s picture

Status: Active » Needs review
FileSize
5.44 KB

Completely untested patch, but something like this is probably what we need.

I've lost all perms for access to d.o, testing, etc. My local d.o dev site is no more. So this is all blind coding. I also haven't looked at the project_issue codebase in a few years, so I'm probably rusty. But I figured I'd try to get this started...

Enjoy,
-Derek

froboy’s picture

Confirming this is still an issue. I've created zero projects on my own but am maintainer of 40+ and none of them show up here.

A screenshot showing an empty Project field on the My Projects page

fjgarlin’s picture

FileSize
5.1 KB

The previous patch no longer applied. It seems that the concept of "participant" was dropped.
I tried to recreate the patch (not tested yet).

fjgarlin’s picture

Status: Needs review » Needs work

Tried the patch here: https://fjgarlin-drupal.dev.devdrupal.org/project/user

It's not working as expected, so we need more changes somewhere else.

fjgarlin’s picture

Status: Needs work » Needs review
FileSize
5.78 KB

The attached patch here should fix the issue. Please review.

Note that you'd need to change the view located at: "/admin/structure/views/view/project_issue_user_projects/edit"
* FILTER CRITERIA > Project (Projects a user maintains) > Settings
* Then change "Project choices to provide" to "Projects maintained by a given user".
* And remember to click "Save".

The patch is in action here: https://fjgarlin-drupal.dev.devdrupal.org/project/user

  • drumm committed e2585329 on 7.x-2.x authored by fjgarlin
    Issue #2579293 by fjgarlin, dww, froboy, drumm, Liam Morland, pwolanin...
drumm’s picture

Status: Needs review » Fixed

Committed along with exporting the Views changes. Thanks!

froboy’s picture

I see all of my projects now. Thank you!!!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.