- Merge request !407Replace credit listing pages and blocks with links or content from the new site. → (Merged) created by fjgarlin
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
Replace old URLs with new ones and remove outdated code.
MR
Active
3.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.