TopCoder Direct - Draft Challenge Creation/Saving Prompt

Register
Submit a solution
The challenge is finished.

Challenge Overview

In this challenge, we want to add a confirmation modal window when user creates or saves a draft challenge

  • The confirmation message will be visible for design and development challenge types but not data science.
  • The message content is "Draft challenges scheduled to start in the future are visible in the upcoming challenge section of topcoder.com. Visible details include the challenge name, prizes, timeline, platform, and technologies. Change these details as needed before saving the challenge as a draft."
  • The modal window should have 2 buttons and the a checkbox
    • Save as Draft - Clicking this button will continue to save the challenge.
    • Cancel - Clicking this button will interrupts the save as draft process and closes the modal window.
    • "Don't show this message again" checkbox - user checks this checkbox, it will no longer display this confirmation message to user any more in the furture.
  • The "Don't show this message again" checkbox value should be saved as a new user preference, refer to tables common_oltp:user_preference, preference_lu, preference_type_lu, preference_group_lu and preference_value
    • ���Please have a new preference group called "TopCoder Direct Preferences"
    • UserPreference EJB service shall be used to create / update / delete the preference value.
    • The preference is saved per user.
    • The preference udpate should be done by ajax request when user check / uncheck the checkbox.
  • The modal window should be displayed the same as showConfirmation modal window.

Code Base

  • https://github.com/cloudspokes/direct-app/tree/30048107_draft_save_confirmation

VM Environment

If you need a TopCoder VM to work on this challenge, Please request the VM in the challenge forum.

Information about VM can be found below:

VM specific information is found here: http://www.topcoder.com/wiki/display/docs/VM+Image+2.5 and https://github.com/cloudspokes/direct-app/blob/dev/README.md

If you could not login into Direct on VM, try the following:

1) Update the following to /home/direct/direct token.properties

@ApplicationServer.SERVER_NAME@=cockpit.cloud.topcoder.com
 Rebuild and restart the topcoder Direct

2) Add the following to /home/tc/jboss-4.0.4.GA/server/all/conf/ApplicationServer.properties
JWT_COOKIE_KEY = tcjwt
Restart the jboss under /home/tc

Upon registration as a submitter or reviewer you will need to request a VM based on the new TopCoder Cockpit/Direct image. To request your image, please use the forum. Before requesting your VM, you need to ensure that you have an SSH key created and in your member profile. Instructions to do so are here: http://www.topcoder.com/wiki/display/projects/Generate+SSH+Key, and instructions to connect afterwards are here: http://www.topcoder.com/wiki/display/projects/Connect+Using+SSH+Key.



Final Submission Guidelines

  • All the added / updated files or a patch file that can be applied to git repo 
  • A deployment guide with detailed verification steps.

ELIGIBLE EVENTS:

2015 topcoder Open

Review style

Final Review

Community Review Board

Approval

User Sign-Off

ID: 30048107