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
- go to a contributor record page
- Observe that credited contributors now have a green background
- Open the git commands section
- observe that the commands are now using Source Code Pro font
- Click "Edit as maintainer"
- uncheck some of the credits and save
- observe that uncredited users have gray background
- go back to edit page
- open the "Contribution Record" expanding details area
- add or edit a contributor
- Organizations and Customers should be side by side in 2 columns at desktop, stacked at mobile.
- Create a new contributer record and make is for this issue,
https://www.drupal.org/node/3482268
- when you save it, draft should display in gray on it because this work issue is not done.
- "click "add my contribution"
- It should show your user is added with credit pending approval
- 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.
- click "edit as the maintainer"
- You should see this merge request as a related link. "import contributors" does not currently work for me locally.
- When you expand "Contribution Record" there is a disabled checked checkbox for "draft" because the issue is not merged
- now make a contribution record for an issue that is done such as https://www.drupal.org/node/3479215
- It should say that it is "public" on the view in blue. I made it similar to the "eyebrow" style used elsewhere.
- 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:
Edited by Bill Sprowl