OperationCode / operationcode_old_site

Our open source website. We're on a mission to help the military community learn software development, enter the tech industry, and code the future.
https://www.operationcode.org/
MIT License
229 stars 155 forks source link

Added Map of Code Schools #272 #737

Closed hd719 closed 7 years ago

hd719 commented 7 years ago

Hello @rickr

I added the map of the codeschools (issue #272).

I also could not add all the coordinates for all the coding bootcamps in the config/code_schools.yml file, but I add some just to test out the feature.

If I am missing anything please do let me know!

screen shot 2017-05-01 at 9 55 07 am

-Thank you.

hd719 commented 7 years ago

@hpjaj @rickr I have made changes from above please let me know what you think. If anything is wrong I will def. fix it asap.

Also one more thing in the codeschool.yml file can I add the bootcamp that I have attended Bloc. They also give out veteran scholarships Bloc Veterans.

-Thank you.

hpjaj commented 7 years ago

@hd719 - I am just a member of the Operation Code community, I don't have reviewer permissions, for merging. Was just doing a some code reviews to provide feedback.

Ironically, though, I also went to Bloc.io 🙂

hd719 commented 7 years ago

@hpjaj It is always a pleasure to meet a fellow Bloc alumni!

rickr commented 7 years ago

It also looks like codeclimate picked up a few new issues. Can you please address those as well?

hd719 commented 7 years ago

Hey @rickr I moved some of the logic from the code_school_controller.rb to the code school's class.

Let me know what you think. Also the codeclimate tests how do you fix the trailing whitespace?

-Thank you.

hd719 commented 7 years ago

Hey @rickr any update on this?

hd719 commented 7 years ago

@rickr I will fix these changes asap.

rickr commented 7 years ago

Hey @hd719 - it looks like you're all done with the latest fixes - is that the case?

hd719 commented 7 years ago

@rickr Hey! so yeah I implemented the latest fixes however for some reasonI cannot get the codeclimate tests to pass.

rickr commented 7 years ago

It looks like a lot of them are little space things: For example this file is missing a new line: https://github.com/OperationCode/operationcode/pull/737/files#diff-5665789a04effed313d97af65082f8feR33

hd719 commented 7 years ago

Hey @rickr so for the example did I add the new line correctly?

Okay I fixed most of them lol in the new commit.

hd719 commented 7 years ago

Hey @rickr! So the codeclimate issues have been fixed, there is this 1 issue about the content tag, but that was already there from the beginning and I don't know how to fix that.

Also if it is okay with everyone can I add my self to contributors.md file?

hollomancer commented 7 years ago

You can definitely add yourself to contributors.md - looks like Codeclimate caught one more thing though.

hd719 commented 7 years ago

Hey @hollomancer good to hear from you.

It says Unescaped model attribute in content_tag

<%= content_tag 'div', nil, id: :'veterans-map', class: :'veterans-map', data: { lat_longs: @lat_longs } %>

I do not know how to fix this error. Any help would def. be appreciated.

-Thank you.

rickr commented 7 years ago

I think the finding might be bogus.

I believe content_tag marks input as html_safe which in rails means you are sure the content is not malicious. Since we're reviewing the input in a PR I've gone ahead and approved the change anyway.

hd719 commented 7 years ago

@hollomancer and @rickr Thank you! It was fun working on this PR glad I could be of help!

rickr commented 7 years ago

Great job. Thanks for all your hard work!