Skip to content

Bug: Incorrect Profile data #168

@qxprakash

Description

@qxprakash

Hi @zcesur, thanks for building Algora.io — I really love the platform!

After signing in, I checked my profile page and noticed something that didn’t quite make sense. The total contributions data appears to be incorrect for one of my repositories I've contributed to i.e. Transloadit . you can cross check this by clicking on the repo card itself where it would navigate you to "https://github.com/#{owner.provider_login}/#{List.first(contributions).repository.name}/pulls?q=author%3A#{@user.provider_login}+is%3Amerged+"

After digging through the code locally, I found the section responsible for rendering this:

<span class="flex items-center text-purple-400 text-xs">
<.icon name="tabler-git-pull-request" class="h-4 w-4 mr-1" />
{Algora.Util.format_number_compact(total_contributions(contributions))}
</span>

Any idea what could be causing this?

Also there are a bunch of other repos which I've contributed to in the past why are they not visible ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions