Problem/Motivation

When #2340363: Add issue comment attribution is done, the work in #2295411: Auto-generate Git attribution info / commit messages on Drupal.org should be extended to show organizations and customers that commenters choose to extend credit to.

#2323715: [policy, no patch] Determine format for commit credit for individuals/organizations/customers should decide on the format of the commit message.

Proposed resolution

  • Show users, and their org and customers in the credit and committing table
  • This should be recorded in Drupal.org's DB

Store the data

Add entity reference fields on the issue node type to store references to users, organizations and customers they attribute.

  • Updated every node/comment save by a maintainer of the project.
  • The default values should add to any previously saved data, so anyone credited outside of the defaults stays credited.
  • The fieldset summary could color-code previously-credited vs. new suggestions.

Remaining tasks

  • Decide if we should store the data in the DB, or rely on commit messages and parse them.
  • Decide if this issue should change the suggested commit message, or filter duplicate users out.
  • Reviews

User interface changes

  • Show authors' attributions in the table
  • Make sure maintainers see the fieldset - Add a fieldset summary for project maintainers

Try out changes:
https://credit-drupal.redesign.devdrupal.org/node/2450741 - contrib issue with credited mockups
https://credit-drupal.redesign.devdrupal.org/node/2432837, https://credit-drupal.redesign.devdrupal.org/node/2450205 - core issues
Drupal login as a maintainer with bacon/bacon. As a non-maintainer with seitan/seitan

As a maintainer:
Screenshot

As a non-maintainer:
Screenshot

Deployment

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

drumm’s picture

Assigned: Unassigned » drumm
Issue summary: View changes
Status: Postponed » Active
drumm’s picture

#2380693: Separate patches from other files for automatic credit & committing might be a good thing to fix around when this issue gets fixed. There aren't any technical dependencies, but it will lead to better data being stored.

drumm’s picture

Issue summary: View changes
FileSize
31.25 KB

The most straightforward change is to consistently show the authors' attributions in the Credit & Committing table, adding a mockup to the issue summary.

drumm’s picture

We need to make it clear to maintainers that the fieldset isn't just a widget for commit messages. Otherwise, it might be left hidden.

For maintainers only, let's add a summary on the collapsed fieldset (see screenshot in issue summary):

Giving credit to: comexpertise at ComExpertise, mjpa, malberts, plach at Tag1 Consulting for Examiner.com

