Topcoder Legacy App - Accommodate the member stats API change

Register
Submit a solution
The challenge is finished.

Challenge Overview

Challenge Objectives

  • Update the Legacy Community App to work with the updated member stats API

Technology Stack

  • Node.js

  • JavaScript

  • Angular 1.6.5

  • Jade

Code Access

Repo: https://github.com/appirio-tech/topcoder-app

Branch: feature-stats-accomodate

Individual requirements

We currently updated the backend member stats api to return the member stats data as an array in the content field.  (https://api.topcoder-dev.com/v3/members/{{handle}}/stats) 

As part of this challenge, you need to update the legacy user profile page as well as the member’s statistics page(s) to accommodate the member stats API change.

Please create a config variable named defaultGroupId with value 10 in the configuration file, and use it to get the corresponding stats data.


For comparison, you can visit the api here to see the original response.

https://api.topcoder.com/v3/members/{{handle}}/stats 

You can visit legacy member profile in current production page by visiting:

https://www.topcoder.com/search/members?q=TonyJ  -> click member `TonyJ` to arrive at member profile screen.


Please make sure both profile screen and profile detail screen work as before : 

`https://www.topcoder.com/members/TonyJ/

`https://www.topcoder.com/members/TonyJ/details/?track=DEVELOP&subTrack=FIRST_2_FINISH` 


Make sure you don’t break any existing functionality and all existing tests pass.

Should you have any doubts, do not hesitate to ask for clarifications in the challenge forum!



Final Submission Guidelines

Submission deliverables

- Submit a git patch for the latest commit in the mentioned branch of each repo.

   - Make sure to mention the exact commit so we can apply your patch file(s).

- A verification doc to demonstrate the requirement in this challenge

ELIGIBLE EVENTS:

2020 Topcoder(R) Open

Review style

Final Review

Community Review Board

Approval

User Sign-Off

ID: 30115866