)]}'
{"doc/source/index.rst":[{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"962a9b40bcaca152a6447ae34fde3ac2cbfbaa6b","unresolved":false,"context_lines":[{"line_number":102,"context_line":"   ref/test"},{"line_number":103,"context_line":"   ref/local_conf"},{"line_number":104,"context_line":"   ref/jshint"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"Source Code Reference"},{"line_number":107,"context_line":"---------------------"},{"line_number":108,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"9a0c5dc1_d8559450","line":105,"updated":"2015-05-13 13:21:05.000000000","message":"Should we add a ref for JSCS (JavaScript Code Style)?","commit_id":"1b98f06b5f115a42056ae7c7a66091aaba9a7c6b"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"9c3853e5418f23f2e51b041d61c66b1e9716b8ef","unresolved":false,"context_lines":[{"line_number":102,"context_line":"   ref/test"},{"line_number":103,"context_line":"   ref/local_conf"},{"line_number":104,"context_line":"   ref/jshint"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"Source Code Reference"},{"line_number":107,"context_line":"---------------------"},{"line_number":108,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a016987_cb545400","line":105,"in_reply_to":"9a0c5dc1_d8559450","updated":"2015-05-19 23:13:05.000000000","message":"+1","commit_id":"1b98f06b5f115a42056ae7c7a66091aaba9a7c6b"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"18ac5627551c0252597b999c72c44e8af93aeb4f","unresolved":false,"context_lines":[{"line_number":101,"context_line":"   ref/exceptions"},{"line_number":102,"context_line":"   ref/test"},{"line_number":103,"context_line":"   ref/local_conf"},{"line_number":104,"context_line":"   ref/jshint"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"Source Code Reference"},{"line_number":107,"context_line":"---------------------"}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa32b979_b073fd14","line":104,"updated":"2015-06-16 00:42:14.000000000","message":"probably should add a jscrc topic","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":15168,"name":"Kirill Zaitsev","email":"k.zaitsev@me.com","username":"kzaitsev"},"change_message_id":"fc84872b96318bc728b64b06f8b9a67240f8b8c4","unresolved":false,"context_lines":[{"line_number":101,"context_line":"   ref/exceptions"},{"line_number":102,"context_line":"   ref/test"},{"line_number":103,"context_line":"   ref/local_conf"},{"line_number":104,"context_line":"   ref/jshint"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"Source Code Reference"},{"line_number":107,"context_line":"---------------------"}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa32b979_f736bb4f","line":104,"in_reply_to":"fa32b979_b073fd14","updated":"2015-06-18 20:15:55.000000000","message":"wouldn\u0027t it even be removed in favor of eslint?","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"}],"doc/source/ref/jshint.rst":[{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"962a9b40bcaca152a6447ae34fde3ac2cbfbaa6b","unresolved":false,"context_lines":[{"line_number":2,"context_line":".jshintrc"},{"line_number":3,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"This is an example ``.jshintrc``"},{"line_number":6,"context_line":"::"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"  {"}],"source_content_type":"text/x-rst","patch_set":3,"id":"9a0c5dc1_b87300e7","line":5,"updated":"2015-05-13 13:21:05.000000000","message":"Should we speak to the difference between the \u0027split\u0027 between jshint (correctness) and jscs (optional stylling)?  Many of the options here are actually things that are more for jscs going forward (e.g. immed).","commit_id":"1b98f06b5f115a42056ae7c7a66091aaba9a7c6b"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"9c3853e5418f23f2e51b041d61c66b1e9716b8ef","unresolved":false,"context_lines":[{"line_number":2,"context_line":".jshintrc"},{"line_number":3,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"This is an example ``.jshintrc``"},{"line_number":6,"context_line":"::"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"  {"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a016987_2b4ac855","line":5,"in_reply_to":"9a0c5dc1_87dc54e5","updated":"2015-05-19 23:13:05.000000000","message":"@Matt, We can edit doc as the move happens.","commit_id":"1b98f06b5f115a42056ae7c7a66091aaba9a7c6b"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"f17a4c356b3dcc36348b4b931a27e4f43e8b1f6d","unresolved":false,"context_lines":[{"line_number":2,"context_line":".jshintrc"},{"line_number":3,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"This is an example ``.jshintrc``"},{"line_number":6,"context_line":"::"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"  {"}],"source_content_type":"text/x-rst","patch_set":3,"id":"9a0c5dc1_87dc54e5","line":5,"in_reply_to":"9a0c5dc1_b87300e7","updated":"2015-05-13 16:06:03.000000000","message":"I\u0027m somewhat torn on this. Personally, my reaction would be to give the \"strict\" version as the example, but I don\u0027t particularly mind. I\u0027ll look into writing a specific section on JSCS.","commit_id":"1b98f06b5f115a42056ae7c7a66091aaba9a7c6b"}],"doc/source/ref/run_tests.rst":[{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"138760dd6ada3beb5a2c1b677273490ff6507ac9","unresolved":false,"context_lines":[{"line_number":190,"context_line":"The output will be saved in ``./pylint.txt``."},{"line_number":191,"context_line":""},{"line_number":192,"context_line":"JsHint"},{"line_number":193,"context_line":"------"},{"line_number":194,"context_line":""},{"line_number":195,"context_line":"For code analysis of JavaScript files::"},{"line_number":196,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"ba3cc151_fc5e6d44","side":"PARENT","line":193,"updated":"2015-06-29 17:04:08.000000000","message":"i know that eslint is coverd in the js section, but since we removed jshint, should we mention eslint here as well?","commit_id":"bc3e3b6934cdf2bd68966682d910379aae846e46"}],"doc/source/topics/angularjs.rst":[{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"c35c7a65e97edb069478b3b2248928080c761781","unresolved":false,"context_lines":[{"line_number":30,"context_line":"File Structure"},{"line_number":31,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"This folder should include the styling (``.scss``), as well as templates"},{"line_number":34,"context_line":"(``.html``) and tests (``.spec.js``). You may also include examples; append"},{"line_number":35,"context_line":"``.example`` to the filename."},{"line_number":36,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a0c5dc1_12dc4ee3","line":33,"updated":"2015-05-12 18:10:17.000000000","message":"\"This folder\" is an odd way of starting this section. Perhaps \"Each component should be in its own folder, and each folder...\" We should come up with some guidelines about what a component is though, since there might be multiple JS files for a single component (based on the John Papa style guide element Y001, which we currently violate ;)","commit_id":"543a0aa55d71ee6f5c7b0296902aefb750868cca"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"39f6aa02b037132ea28e219a021e00f49df3e742","unresolved":false,"context_lines":[{"line_number":30,"context_line":"File Structure"},{"line_number":31,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"This folder should include the styling (``.scss``), as well as templates"},{"line_number":34,"context_line":"(``.html``) and tests (``.spec.js``). You may also include examples; append"},{"line_number":35,"context_line":"``.example`` to the filename."},{"line_number":36,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a0c5dc1_52b50fcb","line":33,"in_reply_to":"9a0c5dc1_12dc4ee3","updated":"2015-05-13 08:00:08.000000000","message":"Oh good catch. \"This folder\" was just a byproduct of me writing notes then reorganising things.\n\nAs for the guidelines on what constitutes a component, I\u0027ll add it to the my summit discussion list.","commit_id":"543a0aa55d71ee6f5c7b0296902aefb750868cca"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"c35c7a65e97edb069478b3b2248928080c761781","unresolved":false,"context_lines":[{"line_number":37,"context_line":"The transfer-table directive is a good example of the file structure:"},{"line_number":38,"context_line":"::"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"  horizon/horizon/static/angular/transfer-table/"},{"line_number":41,"context_line":"  ├── allocated.html.example"},{"line_number":42,"context_line":"  ├── available.html.example"},{"line_number":43,"context_line":"  ├── transfer-table.html"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a0c5dc1_3d14c3f3","line":40,"updated":"2015-05-12 18:10:17.000000000","message":"I think I\u0027d prefer to not see that top-level \"horizon/\" in the paths - I find it confusing, since I work inside that directory.","commit_id":"543a0aa55d71ee6f5c7b0296902aefb750868cca"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"39f6aa02b037132ea28e219a021e00f49df3e742","unresolved":false,"context_lines":[{"line_number":37,"context_line":"The transfer-table directive is a good example of the file structure:"},{"line_number":38,"context_line":"::"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"  horizon/horizon/static/angular/transfer-table/"},{"line_number":41,"context_line":"  ├── allocated.html.example"},{"line_number":42,"context_line":"  ├── available.html.example"},{"line_number":43,"context_line":"  ├── transfer-table.html"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a0c5dc1_d2c1ff2f","line":40,"in_reply_to":"9a0c5dc1_3d14c3f3","updated":"2015-05-13 08:00:08.000000000","message":"Agreed, will change.","commit_id":"543a0aa55d71ee6f5c7b0296902aefb750868cca"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"c35c7a65e97edb069478b3b2248928080c761781","unresolved":false,"context_lines":[{"line_number":51,"context_line":""},{"line_number":52,"context_line":"`Reusable Components`_ are in ``/horizon/static/angular/``."},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"Panel-specific code is in ``/horizon/static/dashboard/``."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"Testing"},{"line_number":57,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a0c5dc1_128a0ec0","line":54,"updated":"2015-05-12 18:10:17.000000000","message":"Note that these locations will be changing when Tyr\u0027s patch lands (https://review.openstack.org/#/c/179337/)","commit_id":"543a0aa55d71ee6f5c7b0296902aefb750868cca"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"39f6aa02b037132ea28e219a021e00f49df3e742","unresolved":false,"context_lines":[{"line_number":51,"context_line":""},{"line_number":52,"context_line":"`Reusable Components`_ are in ``/horizon/static/angular/``."},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"Panel-specific code is in ``/horizon/static/dashboard/``."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"Testing"},{"line_number":57,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a0c5dc1_12cf9757","line":54,"in_reply_to":"9a0c5dc1_128a0ec0","updated":"2015-05-13 08:00:08.000000000","message":"Did you mean this patch? https://review.openstack.org/#/c/176152/ \n\nThanks for the spot though, I\u0027ll update it to match the change.","commit_id":"543a0aa55d71ee6f5c7b0296902aefb750868cca"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"c35c7a65e97edb069478b3b2248928080c761781","unresolved":false,"context_lines":[{"line_number":66,"context_line":""},{"line_number":67,"context_line":"For more detailed information, see :doc:`jasmine`."},{"line_number":68,"context_line":""},{"line_number":69,"context_line":".. _Jasmine: http://jasmine.github.io/2.1/introduction.html"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"Translation (Internationalisation and Localisation)"},{"line_number":72,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a0c5dc1_12b1ee8f","line":69,"updated":"2015-05-12 18:10:17.000000000","message":"Hopefully we can include instructions to invoking the tests with karma once the karma patch lands :)","commit_id":"543a0aa55d71ee6f5c7b0296902aefb750868cca"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"39f6aa02b037132ea28e219a021e00f49df3e742","unresolved":false,"context_lines":[{"line_number":66,"context_line":""},{"line_number":67,"context_line":"For more detailed information, see :doc:`jasmine`."},{"line_number":68,"context_line":""},{"line_number":69,"context_line":".. _Jasmine: http://jasmine.github.io/2.1/introduction.html"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"Translation (Internationalisation and Localisation)"},{"line_number":72,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a0c5dc1_f249a3d1","line":69,"in_reply_to":"9a0c5dc1_12b1ee8f","updated":"2015-05-13 08:00:08.000000000","message":"Agreed, although that patch has some blockers for now I think.","commit_id":"543a0aa55d71ee6f5c7b0296902aefb750868cca"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"c35c7a65e97edb069478b3b2248928080c761781","unresolved":false,"context_lines":[{"line_number":78,"context_line":"  ngettext(\u0027text to be translated\u0027);"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"Translations are handled in Transifex, as with Django. They are merged daily"},{"line_number":81,"context_line":"with the horizon upstream codebase. See :doc:"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"Reusable Components"},{"line_number":84,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a0c5dc1_1dde9f6d","line":81,"updated":"2015-05-12 18:10:17.000000000","message":"Again, hopefully this can be rewritten when we stop using gettext :)","commit_id":"543a0aa55d71ee6f5c7b0296902aefb750868cca"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"39f6aa02b037132ea28e219a021e00f49df3e742","unresolved":false,"context_lines":[{"line_number":78,"context_line":"  ngettext(\u0027text to be translated\u0027);"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"Translations are handled in Transifex, as with Django. They are merged daily"},{"line_number":81,"context_line":"with the horizon upstream codebase. See :doc:"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"Reusable Components"},{"line_number":84,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a0c5dc1_d2efbfae","line":81,"in_reply_to":"9a0c5dc1_1dde9f6d","updated":"2015-05-13 08:00:08.000000000","message":"Yes, wasn\u0027t sure for this one. I\u0027ll leave it as is for now and try and keep on top of it.","commit_id":"543a0aa55d71ee6f5c7b0296902aefb750868cca"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"c35c7a65e97edb069478b3b2248928080c761781","unresolved":false,"context_lines":[{"line_number":85,"context_line":""},{"line_number":86,"context_line":"When writing logic, consider whether it is panel-specific or could be reused"},{"line_number":87,"context_line":"elswhere. Reusable components should be broken out and stored in"},{"line_number":88,"context_line":"``/horizon/static/angular/COMPONENT_NAME``."},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"Creating your own panel"},{"line_number":91,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a0c5dc1_1dfa1fbe","line":88,"updated":"2015-05-12 18:10:17.000000000","message":"The path here (and below) shouldn\u0027t have a leading / I think.","commit_id":"543a0aa55d71ee6f5c7b0296902aefb750868cca"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"39f6aa02b037132ea28e219a021e00f49df3e742","unresolved":false,"context_lines":[{"line_number":85,"context_line":""},{"line_number":86,"context_line":"When writing logic, consider whether it is panel-specific or could be reused"},{"line_number":87,"context_line":"elswhere. Reusable components should be broken out and stored in"},{"line_number":88,"context_line":"``/horizon/static/angular/COMPONENT_NAME``."},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"Creating your own panel"},{"line_number":91,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a0c5dc1_92094798","line":88,"in_reply_to":"9a0c5dc1_1dfa1fbe","updated":"2015-05-13 08:00:08.000000000","message":"Done","commit_id":"543a0aa55d71ee6f5c7b0296902aefb750868cca"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"128df75c3296da2d84e4dd9778565a3619616a1c","unresolved":false,"context_lines":[{"line_number":1,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":2,"context_line":"AngularJS Topic Guide"},{"line_number":3,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":".. Note::"},{"line_number":6,"context_line":"  This guide is a work in progress. It has been uploaded to encourage faster"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a016987_2b9e4863","line":3,"updated":"2015-05-19 23:40:16.000000000","message":"I think we can also add a section called \u0027Tips and Tricks\u0027.  We should include that we overrode {{ ... }} with {$ ... $} so that we don\u0027t mix with Django templating.","commit_id":"1b98f06b5f115a42056ae7c7a66091aaba9a7c6b"},{"author":{"_account_id":15209,"name":"Lucas Xu","email":"hanxu@redhat.com","username":"xuh"},"change_message_id":"dc3ff4ea361dd5ea37471720afdb09c8db8d0dce","unresolved":false,"context_lines":[{"line_number":5,"context_line":".. Note::"},{"line_number":6,"context_line":"  This guide is a work in progress. It has been uploaded to encourage faster"},{"line_number":7,"context_line":"  reviewing and code development in Angular, and to help the community"},{"line_number":8,"context_line":"  standardise on a set of guidelines."},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"Code Style"},{"line_number":11,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a016987_d0f0c668","line":8,"updated":"2015-05-27 17:10:56.000000000","message":"How about using \u0027standardize\u0027 instead :)","commit_id":"1b98f06b5f115a42056ae7c7a66091aaba9a7c6b"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"9c3853e5418f23f2e51b041d61c66b1e9716b8ef","unresolved":false,"context_lines":[{"line_number":32,"context_line":""},{"line_number":33,"context_line":"Each component should have its own folder, and each folder should include the"},{"line_number":34,"context_line":"styling (``.scss``), as well as templates(``.html``) and tests (``.spec.js``)."},{"line_number":35,"context_line":"You may also include examples; append ``.example`` to the filename."},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"The transfer-table directive is a good example of the file structure:"},{"line_number":38,"context_line":"::"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a016987_ebeb9011","line":35,"updated":"2015-05-19 23:13:05.000000000","message":"It might be worth it to mention that files that are more framework specifics should go into horizon while panel more specific code should go into dashboard.","commit_id":"1b98f06b5f115a42056ae7c7a66091aaba9a7c6b"},{"author":{"_account_id":15742,"name":"Paulo Ewerton Gomes Fragoso","email":"pauloewerton@lsd.ufcg.edu.br","username":"pauloewerton"},"change_message_id":"d9daf33e06d822c01d410d6dd9f39022f475a726","unresolved":false,"context_lines":[{"line_number":51,"context_line":""},{"line_number":52,"context_line":"`Reusable Components`_ are in ``horizon/static/angular/``."},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"Panel-specific code is in ``horizon/static/dashboard/``."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"Testing"},{"line_number":57,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a016987_f9e466e0","line":54,"updated":"2015-05-21 13:56:50.000000000","message":"It seems that these paths are about to change to horizon/static/framework and horizon/static/hz-app, respectively. See patch https://review.openstack.org/#/c/176152/","commit_id":"1b98f06b5f115a42056ae7c7a66091aaba9a7c6b"},{"author":{"_account_id":14064,"name":"Kahou Lei","email":"kahou82@gmail.com","username":"kahou82"},"change_message_id":"c62d597aff680018f6e1280bff60146ac7b27a39","unresolved":false,"context_lines":[{"line_number":56,"context_line":"Testing"},{"line_number":57,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"We utilise Jasmine_ to test JavaScript code. Jasmine uses specs (``.spec.js``)"},{"line_number":60,"context_line":"which are kept with the JavaScript files that they are testing. See"},{"line_number":61,"context_line":"`File Structure`_ for more detail on this. Tests can be run in two ways:"},{"line_number":62,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a016987_f6b97aed","line":59,"updated":"2015-05-27 17:46:05.000000000","message":"UK vs US english? :)","commit_id":"1b98f06b5f115a42056ae7c7a66091aaba9a7c6b"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"9c3853e5418f23f2e51b041d61c66b1e9716b8ef","unresolved":false,"context_lines":[{"line_number":58,"context_line":""},{"line_number":59,"context_line":"We utilise Jasmine_ to test JavaScript code. Jasmine uses specs (``.spec.js``)"},{"line_number":60,"context_line":"which are kept with the JavaScript files that they are testing. See"},{"line_number":61,"context_line":"`File Structure`_ for more detail on this. Tests can be run in two ways:"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"1. Go to \u003cdev_server\u003e/jasmine. The development server can be run with"},{"line_number":64,"context_line":"   ``./run_tests.sh --runserver`` from the horizon root directory."}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a016987_cb89f476","line":61,"updated":"2015-05-19 23:13:05.000000000","message":"maybe mention how to include these tests? the way they are included in horizon is via the jasmine.py file, whereas in dashboard, they are included via the files in the enabled folder.\n\njust noticed you talked about this on the other page, maybe have a link there for further info?","commit_id":"1b98f06b5f115a42056ae7c7a66091aaba9a7c6b"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"128df75c3296da2d84e4dd9778565a3619616a1c","unresolved":false,"context_lines":[{"line_number":68,"context_line":""},{"line_number":69,"context_line":".. _Jasmine: http://jasmine.github.io/2.1/introduction.html"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"Translation (Internationalisation and Localisation)"},{"line_number":72,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"Use either ``gettext`` or ``ngettext``:"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a016987_4bd184f9","line":71,"updated":"2015-05-19 23:40:16.000000000","message":"British English ;)","commit_id":"1b98f06b5f115a42056ae7c7a66091aaba9a7c6b"},{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"962a9b40bcaca152a6447ae34fde3ac2cbfbaa6b","unresolved":false,"context_lines":[{"line_number":71,"context_line":"Translation (Internationalisation and Localisation)"},{"line_number":72,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"Use either ``gettext`` or ``ngettext``:"},{"line_number":75,"context_line":"::"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"  gettext(\u0027text to be translated\u0027);"}],"source_content_type":"text/x-rst","patch_set":3,"id":"9a0c5dc1_5b751e96","line":74,"updated":"2015-05-13 13:21:05.000000000","message":"In this case we should start to use the hz.i18n library, which is an Angular-friendly wrapper for the Django i18n features.  The purpose of the wrapper for now is to avoid use of global/window functions, which not only can baffle good scoping but also create expectations for use of functions where probably not appropriate (e.g. in .constants and .values).\n\nExamples at: https://review.openstack.org/#/c/180157/ (although hz.i18n already exists).","commit_id":"1b98f06b5f115a42056ae7c7a66091aaba9a7c6b"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"f17a4c356b3dcc36348b4b931a27e4f43e8b1f6d","unresolved":false,"context_lines":[{"line_number":71,"context_line":"Translation (Internationalisation and Localisation)"},{"line_number":72,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"Use either ``gettext`` or ``ngettext``:"},{"line_number":75,"context_line":"::"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"  gettext(\u0027text to be translated\u0027);"}],"source_content_type":"text/x-rst","patch_set":3,"id":"9a0c5dc1_a701986c","line":74,"in_reply_to":"9a0c5dc1_5b751e96","updated":"2015-05-13 16:06:03.000000000","message":"Thanks for the example; this is a section I wasn\u0027t too sure on.","commit_id":"1b98f06b5f115a42056ae7c7a66091aaba9a7c6b"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"9c3853e5418f23f2e51b041d61c66b1e9716b8ef","unresolved":false,"context_lines":[{"line_number":80,"context_line":"Translations are handled in Transifex, as with Django. They are merged daily"},{"line_number":81,"context_line":"with the horizon upstream codebase. See :doc:"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"Reusable Components"},{"line_number":84,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"When writing logic, consider whether it is panel-specific or could be reused"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a016987_4b72a47c","line":83,"updated":"2015-05-19 23:13:05.000000000","message":"hm maybe move this above file-structure section?","commit_id":"1b98f06b5f115a42056ae7c7a66091aaba9a7c6b"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"128df75c3296da2d84e4dd9778565a3619616a1c","unresolved":false,"context_lines":[{"line_number":85,"context_line":""},{"line_number":86,"context_line":"When writing logic, consider whether it is panel-specific or could be reused"},{"line_number":87,"context_line":"elswhere. Reusable components should be broken out and stored in"},{"line_number":88,"context_line":"``horizon/static/angular/COMPONENT_NAME``."},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"Creating your own panel"},{"line_number":91,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a016987_2bac088b","line":88,"updated":"2015-05-19 23:40:16.000000000","message":"Mention that Horizon currently has a library of reusable widgets there.","commit_id":"1b98f06b5f115a42056ae7c7a66091aaba9a7c6b"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"97e71a48d76dba89e6a18a9b40c1a99e9d28ffcf","unresolved":false,"context_lines":[{"line_number":87,"context_line":"elswhere. Reusable components should be broken out and stored in"},{"line_number":88,"context_line":"``horizon/static/angular/COMPONENT_NAME``."},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"Creating your own panel"},{"line_number":91,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"This sections serves as a basic introduction to writing your own panel for"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a016987_edb3794b","line":90,"updated":"2015-05-21 18:01:12.000000000","message":"Note to self: Muddling panels/components here. components in horizon, panels in o_d.","commit_id":"1b98f06b5f115a42056ae7c7a66091aaba9a7c6b"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"128df75c3296da2d84e4dd9778565a3619616a1c","unresolved":false,"context_lines":[{"line_number":90,"context_line":"Creating your own panel"},{"line_number":91,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"This sections serves as a basic introduction to writing your own panel for"},{"line_number":94,"context_line":"horizon, using AngularJS. Code specific to a panel should be stored in"},{"line_number":95,"context_line":"``horizon/static/dashboard/COMPONENT_NAME``."},{"line_number":96,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a016987_cbbd74b8","line":93,"updated":"2015-05-19 23:40:16.000000000","message":"section*","commit_id":"1b98f06b5f115a42056ae7c7a66091aaba9a7c6b"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"128df75c3296da2d84e4dd9778565a3619616a1c","unresolved":false,"context_lines":[{"line_number":98,"context_line":"relevant ``.js`` and ``.spec.js`` files to one of the dashboards in"},{"line_number":99,"context_line":"``openstack_dashboard/enabled/``."},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"For code that is not going upstream, you have two options:"},{"line_number":102,"context_line":"  1. Add a new panel/ panel_group/ dashboard (See :doc:`tutorial`) and then"},{"line_number":103,"context_line":"     include the relevant files as follows:"},{"line_number":104,"context_line":"     ::"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a016987_8b865cd9","line":101,"updated":"2015-05-19 23:40:16.000000000","message":"\"options\" doesn\u0027t seem like the right word... \"Two steps\"","commit_id":"1b98f06b5f115a42056ae7c7a66091aaba9a7c6b"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"9c3853e5418f23f2e51b041d61c66b1e9716b8ef","unresolved":false,"context_lines":[{"line_number":99,"context_line":"``openstack_dashboard/enabled/``."},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"For code that is not going upstream, you have two options:"},{"line_number":102,"context_line":"  1. Add a new panel/ panel_group/ dashboard (See :doc:`tutorial`) and then"},{"line_number":103,"context_line":"     include the relevant files as follows:"},{"line_number":104,"context_line":"     ::"},{"line_number":105,"context_line":"       ADD_JS_FILES \u003d ["}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a016987_8b12dc07","line":102,"updated":"2015-05-19 23:13:05.000000000","message":"I think in addition, it needs to be added to the hz.dashboard module. This should be done dynamically but it is not at the moment. Perhaps it might be a good idea to address this before it is documented.","commit_id":"1b98f06b5f115a42056ae7c7a66091aaba9a7c6b"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"128df75c3296da2d84e4dd9778565a3619616a1c","unresolved":false,"context_lines":[{"line_number":99,"context_line":"``openstack_dashboard/enabled/``."},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"For code that is not going upstream, you have two options:"},{"line_number":102,"context_line":"  1. Add a new panel/ panel_group/ dashboard (See :doc:`tutorial`) and then"},{"line_number":103,"context_line":"     include the relevant files as follows:"},{"line_number":104,"context_line":"     ::"},{"line_number":105,"context_line":"       ADD_JS_FILES \u003d ["}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a016987_abfc7872","line":102,"in_reply_to":"7a016987_8b12dc07","updated":"2015-05-19 23:40:16.000000000","message":"We also need to add ‘hz.dashboard.\u003cCOMPONENT_NAME\u003e’ to /static/dashboard/dashboard.module.js.","commit_id":"1b98f06b5f115a42056ae7c7a66091aaba9a7c6b"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"9c3853e5418f23f2e51b041d61c66b1e9716b8ef","unresolved":false,"context_lines":[{"line_number":115,"context_line":"       ]"},{"line_number":116,"context_line":"     An example of this can be found at"},{"line_number":117,"context_line":"     ``openstack_dashboard/enabled/_10_project.py``."},{"line_number":118,"context_line":"  2. Add your ``.js`` and ``.spec.js`` files to either"},{"line_number":119,"context_line":"     ``openstack_dashboard/settings.py`` or"},{"line_number":120,"context_line":"     ``openstack_dashboard/local/local_settings.py``. The relevant"},{"line_number":121,"context_line":"     arrays are ``\u0027js_files\u0027`` and ``\u0027js_spec_files\u0027``, inside the"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a016987_0b16ecf0","line":118,"updated":"2015-05-19 23:13:05.000000000","message":"I would recommend not adding this at all, not sure why this mechanism even exists in the first place.","commit_id":"1b98f06b5f115a42056ae7c7a66091aaba9a7c6b"},{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"962a9b40bcaca152a6447ae34fde3ac2cbfbaa6b","unresolved":false,"context_lines":[{"line_number":120,"context_line":"     ``openstack_dashboard/local/local_settings.py``. The relevant"},{"line_number":121,"context_line":"     arrays are ``\u0027js_files\u0027`` and ``\u0027js_spec_files\u0027``, inside the"},{"line_number":122,"context_line":"     ``HORIZON_CONFIG`` dict. Generally ``settings.py`` will be used for"},{"line_number":123,"context_line":"     higher level versions, such as a customised release of OpenStack, whereas"},{"line_number":124,"context_line":"     ``local_settings.py`` will be used for specific deployments of horizon."}],"source_content_type":"text/x-rst","patch_set":3,"id":"9a0c5dc1_3b626aae","line":123,"updated":"2015-05-13 13:21:05.000000000","message":"Also need .scss inclusion in ./horizon/static/angular/styles.scss; and JS files re-listed in ./horizon/templates/horizon/_scripts.html;","commit_id":"1b98f06b5f115a42056ae7c7a66091aaba9a7c6b"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"9c3853e5418f23f2e51b041d61c66b1e9716b8ef","unresolved":false,"context_lines":[{"line_number":120,"context_line":"     ``openstack_dashboard/local/local_settings.py``. The relevant"},{"line_number":121,"context_line":"     arrays are ``\u0027js_files\u0027`` and ``\u0027js_spec_files\u0027``, inside the"},{"line_number":122,"context_line":"     ``HORIZON_CONFIG`` dict. Generally ``settings.py`` will be used for"},{"line_number":123,"context_line":"     higher level versions, such as a customised release of OpenStack, whereas"},{"line_number":124,"context_line":"     ``local_settings.py`` will be used for specific deployments of horizon."}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a016987_cbda144c","line":123,"in_reply_to":"7a016987_e664734a","updated":"2015-05-19 23:13:05.000000000","message":"totally agree, we need a better way to add in plug in stuff w/o touching 5-6 files just to ensure that it all work.","commit_id":"1b98f06b5f115a42056ae7c7a66091aaba9a7c6b"},{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"0ff9a2d4321e60f1ee78074da52ec94a66c94548","unresolved":false,"context_lines":[{"line_number":120,"context_line":"     ``openstack_dashboard/local/local_settings.py``. The relevant"},{"line_number":121,"context_line":"     arrays are ``\u0027js_files\u0027`` and ``\u0027js_spec_files\u0027``, inside the"},{"line_number":122,"context_line":"     ``HORIZON_CONFIG`` dict. Generally ``settings.py`` will be used for"},{"line_number":123,"context_line":"     higher level versions, such as a customised release of OpenStack, whereas"},{"line_number":124,"context_line":"     ``local_settings.py`` will be used for specific deployments of horizon."}],"source_content_type":"text/x-rst","patch_set":3,"id":"9a0c5dc1_7555864e","line":123,"in_reply_to":"9a0c5dc1_27eec8b4","updated":"2015-05-13 16:46:12.000000000","message":"Totally clumsy!  I dislike it immensely!  I think we should make a fileglobbing feature.","commit_id":"1b98f06b5f115a42056ae7c7a66091aaba9a7c6b"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"f17a4c356b3dcc36348b4b931a27e4f43e8b1f6d","unresolved":false,"context_lines":[{"line_number":120,"context_line":"     ``openstack_dashboard/local/local_settings.py``. The relevant"},{"line_number":121,"context_line":"     arrays are ``\u0027js_files\u0027`` and ``\u0027js_spec_files\u0027``, inside the"},{"line_number":122,"context_line":"     ``HORIZON_CONFIG`` dict. Generally ``settings.py`` will be used for"},{"line_number":123,"context_line":"     higher level versions, such as a customised release of OpenStack, whereas"},{"line_number":124,"context_line":"     ``local_settings.py`` will be used for specific deployments of horizon."}],"source_content_type":"text/x-rst","patch_set":3,"id":"9a0c5dc1_27eec8b4","line":123,"in_reply_to":"9a0c5dc1_3b626aae","updated":"2015-05-13 16:06:03.000000000","message":"Hmm, thanks for pointing that out. Do we not currently have a tidier way of including JS/ SCSS? Seems a little clumsy.","commit_id":"1b98f06b5f115a42056ae7c7a66091aaba9a7c6b"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"b70805e2349063f6ffb32c096490a676ba2ac5ec","unresolved":false,"context_lines":[{"line_number":120,"context_line":"     ``openstack_dashboard/local/local_settings.py``. The relevant"},{"line_number":121,"context_line":"     arrays are ``\u0027js_files\u0027`` and ``\u0027js_spec_files\u0027``, inside the"},{"line_number":122,"context_line":"     ``HORIZON_CONFIG`` dict. Generally ``settings.py`` will be used for"},{"line_number":123,"context_line":"     higher level versions, such as a customised release of OpenStack, whereas"},{"line_number":124,"context_line":"     ``local_settings.py`` will be used for specific deployments of horizon."}],"source_content_type":"text/x-rst","patch_set":3,"id":"9a0c5dc1_ed3beae9","line":123,"in_reply_to":"9a0c5dc1_7555864e","updated":"2015-05-13 18:31:16.000000000","message":"We should only have it listed once. This has come up as an issue in the directory reworking patch discussion and is a broader issue that we need to solve as a separate patch. I\u0027m pretty certain we\u0027ll be discussing this as part of the overall Horizon/Dashboard architecture issue at the summit.","commit_id":"1b98f06b5f115a42056ae7c7a66091aaba9a7c6b"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"bd0275e28eecb72eda9b1c55b937a3918fba75c3","unresolved":false,"context_lines":[{"line_number":120,"context_line":"     ``openstack_dashboard/local/local_settings.py``. The relevant"},{"line_number":121,"context_line":"     arrays are ``\u0027js_files\u0027`` and ``\u0027js_spec_files\u0027``, inside the"},{"line_number":122,"context_line":"     ``HORIZON_CONFIG`` dict. Generally ``settings.py`` will be used for"},{"line_number":123,"context_line":"     higher level versions, such as a customised release of OpenStack, whereas"},{"line_number":124,"context_line":"     ``local_settings.py`` will be used for specific deployments of horizon."}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a016987_e664734a","line":123,"in_reply_to":"9a0c5dc1_ed3beae9","updated":"2015-05-19 16:05:11.000000000","message":"I\u0027ll keep this in mind as a section to update as we go forward. Thanks.","commit_id":"1b98f06b5f115a42056ae7c7a66091aaba9a7c6b"},{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"e7a662375368843851529d514b3d72572ec16d30","unresolved":false,"context_lines":[{"line_number":24,"context_line":"is part of the automated tests run by Jenkins. You are encouraged to configure"},{"line_number":25,"context_line":"any code editing tools to use JSHint, using the `official documentation`_ or"},{"line_number":26,"context_line":"the `OpenStack-specific documentation`_. You can run JSHint from the horizon"},{"line_number":27,"context_line":"root directory with ``./run_tests.sh --jshint``. "},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"Horizon includes a `.jshintrc` in it\u0027s root directory, that is used by the"},{"line_number":30,"context_line":"local tests. There is also an optional stricter :doc:`.jshintrc\u003c/ref/jshint\u003e`"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3afb71cf_987f6566","line":27,"updated":"2015-06-11 15:04:01.000000000","message":"A lesser man might complain about trailing whitespace, but not I.","commit_id":"4922476bb69fd302e9352cf0dab6f60fe64c147a"},{"author":{"_account_id":15742,"name":"Paulo Ewerton Gomes Fragoso","email":"pauloewerton@lsd.ufcg.edu.br","username":"pauloewerton"},"change_message_id":"b7a840c4d935fb8b6ce64d39c2ba7d9209d665de","unresolved":false,"context_lines":[{"line_number":52,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"Each component should have its own folder, and each folder should include"},{"line_number":55,"context_line":"styling (``.scss``), as well as templates(``.html``) and tests (``.spec.js``)."},{"line_number":56,"context_line":"You may also include examples; append ``.example`` to the filename."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"Reusable Components are in ``horizon/static/framework/``."}],"source_content_type":"text/x-rst","patch_set":4,"id":"3afb71cf_aa240b60","line":55,"updated":"2015-06-11 14:23:48.000000000","message":"I wonder if all of the template files (.html) for angularjs panels should really be placed in openstack_dashboard/static/dashboard. \n\nAs an example, in the new angularized identity users panel, template files are located in openstack_dashboard/dashboards/identity/users/templates: https://review.openstack.org/#/c/133767.\n\nI don\u0027t know, however, whether this is a temporary location or it\u0027s really necessary, for example, to proper routing in the urls.py file.","commit_id":"4922476bb69fd302e9352cf0dab6f60fe64c147a"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"28ca2ce9a5d0140c247f211d9d679340252acf31","unresolved":false,"context_lines":[{"line_number":52,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"Each component should have its own folder, and each folder should include"},{"line_number":55,"context_line":"styling (``.scss``), as well as templates(``.html``) and tests (``.spec.js``)."},{"line_number":56,"context_line":"You may also include examples; append ``.example`` to the filename."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"Reusable Components are in ``horizon/static/framework/``."}],"source_content_type":"text/x-rst","patch_set":4,"id":"3afb71cf_cdbf615f","line":55,"in_reply_to":"3afb71cf_aa240b60","updated":"2015-06-11 14:51:39.000000000","message":"You know, I\u0027m also unsure. I\u0027ll investigate further. Thanks for pointing that out.","commit_id":"4922476bb69fd302e9352cf0dab6f60fe64c147a"},{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"e7a662375368843851529d514b3d72572ec16d30","unresolved":false,"context_lines":[{"line_number":115,"context_line":""},{"line_number":116,"context_line":"If you are adding a panel to horizon, add the relevant ``.js`` and ``.spec.js`` "},{"line_number":117,"context_line":"files to one of the dashboards in ``openstack_dashboard/enabled/``. An example"},{"line_number":118,"context_line":"can be found at ``openstack_dashboard/enabled/_10_project.py``."},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"For extension code:"},{"line_number":121,"context_line":"Add a new panel/ panel group/ dashboard (See :doc:`tutorial`) and then"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3afb71cf_d885dd59","line":118,"updated":"2015-06-11 15:04:01.000000000","message":"Hopefully soon this will go away; stay tuned, but this is correct for now. :)","commit_id":"4922476bb69fd302e9352cf0dab6f60fe64c147a"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"527e222bb3e2f0d3e9bb21afc2b99387be7e3e2f","unresolved":false,"context_lines":[{"line_number":18,"context_line":".. _Angular Style Guide: https://github.com/johnpapa/angular-styleguide"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"JSHint"},{"line_number":21,"context_line":"------"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"JSHint is a tool to detect errors and potential problems in your JS code, and"},{"line_number":24,"context_line":"is part of the automated tests run by Jenkins. You are encouraged to configure"}],"source_content_type":"text/x-rst","patch_set":5,"id":"3afb71cf_fa0886db","line":21,"updated":"2015-06-11 21:12:00.000000000","message":"should this underline be \u003d\u003d\u003d\u003d?","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"da099f56546f93667696aa1e26fd2230c46d7bf4","unresolved":false,"context_lines":[{"line_number":18,"context_line":".. _Angular Style Guide: https://github.com/johnpapa/angular-styleguide"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"JSHint"},{"line_number":21,"context_line":"------"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"JSHint is a tool to detect errors and potential problems in your JS code, and"},{"line_number":24,"context_line":"is part of the automated tests run by Jenkins. You are encouraged to configure"}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa32b979_71149443","line":21,"in_reply_to":"1af86dd1_6a583d57","updated":"2015-06-16 04:07:11.000000000","message":"FWIW I\u0027m happy with the structure as it is.","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"47934a1ca64fe3dd08b5b4402ca9ef50464a5bde","unresolved":false,"context_lines":[{"line_number":18,"context_line":".. _Angular Style Guide: https://github.com/johnpapa/angular-styleguide"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"JSHint"},{"line_number":21,"context_line":"------"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"JSHint is a tool to detect errors and potential problems in your JS code, and"},{"line_number":24,"context_line":"is part of the automated tests run by Jenkins. You are encouraged to configure"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1af86dd1_6a583d57","line":21,"in_reply_to":"3afb71cf_fa0886db","updated":"2015-06-12 12:27:28.000000000","message":"I was intending to leave it as a subheading under Code Style, but perhaps that overall heading needs work.","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"527e222bb3e2f0d3e9bb21afc2b99387be7e3e2f","unresolved":false,"context_lines":[{"line_number":24,"context_line":"is part of the automated tests run by Jenkins. You are encouraged to configure"},{"line_number":25,"context_line":"any code editing tools to use JSHint, using the `official documentation`_ or"},{"line_number":26,"context_line":"the `OpenStack-specific documentation`_. You can run JSHint from the horizon"},{"line_number":27,"context_line":"root directory with ``./run_tests.sh --jshint``."},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"Horizon includes a `.jshintrc` in it\u0027s root directory, that is used by the"},{"line_number":30,"context_line":"local tests. There is also an optional stricter :doc:`.jshintrc\u003c/ref/jshint\u003e`"}],"source_content_type":"text/x-rst","patch_set":5,"id":"3afb71cf_95f843c6","line":27,"updated":"2015-06-11 21:12:00.000000000","message":"can also be mentioned you can run it on specific directories.\n\njshint .","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"47934a1ca64fe3dd08b5b4402ca9ef50464a5bde","unresolved":false,"context_lines":[{"line_number":24,"context_line":"is part of the automated tests run by Jenkins. You are encouraged to configure"},{"line_number":25,"context_line":"any code editing tools to use JSHint, using the `official documentation`_ or"},{"line_number":26,"context_line":"the `OpenStack-specific documentation`_. You can run JSHint from the horizon"},{"line_number":27,"context_line":"root directory with ``./run_tests.sh --jshint``."},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"Horizon includes a `.jshintrc` in it\u0027s root directory, that is used by the"},{"line_number":30,"context_line":"local tests. There is also an optional stricter :doc:`.jshintrc\u003c/ref/jshint\u003e`"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1af86dd1_aa2515c3","line":27,"in_reply_to":"3afb71cf_95f843c6","updated":"2015-06-12 12:27:28.000000000","message":"Will do, I actually removed that line for some reason. Thanks!","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"527e222bb3e2f0d3e9bb21afc2b99387be7e3e2f","unresolved":false,"context_lines":[{"line_number":26,"context_line":"the `OpenStack-specific documentation`_. You can run JSHint from the horizon"},{"line_number":27,"context_line":"root directory with ``./run_tests.sh --jshint``."},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"Horizon includes a `.jshintrc` in it\u0027s root directory, that is used by the"},{"line_number":30,"context_line":"local tests. There is also an optional stricter :doc:`.jshintrc\u003c/ref/jshint\u003e`"},{"line_number":31,"context_line":"that you may use."},{"line_number":32,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"3afb71cf_3ac4de5d","line":29,"updated":"2015-06-11 21:12:00.000000000","message":"its*","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"527e222bb3e2f0d3e9bb21afc2b99387be7e3e2f","unresolved":false,"context_lines":[{"line_number":43,"context_line":"guide. Horizon includes a `.jscsrc` file in its root directory; you can run"},{"line_number":44,"context_line":"JSCS with ``./run_tests.sh --jscs``. Alternatively, you can uses"},{"line_number":45,"context_line":"``jscs \u003cfile path\u003e`` to run JSCS over a subset of the code, if you have JSCS"},{"line_number":46,"context_line":"installed locally."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"A list of available rules and their functions can"},{"line_number":49,"context_line":"`be found here \u003chttp://jscs.info/rules\u003e`_."}],"source_content_type":"text/x-rst","patch_set":5,"id":"3afb71cf_3573cf17","line":46,"updated":"2015-06-11 21:12:00.000000000","message":"do we want to mention you will need to download it via npm? or we let the user encounter the error msg when they try the flag ^_^","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"020ef66604b51a6baf5aa084eef14a785079f077","unresolved":false,"context_lines":[{"line_number":43,"context_line":"guide. Horizon includes a `.jscsrc` file in its root directory; you can run"},{"line_number":44,"context_line":"JSCS with ``./run_tests.sh --jscs``. Alternatively, you can uses"},{"line_number":45,"context_line":"``jscs \u003cfile path\u003e`` to run JSCS over a subset of the code, if you have JSCS"},{"line_number":46,"context_line":"installed locally."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"A list of available rules and their functions can"},{"line_number":49,"context_line":"`be found here \u003chttp://jscs.info/rules\u003e`_."}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa32b979_ee120f62","line":46,"in_reply_to":"1af86dd1_de41323b","updated":"2015-06-15 19:54:21.000000000","message":"If you mention it here, you will need to do the same for jshint above.","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"47934a1ca64fe3dd08b5b4402ca9ef50464a5bde","unresolved":false,"context_lines":[{"line_number":43,"context_line":"guide. Horizon includes a `.jscsrc` file in its root directory; you can run"},{"line_number":44,"context_line":"JSCS with ``./run_tests.sh --jscs``. Alternatively, you can uses"},{"line_number":45,"context_line":"``jscs \u003cfile path\u003e`` to run JSCS over a subset of the code, if you have JSCS"},{"line_number":46,"context_line":"installed locally."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"A list of available rules and their functions can"},{"line_number":49,"context_line":"`be found here \u003chttp://jscs.info/rules\u003e`_."}],"source_content_type":"text/x-rst","patch_set":5,"id":"1af86dd1_de41323b","line":46,"in_reply_to":"3afb71cf_3573cf17","updated":"2015-06-12 12:27:28.000000000","message":"Yes, this is sensible. I\u0027ll add some detail at the start of the section.","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"18ac5627551c0252597b999c72c44e8af93aeb4f","unresolved":false,"context_lines":[{"line_number":43,"context_line":"guide. Horizon includes a `.jscsrc` file in its root directory; you can run"},{"line_number":44,"context_line":"JSCS with ``./run_tests.sh --jscs``. Alternatively, you can uses"},{"line_number":45,"context_line":"``jscs \u003cfile path\u003e`` to run JSCS over a subset of the code, if you have JSCS"},{"line_number":46,"context_line":"installed locally."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"A list of available rules and their functions can"},{"line_number":49,"context_line":"`be found here \u003chttp://jscs.info/rules\u003e`_."}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa32b979_f0ac2537","line":46,"in_reply_to":"fa32b979_ee120f62","updated":"2015-06-16 00:42:14.000000000","message":"The jscs direct invocation is good, but I think we should be pushing users to use the npm run lint instead of run_tests.sh.  Apparently run_tests.sh is supposed to be deprecated.\n\nSee:\n\nhttps://review.openstack.org/#/c/188853/\n\nhttps://review.openstack.org/#/c/188886/\n\nI also think we should mention installing these tools.  They should just have to call \"npm install\" since our package.json defines them.\n\nAlso, we might stop having jshint, jscs at some point and just do something under npm run lint.\n\n(From my response to ML on javascript linters)\n\nWe¹ve adopted the John Papa style guide for Angular in horizon [0]. On\ncursory inspection ES lint seems to have an angular specific plugin [1]\nthat could be very useful to us, but we¹d need to evaluate it in depth. It\nlooks like there was some discussion on the style guide on this not too\nlong ago [2]. The jscs rules we have [3] are very generic code formatting\ntype rules that are helpful, but don\u0027t really provide any angular specific\nhelp. Here are the jshint rules [4]. It would be quite nice to put all\nthis goodness across tools into a single tool configuration if possible.\n\n[0]\nhttp://docs.openstack.org/developer/horizon/contributing.html#john-papa-sty\nle-guide\n[1] https://www.npmjs.com/package/eslint-plugin-angular\n[2] https://github.com/johnpapa/angular-styleguide/issues/194\n[3] https://github.com/openstack/horizon/blob/master/.jscsrc\n[4] https://github.com/openstack/horizon/blob/master/.jshintrc","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"c93220df4a674beda2af666bb5a404b3ec3268a4","unresolved":false,"context_lines":[{"line_number":43,"context_line":"guide. Horizon includes a `.jscsrc` file in its root directory; you can run"},{"line_number":44,"context_line":"JSCS with ``./run_tests.sh --jscs``. Alternatively, you can uses"},{"line_number":45,"context_line":"``jscs \u003cfile path\u003e`` to run JSCS over a subset of the code, if you have JSCS"},{"line_number":46,"context_line":"installed locally."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"A list of available rules and their functions can"},{"line_number":49,"context_line":"`be found here \u003chttp://jscs.info/rules\u003e`_."}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa32b979_d3cfeb27","line":46,"in_reply_to":"fa32b979_f0ac2537","updated":"2015-06-19 13:47:04.000000000","message":"Cheers Travis. The issue I had with recommending `npm run` over `run_tests` was the tooling split. IMO it\u0027s easier for a new person to see the single testing script, rather than \"you can use run_tests OR npm run lint OR jscs \u003cdir\u003e OR npm jscs etc etc... but maybe I am over simplifying things.","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"18ac5627551c0252597b999c72c44e8af93aeb4f","unresolved":false,"context_lines":[{"line_number":55,"context_line":"styling (``.scss``), as well as templates(``.html``) and tests (``.spec.js``)."},{"line_number":56,"context_line":"You may also include examples; append ``.example`` to the filename."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"Reusable Components are in ``horizon/static/framework/``."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"Panel-specific code is in ``openstack_dashboard/static/dashboard/``."},{"line_number":61,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa32b979_703575f5","line":58,"updated":"2015-06-16 00:42:14.000000000","message":"Maybe be a little more clear on the aspects of reusability. Components that are not specific to openstack are found ^.\n\nBecause we do have reusable components in openstack_dashboard as well, they just have a different level of reusability.","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"c93220df4a674beda2af666bb5a404b3ec3268a4","unresolved":false,"context_lines":[{"line_number":55,"context_line":"styling (``.scss``), as well as templates(``.html``) and tests (``.spec.js``)."},{"line_number":56,"context_line":"You may also include examples; append ``.example`` to the filename."},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"Reusable Components are in ``horizon/static/framework/``."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"Panel-specific code is in ``openstack_dashboard/static/dashboard/``."},{"line_number":61,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa32b979_13ed538e","line":58,"in_reply_to":"fa32b979_703575f5","updated":"2015-06-19 13:47:04.000000000","message":"Yes, will try to clarify. Thanks.","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":8533,"name":"Marcos Fermín Lobo","email":"lobo@lukos.org","username":"mlobo"},"change_message_id":"c7a6b85da861b004d1e6e80aaffcd718926678ff","unresolved":false,"context_lines":[{"line_number":57,"context_line":""},{"line_number":58,"context_line":"Reusable Components are in ``horizon/static/framework/``."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"Panel-specific code is in ``openstack_dashboard/static/dashboard/``."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"The transfer-table directive is a good example of the file structure:"},{"line_number":63,"context_line":"::"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1af86dd1_b53fbe24","line":60,"updated":"2015-06-12 08:25:09.000000000","message":"The code for a panel-specific code should be Angular, Django, mixed?. Not clear for me.","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":8533,"name":"Marcos Fermín Lobo","email":"lobo@lukos.org","username":"mlobo"},"change_message_id":"11de72b637626a6755e640bedfb5a0517a07ace0","unresolved":false,"context_lines":[{"line_number":57,"context_line":""},{"line_number":58,"context_line":"Reusable Components are in ``horizon/static/framework/``."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"Panel-specific code is in ``openstack_dashboard/static/dashboard/``."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"The transfer-table directive is a good example of the file structure:"},{"line_number":63,"context_line":"::"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1af86dd1_14444b72","line":60,"in_reply_to":"1af86dd1_0a4f8993","updated":"2015-06-12 13:15:17.000000000","message":"I can be agree with that argument, but... maybe change it to?: \n\nPanel-specific Angular JS code is in ``openstack_dashboard/static/dashboard/``.","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"7764643223021ea23c58aee18c9bf830f5701bca","unresolved":false,"context_lines":[{"line_number":57,"context_line":""},{"line_number":58,"context_line":"Reusable Components are in ``horizon/static/framework/``."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"Panel-specific code is in ``openstack_dashboard/static/dashboard/``."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"The transfer-table directive is a good example of the file structure:"},{"line_number":63,"context_line":"::"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1af86dd1_b779f931","line":60,"in_reply_to":"1af86dd1_14444b72","updated":"2015-06-12 13:32:24.000000000","message":"Sure","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"47934a1ca64fe3dd08b5b4402ca9ef50464a5bde","unresolved":false,"context_lines":[{"line_number":57,"context_line":""},{"line_number":58,"context_line":"Reusable Components are in ``horizon/static/framework/``."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"Panel-specific code is in ``openstack_dashboard/static/dashboard/``."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"The transfer-table directive is a good example of the file structure:"},{"line_number":63,"context_line":"::"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1af86dd1_0a4f8993","line":60,"in_reply_to":"1af86dd1_b53fbe24","updated":"2015-06-12 12:27:28.000000000","message":"I\u0027m not really sure this needs defining in an AngularJS topic guide? The idea is to move entirely to Angular and only use Django as an API layer amongst some other bits and pieces.","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"527e222bb3e2f0d3e9bb21afc2b99387be7e3e2f","unresolved":false,"context_lines":[{"line_number":68,"context_line":"  ├── transfer-table.html"},{"line_number":69,"context_line":"  ├── transfer-table.js"},{"line_number":70,"context_line":"  ├── transfer-table.scss"},{"line_number":71,"context_line":"  └── transfer-table.spec.js"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"For larger components, such as workflows with multiple steps, consider breaking"},{"line_number":74,"context_line":"the code down further. The Angular **Launch Instance** workflow,"}],"source_content_type":"text/x-rst","patch_set":5,"id":"3afb71cf_903971db","line":71,"updated":"2015-06-11 21:12:00.000000000","message":"TODO: update this when we change move components to their own files :)","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"020ef66604b51a6baf5aa084eef14a785079f077","unresolved":false,"context_lines":[{"line_number":68,"context_line":"  ├── transfer-table.html"},{"line_number":69,"context_line":"  ├── transfer-table.js"},{"line_number":70,"context_line":"  ├── transfer-table.scss"},{"line_number":71,"context_line":"  └── transfer-table.spec.js"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"For larger components, such as workflows with multiple steps, consider breaking"},{"line_number":74,"context_line":"the code down further. The Angular **Launch Instance** workflow,"}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa32b979_e920c99d","line":71,"in_reply_to":"3afb71cf_903971db","updated":"2015-06-15 19:54:21.000000000","message":"yeah, same comment as in tests. these files are getting splitting into .controller .directive .service etc....","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"c93220df4a674beda2af666bb5a404b3ec3268a4","unresolved":false,"context_lines":[{"line_number":68,"context_line":"  ├── transfer-table.html"},{"line_number":69,"context_line":"  ├── transfer-table.js"},{"line_number":70,"context_line":"  ├── transfer-table.scss"},{"line_number":71,"context_line":"  └── transfer-table.spec.js"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"For larger components, such as workflows with multiple steps, consider breaking"},{"line_number":74,"context_line":"the code down further. The Angular **Launch Instance** workflow,"}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa32b979_f3a22f4b","line":71,"in_reply_to":"fa32b979_e920c99d","updated":"2015-06-19 13:47:04.000000000","message":"Yep, this has been fixed in my current patchset, haven\u0027t pushed it yet. Was waiting for an actual example in the codebase :)","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":10881,"name":"Neill Cox","email":"neill@ingenious.com.au","username":"neillc"},"change_message_id":"c86e7f452230e552e4d195742a10cc1338d20443","unresolved":false,"context_lines":[{"line_number":69,"context_line":"  ├── transfer-table.js"},{"line_number":70,"context_line":"  ├── transfer-table.scss"},{"line_number":71,"context_line":"  └── transfer-table.spec.js"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"For larger components, such as workflows with multiple steps, consider breaking"},{"line_number":74,"context_line":"the code down further. The Angular **Launch Instance** workflow,"},{"line_number":75,"context_line":"for example, has one directory per step"}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa32b979_7c9f8b50","line":72,"updated":"2015-06-16 05:18:14.000000000","message":"Definitely need to get this right before publishing the guide. Bad examples worse than no examples :)","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"c93220df4a674beda2af666bb5a404b3ec3268a4","unresolved":false,"context_lines":[{"line_number":69,"context_line":"  ├── transfer-table.js"},{"line_number":70,"context_line":"  ├── transfer-table.scss"},{"line_number":71,"context_line":"  └── transfer-table.spec.js"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"For larger components, such as workflows with multiple steps, consider breaking"},{"line_number":74,"context_line":"the code down further. The Angular **Launch Instance** workflow,"},{"line_number":75,"context_line":"for example, has one directory per step"}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa32b979_139473e6","line":72,"in_reply_to":"fa32b979_7c9f8b50","updated":"2015-06-19 13:47:04.000000000","message":"Agreed, I\u0027ve now altered this. Was waiting for some code to actually be in this format, to use as an example.","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"18ac5627551c0252597b999c72c44e8af93aeb4f","unresolved":false,"context_lines":[{"line_number":81,"context_line":"Testing"},{"line_number":82,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"We utilize Jasmine_ to test JavaScript code. Jasmine uses specs (``.spec.js``)"},{"line_number":85,"context_line":"which are kept with the JavaScript files that they are testing. See"},{"line_number":86,"context_line":"`File Structure`_ for more detail on this. Tests can be run in two ways:"},{"line_number":87,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa32b979_0b587a31","line":84,"updated":"2015-06-16 00:42:14.000000000","message":"I think you should talk more about karma here and should talk about the code coverage files that karma generates (one for horizon and one for openstack_dashboard) in the .coverage-karma directory.","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"c93220df4a674beda2af666bb5a404b3ec3268a4","unresolved":false,"context_lines":[{"line_number":81,"context_line":"Testing"},{"line_number":82,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"We utilize Jasmine_ to test JavaScript code. Jasmine uses specs (``.spec.js``)"},{"line_number":85,"context_line":"which are kept with the JavaScript files that they are testing. See"},{"line_number":86,"context_line":"`File Structure`_ for more detail on this. Tests can be run in two ways:"},{"line_number":87,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa32b979_f3478f75","line":84,"in_reply_to":"fa32b979_0b587a31","updated":"2015-06-19 13:47:04.000000000","message":"Agreed, I really need to push my current patch, I\u0027ve refactored this quite a bit to provide a generalised testing section, not just Jasmine.","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"527e222bb3e2f0d3e9bb21afc2b99387be7e3e2f","unresolved":false,"context_lines":[{"line_number":87,"context_line":""},{"line_number":88,"context_line":"1. Go to \u003cdev_server\u003e/jasmine. The development server can be run with"},{"line_number":89,"context_line":"   ``./run_tests.sh --runserver`` from the horizon root directory."},{"line_number":90,"context_line":"2. ``./run_tests.sh -k`` from the horizon root directory."},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"For more detailed information, see :doc:`javascript_testing`."},{"line_number":93,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"3afb71cf_f09e65b7","line":90,"updated":"2015-06-11 21:12:00.000000000","message":"Aaron also mentioned this:\n\n\"FYI if you want to run that test locally you can do 1. npm install (I had to specifically run npm install karma) 2. npm run test\"(https://review.openstack.org/#/c/189524/)","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":15209,"name":"Lucas Xu","email":"hanxu@redhat.com","username":"xuh"},"change_message_id":"162647d9f40da48097788cb93abba95ae7dc2b42","unresolved":false,"context_lines":[{"line_number":87,"context_line":""},{"line_number":88,"context_line":"1. Go to \u003cdev_server\u003e/jasmine. The development server can be run with"},{"line_number":89,"context_line":"   ``./run_tests.sh --runserver`` from the horizon root directory."},{"line_number":90,"context_line":"2. ``./run_tests.sh -k`` from the horizon root directory."},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"For more detailed information, see :doc:`javascript_testing`."},{"line_number":93,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa32b979_fa9c115f","line":90,"in_reply_to":"1af86dd1_c1da7778","updated":"2015-06-15 18:30:39.000000000","message":"Agreed. one command is definitely less confusing than many.","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"29df62fa66ad1fe4d0dc468f52eefdd44d9001de","unresolved":false,"context_lines":[{"line_number":87,"context_line":""},{"line_number":88,"context_line":"1. Go to \u003cdev_server\u003e/jasmine. The development server can be run with"},{"line_number":89,"context_line":"   ``./run_tests.sh --runserver`` from the horizon root directory."},{"line_number":90,"context_line":"2. ``./run_tests.sh -k`` from the horizon root directory."},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"For more detailed information, see :doc:`javascript_testing`."},{"line_number":93,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1af86dd1_c1da7778","line":90,"in_reply_to":"3afb71cf_f09e65b7","updated":"2015-06-12 12:38:45.000000000","message":"I\u0027m believe that `./run_tests.sh -k` just runs `npm run test`. I\u0027m inclined to keep it as just that one command, as its a bit less confusing for new people to just see one command rather than multiple that do the same thing. Thoughts?","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"18ac5627551c0252597b999c72c44e8af93aeb4f","unresolved":false,"context_lines":[{"line_number":87,"context_line":""},{"line_number":88,"context_line":"1. Go to \u003cdev_server\u003e/jasmine. The development server can be run with"},{"line_number":89,"context_line":"   ``./run_tests.sh --runserver`` from the horizon root directory."},{"line_number":90,"context_line":"2. ``./run_tests.sh -k`` from the horizon root directory."},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"For more detailed information, see :doc:`javascript_testing`."},{"line_number":93,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa32b979_ab5e2e10","line":90,"in_reply_to":"fa32b979_fa9c115f","updated":"2015-06-16 00:42:14.000000000","message":"see my comments above about npm run test.  I also believe we should inform people about the npm run test command due to it becoming the standard.  In addition our check and gate jobs run it directly, they do not run run_tests.sh -k.","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"18ac5627551c0252597b999c72c44e8af93aeb4f","unresolved":false,"context_lines":[{"line_number":92,"context_line":"For more detailed information, see :doc:`javascript_testing`."},{"line_number":93,"context_line":""},{"line_number":94,"context_line":".. _Jasmine: http://jasmine.github.io/2.1/introduction.html"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"Translation (Internationalization and Localization)"},{"line_number":97,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":98,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa32b979_4b9c42c0","line":95,"updated":"2015-06-16 00:42:14.000000000","message":"Karma link here, please.","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"020ef66604b51a6baf5aa084eef14a785079f077","unresolved":false,"context_lines":[{"line_number":104,"context_line":""},{"line_number":105,"context_line":"Translations are handled in Transifex, as with Django. They are merged daily"},{"line_number":106,"context_line":"with the horizon upstream codebase. See"},{"line_number":107,"context_line":"`Translations \u003chttps://wiki.openstack.org/wiki/Translations\u003e`_."},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"Creating your own panel"},{"line_number":110,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa32b979_29831158","line":107,"updated":"2015-06-15 19:54:21.000000000","message":"this is ok for now, but note that we will have a new mechanism to allow users to do translation directly into the static html in the future.\n\nAlso, not sure if this is documented somewhere, but maybe we need a section on how to test that your translations are included properly.","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"18ac5627551c0252597b999c72c44e8af93aeb4f","unresolved":false,"context_lines":[{"line_number":104,"context_line":""},{"line_number":105,"context_line":"Translations are handled in Transifex, as with Django. They are merged daily"},{"line_number":106,"context_line":"with the horizon upstream codebase. See"},{"line_number":107,"context_line":"`Translations \u003chttps://wiki.openstack.org/wiki/Translations\u003e`_."},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"Creating your own panel"},{"line_number":110,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa32b979_ebabd6d4","line":107,"in_reply_to":"fa32b979_29831158","updated":"2015-06-16 00:42:14.000000000","message":"+1","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"c93220df4a674beda2af666bb5a404b3ec3268a4","unresolved":false,"context_lines":[{"line_number":104,"context_line":""},{"line_number":105,"context_line":"Translations are handled in Transifex, as with Django. They are merged daily"},{"line_number":106,"context_line":"with the horizon upstream codebase. See"},{"line_number":107,"context_line":"`Translations \u003chttps://wiki.openstack.org/wiki/Translations\u003e`_."},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"Creating your own panel"},{"line_number":110,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa32b979_932403c7","line":107,"in_reply_to":"fa32b979_29831158","updated":"2015-06-19 13:47:04.000000000","message":"True, I will mention that. Thanks Thai!","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":8533,"name":"Marcos Fermín Lobo","email":"lobo@lukos.org","username":"mlobo"},"change_message_id":"c7a6b85da861b004d1e6e80aaffcd718926678ff","unresolved":false,"context_lines":[{"line_number":106,"context_line":"with the horizon upstream codebase. See"},{"line_number":107,"context_line":"`Translations \u003chttps://wiki.openstack.org/wiki/Translations\u003e`_."},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"Creating your own panel"},{"line_number":110,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"This section serves as a basic introduction to writing your own panel for"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1af86dd1_95c16283","line":109,"updated":"2015-06-12 08:25:09.000000000","message":"I would like to see a further explanation about how to create a new panel using AngularJS. I mean, something like http://docs.openstack.org/developer/horizon/topics/tutorial.html#creating-a-panel but with AngularJS.","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"47934a1ca64fe3dd08b5b4402ca9ef50464a5bde","unresolved":false,"context_lines":[{"line_number":106,"context_line":"with the horizon upstream codebase. See"},{"line_number":107,"context_line":"`Translations \u003chttps://wiki.openstack.org/wiki/Translations\u003e`_."},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"Creating your own panel"},{"line_number":110,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"This section serves as a basic introduction to writing your own panel for"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1af86dd1_5e2662bb","line":109,"in_reply_to":"1af86dd1_95c16283","updated":"2015-06-12 12:27:28.000000000","message":"Agreed, I\u0027ll continue to work on this. Thanks for your feedback!","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"020ef66604b51a6baf5aa084eef14a785079f077","unresolved":false,"context_lines":[{"line_number":115,"context_line":""},{"line_number":116,"context_line":"If you are adding a panel to horizon, add the relevant ``.js`` and ``.spec.js``"},{"line_number":117,"context_line":"files to one of the dashboards in ``openstack_dashboard/enabled/``. An example"},{"line_number":118,"context_line":"can be found at ``openstack_dashboard/enabled/_10_project.py``."},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"For extension code:"},{"line_number":121,"context_line":"Add a new panel/ panel group/ dashboard (See :doc:`tutorial`) and then"}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa32b979_2906b1ce","line":118,"updated":"2015-06-15 19:54:21.000000000","message":"Cindy had a neat patch to show this: https://review.openstack.org/#/c/181253/\n\nNote that the main dashboard template and url have to exist in openstack_dashboard/dashboards because of the tie to base.html.","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":8533,"name":"Marcos Fermín Lobo","email":"lobo@lukos.org","username":"mlobo"},"change_message_id":"c7a6b85da861b004d1e6e80aaffcd718926678ff","unresolved":false,"context_lines":[{"line_number":118,"context_line":"can be found at ``openstack_dashboard/enabled/_10_project.py``."},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"For extension code:"},{"line_number":121,"context_line":"Add a new panel/ panel group/ dashboard (See :doc:`tutorial`) and then"},{"line_number":122,"context_line":"include the relevant files as follows:"},{"line_number":123,"context_line":"::"},{"line_number":124,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1af86dd1_55008aaa","line":121,"updated":"2015-06-12 08:25:09.000000000","message":"Do you miss the link for \"tutorial\"?","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"47934a1ca64fe3dd08b5b4402ca9ef50464a5bde","unresolved":false,"context_lines":[{"line_number":118,"context_line":"can be found at ``openstack_dashboard/enabled/_10_project.py``."},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"For extension code:"},{"line_number":121,"context_line":"Add a new panel/ panel group/ dashboard (See :doc:`tutorial`) and then"},{"line_number":122,"context_line":"include the relevant files as follows:"},{"line_number":123,"context_line":"::"},{"line_number":124,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1af86dd1_1e7c6a71","line":121,"in_reply_to":"1af86dd1_55008aaa","updated":"2015-06-12 12:27:28.000000000","message":"Nope, the link seems to work for me.","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":8533,"name":"Marcos Fermín Lobo","email":"lobo@lukos.org","username":"mlobo"},"change_message_id":"c7a6b85da861b004d1e6e80aaffcd718926678ff","unresolved":false,"context_lines":[{"line_number":124,"context_line":""},{"line_number":125,"context_line":"  ADD_JS_FILES \u003d ["},{"line_number":126,"context_line":"    ..."},{"line_number":127,"context_line":"    \u0027path_to/my_angular_code.js\u0027,"},{"line_number":128,"context_line":"    ..."},{"line_number":129,"context_line":"  ]"},{"line_number":130,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1af86dd1_f57bf679","line":127,"updated":"2015-06-12 08:25:09.000000000","message":"\"path_to\" should be a path inside \"horizon/static/framework/widgets/\"? That\u0027s not clear for me.","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"7764643223021ea23c58aee18c9bf830f5701bca","unresolved":false,"context_lines":[{"line_number":124,"context_line":""},{"line_number":125,"context_line":"  ADD_JS_FILES \u003d ["},{"line_number":126,"context_line":"    ..."},{"line_number":127,"context_line":"    \u0027path_to/my_angular_code.js\u0027,"},{"line_number":128,"context_line":"    ..."},{"line_number":129,"context_line":"  ]"},{"line_number":130,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1af86dd1_d7ca354f","line":127,"in_reply_to":"1af86dd1_3704e913","updated":"2015-06-12 13:32:24.000000000","message":"This is a good suggestion, an example would be useful, like with the tests. I\u0027ll see what I can do.","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":8533,"name":"Marcos Fermín Lobo","email":"lobo@lukos.org","username":"mlobo"},"change_message_id":"11de72b637626a6755e640bedfb5a0517a07ace0","unresolved":false,"context_lines":[{"line_number":124,"context_line":""},{"line_number":125,"context_line":"  ADD_JS_FILES \u003d ["},{"line_number":126,"context_line":"    ..."},{"line_number":127,"context_line":"    \u0027path_to/my_angular_code.js\u0027,"},{"line_number":128,"context_line":"    ..."},{"line_number":129,"context_line":"  ]"},{"line_number":130,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1af86dd1_3704e913","line":127,"in_reply_to":"1af86dd1_9e1dfa68","updated":"2015-06-12 13:15:17.000000000","message":"Should be mention some \"good path\" (like best practice) to put angular code for a new panel?","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"47934a1ca64fe3dd08b5b4402ca9ef50464a5bde","unresolved":false,"context_lines":[{"line_number":124,"context_line":""},{"line_number":125,"context_line":"  ADD_JS_FILES \u003d ["},{"line_number":126,"context_line":"    ..."},{"line_number":127,"context_line":"    \u0027path_to/my_angular_code.js\u0027,"},{"line_number":128,"context_line":"    ..."},{"line_number":129,"context_line":"  ]"},{"line_number":130,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1af86dd1_9e1dfa68","line":127,"in_reply_to":"1af86dd1_f57bf679","updated":"2015-06-12 12:27:28.000000000","message":"It\u0027s any path, hence the vague-ness. Its a plugin, so you could handle it however you wish.","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":7128,"name":"Mark Vanderwiel","email":"vanderwl@us.ibm.com","username":"kramvan"},"change_message_id":"aa6b62d520ab0aec1c37f8bdd33c025c865be662","unresolved":false,"context_lines":[{"line_number":15,"context_line":"The tooling for AngularJS testing and code linting relies on npm, the"},{"line_number":16,"context_line":"node package manager, and thus relies on Node.js. While it is not a"},{"line_number":17,"context_line":"prerequisite to developing with Horizon, it is advisable to install Node.js,"},{"line_number":18,"context_line":"either through `downloading \u003chttps://nodejs.org/download/\u003e`_ or"},{"line_number":19,"context_line":"`via a package manager \u003chttps://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager\u003e`_."},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"Once you have npm available on your system, run ``npm install`` from the"}],"source_content_type":"text/x-rst","patch_set":7,"id":"fa32b979_ecbf8d5e","line":18,"updated":"2015-06-26 17:16:35.000000000","message":"Is there any minimum version level of nodejs required?","commit_id":"728567c816845d93d5e20e41a9efb524bdbac2e7"},{"author":{"_account_id":7128,"name":"Mark Vanderwiel","email":"vanderwl@us.ibm.com","username":"kramvan"},"change_message_id":"aa6b62d520ab0aec1c37f8bdd33c025c865be662","unresolved":false,"context_lines":[{"line_number":36,"context_line":"ESLint"},{"line_number":37,"context_line":"------"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"ESLint is a tool for identify and reporting on patterns in your JS code, and"},{"line_number":40,"context_line":"is part of the automated tests run by Jenkins. You can run ESLint from the"},{"line_number":41,"context_line":"horizon root directory with ``npm run lint``, or alternatively on a specific"},{"line_number":42,"context_line":"directory or file with ``eslint file.js``."}],"source_content_type":"text/x-rst","patch_set":7,"id":"fa32b979_4caf992b","line":39,"updated":"2015-06-26 17:16:35.000000000","message":"identifying?","commit_id":"728567c816845d93d5e20e41a9efb524bdbac2e7"},{"author":{"_account_id":7128,"name":"Mark Vanderwiel","email":"vanderwl@us.ibm.com","username":"kramvan"},"change_message_id":"aa6b62d520ab0aec1c37f8bdd33c025c865be662","unresolved":false,"context_lines":[{"line_number":51,"context_line":"File Structure"},{"line_number":52,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"Each component should have its own folder, with the code broken up into one JS"},{"line_number":55,"context_line":"component per file. (See `Single Responsibility \u003chttps://github.com/johnpapa/angular-styleguide#single-responsibility\u003e`_"},{"line_number":56,"context_line":"in the style guide)."},{"line_number":57,"context_line":"Each folder may include styling (``.scss``), as well as templates(``.html``)"}],"source_content_type":"text/x-rst","patch_set":7,"id":"fa32b979_8c6b61f1","line":54,"updated":"2015-06-26 17:16:35.000000000","message":"What defines a \"component\"?","commit_id":"728567c816845d93d5e20e41a9efb524bdbac2e7"},{"author":{"_account_id":7128,"name":"Mark Vanderwiel","email":"vanderwl@us.ibm.com","username":"kramvan"},"change_message_id":"aa6b62d520ab0aec1c37f8bdd33c025c865be662","unresolved":false,"context_lines":[{"line_number":55,"context_line":"component per file. (See `Single Responsibility \u003chttps://github.com/johnpapa/angular-styleguide#single-responsibility\u003e`_"},{"line_number":56,"context_line":"in the style guide)."},{"line_number":57,"context_line":"Each folder may include styling (``.scss``), as well as templates(``.html``)"},{"line_number":58,"context_line":"and tests (``.spec.js``)."},{"line_number":59,"context_line":"You may also include examples, by appending ``.example``."},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"Reusable components are in ``horizon/static/framework/``. These are a"}],"source_content_type":"text/x-rst","patch_set":7,"id":"fa32b979_cc48898d","line":58,"updated":"2015-06-26 17:16:35.000000000","message":"Shouldn\u0027t tests go into a sub dir, like  /specs? or /tests?","commit_id":"728567c816845d93d5e20e41a9efb524bdbac2e7"},{"author":{"_account_id":7128,"name":"Mark Vanderwiel","email":"vanderwl@us.ibm.com","username":"kramvan"},"change_message_id":"aa6b62d520ab0aec1c37f8bdd33c025c865be662","unresolved":false,"context_lines":[{"line_number":69,"context_line":"The modal directive is a good example of the file structure:"},{"line_number":70,"context_line":"::"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"  horizon/static/framework/widgets/modal/"},{"line_number":73,"context_line":"  ├── modal.controller.js"},{"line_number":74,"context_line":"  ├── modal.factory.js"},{"line_number":75,"context_line":"  ├── modal.module.js"}],"source_content_type":"text/x-rst","patch_set":7,"id":"fa32b979_ec1b0d7f","line":72,"updated":"2015-06-26 17:16:35.000000000","message":"humm, this does not match what\u0027s on #67","commit_id":"728567c816845d93d5e20e41a9efb524bdbac2e7"},{"author":{"_account_id":7128,"name":"Mark Vanderwiel","email":"vanderwl@us.ibm.com","username":"kramvan"},"change_message_id":"aa6b62d520ab0aec1c37f8bdd33c025c865be662","unresolved":false,"context_lines":[{"line_number":81,"context_line":"for example, has one directory per step"},{"line_number":82,"context_line":"(``openstack_dashboard/static/dashboard/launch-instance/``)"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"Testing"},{"line_number":85,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"1. Open \u003cdev_server_ip\u003e/jasmine in a browser. The development server can be run"}],"source_content_type":"text/x-rst","patch_set":7,"id":"fa32b979_ef021f09","line":84,"updated":"2015-06-26 17:16:35.000000000","message":"missing topic flag?","commit_id":"728567c816845d93d5e20e41a9efb524bdbac2e7"},{"author":{"_account_id":7128,"name":"Mark Vanderwiel","email":"vanderwl@us.ibm.com","username":"kramvan"},"change_message_id":"aa6b62d520ab0aec1c37f8bdd33c025c865be662","unresolved":false,"context_lines":[{"line_number":103,"context_line":"`Translations \u003chttps://wiki.openstack.org/wiki/Translations\u003e`_ in the"},{"line_number":104,"context_line":"OpenStack wiki to learn more about this process."},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"Use either ``gettext`` or ``ngettext``:"},{"line_number":107,"context_line":"::"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"  gettext(\u0027text to be translated\u0027);"}],"source_content_type":"text/x-rst","patch_set":7,"id":"fa32b979_8f1ef35d","line":106,"updated":"2015-06-26 17:16:35.000000000","message":"Why use one vs the other?","commit_id":"728567c816845d93d5e20e41a9efb524bdbac2e7"},{"author":{"_account_id":7128,"name":"Mark Vanderwiel","email":"vanderwl@us.ibm.com","username":"kramvan"},"change_message_id":"aa6b62d520ab0aec1c37f8bdd33c025c865be662","unresolved":false,"context_lines":[{"line_number":138,"context_line":"files to one of the dashboards in ``openstack_dashboard/enabled/``."},{"line_number":139,"context_line":"An example can be found at ``openstack_dashboard/enabled/_10_project.py``:"},{"line_number":140,"context_line":"::"},{"line_number":141,"context_line":"  "},{"line_number":142,"context_line":"  LAUNCH_INST \u003d \u0027dashboard/launch-instance/\u0027"},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"  ADD_JS_FILES \u003d ["}],"source_content_type":"text/x-rst","patch_set":7,"id":"fa32b979_4f39cbd7","line":141,"updated":"2015-06-26 17:16:35.000000000","message":"ws","commit_id":"728567c816845d93d5e20e41a9efb524bdbac2e7"},{"author":{"_account_id":7128,"name":"Mark Vanderwiel","email":"vanderwl@us.ibm.com","username":"kramvan"},"change_message_id":"aa6b62d520ab0aec1c37f8bdd33c025c865be662","unresolved":false,"context_lines":[{"line_number":157,"context_line":"    LAUNCH_INST + \u0027source/source.spec.js\u0027,"},{"line_number":158,"context_line":"    LAUNCH_INST + \u0027flavor/flavor.spec.js\u0027,"},{"line_number":159,"context_line":"    ..."},{"line_number":160,"context_line":"  ] "},{"line_number":161,"context_line":""},{"line_number":162,"context_line":"Plugins"},{"line_number":163,"context_line":"-------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"fa32b979_6fab6fd7","line":160,"updated":"2015-06-26 17:16:35.000000000","message":"ws","commit_id":"728567c816845d93d5e20e41a9efb524bdbac2e7"},{"author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"change_message_id":"af9d692a2d3a80db64947f5b6e3de6f0b58cc141","unresolved":false,"context_lines":[{"line_number":12,"context_line":"Getting Started"},{"line_number":13,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"The tooling for AngularJS testing and code linting relies on npm, the"},{"line_number":16,"context_line":"node package manager, and thus relies on Node.js. While it is not a"},{"line_number":17,"context_line":"prerequisite to developing with Horizon, it is advisable to install Node.js,"},{"line_number":18,"context_line":"either through `downloading \u003chttps://nodejs.org/download/\u003e`_ or"}],"source_content_type":"text/x-rst","patch_set":9,"id":"ba3cc151_22ccae88","line":15,"updated":"2015-06-29 17:30:54.000000000","message":"this is not precisely true for testing.","commit_id":"8d2792f19f324510dbe1c8083861093a9cdd7524"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"138760dd6ada3beb5a2c1b677273490ff6507ac9","unresolved":false,"context_lines":[{"line_number":64,"context_line":"When adding code to horizon, consider whether it is panel-specific or should be"},{"line_number":65,"context_line":"broken out as a reusable utility or widget."},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"Panel-specific code is in ``openstack_dashboard/static/dashboard/``."},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"The modal directive is a good example of the file structure. This is a reusable"},{"line_number":70,"context_line":"component:"}],"source_content_type":"text/x-rst","patch_set":9,"id":"ba3cc151_bc4ea5bf","line":67,"updated":"2015-06-29 17:04:08.000000000","message":"should go after the modal directive example since they are related. there i a bit of a break in flow here.","commit_id":"8d2792f19f324510dbe1c8083861093a9cdd7524"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"64c55705d4c8da088c5db6a401e0b95497720118","unresolved":false,"context_lines":[{"line_number":72,"context_line":""},{"line_number":73,"context_line":"  horizon/static/framework/widgets/modal/"},{"line_number":74,"context_line":"  ├── modal.controller.js"},{"line_number":75,"context_line":"  ├── modal.factory.js"},{"line_number":76,"context_line":"  ├── modal.module.js"},{"line_number":77,"context_line":"  ├── modal.spec.js"},{"line_number":78,"context_line":"  └── simple-modal.html"}],"source_content_type":"text/x-rst","patch_set":9,"id":"ba3cc151_c3aaa170","line":75,"updated":"2015-06-29 19:49:23.000000000","message":"Urgh... We should not be using .factory.js    Please see the discussion here:\n\nhttps://review.openstack.org/#/c/195660/\n\nI\u0027ll upload a follow on patch to correct this.","commit_id":"8d2792f19f324510dbe1c8083861093a9cdd7524"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"c1064ea3d89fe785d6e511c1b7dc1a1205741a7e","unresolved":false,"context_lines":[{"line_number":72,"context_line":""},{"line_number":73,"context_line":"  horizon/static/framework/widgets/modal/"},{"line_number":74,"context_line":"  ├── modal.controller.js"},{"line_number":75,"context_line":"  ├── modal.factory.js"},{"line_number":76,"context_line":"  ├── modal.module.js"},{"line_number":77,"context_line":"  ├── modal.spec.js"},{"line_number":78,"context_line":"  └── simple-modal.html"}],"source_content_type":"text/x-rst","patch_set":9,"id":"ba3cc151_66ee438d","line":75,"in_reply_to":"ba3cc151_c3aaa170","updated":"2015-06-29 20:14:31.000000000","message":"See: https://review.openstack.org/#/c/196836/","commit_id":"8d2792f19f324510dbe1c8083861093a9cdd7524"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"138760dd6ada3beb5a2c1b677273490ff6507ac9","unresolved":false,"context_lines":[{"line_number":85,"context_line":"Testing"},{"line_number":86,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"1. Open \u003cdev_server_ip\u003e/jasmine in a browser. The development server can be run"},{"line_number":89,"context_line":"   with``./run_tests.sh --runserver`` from the horizon root directory."},{"line_number":90,"context_line":"2. ``npm run test`` from the horizon root directory."},{"line_number":91,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"ba3cc151_1c00f133","line":88,"updated":"2015-06-29 17:04:08.000000000","message":"ip and port?","commit_id":"8d2792f19f324510dbe1c8083861093a9cdd7524"},{"author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"change_message_id":"af9d692a2d3a80db64947f5b6e3de6f0b58cc141","unresolved":false,"context_lines":[{"line_number":85,"context_line":"Testing"},{"line_number":86,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"1. Open \u003cdev_server_ip\u003e/jasmine in a browser. The development server can be run"},{"line_number":89,"context_line":"   with``./run_tests.sh --runserver`` from the horizon root directory."},{"line_number":90,"context_line":"2. ``npm run test`` from the horizon root directory."},{"line_number":91,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"ba3cc151_62b5d6cb","line":88,"in_reply_to":"ba3cc151_1c00f133","updated":"2015-06-29 17:30:54.000000000","message":"+1","commit_id":"8d2792f19f324510dbe1c8083861093a9cdd7524"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"64c55705d4c8da088c5db6a401e0b95497720118","unresolved":false,"context_lines":[{"line_number":87,"context_line":""},{"line_number":88,"context_line":"1. Open \u003cdev_server_ip\u003e/jasmine in a browser. The development server can be run"},{"line_number":89,"context_line":"   with``./run_tests.sh --runserver`` from the horizon root directory."},{"line_number":90,"context_line":"2. ``npm run test`` from the horizon root directory."},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"For more detailed information, see :doc:`javascript_testing`."},{"line_number":93,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"ba3cc151_a3dbdd1a","line":90,"updated":"2015-06-29 19:49:23.000000000","message":"Soon need to add npm run lint","commit_id":"8d2792f19f324510dbe1c8083861093a9cdd7524"},{"author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"change_message_id":"af9d692a2d3a80db64947f5b6e3de6f0b58cc141","unresolved":false,"context_lines":[{"line_number":108,"context_line":"::"},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"  gettext(\u0027text to be translated\u0027);"},{"line_number":111,"context_line":"  ngettext(\u0027text to be translated\u0027);"},{"line_number":112,"context_line":""},{"line_number":113,"context_line":"The :ref:`translatability` section contains information about the"},{"line_number":114,"context_line":"pseudo translation tool, and how to make sure your translations are working"}],"source_content_type":"text/x-rst","patch_set":9,"id":"ba3cc151_c22062fa","line":111,"updated":"2015-06-29 17:30:54.000000000","message":"this is incorrect and should have the plural form as the second parameter.","commit_id":"8d2792f19f324510dbe1c8083861093a9cdd7524"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"64c55705d4c8da088c5db6a401e0b95497720118","unresolved":false,"context_lines":[{"line_number":177,"context_line":"    ..."},{"line_number":178,"context_line":"    \u0027path_to/my_angular_code.spec.js\u0027,"},{"line_number":179,"context_line":"    ..."},{"line_number":180,"context_line":"  ]"}],"source_content_type":"text/x-rst","patch_set":9,"id":"ba3cc151_8317b9a2","line":180,"updated":"2015-06-29 19:49:23.000000000","message":"ADD_SCSS _FILES is documented somewhere. Might want to add a reference to it.","commit_id":"8d2792f19f324510dbe1c8083861093a9cdd7524"}],"doc/source/topics/jasmine.rst":[{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"c35c7a65e97edb069478b3b2248928080c761781","unresolved":false,"context_lines":[{"line_number":36,"context_line":"File tree:"},{"line_number":37,"context_line":"::"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"  horizon/horizon/static/angular/form"},{"line_number":40,"context_line":"  ├── form.js"},{"line_number":41,"context_line":"  └── form.spec.js"},{"line_number":42,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a0c5dc1_bd00b3ab","line":39,"updated":"2015-05-12 18:10:17.000000000","message":"Again here I\u0027d lose the leading horizon/","commit_id":"543a0aa55d71ee6f5c7b0296902aefb750868cca"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"39f6aa02b037132ea28e219a021e00f49df3e742","unresolved":false,"context_lines":[{"line_number":36,"context_line":"File tree:"},{"line_number":37,"context_line":"::"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"  horizon/horizon/static/angular/form"},{"line_number":40,"context_line":"  ├── form.js"},{"line_number":41,"context_line":"  └── form.spec.js"},{"line_number":42,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a0c5dc1_720c9394","line":39,"in_reply_to":"9a0c5dc1_bd00b3ab","updated":"2015-05-13 08:00:08.000000000","message":"Done","commit_id":"543a0aa55d71ee6f5c7b0296902aefb750868cca"},{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"96f54650bf4b0ee827ebc3f39c3bb250d3c2d96f","unresolved":false,"context_lines":[{"line_number":6,"context_line":"``horizon/test/jasmine/jasmine_tests.py``."},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"Dashboard tests are included in"},{"line_number":9,"context_line":"``openstack_dashboard/test/jasmine/jasmine_tests.py``."},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Add your test spec to the ``specs`` array, code sources to the"},{"line_number":12,"context_line":"``dashboard_sources`` array, and any templates to the ``externalTemplates``"}],"source_content_type":"text/x-rst","patch_set":3,"id":"9a0c5dc1_a06e192d","line":9,"updated":"2015-05-13 18:52:44.000000000","message":"Actually...geez, someone pointed this out.  We don\u0027t use this file at all.  Apparently we only use _10_project.py.  I have a patch in to obliterate this file.  (only the dashboard one)","commit_id":"1b98f06b5f115a42056ae7c7a66091aaba9a7c6b"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"bd0275e28eecb72eda9b1c55b937a3918fba75c3","unresolved":false,"context_lines":[{"line_number":6,"context_line":"``horizon/test/jasmine/jasmine_tests.py``."},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"Dashboard tests are included in"},{"line_number":9,"context_line":"``openstack_dashboard/test/jasmine/jasmine_tests.py``."},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Add your test spec to the ``specs`` array, code sources to the"},{"line_number":12,"context_line":"``dashboard_sources`` array, and any templates to the ``externalTemplates``"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a016987_6651a362","line":9,"in_reply_to":"9a0c5dc1_a06e192d","updated":"2015-05-19 16:05:11.000000000","message":"Oh, interesting, I\u0027ll remove this line. Thanks Matt.","commit_id":"1b98f06b5f115a42056ae7c7a66091aaba9a7c6b"},{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"962a9b40bcaca152a6447ae34fde3ac2cbfbaa6b","unresolved":false,"context_lines":[{"line_number":24,"context_line":"    block with one or more expectations (``expect``) that test the state of"},{"line_number":25,"context_line":"    the code. An expectation in Jasmine is an assertion that is either true or"},{"line_number":26,"context_line":"    false; every expectation in a spec must be true for the spec to pass."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"Examples"},{"line_number":29,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":30,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"9a0c5dc1_fbe052fc","line":27,"updated":"2015-05-13 13:21:05.000000000","message":"Should we talk about how to view the Jasmine tests in debug mode, by going to \u003cyour host:port\u003e/jasmine ?","commit_id":"1b98f06b5f115a42056ae7c7a66091aaba9a7c6b"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"9c3853e5418f23f2e51b041d61c66b1e9716b8ef","unresolved":false,"context_lines":[{"line_number":24,"context_line":"    block with one or more expectations (``expect``) that test the state of"},{"line_number":25,"context_line":"    the code. An expectation in Jasmine is an assertion that is either true or"},{"line_number":26,"context_line":"    false; every expectation in a spec must be true for the spec to pass."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"Examples"},{"line_number":29,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":30,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a016987_cb3e948b","line":27,"in_reply_to":"9a0c5dc1_67cde05c","updated":"2015-05-19 23:13:05.000000000","message":"+1 to that","commit_id":"1b98f06b5f115a42056ae7c7a66091aaba9a7c6b"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"f17a4c356b3dcc36348b4b931a27e4f43e8b1f6d","unresolved":false,"context_lines":[{"line_number":24,"context_line":"    block with one or more expectations (``expect``) that test the state of"},{"line_number":25,"context_line":"    the code. An expectation in Jasmine is an assertion that is either true or"},{"line_number":26,"context_line":"    false; every expectation in a spec must be true for the spec to pass."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"Examples"},{"line_number":29,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":30,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"9a0c5dc1_67cde05c","line":27,"in_reply_to":"9a0c5dc1_fbe052fc","updated":"2015-05-13 16:06:03.000000000","message":"Good shout. I actually have this in the angular part, but not in this page. Will change that.","commit_id":"1b98f06b5f115a42056ae7c7a66091aaba9a7c6b"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"9c3853e5418f23f2e51b041d61c66b1e9716b8ef","unresolved":false,"context_lines":[{"line_number":28,"context_line":"Examples"},{"line_number":29,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"The code below is just for example purposes, and may not be current in horizon."},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"Example 1"},{"line_number":34,"context_line":"---------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a016987_2b5408c8","line":31,"updated":"2015-05-19 23:13:05.000000000","message":"i think this is a good start, we need to add different examples for a controller, directive, and service. just to give people a better point of reference when writing their tests.","commit_id":"1b98f06b5f115a42056ae7c7a66091aaba9a7c6b"},{"author":{"_account_id":15209,"name":"Lucas Xu","email":"hanxu@redhat.com","username":"xuh"},"change_message_id":"a1c3fa8c273522a3afc284075f4181fbe423c5dc","unresolved":false,"context_lines":[{"line_number":28,"context_line":"Examples"},{"line_number":29,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"The code below is just for example purposes, and may not be current in horizon."},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"Example 1"},{"line_number":34,"context_line":"---------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a016987_0b8bcf69","line":31,"updated":"2015-05-27 17:18:24.000000000","message":"think that if following example code is not in horizon, then there is no point to list them here in this specific page. People here are seeking info related to horizon and jasmine, even this is a really good example.","commit_id":"1b98f06b5f115a42056ae7c7a66091aaba9a7c6b"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"d03942f41f7041cd7cd9535fa5e73d28aaf3fc23","unresolved":false,"context_lines":[{"line_number":28,"context_line":"Examples"},{"line_number":29,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"The code below is just for example purposes, and may not be current in horizon."},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"Example 1"},{"line_number":34,"context_line":"---------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a016987_56460e22","line":31,"in_reply_to":"7a016987_0b8bcf69","updated":"2015-05-27 17:42:18.000000000","message":"It\u0027s really just a safety clause. These examples will be relevant and functional, but searching the entire block in current master may fail, for example, as the code may change slightly. They are still useful for that reason.","commit_id":"1b98f06b5f115a42056ae7c7a66091aaba9a7c6b"},{"author":{"_account_id":15209,"name":"Lucas Xu","email":"hanxu@redhat.com","username":"xuh"},"change_message_id":"499b4e71142e31862718e61d4cfd11ed3d6b4b61","unresolved":false,"context_lines":[{"line_number":28,"context_line":"Examples"},{"line_number":29,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"The code below is just for example purposes, and may not be current in horizon."},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"Example 1"},{"line_number":34,"context_line":"---------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a016987_161bf6cb","line":31,"in_reply_to":"7a016987_56460e22","updated":"2015-05-27 17:56:12.000000000","message":"Thanks for explaining and that makes sense.","commit_id":"1b98f06b5f115a42056ae7c7a66091aaba9a7c6b"}],"doc/source/topics/javascript_testing.rst":[{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"020ef66604b51a6baf5aa084eef14a785079f077","unresolved":false,"context_lines":[{"line_number":6,"context_line":"  * **Jasmine** is our testing framework, so this defines the syntax and file"},{"line_number":7,"context_line":"    structure we use to test our JavaScript."},{"line_number":8,"context_line":"  * **Karma** is our test runner. Amongst other things, this lets us run the"},{"line_number":9,"context_line":"    tests against multiple browsers and generate test coverage reports."},{"line_number":10,"context_line":"  * **PhantomJS** provides a headless WebKit (the browser engine). This gives us"},{"line_number":11,"context_line":"    native support for many web features without relying on specific browsers"},{"line_number":12,"context_line":"    being installed."}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa32b979_0e489386","line":9,"updated":"2015-06-15 19:54:21.000000000","message":"do we need to mention jasmine spec runner here? since you are referring to step 1 below.","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"da099f56546f93667696aa1e26fd2230c46d7bf4","unresolved":false,"context_lines":[{"line_number":21,"context_line":"     only runs the tests against the current browser."},{"line_number":22,"context_line":"  2. ``./run_tests.sh -k`` from the horizon root directory. This runs Karma,"},{"line_number":23,"context_line":"     so it will run all the tests against PhantomJS and generate coverage"},{"line_number":24,"context_line":"     reports."},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"Writing Tests"},{"line_number":27,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa32b979_f19bc4c7","line":24,"updated":"2015-06-16 04:07:11.000000000","message":"As Travis mentioned in other places, we should promote \"npm run test\" instead of run_tests.sh.","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"18ac5627551c0252597b999c72c44e8af93aeb4f","unresolved":false,"context_lines":[{"line_number":22,"context_line":"  2. ``./run_tests.sh -k`` from the horizon root directory. This runs Karma,"},{"line_number":23,"context_line":"     so it will run all the tests against PhantomJS and generate coverage"},{"line_number":24,"context_line":"     reports."},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"Writing Tests"},{"line_number":27,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":28,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa32b979_ebcaf66d","line":25,"updated":"2015-06-16 00:42:14.000000000","message":"Karma can also be run continuously either as a service or within pycharms.  Below are some instructions for getting it to run in pycharm from a something Tyr sent out awhile ago.  They might be slighlty out of date.\n\ncd \u003cyour horizon source directory\u003e/\n\nnpm install (This loads the node modules needed by karma, specified in package.json)\n\nbower install (This loads the third party library dependencies used by code that is being tested)\n\nCommand line\n\nkarma start (This runs the Horizon karma tests from the command line.)\n\nChrome\n\nSettings --\u003e Extensions --\u003e Get more extensions...\n\nInstall JetBrains IDE Support (This allows PyCharm to communicate with Chrome that is running the Karma tests)\n\nSettings --\u003e Extensions  --\u003e JetBrains IDE Support --\u003e Options\nPort: 63342\n\nPyCharm\n\nPreferences --\u003e Plugins\n\nAdd AngularJS, NodeJS, and Karma\n\nPreferences --\u003e Languagees \u0026 Frameworks --\u003e JavaScript --\u003e Libraries\n\nAdd angularjs and jasmine\n\nEdit Configurations... (pulldown in top right of PyCharm)\n\nName: Karma Horizon\n\nConfiguration file: \u003cyour path to horizon\u003e/karma.conf.js\n\nKarma package: \u003cyour path to horizon\u003e/node_modules/karma\n\nOK\n\nEdit Configurations... (pulldown in top right of PyCharm)\n\nName: Karma Dashboard\n\nConfiguration file: \u003cyour path to horizon\u003e/karma-dashboard.conf.js\n\nKarma package: \u003cyour path to horizon\u003e/node_modules/karma\n\nOK\n\nNow you can run (and debug, and run coverage reports) using PyCharm.\n\n! IMPORTANT note for debugging Karma tests !\n\n Have Chrome running BEFORE debugging a test using PyCharm.  PyCharm loads a version of Chrome that does NOT have the JetBrains IDE support plugin enabled and your tests won\u0027t debug correctly.\nToggle \"Auto-Test\"   in the PyCharm Test Run tab to have PyCharm automatically re-run the Karma tests as you code, in real-time...SO AWESOME!","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"c93220df4a674beda2af666bb5a404b3ec3268a4","unresolved":false,"context_lines":[{"line_number":22,"context_line":"  2. ``./run_tests.sh -k`` from the horizon root directory. This runs Karma,"},{"line_number":23,"context_line":"     so it will run all the tests against PhantomJS and generate coverage"},{"line_number":24,"context_line":"     reports."},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"Writing Tests"},{"line_number":27,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":28,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa32b979_ae0f5c2d","line":25,"in_reply_to":"fa32b979_ebcaf66d","updated":"2015-06-19 13:47:04.000000000","message":"I\u0027m rather somebody else extended this for PyCharm if possible, as I don\u0027t use IDEs and thus can\u0027t verify this.","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"020ef66604b51a6baf5aa084eef14a785079f077","unresolved":false,"context_lines":[{"line_number":43,"context_line":"``horizon/test/jasmine/jasmine_tests.py``."},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"Add your test to the ``specs`` array, code sources to the ``dashboard_sources``"},{"line_number":46,"context_line":"array, and any templates to the ``externalTemplates`` array. Horizon tests"},{"line_number":47,"context_line":"cover reusable components, as well as api functionality, whilst dashboard"},{"line_number":48,"context_line":"tests cover specific panels and their logic. The tests themselves are kept in"},{"line_number":49,"context_line":"the same directory as the implementation they are testing."}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa32b979_4e99bb1e","line":46,"updated":"2015-06-15 19:54:21.000000000","message":"This might be changing soon with Sean\u0027s auto discovery patch.","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"18ac5627551c0252597b999c72c44e8af93aeb4f","unresolved":false,"context_lines":[{"line_number":43,"context_line":"``horizon/test/jasmine/jasmine_tests.py``."},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"Add your test to the ``specs`` array, code sources to the ``dashboard_sources``"},{"line_number":46,"context_line":"array, and any templates to the ``externalTemplates`` array. Horizon tests"},{"line_number":47,"context_line":"cover reusable components, as well as api functionality, whilst dashboard"},{"line_number":48,"context_line":"tests cover specific panels and their logic. The tests themselves are kept in"},{"line_number":49,"context_line":"the same directory as the implementation they are testing."}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa32b979_eb919653","line":46,"in_reply_to":"fa32b979_4e99bb1e","updated":"2015-06-16 00:42:14.000000000","message":"+1 ... here\u0027s hoping.","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"020ef66604b51a6baf5aa084eef14a785079f077","unresolved":false,"context_lines":[{"line_number":54,"context_line":"Dashboard tests are included in the relevant dashboard enabled file, such as"},{"line_number":55,"context_line":"``openstack_dashboard/enabled/_10_project.py``."},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"Add your tests to the ``ADD_JS_SPEC_FILES`` array."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"Examples"},{"line_number":60,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa32b979_0ea3b350","line":57,"updated":"2015-06-15 19:54:21.000000000","message":"same here.","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"020ef66604b51a6baf5aa084eef14a785079f077","unresolved":false,"context_lines":[{"line_number":187,"context_line":"    ..."},{"line_number":188,"context_line":"  ]"},{"line_number":189,"context_line":""},{"line_number":190,"context_line":"``network.spec.js``:"},{"line_number":191,"context_line":"::"},{"line_number":192,"context_line":""},{"line_number":193,"context_line":"  ..."}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa32b979_ee6d2f05","line":190,"updated":"2015-06-15 19:54:21.000000000","message":"since we are splitting files into .controller .directive .module .spec .service etc... it might make more sense to show an example of each.","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"c93220df4a674beda2af666bb5a404b3ec3268a4","unresolved":false,"context_lines":[{"line_number":187,"context_line":"    ..."},{"line_number":188,"context_line":"  ]"},{"line_number":189,"context_line":""},{"line_number":190,"context_line":"``network.spec.js``:"},{"line_number":191,"context_line":"::"},{"line_number":192,"context_line":""},{"line_number":193,"context_line":"  ..."}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa32b979_ce1e605f","line":190,"in_reply_to":"fa32b979_ee6d2f05","updated":"2015-06-19 13:47:04.000000000","message":"Sure,I\u0027ll extend.","commit_id":"8fbac0dea7d2593e478a18921789a54665775604"},{"author":{"_account_id":7128,"name":"Mark Vanderwiel","email":"vanderwl@us.ibm.com","username":"kramvan"},"change_message_id":"aa6b62d520ab0aec1c37f8bdd33c025c865be662","unresolved":false,"context_lines":[{"line_number":6,"context_line":"  * `Jasmine`_ is our testing framework, so this defines the syntax and file"},{"line_number":7,"context_line":"    structure we use to test our JavaScript."},{"line_number":8,"context_line":"  * `Karma`_ is our test runner. Amongst other things, this lets us run the"},{"line_number":9,"context_line":"    tests against multiple browsers and generate test coverage reports."},{"line_number":10,"context_line":"    Alternatively, tests can be run inside the browser with the Jasmine spec"},{"line_number":11,"context_line":"    runner."},{"line_number":12,"context_line":"  * `PhantomJS`_ provides a headless WebKit (the browser engine). This gives us"}],"source_content_type":"text/x-rst","patch_set":7,"id":"fa32b979_6f6e0f98","line":9,"updated":"2015-06-26 17:16:35.000000000","message":"New code should have xxx% of coverage?","commit_id":"728567c816845d93d5e20e41a9efb524bdbac2e7"},{"author":{"_account_id":7128,"name":"Mark Vanderwiel","email":"vanderwl@us.ibm.com","username":"kramvan"},"change_message_id":"aa6b62d520ab0aec1c37f8bdd33c025c865be662","unresolved":false,"context_lines":[{"line_number":30,"context_line":""},{"line_number":31,"context_line":"Tests can be run in two ways:"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"  1. Open \u003cdev_server_ip\u003e/jasmine in a browser. The development server can be "},{"line_number":34,"context_line":"     run with ``./run_tests.sh --runserver`` from the horizon root directory."},{"line_number":35,"context_line":"  2. ``npm run test`` from the horizon root directory. This runs Karma,"},{"line_number":36,"context_line":"     so it will run all the tests against PhantomJS and generate coverage"}],"source_content_type":"text/x-rst","patch_set":7,"id":"fa32b979_0f6bc386","line":33,"updated":"2015-06-26 17:16:35.000000000","message":"ws","commit_id":"728567c816845d93d5e20e41a9efb524bdbac2e7"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"138760dd6ada3beb5a2c1b677273490ff6507ac9","unresolved":false,"context_lines":[{"line_number":30,"context_line":""},{"line_number":31,"context_line":"Tests can be run in two ways:"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"  1. Open \u003cdev_server_ip\u003e/jasmine in a browser. The development server can be"},{"line_number":34,"context_line":"     run with ``./run_tests.sh --runserver`` from the horizon root directory."},{"line_number":35,"context_line":"  2. ``npm run test`` from the horizon root directory. This runs Karma,"},{"line_number":36,"context_line":"     so it will run all the tests against PhantomJS and generate coverage"}],"source_content_type":"text/x-rst","patch_set":9,"id":"ba3cc151_3fab678b","line":33,"updated":"2015-06-29 17:04:08.000000000","message":"ip and port? might be ok to use localhost:9000, i think david mentioned somewhere that this is our standard setup.","commit_id":"8d2792f19f324510dbe1c8083861093a9cdd7524"},{"author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"change_message_id":"af9d692a2d3a80db64947f5b6e3de6f0b58cc141","unresolved":false,"context_lines":[{"line_number":30,"context_line":""},{"line_number":31,"context_line":"Tests can be run in two ways:"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"  1. Open \u003cdev_server_ip\u003e/jasmine in a browser. The development server can be"},{"line_number":34,"context_line":"     run with ``./run_tests.sh --runserver`` from the horizon root directory."},{"line_number":35,"context_line":"  2. ``npm run test`` from the horizon root directory. This runs Karma,"},{"line_number":36,"context_line":"     so it will run all the tests against PhantomJS and generate coverage"}],"source_content_type":"text/x-rst","patch_set":9,"id":"ba3cc151_0255ea4e","line":33,"in_reply_to":"ba3cc151_3fab678b","updated":"2015-06-29 17:30:54.000000000","message":"+1","commit_id":"8d2792f19f324510dbe1c8083861093a9cdd7524"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"64c55705d4c8da088c5db6a401e0b95497720118","unresolved":false,"context_lines":[{"line_number":104,"context_line":""},{"line_number":105,"context_line":"  horizon/static/framework/widgets/modal"},{"line_number":106,"context_line":"  ├── modal.controller.js"},{"line_number":107,"context_line":"  ├── modal.factory.js"},{"line_number":108,"context_line":"  ├── modal.module.js"},{"line_number":109,"context_line":"  └── modal.spec.js"},{"line_number":110,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"ba3cc151_0352c967","line":107,"updated":"2015-06-29 19:49:23.000000000","message":"Same comment here.  Should be .service and not .factory.","commit_id":"8d2792f19f324510dbe1c8083861093a9cdd7524"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"64c55705d4c8da088c5db6a401e0b95497720118","unresolved":false,"context_lines":[{"line_number":116,"context_line":"      ..."},{"line_number":117,"context_line":"      \u0027framework/widgets/modal/modal.module.js\u0027,"},{"line_number":118,"context_line":"      \u0027framework/widgets/modal/modal.controller.js\u0027,"},{"line_number":119,"context_line":"      \u0027framework/widgets/modal/modal.factory.js\u0027,"},{"line_number":120,"context_line":"      ..."},{"line_number":121,"context_line":"    ]"},{"line_number":122,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"ba3cc151_63c71513","line":119,"updated":"2015-06-29 19:49:23.000000000","message":"Need to fix...","commit_id":"8d2792f19f324510dbe1c8083861093a9cdd7524"}]}
