gitcoinco / gitcoinco/web

User can't import Github avatar

Open
#10,726 0 comments 0 reactions 0 assignees View on GitHub
bug cGrants
Dominant language
JavaScript
Stars
1.8k
Forks
776
PR merge metrics
No merged PRs in 30d

Description

**Overview**
A user is trying to import their Github avatar to their Gitcoin profile but it won't persist.

**Steps To Reproduce**
1. Impersonate user ncookiez
2. Go to My Account -> Settings -> Account
3. Scroll down to Profile Photo
4. Click "Use Github Avatar" (you should see success message)
5. Refresh page

**Observed behavior**
The Gitcoin avatar reverts back to our default image

**Expected behavior**
The user's avatar should remain as the Github avatar

**Additional context**
More detail can be found in this [Discord thread](https://discord.com/channels/562828676480237578/920714502650077264/996663962982678568)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue through My Account → Settings → Account and the Profile Photo control, then trace how the GitHub avatar selection is persisted. The work is done when selecting "Use Github Avatar" survives a page refresh and the Gitcoin profile continues showing that avatar.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
full-stack
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.