Add Salary Calculator
This MR adds a salary calculator to the jobs page. During this first release, it will only be available in the /jobs/developer/ but the system that has been setup should easily enable us to add the calculator to other job pages by providing a benchmark salary on jobs.yml.
Tasks Remaining
-
Add UI -
Setup source/salary/*.jsonto mirror/dynamically get data fromdata/*.json(Need guidance) -
Figure out a way so that we don't have to use extra-json each job markdown file (Need guidance) -
Convert json data files to yml (Not too sure, need guidance) -
Fix weird UI bug where there's a space between the <a>and the. -
Link how our calculator works -
Add contract types link @ernstvn -
Fix css lint issues
Task 2: Setup source/salary/*.json to mirror/dynamically get data from data/*.json (Need guidance)
Definitely want to do this. Just not sure how to do it with middleman/ruby/haml. /cc @smcgivern
Task 3: Figure out a way so that we don't have to use extra-js on each job markdown file (Need guidance)
It would be ideal to include the salary-calculator.js as part of the salary_calculator.html.haml so that we do not need to reference it in each job markdown file. I need some ruby guidance. /cc @smcgivern
Task 4: Convert json data files to yml (Not too sure, need guidance)
All the data files currently use yml. I think it makes sense to make the json data a yml file in /data and have it generate its corresponding json file in /source. Any inputs/comments about this? /cc @smcgivern
Closes #831 (closed)