A react component of side bar.
git clone https://github.com/JacobWay/HRMP.git
cd HRMP
sudo npm install
npm run dev
open http://127.0.0.1:9999/src/pages/main.html
npm run test
No bug by self-tested
Full implementation of the requirements and extra requirements
Time Tracking of Implementation of Task Requirements:
Read document: ~6 hours
Build development environment: ~3 hours
Coding: ~5 hours
Total: ~14 hours
git clone https://github.com/JacobWay/HRMP.git
cd HRMP
sudo npm install
npm run dev
npm run test:watch
OS: Mac OS X Yosemite
Tools Stack: webpack + es6 babel.js + react.js + jest + AJAX + git + vim + ...
Clicking "Clear All": Clear all the checkbox mark (All of the checkboxes are unchecked).
Clicking the checkbox of department on the left: toggle the checkboxes of sub directory and department.
Clicking the checkbox of position: toggle the checkbox.
Code maintainable.
Pixel perfect, mockup closer, points up.
Use JSX of React.js.
React.js state vs props.
Use git effectively.
Write idiomatic code.
Code style guide: simple, standard, modular, consistent.
No need of the libarary of data layer, like flux, or redux.
ES6 if you like.
My Extra Requirements:
Expand & Collapse menu.
Add Readme UI component
Test react component