Group same contributions without URL, make grouping more precise
CI / Lint (pull_request) Successful in 51s
CI / Test (pull_request) Successful in 1m33s

This commit is contained in:
2026-07-26 17:22:53 +02:00
parent f7ee864071
commit 33a429c448
6 changed files with 135 additions and 63 deletions
+4 -3
View File
@@ -47,9 +47,10 @@ export default EmberObject.extend({
}),
// Stable key shared by all per-contributor contributions created for the
// same issue/pull request (derived from `url`). Manual contributions without
// a URL return null and are treated as singletons (not grouped).
groupId: computed('url', function() {
// same piece of work (derived from `url`, `description`, `date`, `amount`,
// and `kind`). Contributions without enough fields to derive a key return
// null and are treated as singletons (not grouped).
groupId: computed('url', 'description', 'date', 'amount', 'kind', function() {
return contributionGroupingKey(this);
}),