(Core functionality rant: collapsible fieldsets hard-code parenthesis around summaries, http://cgit.drupalcode.org/drupal/tree/misc/collapse.js?h=7.x#n71)

drumm’s picture

Issue summary: View changes
drumm’s picture

Issue summary: View changes

And we need to actually store the data, I'm adding some notes to the issue summary.

For maintainers, I think we should save this data all the time, regardless of the issue being fixed or other status. This lets maintainers get a head start on crediting, especially for longer issues, and correct already fixed issues.

Future work exposing this data elsewhere should filter by fixed and closed (fixed) issues.

drumm’s picture

Issue summary: View changes
Bojhan’s picture

Could you show how this looks with a lot of authors? I wonder how this scales.

drumm’s picture

Simple line wrapping for scaling. We could put in some rules like "don't line break in the middle of an organization name" if needed.

  • drumm committed 3fad187 on 2369159-issue-credit
    Issue #2369159: Add organization...
drumm’s picture

An preliminary version of the first part of this is at https://attribution-drupal.redesign.devdrupal.org/node/2421815.

Todo:

  • This does not work well on mobile, the existing Credit & committing UI might not look good on mobile.
  • I haven't looked at line wrapping at all.
  • If files are uploaded, those won't be populated correctly.
  • The fieldset summary and storing the data.

  • drumm committed f2d1002 on 2369159-issue-credit
    Issue #2369159: Correctly associate files with attributed authors
    

  • drumm committed 3824df5 on 2369159-issue-credit
    Issue #2369159: Remove over-escaping
    
drumm’s picture

The details for "Show authors' attributions in the table" are done for now. I put in basic line wrapping, and turned off mobile tables for this table.

  • drumm committed 0051e69 on 2369159-issue-credit
    Issue #2369159: Add credit summary
    
drumm’s picture

The Credit & committing summary is now working. For now, it shows for everyone for demoing. In practice, we will only want it for maintainers who can give credit.

https://attribution-drupal.redesign.devdrupal.org/node/2421815 is a good blank slate example, with the test data.
https://attribution-drupal.redesign.devdrupal.org/node/2418017 is a more average core issue.

YesCT’s picture

Issue summary: View changes

Note #2323715: [policy, no patch] Determine format for commit credit for individuals/organizations/customers has not decided on the format of the commit message.
So, is this issue just for the table?
The sample in https://attribution-drupal.redesign.devdrupal.org/node/2418017 lists a user twice (without org or customer on either).

Updated issue summary.

---
I'm not clear on if this issue should also save information in the DB. If that gets saved, or when it would get saved (on comments by a committer when they changed something in the commit summary table?, or on commit? parsing the commit message?).

I'm not clear on what "previously-credited" suggestions refers to. Is that in the case of multiple commits in one issue?

YesCT’s picture

Status: Active » Needs work

Ah, that issue was postponed on having a few months of attribution data before deciding on commit credit format. #2323715-61: [policy, no patch] Determine format for commit credit for individuals/organizations/customers

If that is still the plan, I think for this issue, so that we do not change the commit credit format, we want to consolidate duplicate users to just one user in the commit message.

---

I'm confused by #16

In practice, we will only want it for maintainers who can give credit.

In #2295411-59: Auto-generate Git attribution info / commit messages on Drupal.org there were some reasons why we want this collapsed (but not hidden) from non-committers.

drumm’s picture

I want to keep the fieldset visibility and collapsing rules as-is for this issue, everyone should see it.

The fieldset summary, currently "Expand to give credit" or "Giving credit to …" should only be shown to maintainers. I used action words, to help show that using that fieldset will now be doing something, saving the credit to some fields.

This issue isn't blocked by #2323715: [policy, no patch] Determine format for commit credit for individuals/organizations/customers, but we should aim to be consistent with plans there. There isn't any de-duping of names/organizations right now, because that's technically easy. If we are clearly assigning credit to a list of users, and list of organizations, then we can put in the work to have the UI show that.

joshuami’s picture

@drumm, I just noticed that the summary still says "Decide if we should store the data in the DB, or just rely on commit messages and parse them." To clarify, we need to store it in the database in order for a maintainer to give credit on a non-code-generating issue. Want me to update the summary?

There is still a question as to what format we store commit mentions, but the actual credit used on Drupal.org can be completely database driven. That will allow us the greatest flexibility.

rcross’s picture

This might be a few steps too late (or possibly the wrong place), but something came to mind that I'd just like to ask for the rationale.

if we're extending the ability to attribute each comment AND we want to recognise a much wider array of contributions besides just code (presumably in a fair/consistent manner), at this point shouldn't we just give everyone their piece of the attribution rather than relying a maintainers arbitrary judgement?

joshuami’s picture

@rcross, we currently rely heavily on maintainers to give commit mentions. This extends that pattern to a greater degree.

Maintainers giving credit does two things:

1. It prevents gaming the system. Becoming a maintainer takes significantly more effort than creating an account and commenting on an issue. We are acknowledging that maintainers with responsibility to help grow and shape positive contribution.

2. It promotes the value of reaching closure on issues. We will still have issues that stay open for years due to conflicting viewpoints, but maintainers will be able to give credit to those involved in an issue that can reach enough consensus to move to closed complete.

If we see maintainer-given credit is not working, we can look at other options. I think we will know within six months of the feature rolling out.

YesCT’s picture

If this issue is going to hide the credit fieldset from non-maintainers... well. that aught to be a separate issue or this issue should provide a fieldset (or something) that gives that same info to non-maintainers but doesn't allow non-maintainers to *save* the info.

drumm’s picture

If this issue is going to hide the credit fieldset from non-maintainers

The fieldset display rules are not changing.

This is adding a summary to that fieldset for maintainers, the "Make sure maintainers see the fieldset" section of the issue summary.

drumm’s picture

Issue summary: View changes

I just noticed that the summary still says "Decide if we should store the data in the DB, or just rely on commit messages and parse them." To clarify, we need to store it in the database in order for a maintainer to give credit on a non-code-generating issue. Want me to update the summary?

Updating the summary. We're storing them in the DB.

drumm’s picture

We can store them as either:

  • Users and organizations entity references directly on the issue node. That is easy to do summary queries like "how many issues did this user get credited for?" or "which issues did this organization get credited for?" It does not directly store the user → organizations relationships; those will need JOINs back through the comments if we do queries that specific.
  • User and organizations entity references in a field collection, one per credit. This is another relationship, ~2 JOINs, for summary queries. It does keep the user → organizations relationships handy.
  • Entity references to the credited comments. This is another relationship, ~2 JOINs, for summary queries. There is no duplication of data, so if a user edits a credited comment, the credit updates too; may or may not be a good thing.
drumm’s picture

I'm leaning toward the final option for storage. If a user editing a credited comment, updating the issue credit too, is not ideal, then we can adjust the comment editing permissions.

(The first option doesn't store enough to populate the Credit & committing checkboxes to keep previously-credited people credited.)

Specifically, we can store a reference to a single comment with the credit a maintainer selects. Storing more than one reference, when a user has multiple comments with the same attribution, would be overkill, and make de-duping queries necessary. The specific comment referenced is an artifact of us needing to store something, we aren't getting into or exposing crediting specific comments.

webchick’s picture

It would be nice to go back and credit old comments, but I don't think necessary for deployment.

Dries emphasized before that is _is_ really important that we be able to query on user => org associations, because we want to be able to study how contributions happen. I'm not sure if that's still possible with option a) or not.

One other thing that catch brought up in one conversation about this or another is that within a given issue, especially if it spans multiple years as many core issues do, the same individual may:

1) Submit work to the issue of their own accord (nights/weekends time). (comment #12)
2) Be paid by Customer Foo to work on said issue. (comment #20)
3) Have the issue assigned to them as part of Employer Bar's work time (comment #50)

