Replace credit URLs with modern Drupal ones

Created on 30 September 2025, 7 days ago

Problem/Motivation

The new site now has fully styled URLs for user and organization contribution records, including SAs and time-based filters. These can replace a good number of places where we actually query the D10 jsonapi endpoint. We can literally navigate in the new site for these pages and get rid of the D7 code for them.

This should also avoid some of the timeouts as we are not doing any api requests, the new pages query the database directly.

New URLs available for credit related information:

User (/user/UID/contribution-records + parameters). Examples:
- All: https://new.drupal.org/user/959536/contribution-records
- Per project: https://new.drupal.org/user/959536/contribution-records?field_project_na...
- SAs only: https://new.drupal.org/user/3064/contribution-records?field_is_sa_value=1
- Summary block: https://new.drupal.org/user/959536/contribution-records-summary

Organization (/node/NID/contribution-records + parameters) 1646370
- All: https://new.drupal.org/node/1646370/contribution-records
- Per project: https://new.drupal.org/node/1646370/contribution-records?field_project_n...
- SAs only: https://new.drupal.org/node/1646370/contribution-records?field_is_sa_val...
- Summary block: https://new.drupal.org/node/1646370/contribution-records-summary

To replace these D7 pages:

Users:
- u/USERNAME/issue-credits
- u/USERNAME/issue-credits/NID
- u/USERNAME/sa-credits
- Block in user profile for credits and SA

Organization
- node/NID/issue-credits
- node/NID/issue-credits/NID
- node/NID/sa
- node/NID/org-issue-credit-user (owner tools)
- Blocks in organization profile for credits and SA

Proposed resolution

Replace old URLs with new ones and remove outdated code.

Remaining tasks

MR

Feature request
Status

Active

Version

3.0

Component

Code

Created by

🇪🇸Spain fjgarlin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024