gitcoinco / gitcoinco/web

Bug: when changing the user handle, the as_dict field is not updated in the profile

Open
#10,341 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.8k
Forks
776
PR merge metrics
No merged PRs in 30d

Description

When changing the user handle, the as_dict field is not updated in the profile:
Screenshot 2022-03-15 at 15 32 50

This causes for example side effects with the bounties:
- when users express interest, this is registered to their old handle not the new one (even though the login shows the new handle)

Screenshot 2022-03-15 at 15 30 17
Screenshot 2022-03-15 at 15 32 02
Screenshot 2022-03-15 at 15 32 34

Contributor guide

Open the contributing guide

Research direction

No file, test, or entry point is named. Reproduce the problem by changing a user's handle, then trace where the profile's as_dict value is assembled and consumed by bounty interest records. Done means the profile reflects the new handle and newly recorded interests no longer retain the old one; add or update a regression test if the existing test structure identifies a suitable location.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.