We don't want to count the individual credit 3 times, but OTOH we do want to make sure that all three of those "sponsoring" relationships are queryable for the same individual in that issue. Not sure whether any option than c) gets us that.

drumm’s picture

Yep, the second 2 options leave everything open for querying. Not using field collections has the advantage of keeping things more simple.

  • drumm committed 8df850c on 2369159-issue-credit
    Issue #2369159: Only show Credit...
  • drumm committed dac7c20 on 2369159-issue-credit
    Issue #2369159: Field for storing issue credit data
    

  • drumm committed 031ac30 on 2369159-issue-credit
    Issue #2369159: Add placeholder to empty Credit & committing columns
    
  • drumm committed 646706b on 2369159-issue-credit
    Issue #2369159: Store issue credit
    
  • drumm committed 829e16a on 2369159-issue-credit
    Issue #2369159: Default to previously-stored issue credit
    
drumm’s picture

Status: Needs work » Needs review

This is all running at https://attribution-drupal.redesign.devdrupal.org/node/2421815

I made bacon a maintainer for that issue's project, so you can see the "Giving credit to" part in action.

YesCT’s picture

I think we still need to strip out the duplicates from the commit message that is generated, since this issue is not about changing the format of the commit message.
example "git commit -m 'Issue #2421815 by bacon, bacon, ruscoe, bacon: Multiple_email integration'" should just be "git commit -m 'Issue #2421815 by bacon, ruscoe: Multiple_email integration'"

we should keep the "first" occurrence of the account user name.

  • drumm committed d262f14 on 2369159-issue-credit
    Issue #2369159: De-dupe credit in commit messages
    

  • drumm committed 0c4c469 on 2369159-issue-credit
    Issue #2369159: Add more help for maintainers
    
drumm’s picture

@YesCT - fixed that.

And I also added "As a project maintainer, your selections are saved as credit for this issue." before "Learn more about giving credit." at the bottom for maintainers.

(bacon is now a maintainer, I set up another Drupal login as a non-maintainer, seitan/seitan).

drumm’s picture

Updating the screenshots in the issue summary. My todo list here is empty at the moment, this is ready for review.

drumm’s picture

Issue summary: View changes
markhalliwell’s picture

Status: Needs review » Needs work
FileSize
50.65 KB
25.17 KB
108.01 KB
45.36 KB

Thanks @drumm! This is a good start. I think we all need to discuss how this workflow is:
1) actually intended to work and
2) when orgs/customers should be credited

This appears to literally separate each comment out. Do we need this level of granularity here? Is not the goal here to simply attach this data alongside the individual, opposed to treating it as an entirely separate line item? It feels like this is all about the orgs/customers rather than the individual.

