Extend crediting UI to include organizations & customers
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #2369159. -->
Reported by: [drumm](https://www.drupal.org/user/3064)
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>When <span class="drupalorg-gitlab-issue-link drupalorg-gitlab-link-wrapper"><a href="https://git.drupalcode.org/project/drupalorg/-/work_items/2340363" class="drupalorg-gitlab-link">https://git.drupalcode.org/project/drupalorg/-/work_items/2340363</a></span> is done, the work in <span class="drupalorg-gitlab-issue-link drupalorg-gitlab-link-wrapper"><a href="https://git.drupalcode.org/project/drupalorg/-/work_items/2295411" class="drupalorg-gitlab-link">https://git.drupalcode.org/project/drupalorg/-/work_items/2295411</a></span> should be extended to show organizations and customers that commenters choose to extend credit to.</p>
<p><span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-17"><a href="https://www.drupal.org/project/drupal/issues/2323715" title="Status: Closed (outdated)">#2323715: [policy, no patch] Determine format for commit credit for individuals/organizations/customers</a></span> should decide on the format of the commit message.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<ul>
<li>Show users, and their org and customers in the credit and committing table</li>
<li>This should be recorded in Drupal.org's DB</li>
</ul>
<h4>Store the data</h4>
<p>Add entity reference fields on the issue node type to store references to users, organizations and customers they attribute.</p>
<ul>
<li>Updated every node/comment save by a maintainer of the project.</li>
<li>The default values should <em>add</em> to any previously saved data, so anyone credited outside of the defaults stays credited.</li>
<li>The fieldset summary could color-code previously-credited vs. new suggestions.</li>
</ul>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<ul>
<li><del>Decide if we should</del> store the data in the DB, <del>or rely on commit messages and parse them.</del></li>
<li><del>Decide if this issue should change the suggested commit message, or filter duplicate users out.</del></li>
<li>Reviews</li>
</ul>
<h3 id="summary-ui-changes">User interface changes</h3>
<ul>
<li>Show authors' attributions in the table</li>
<li>Make sure maintainers see the fieldset - Add a fieldset summary for project maintainers</li>
</ul>
<p><strong>Try out changes:</strong><br>
<a href="https://credit-drupal.redesign.devdrupal.org/node/2450741">https://credit-drupal.redesign.devdrupal.org/node/2450741</a> - contrib issue with credited mockups<br>
<a href="https://credit-drupal.redesign.devdrupal.org/node/2432837">https://credit-drupal.redesign.devdrupal.org/node/2432837</a>, <a href="https://credit-drupal.redesign.devdrupal.org/node/2450205">https://credit-drupal.redesign.devdrupal.org/node/2450205</a> - core issues<br>
Drupal login as a maintainer with bacon/bacon. As a non-maintainer with seitan/seitan</p>
<p><strong>As a maintainer:</strong><br>
<img src="https://www.drupal.org/files/issues/Screen%20Shot%202015-03-26%20at%2012.25.17%20PM.png" alt="Screenshot"></p>
<p><strong>As a non-maintainer:</strong><br>
<img src="https://www.drupal.org/files/issues/Screen%20Shot%202015-03-26%20at%2012.30.19%20PM.png" alt="Screenshot"></p>
<h3 id="summary-deployment">Deployment</h3>
issue