Topcoder Direct - Close Private Challenge Immediately

Key Information

Register
Submit
The challenge is finished.

Challenge Overview

Previously, we have added the logic to support assigned task (Private Challenge, only for First2Finish and Design First2Finish challenge type) in Topcoder platform , which you can mark the challenge private and directly assign desired members to work on.

For this challenge, we'd like to provide a shortcut experience for a user to be able to accept and close a task immediately either as successfully "Completed" or "Cancelled".

1. If the submissions are in and the task owner wants to review them, then they should follow the normal review scorecard process and let the challenge workflow run as it normally would.

2. For private challenge in Active status, we'd like to provide to the ability to cancel and close challenge immediately. So we will add two buttons - Cancel and Close at similar position as Activiate button (shown in Draft status) in the top right section page 

3. If the Cancel button is clicked, it will show a confirmation dialog with two buttons - Cancel and OK, the message should be like "Are you sure to cancel this challenge?"
3.1 If the Cancel button is clicked, this dialog will be dismissed and no more action need to be done.
3.2 If the OK button is clicked, it will dismiss the dialog, update the challenge status to "Cancelled - Client Request" and update the challenge detail page to reflect this.

4. If the Close button is clicked, it will show a dialog to select the winner with two buttons - Cancel and OK, the dialog will provide a dropdown list of registrants with a label "Select winner"
4.1 If the Cancel button is clicked, the dialog will be dismissed and no more action need to be done
4.2 If the winner selected (please do validation) and OK button is clicked, it will dismiss the dialog, submit a dummy submission file for the winner and close the submission phase, then close the review phase with a score of 100 for the winner, this way the system will complete all the other works automatically.

5. For other status and non-private challenge, these two buttons should not be shown.

Setup Direct App Locally

Please use the dev branch of https://github.com/appirio-tech/direct-app for development.

Please check https://github.com/appirio-tech/tc-common-tutorials/blob/master/docker/direct-app/ for how to setup and run locally.

 

Final Submission Guidelines

- Code Changes For the functionality
- Verification Steps

REVIEW STYLE:

Final Review:

Community Review Board

Approval:

User Sign-Off

SHARE:

ID: 30056015