I also feel that one could run the risk of overlooking an individual without and org/custom attached to them. Overall it feels a little bloated, tedious to look at and rather difficult to parse.

I'm not entirely sure what the solution here is yet, but I've gone ahead and marked up some comments and a possible solution to them. Let me know what y'all think.

Summary (before, I checked all for effect here):

Summary (after, they are still all checked):

UI (before):

UI (after):

Edit: Last image should say "shows the real impact they had in the issue at hand" at the bottom.

drumm’s picture

This appears to literally separate each comment out. Do we need this level of granularity here? Is not the goal here to simply attach this data alongside the individual, opposed to treating it as an entirely separate line item? It feels like this is all about the orgs/customers rather than the individual.

This test comment isn't a great example. Each line of the table is a user/attribution combination. Usually, a person will have one attribution throughout an issue, they only get listed once. If someone comments with removing/adding an organization, that starts a new row of the table. In this test issue, myself and bacon had a lot of artificial switching around.

drumm’s picture

Status: Needs work » Needs review

The defaults are also test data. Like the current UI, the only preset defaults are for patches. We don't automatically grant credit for having a lot of comments.

Testing things out as a project maintainer, the 4 checked are the credit I've already assigned. In this example, this would be giving hypothetical credit for good mockups, stuff covered by #2230579: [meta] Allow crediting reviewers (and other non-coders) as first-class contributors, or however a project maintainer decides who should be credited. When you save this form as a maintainer, the credit is saved.

drumm’s picture

I'm spinning up a fresh dev site, which will have a few days of real data. Core and maybe even a contrib module should have some better examples.

On "Giving credit to …" vs. "Give credit to …", I chose "giving" since I think the action word might stand out a bit more to maintainers. I'm not too attached to it, "Give" would be okay.

I do want to keep the emphasis on usernames in the fieldset summary. "at" and "for" shouldn't be more visible than the usernames.

YesCT’s picture

We could later, have a UI where maintainers could mark *comments* as credit worthy, and that would effect the credit & committing fieldset.

I think the current status is ok to me. (not all the things bacon did maybe credit worthy, and so we would not want to credit an org or customer for those by lumping them all together).

webchick’s picture

While the other dev environment is being spun up, I changed a few things around on https://attribution-drupal.redesign.devdrupal.org/.. I made bacon a maintainer of both Drupal core and Views, and then I went to https://attribution-drupal.redesign.devdrupal.org/node/2418017 (the core issue with the highest number of replies) and edited some comments to fill in a few values. dawehner in particular I edited two comments, one putting him at Acquia, one putting him working for a customer "Drupal Association."

The default commit credit UI at https://www.drupal.org/node/2418017 (the original issue) looks like this:

Original commit credit UI

In the original commit credit UI, my focus is on two things:

1) individuals (I specifically check those whose great comments stood out in skimming through the issue)
2) issue activity (the green bars and how long they are, so I can credit people who participated a lot, but whose comments didn't specifically stand out in skimming).

I actually really love this UI, and in my "gut" estimation I think this results in about 400% more reviewers being credited than prior to its rollout (at least for credit I personally dole out as a core committer).

The new default commit credit UI at https://attribution-drupal.redesign.devdrupal.org/node/2418017 (currently) looks like this:

List of names

In the new version though, now suddenly I get thrown a third thing to think about: organization/customer. dawehner is no longer an individual; he's actually in the list 3 different times, once for each org/customer configuration. Two of them got auto-checked (since they were comments with patches attached), but one of them is not. The one where he's not auto-checked is a comment that was credited to Acquia. So in order for me to tell if I should in fact credit the "dawehner/Acquia" pairing, I need to go back through 125 comments, find the ~25 that were comments of dawehner, meticulously click on each and every little "Credit" box next to each one to figure out if it's from Acquia or not, then once I find the needle in the haystack, make a judgment call on whether or not that's "worthy" of being checked, then scroll back down to the commit credit UI and make my decision. Multiply that X minutes of effort by anyone else in this list more than once.

So, obviously, I am not going to do that. :P And neither is anyone else.

What I am going to do is continue to do what I've always done: scan on 1) individual and 2) effort. Except now, effort is split between multiple entries, which vastly increases the risk that people don't get the credit they deserve. The commit credit system was only rolled out a week ago, but there are approximately 4.7 million comments that pre-dated this rollout. So it's quite conceivable that an individual makes, say, 3 comments from before last week, and another 3 after last week. In the "old" commit credit UI, that'd add up to 6, which would flag for me on 2) effort, and they'd get credit. 3 comments, OTOH, most likely would not.

