Opensource-Contribution-Leaderboard icon indicating copy to clipboard operation
Opensource-Contribution-Leaderboard copied to clipboard

fix: make adding contributors case-space-insensitive

Open RonLek opened this issue 4 years ago • 1 comments

Issue

Leaderboard was case-sensitive to usernames. Additionally, leading and trailing spaces while adding a contributor would be added as a separate contributor. Clipboard - January 17, 2022 12_27 AM

Fix

Lowercase and trim new usernames and compare against lowercased cached contributor list.

RonLek avatar Jan 19 '22 14:01 RonLek

@yash-rajpal @Sing-Li could you please review this PR? Thanks.

RonLek avatar Jan 19 '22 14:01 RonLek