Community App - Marathon Matches in Challenge Listing and Details Pages

Key Information

Register
Submit
The challenge is finished.

Challenge Overview

The current version of Topcoder challenge listing uses different endpoints of Topcoder API v3 to fetch the list of design / develop challenges (/challenges) and marathon matches (/marathonMatches); and the marathon match details pages are still powered by legacy Topcoder app. We have updated the dev version of API v3 to serve marathon match list and their details from the same endpoints /challenges and /challenges/:CHALLENGE_ID that serve all other challenges. In this challenge we ask you to update Community App accordingly and to clean-up all redundand code (you should work out of the latest develop commit, which is 01e246409dec01ff7e6f1d8be8c6b96e1c25172c at the moment of writing).

Detailed Requirements

For API consumption
  1. Use https://api.topcoder.com/v3/challenges endpoint for MM matches;
  2. All uses of https://api.topcoder.com/v3/marathonMatches endpoint should be gone;
  3. There shouldn't be any MM specific normalization of endpoint responses at the front-end side; the same rendering code as for design / development challenges should be used for MMs. Earlier normalization / hack code for MMs should be removed  from the community app, along with any other redundand code. This cleanup is important.
For UI - Challenge Listing
  1. Challenge card will have submission number values displayed (currently they are defaulted to zero);
  2. Challenge card will show prizes for MMs;
  3. Currently, if user clicks on MM challenge list item, it takes user to the legacy MM detail pages, for example https://community.topcoder.com/tc?module=MatchDetails&rd=17007. Now we should be able to get user to the same challenge details page which is used for design / development challenges.
For UI - Challenge Details Page
  1. MM details page will be the same as for design / development challenges;
  2. Show registrants, submissions, forum links the same way as for design / dev challenges;
  3. Clicking on Registration button will take user to the legacy registration page, e.g. https://community.topcoder.com/longcontest/?module=ViewReg&rd=17036
  4. Clicking on Submission page will take user to the legacy submission page, e.g. https://community.topcoder.com/longcontest/?module=Submit&compid=58328&rd=17025&cd=15293
  5. We should properly deactivate Register button for MM if user has already submitted, or registration phase is closed.


Final Submission Guidelines

Submit Git patch for Community App, with a brief demo video, and any verification notes you might have

ELIGIBLE EVENTS:

2018 Topcoder(R) Open

REVIEW STYLE:

Final Review:

Community Review Board

Approval:

User Sign-Off

SHARE:

ID: 30063720