Who they work for is entirely immaterial to me when I'm in my "doling out commit credit" context. In that context, I only care about the "who" and the "what," not "who's paying to make the what happen." Organizational influence is way more relevant to me when the issue is actively in progress, but it's deliberately hidden during that phase.

So TL;DR I would just consolidate the list of names so we stay focused on individuals, and clump together everyone they worked for during the course of the issue in with their commit credit (similar I think to what Mark proposed). The only downside I can possibly see is that it's conceivable you have an individual who contributes multiple patches on nights/weekends time, then on company time makes some small "looks good, RTBC" comment, and the company wrongly gets commit credit for that one issue. But honestly, who cares? We also accidentally credit people for simple patch re-rolls, etc. I'd much rather err on the side of accidentally doling out too much credit than not enough.

drumm’s picture

Updating the issue summary with links to try out changes and more-reasonable screenshots:

Try out changes:
https://credit-drupal.redesign.devdrupal.org/node/2450741 - contrib issue with credited mockups
https://credit-drupal.redesign.devdrupal.org/node/2432837, https://credit-drupal.redesign.devdrupal.org/node/2450205 - core issues
Drupal login as a maintainer with bacon/bacon. As a non-maintainer with seitan/seitan

As a maintainer:
Screenshot

As a non-maintainer:
Screenshot

drumm’s picture

Issue summary: View changes

(line breaks)

webchick’s picture

Incidentally, I don't think #43 is workable. At least for me, I do not read all 125 comments in an issue like this. I tend to read only the issue summary, and the last ~5 comments. If it's not clear from doing that what's going on, I tag it "Needs issue summary update" and move on to the next issue.

What would be more workable is #42232: Help Maintainers Manage Issue Priority by Encouraging Voting and "crowd-sourcing" the responsibility of voting on comments to help elevate the really good ones, though I'm not sure if people who come to the issue queue to get things done really want that responsibility/distraction. It'd most likely be "observers" doling out commit credit in this case, which may or may not be desired.

markhalliwell’s picture

The commit credit system was only rolled out a week ago, but there are approximately 4.7 million comments that pre-dated this rollout. So it's quite conceivable that an individual makes, say, 3 comments from before last week, and another 3 after last week. In the "old" commit credit UI, that'd add up to 6, which would flag for me on 2) effort, and they'd get credit. 3 comments, OTOH, most likely would not.

Exactly! This is way too granular IMO. It has always been my understanding that org/customer attribution credit would be sprinkled on top of individual attributions, not separate it out.

drumm’s picture

Yep, currently it isn't workable, you can't readily refer back to the comments to see what had which attribution. #2450741: Explore the use of icons for showing attribution info in issue queues could change that.

I would just consolidate the list of names so we stay focused on individuals, and clump together everyone they worked for during the course of the issue in with their commit credit (similar I think to what Mark proposed).

I'm okay with this. It does change the storage requirements, we have to store the issue-level credit separately from comment attribution, a field collection for the entity reference fields. Since it is some re-engineering, I want to wait for a bit more feedback before jumping into it.

webchick’s picture

Oops, sorry, #43 was a reference to YesCT's idea for maintainers to effectively "flag" comments worthy of commit mention. But yes, agreed the granularity in the UI is also not really workable. :)

Before we go rearranging the data model here, though, I wanted to be clear that we do still want the granularity on the back-end IMO, so we can continue to do the queries suggested in #28 (we'd also want this granularity in commit messages). The "smooshing" I'm suggesting would be for the UI only, or at least I think so.

drumm’s picture

The issue would have a multi-valued field collection with:

  • User entity reference
  • Organization(s) entity reference(s)
  • Customer(s) entity reference(s)

If we are smooshing in the UI, we should store the same data. The field collection keeps organizations and customers associated with a specific user.

webchick’s picture

I guess as long as it's still possible to tell that a user contributed both as an individual and as a sponsored person within the same issue, that's probably ok. #2453271: Make "I'm a volunteer" an explicit choice in the credit UI might help with that.

drumm’s picture

