Topcoder Workflow Package | Atom Editor - Part 2

Register
Submit a solution
The challenge is finished.

Challenge Overview

Challenge Objectives

  • Change the UI for the existing Topcoder Workflow Package on the Atom Editor

  • Expose Settings

  • Provide logout feature

 

Project Background

  • Topcoder is aiming to create an extension in Visual Studio Code and package in Atom

  • The extension / package is meant to closely integrate the Topcoder platform with the text editors, to allow the user to perform actions from within the editor, without having to open a browser.

 

Technology Stack

  • Javascript / Nodejs

 

Code access

You can find the code here. Use the develop branch as your base branch.

 

Individual requirements

Change the UI for the existing Topcoder Workflow Package (Major Requirement)

  • Currently, when the user tries to view the active contests on Topcoder, they are presented with a small Panel. This UI is not intuitive.

  • Update the UI. Instead of showing a panel, display the UI in a markdown (don’t open the markdown file, instead display it in markdown format)

  • You can look at the Topcoder extension for the VSCode editor as reference. This extension displays the open challenges in markdown format. We are expecting your UI to look exactly like this one (Try installing the extension, setting the configuration and then invoking the “Topcoder: View open challenges” command to see the UI).

  • You don’t have to provide buttons within the UI to Load / Login / Hide. They will cease to exist. This also means that existing commands to Show / Hide the panel will need to be removed as well.

  • The UI needs to open in a new tab. Display a loading message (just like how the VSCode extension does it) notifying the user that you are loading the open challenges.

  • Any errors, such as the user not having configured their username and password, needs to be displayed in the notification, just like how the VSCode extension does it.

  • Please clean up the code that is from the old UI and no longer relevant

Expose Settings for the Topcoder Workflow Package (Major Requirement)

  • Currently, the package expects the user to set their Topcoder username and password in the config/index.js file.

  • Instead, we want you to expose the username and password configuration as Settings for the package. These should be available in the Package’s settings (Ctrl / Cmd + Shift + ,) for the Topcoder Workflow Package.

  • Update the code to read the topcoder username and password from the Package Settings instead of from config/index.js file.

Provide Logout feature (Minor Requirement)

  • Provide the logout feature for the Topcoder Workflow package

  • Provide associated menus for this feature, along with the command.

 

Deployment guide and validation document

Keep the deployment guide up to date, based on the changes carried out for this contest. No validation document is expected.

 

Important Notes

  • After you carry out your changes, the commands that will exist will be:

    • Topcoder: Login

    • Topcoder: View open challenges

    • Topcoder: Logout

  • Kindly fix the tests for the package after you have made your changes. Any issues in the tests will be reported by the reviewers in the dedicated test section of the scorecard.

  • Update / add new tests as applicable for this contest.



Final Submission Guidelines

Kindly upload a git patch of your changes. Please ensure that the patch can be applied using the git apply patch command on the develop branch.

 

ELIGIBLE EVENTS:

Topcoder Open 2019

Review style

Final Review

Community Review Board

Approval

User Sign-Off

ID: 30094250