Key Information

Register
Submit
The challenge is finished.

Challenge Overview

Welcome to topcoder new community site - footer refactor part 2 challenge.  The main goal of this challenge is to refactor remaining footer section to AngularJS. We've refactored few part by previous challenge and patch file is attached in forum.

Challenge Description :
We need to rewrite and clean up footer.php (and
extend the provided refactored version file) as an Angular directive. so please use attached patch as baseline.
Currently footer contains 3 main parts below :
1. The feed of blog posts and tweets (has been refactored  another challenge)
2. The registration modal
3. The login modal
4. Design Submission viewer

But the scope of this challenge is only #2, #3, and #4.  We can inform you if #1 is being refactored by another challenge.

2. The registration modal
current code : https://gitlab.com/topcoderinc/tc-site/blob/TC-2014-10-23/wp-content/themes/tcs-responsive/footer.php#L582-641

3. The login modal
current code : https://gitlab.com/topcoderinc/tc-site/blob/TC-2014-10-23/wp-content/themes/tcs-responsive/footer.php#L213-575
http://www.topcoder.com/?action=showlogin should trigger this modal window

4. Design Submission viewer
HTML for design submission viewer should be relocated to challenge detail template. https://gitlab.com/topcoderinc/tc-site/blob/TC-2014-10-23/wp-content/themes/tcs-responsive/footer.php#L186-211

Refactor Requirements:

Modify the submitted code to the AngularJS styleguide https://gitlab.com/topcoderinc/angularjs-styleguide/tree/master

Test Cases :

Please be sure this refactor and clean up will not break any  existing main functionality below:
- Registration and Login flow
- http://www.topcoder.com/?action=showlogin should trigger login modal window as existing
- http://www.topcoder.com/?action=callback should trigger registration modal window
- Design submission Viewer should work fine as existing, see https://www.topcoder.com/challenge-details/30046976/?type=design then click submissions tab
- Challenges listings
- Register / Submit to a develop or Design challenge

During development and review process, don't submit or register to any live challenges, so please ensure your installation has been pointed to QA env, or see config.json.

Browsers Requirements :
- IE10
- IE11
- Latest Safari
- Latest Firefox
- Latest Chrome

Deployment Guide :

Local Setup : https://gitlab.com/topcoderinc/tc-site/blob/master/README.md#local-env-setup, if you want to disable local minification, please configure it in config.json
Readme on gitlab has been updated to be a bit more current and suggest using vagrant instead of a local setup, see https://github.com/appirio-tech/tc1-mf-vagrant



Final Submission Guidelines

  1. Please submit only PATCH files instead of updated files, reference :https://gitlab.com/topcoderinc/tc-site#challenge-submission-and-review
  2. Please also submit Deployment Guide file
  3. If additional / updates page on wp-admin is required, please provide them in TEXT file and explain how to insert it in your Deployment Guide
  4. Any new js or css file must be included in the registry. learn about this on script-register.json file, and be sure it will be processed the Gruntfile.js as part of the build process. All tests must pass after the included files are minified.
  5. We will have winner to submit pull request once winner declared

ELIGIBLE EVENTS:

2015 topcoder Open

REVIEW STYLE:

Final Review:

Community Review Board

Approval:

User Sign-Off

SHARE:

ID: 30048018