When we show this credit on user profile pages, a user's credit will be shown regardless of attribution to an organization. Attributing to an organization never takes away from user attribution. That can happen with a View in either the currently-implemented storage, or #51.

What use case do we have for finding non-organization credit from a person in an issue that they also used organization credit?

webchick’s picture

For Dries's use case of an accurate picture of how are community works, how many contributions are volunteer vs. paid, etc.

drumm’s picture

Ok, then we can stick with the current storage, and use it more-agressively. When a maintainer saves credit for the issue, that will internally be a comment entity reference to every comment by a credited user on the issue. We'll have to be careful to not get duplicates when making Views, but that's true regardless.

Wim Leers’s picture

#55 And we'll have to disallow deleting credit-referenced comments?

drumm’s picture

If someone is deleting credit-referenced comments, we have bigger problems than hanging entity references.

  • drumm committed 12d83f2 on 2369159-issue-credit
    Issue #2369159: Copyediting
    
  • drumm committed 1d31f57 on 2369159-issue-credit
    Issue #2369159: Credit per-user instead of per-user-with organizations
    
drumm’s picture

Credit & committing is now back to per-user, instead of per-user-with-organizations. If you change your credit throughout an issue, it is grouped together.

Behind the scenes, the credit is stored as an entity reference to every comment on the issue by a credited user. Views and reports showing this data can group by issue/user, issue/organizations, issue/user/organizations, etc as-needed.

Try out changes:
https://credit-drupal.redesign.devdrupal.org/node/2450741 - contrib issue with credited mockups
https://credit-drupal.redesign.devdrupal.org/node/2432837, https://credit-drupal.redesign.devdrupal.org/node/2450205 - core issues
Drupal login as a maintainer with bacon/bacon. As a non-maintainer with seitan/seitan

As a maintainer:
Screenshot

As a non-maintainer:
Screenshot

webchick’s picture

Sorry that I can't test just now, but what happens if a user comments as both themselves and sponsored by Acquia (or whatever)? Does it show "independent, Acquia" or similar? Because IMO it should, at least for comments after the deployment of this feature. One sponsored comment doesn't undo all the work I might've done in my nights/weekends time. (Not me, per se, but a person.) This was one of the concerns catch raised, that the company credit would "overrule" credit to individuals who were volunteering their time.

webchick’s picture

However, otherwise, that looks great! Thanks so much for making the change to a list of people instead of "creditors" :)

drumm’s picture

Should we wait for #2453271: Make "I'm a volunteer" an explicit choice in the credit UI to better show independent/volunteer credit? At the moment, lack of organizations could mean volunteer, comment predates attribution, or didn't fill out the because of contracts/NDAs, etc.

webchick’s picture

Ah, indeed that might be a good choice, if that's planned to happen.

drumm’s picture

This was one of the concerns catch raised, that the company credit would "overrule" credit to individuals who were volunteering their time.

I think displaying credited issues on user pages should happen regardless of organization credit. The display probably will be simple, there is a lot going on in user profiles, there might not be room to show organizations they also credited.

The credit is always individual, in addition to attributed organizations. If there is anywhere copyediting and UI can make that more clear, we can do that.

webchick’s picture

Well, once again the issue is not the individual credit. I think it's widely understood that individual credit always happens (or I haven't seen anyone confused on that point at least).

The issue is that if you're donating your own time to resolving an issue, you are making a sacrifice of time that could be otherwise spent sleeping, watching a movie, hanging out with friends and loved ones, knitting, whatever. In short, you yourself are "sponsoring" your work, in terms of time rather than a monetary donation.

So it is considered highly offensive by some who do a lot of volunteering (which is about 95% of core contributors) if companies' sponsorships outweigh/obliterate their own "personal sponsorship." Especially given one single "looks good, RTBC" on company time obliterates the effort you spent as a volunteer on an issue, esp. if that time was spent creating, rolling, re-rolling, re-re-re-re-rolling the patch, etc.

Does that make sense?

YesCT’s picture

ok.

tried both. work well.

drumm’s picture

Status: Needs review » Reviewed & tested by the community

I can confirm I'll be working on #2453271: Make "I'm a volunteer" an explicit choice in the credit UI this week. I'd like to treat that as a future enhancement, and get this issue deployed. This will give us a few more days of people using this issue's changes.

I'm going to be bold and set this to RTBC with webchick & YesCT's comments, and to get people's attention.

webchick’s picture

