Skip to content

3482268 contrib record styles

Closes #3482268

To Test:

Checkout https://gitlab.com/drupal-infrastructure/sites/drupalorg/-/merge_requests/64 Run ddev composer install Run composer recreate

  1. go to a contributor record page
  2. Observe that credited contributors now have a green background
  3. Open the git commands section
  4. observe that the commands are now using Source Code Pro font
  5. Click "Edit as maintainer"
  6. uncheck some of the credits and save
  7. observe that uncredited users have gray background
  8. go back to edit page
  9. open the "Contribution Record" expanding details area
  10. add or edit a contributor
  11. Organizations and Customers should be side by side in 2 columns at desktop, stacked at mobile.
  12. Create a new contributer record and make is for this issue, https://www.drupal.org/node/3482268
  13. when you save it, draft should display in gray on it because this work issue is not done.
  14. "click "add my contribution"
  15. It should show your user is added with credit pending approval
  16. You should also be able to add orgs for your user. Note I could add "customer but could not find or create content that would show in organization.
  17. click "edit as the maintainer"
  18. You should see this merge request as a related link. "import contributors" does not currently work for me locally.
  19. When you expand "Contribution Record" there is a disabled checked checkbox for "draft" because the issue is not merged
  20. now make a contribution record for an issue that is done such as https://www.drupal.org/node/3479215
  21. It should say that it is "public" on the view in blue. I made it similar to the "eyebrow" style used elsewhere.
  22. When you edit and expand "Contribution Record" there is a disabled unchecked checkbox for "draft" because the issue is merged.

The styles sohuld be pretty consistent with what is seen in the doc at https://docs.google.com/document/d/1oQ3MD5cF52-6TeUljhZamFXXj5Uqb0yQ-7jbw8DXB9c/edit?pli=1&tab=t.0

Note that button styles are happening in a separate branch to reflect latest button designs in Figma. We are not currently planning to have any green buttons but we will follow primary, secondary and danger button styles.

Also compare to screenshots of D7 version here:

Screenshot_2024-10-14_at_18.46.59__1_

Screenshot_2024-10-14_at_18.47.15__1_

Screenshot_2024-10-14_at_18.47.24__1_

Screenshot_2024-10-14_at_18.47.42__1_

Edited by Bill Sprowl

Merge request reports

Loading