Skip to content

Conversation

@Ankitkr-ak007
Copy link

Description

Exposed the unique id field in the contributors data source and mapped it to the frontend interface.

Motivation (Fixes)

This resolves the issue where a single contributor was being split into multiple entries on the leaderboard. By using the unique id from the backend, we ensure stable identity tracking regardless of name or email variations.

@Ankitkr-ak007 Ankitkr-ak007 force-pushed the fix/contributor-identity-split branch from f376533 to 0a700b5 Compare January 3, 2026 07:36
@joanagmaia
Copy link
Collaborator

Hey @Ankitkr-ak007 thanks for your interest in contributing.
@gaspergrom can you also check this one out? This one seems to be a good improvement, as we shouldn't rely on for indexes for components keys.

@joanagmaia joanagmaia requested a review from gaspergrom January 8, 2026 17:02
@gaspergrom
Copy link
Collaborator

Hey,
This one is good, but you dont have signed commits please sort that out, before we merge this pr.

@Ankitkr-ak007
Copy link
Author

Hey, This one is good, but you dont have signed commits please sort that out, before we merge this pr.

I have add my gpg key now can you please merge it

@joanagmaia
Copy link
Collaborator

@Ankitkr-ak007 please fix the conflicts first, we'll merge after. Thanks.

@Ankitkr-ak007
Copy link
Author

@Ankitkr-ak007 please fix the conflicts first, we'll merge after. Thanks.

Can You help me with this as I'm not able to understand and fix the conflict. Please help me out.

@Ankitkr-ak007 Ankitkr-ak007 force-pushed the fix/contributor-identity-split branch 2 times, most recently from af16b82 to e0b2dc9 Compare January 14, 2026 20:07
@Ankitkr-ak007 Ankitkr-ak007 force-pushed the fix/contributor-identity-split branch from e0b2dc9 to 2fc2c82 Compare January 14, 2026 20:10
@Ankitkr-ak007
Copy link
Author

Please Check these changes as i think it should be done.

@gaspergrom
Copy link
Collaborator

Hey, before merging can you just fix lint errors.
No need to rerequest review from me since it looks all good.

@Ankitkr-ak007 Ankitkr-ak007 force-pushed the fix/contributor-identity-split branch from 7239243 to 2a31123 Compare January 16, 2026 07:58
@gaspergrom
Copy link
Collaborator

Lint, format and typescript check still failing

@Ankitkr-ak007
Copy link
Author

Let me do it again

@gaspergrom gaspergrom self-requested a review January 16, 2026 14:39
emlimlf and others added 3 commits January 16, 2026 20:43
@Ankitkr-ak007 Ankitkr-ak007 force-pushed the fix/contributor-identity-split branch from 063a967 to ec62ba9 Compare January 16, 2026 15:13
@Ankitkr-ak007
Copy link
Author

@gaspergrom I have again made some changes. Thank for your continuous Support Sir.

@gaspergrom
Copy link
Collaborator

Commits must have verified signatures.

Copy link
Collaborator

@gaspergrom gaspergrom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewing this PR - posting individual comments

expect(result).toEqual(expectedResult);
});

test('should aggregate contributors with the same display name', async () => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this test

data: dataResponse.data.map(
(item): Contributor => ({
// Aggregate data by displayName
const aggregatedData = new Map<string, Contributor>();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert code in this file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants