Topcoder - Support Typeahead for Task Assignees In Direct App

Key Information

Register
Submit
The challenge is finished.

Challenge Overview

In Direct App, when launching a new challenge or edit an existing challenge, if the challenge is private task, Editor is allowed to specify the assignees for this challenge.
Currently, you have to manually enter the user handles, separated by a comma, we'd like to improve this usability by supporting typeahead.

For this challenge, we'd like to make the following changes.

1. Use magicsuggest to replace the existing single text control, we already use it for groups, platforms and technologies field, if possible, please remove the right dropdown control for this field.
2. The magicsuggest control will make ajax call for search members by supporting typeahead, it will call the member search api for suggestions, like  https://api.topcoder.com/v3/members/_search/?query=MEMBER_SEARCH&handle=fire&offset=0&limit=10
2.1 For local deployment, please create mock service for testing, the mock service should be added at https://github.com/topcoder-platform/mock-services, the supported user lists are different, for example, https://github.com/topcoder-platform/tc-database-scripts/blob/dev/common_oltp/05_common_oltp_test_data.sql#L5-L22
2.2 api path should be tokenized and configurable in tokens.properties file, so we can easily adjust for different environments.
3. Instead of comma splitting, the backend processing needs to be slightly changed according to the format changes.
4. The control should be properly working when creating new challenges and editing existing challenges for task assignees addition and removal.

About Local Setup

- Please use the dev branch of https://github.com/appirio-tech/direct-app
- Please follow https://github.com/appirio-tech/tc-common-tutorials/tree/master/docker/direct-app to use the Docker and Docker Compose approach to run it locally

 

Final Submission Guidelines

- Git Patch file which can be easily applied to make the changes, please include the commit hash that the patch file should be applied to 
- Verification Steps

ELIGIBLE EVENTS:

2017 TopCoder(R) Open

REVIEW STYLE:

Final Review:

Community Review Board

Approval:

User Sign-Off

SHARE:

ID: 30058351