Skip to content

My dashboard earning and stats fixes #4109

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
LieutenantRoger opened this issue Mar 13, 2020 · 1 comment
Open

My dashboard earning and stats fixes #4109

LieutenantRoger opened this issue Mar 13, 2020 · 1 comment
Labels
hot-fix P4 Low (resolve within 2 weeks)

Comments

@LieutenantRoger
Copy link
Collaborator

Describe the bug
We changed /stats API in backend, it was originally returning member stats as an object, but now the stats api will return member stats in an array.

the My earning and stats section on My Dashboard is no longer working.

  1. We need to define a defaultGroupId in the codebase with value 10, use it to loop the stats array returned from /stats API call, and find the stats object with groupId = defaultGroupId, and use that value to populate any fields that requiring stats info on My Dashboard screen

  2. Investigate and fix the My Earnings section.

To Reproduce
Visit www.topcoder.com/my-dashboard directly

Expected behavior
My Earnings and Stats section should display with correct data on it.

Additional context
The work should be done against: feature-earnings-stats

@LieutenantRoger
Copy link
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hot-fix P4 Low (resolve within 2 weeks)
Projects
None yet
Development

No branches or pull requests

2 participants