Release Assembly - CSFV Main Website JS Refactoring Part 1

Key Information

Register
Submit
The challenge is finished.

Challenge Overview

Project Overview

This project, the CSFV Community Gaming website project will provide the web site infrastructure and integration of the games. This will be a web site that is available on the Internet, and also will be delivered in a form where the server and the games can be installed and used behind a firewall.

Competition Task Overview

The goal of this challenge is to cleanup the JS frontend code in csfv_frontend_module as outlined below. We have many redundunt JS code, and useless code that we need to cleanup and consolidate.

  • Each feature functionality should be placed in separate JS file.
  • All JS code in scope in all the pages except JS code related to Forums/Wiki functionality, also chat JS code refactoring is out of scope :
    • forums, wiki pages and chat widgets should still functional, other JS refactored code should still be included in these pages if they were originally used there.
    • some JS functionality not related to wiki/forums are used in forums/wiki pages, i.e. user info popup, Comment section in wiki article .. etc, you need to consolidate such funcitonality and remove them from Forums/Wiki JS code.
    • Delete existing JS files.
    • Consolidate the JS functionality and properly document them.
  • Update config.js so bundling group the separated JS files based on what JS functionality the page requires.
    • Take into consideration login vs. non logged in scenarios. JS functionality that require logged in user should never be bundled in non-logged in pages.
  • The popups and hidden panels are in scope, some of these are :
    • login popup
    • social network stats in header
    • notification popups
    • user info popup
    • Welcome popup
    • Branding (logo) drop down menu.

Testing

Make sure to test the corresponding JS funcitonality in all pages that it should work on it, this will help you make sure you are not missing including them in the required pages.

Github Code

csfv_frontend_module is hosted in private github repository https://github.com/topcoderinc/csfv_frontend_module

If you are getting 404 that means you don't have permission to access it, post in challenge forums requesting access (include your github username in the post).

 



Final Submission Guidelines

Submission Deliverables

Below is an overview of the deliverables:

  • Patch file of the changes.
  • A complete and detailed deployment document explaining how to deploy the application including configuration information.

Final Submission

For each member, the final submission should be uploaded to the Online Review Tool.

ELIGIBLE EVENTS:

2014 TopCoder(R) Open

REVIEW STYLE:

Final Review:

Community Review Board

Approval:

User Sign-Off

SHARE:

ID: 30043063