I can try and take a look later, but not really sure how to test this given the credit is not yet displayed on org page.

  • drumm committed 0051e69 on 7.x-3.x
    Issue #2369159: Add credit summary
    
  • drumm committed 031ac30 on 7.x-3.x
    Issue #2369159: Add placeholder to empty Credit & committing columns
    
  • drumm committed 0c4c469 on 7.x-3.x
    Issue #2369159: Add more help for maintainers
    
  • drumm committed 12d83f2 on 7.x-3.x
    Issue #2369159: Copyediting
    
  • drumm committed 1d31f57 on 7.x-3.x
    Issue #2369159: Credit per-user instead of per-user-with organizations
    
  • drumm committed 3824df5 on 7.x-3.x
    Issue #2369159: Remove over-escaping
    
  • drumm committed 3fad187 on 7.x-3.x
    Issue #2369159: Add organization...
  • drumm committed 646706b on 7.x-3.x
    Issue #2369159: Store issue credit
    
  • drumm committed 829e16a on 7.x-3.x
    Issue #2369159: Default to previously-stored issue credit
    
  • drumm committed 8df850c on 7.x-3.x
    Issue #2369159: Only show Credit...
  • drumm committed b5bcb24 on 7.x-3.x
    Issue #2369159: Fix notice
    
  • drumm committed d262f14 on 7.x-3.x
    Issue #2369159: De-dupe credit in commit messages
    
  • drumm committed dac7c20 on 7.x-3.x
    Issue #2369159: Field for storing issue credit data
    
  • drumm committed f2d1002 on 7.x-3.x
    Issue #2369159: Correctly associate files with attributed authors
    
drumm’s picture

Status: Reviewed & tested by the community » Fixed
Issue tags: +needs drupal.org deployment

This is on staging now, for example https://staging.devdrupal.org/node/2369159.

The only visibility of this being stored, until we show this on user & organization profiles, is maintainers giving credit to commenters who have not uploaded a patch. Those values will stick when a maintainer comments on an issue.

For example, I credited markcarver, webchick, and myself when I commented on https://staging.devdrupal.org/node/2369159.

drumm’s picture

Issue tags: -needs drupal.org deployment

Now deployed.

webchick’s picture

So are there plans for a mass-email to everyone with Git commit access to inform them that they should be using the commit credit UI to explicitly check anyone they feel deserves credit in an issue?

I worry people are still using that UI the same as they ever have, as a starter to a commit message that they then tweak manually. However, unfortunately unless explicitly check more boxes and leave a comment or otherwise save the form, it sounds like that's going to leave non-patch contributing individuals/companies without credit, since for org profile purposes the commit messages don't matter at all.

joshuami’s picture

We are planning a system message for all users with Git vetted for next week. (System messages are likely going to be our default for this sort of thing as we don't have to worry about delivery.)

We should be able to track the usage of credits and tweak it to be more explicit in the UI. I agree that a big "give credit" button that triggers an issue save is a likely solution.

drumm’s picture

#2230579: [meta] Allow crediting reviewers (and other non-coders) as first-class contributors is still open. That would be good to get resolved, so the core policy is clear.

The next steps are documentation for all projects, including recommending that maintainers follow core's policy.

The maintainer's fieldset summary, either "Giving credit to …" or "Expand and select contributors to give credit." is visible to maintainers as they comment, near the save button. It doesn't marquee or anything, but should be a bit noticeable.

webchick’s picture

Well, reviewer/non-technical credit right now often happens organically thanks to the existing UI, as noted in #44... it helps surface larger efforts of people who didn't contribute patches. I do agree that issue's still open in that we don't have the "how did they contribute?" granularity yet, but if it's going to be maintainers doling out credit I'm not sure how much of that specification we can reasonably expect them to do.

webchick’s picture

Oh, and +1 for some small UI tweaks to make this stand out a bit more (but not "marquee" more :D), and thanks for verifying the communication plan. That all sounds great.

Status: Fixed » Closed (fixed)

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

dddave’s picture

Assigned: » Unassigned
Status: Active » Closed (fixed)
Issue tags: -Top fiverr alternatives

fixing

dddave’s picture

Title: Top Sites Like Fiverr | Best Fiverr Alternatives » Extend crediting UI to include organizations & customers
Component: Documentation » User interface
Assigned: Unassigned » drumm
Issue tags: +