)]}'
{"doc/source/index.rst":[{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"242bd69342882a480bf03aa3d820730214dde21f","unresolved":false,"context_lines":[{"line_number":65,"context_line":"   plugins"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"AngularJS"},{"line_number":68,"context_line":"---------"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"Information on how to get started with AngularJS in Horizon."},{"line_number":71,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a26ad4f_aeeceb8f","line":68,"updated":"2015-10-30 03:08:33.000000000","message":"ops... this section is wrong, ignore it for now....","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"}],"doc/source/releases/2012_2.rst":[{"author":{"_account_id":9981,"name":"Doug Fish","email":"drfish@us.ibm.com","username":"doug-fish"},"change_message_id":"e59e28e6ef51adc8112e8a6814b5e8885978e065","unresolved":false,"context_lines":[{"line_number":63,"context_line":"  internationalizing, localizing and translating OpenStack projects"},{"line_number":64,"context_line":"  is now available."},{"line_number":65,"context_line":""},{"line_number":66,"context_line":".. _creating a dashboard: http://docs.openstack.org/developer/horizon/topics/tutorial.html#creating-a-dashboard"},{"line_number":67,"context_line":".. _creating a panel: http://docs.openstack.org/developer/horizon/topics/tutorial.html#creating-a-panel"},{"line_number":68,"context_line":".. _thorough set of documentation: http://wiki.openstack.org/Translations"},{"line_number":69,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"ba8a016a_1cf081fd","side":"PARENT","line":66,"updated":"2015-11-18 18:55:27.000000000","message":"I don\u0027t think we want to try to keep old release notes up to date with the current release!","commit_id":"3b7dbea126968cb340acbd2af29095ac1ca505d4"},{"author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"change_message_id":"c538931a8f1816cecc609c6f7692cb92cdd32256","unresolved":false,"context_lines":[{"line_number":63,"context_line":"  internationalizing, localizing and translating OpenStack projects"},{"line_number":64,"context_line":"  is now available."},{"line_number":65,"context_line":""},{"line_number":66,"context_line":".. _creating a dashboard: http://docs.openstack.org/developer/horizon/topics/tutorial.html#creating-a-dashboard"},{"line_number":67,"context_line":".. _creating a panel: http://docs.openstack.org/developer/horizon/topics/tutorial.html#creating-a-panel"},{"line_number":68,"context_line":".. _thorough set of documentation: http://wiki.openstack.org/Translations"},{"line_number":69,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"9a8ffd7b_25ffa135","side":"PARENT","line":66,"in_reply_to":"ba8a016a_1cf081fd","updated":"2015-11-25 23:24:36.000000000","message":"Done","commit_id":"3b7dbea126968cb340acbd2af29095ac1ca505d4"}],"doc/source/topics/angular_module.rst":[{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"df9674591fac2148523d7e6a833d7b6eb28b9615","unresolved":false,"context_lines":[{"line_number":2,"context_line":"Angular module"},{"line_number":3,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"An angular panel is really just a python panel with angular code doing the rendering. To create an angular panel, we will create a python panel with a view that points to some angular content. Remember that angular is a javascript framework that does all of its work in the browser. As such, we must include any angular files in the static folder."},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"-static/"},{"line_number":8,"context_line":" |-dashboards/"}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a2ca52d_87df3239","line":5,"updated":"2015-10-16 21:00:47.000000000","message":"I think angular, python and javascript should all be capitalised properly.","commit_id":"d68fd3806722a2e5eb98809a0453e917f7b76bf8"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"df9674591fac2148523d7e6a833d7b6eb28b9615","unresolved":false,"context_lines":[{"line_number":9,"context_line":"  |-identity/"},{"line_number":10,"context_line":"   |-my_panel/"},{"line_number":11,"context_line":"    |-my_panel.module.js"},{"line_number":12,"context_line":"    |-my_panel.module.spec.js"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"[—module code—]"},{"line_number":15,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a2ca52d_e7f066cb","line":12,"updated":"2015-10-16 21:00:47.000000000","message":"If you use the output from `tree` you can get a nicer layout. I think there was one in the angular or js_testing topic guide I started a while back?","commit_id":"d68fd3806722a2e5eb98809a0453e917f7b76bf8"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"df9674591fac2148523d7e6a833d7b6eb28b9615","unresolved":false,"context_lines":[{"line_number":13,"context_line":""},{"line_number":14,"context_line":"[—module code—]"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"It is important that you compartmentalize your code and create a tests for them. This makes it easier for you to unit test your code. Refer to [link] on how to properly test your code."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Why do we need a module file? This allows us to logically separate our plugin logic and create a namespace for it. Now the rest of our angular code will live inside of this module so it will not accidentally override other plugins."}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a2ca52d_a7d6ee25","line":16,"updated":"2015-10-16 21:00:47.000000000","message":"\"a tests\" -\u003e \"tests\"","commit_id":"d68fd3806722a2e5eb98809a0453e917f7b76bf8"}],"doc/source/topics/angular_plugin.rst":[{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"049d571842cfa0abb758695ebd99360b6a12e252","unresolved":false,"context_lines":[{"line_number":14,"context_line":"  |-index.html"},{"line_number":15,"context_line":" |-static/"},{"line_number":16,"context_line":" |-panel.py"},{"line_number":17,"context_line":" |-view.py"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"The enabled folder should contain files that tells horizon how to load your plugin. For more information on what those settings do, refer to [link]."},{"line_number":20,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a2fa921_0e3affcd","line":17,"updated":"2015-10-12 19:04:17.000000000","message":"need to make this prettier, e.g\n\nhttps://github.com/openstack/horizon/blob/master/doc/source/topics/angularjs.rst\n\n  openstack_dashboard/static/app/core/cloud-services/\n  ├── cloud-services.js\n  └── cloud-services.spec.js","commit_id":"c184dcfd5e52df4a095d0d4cdb6e4e09ddad431f"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"049d571842cfa0abb758695ebd99360b6a12e252","unresolved":false,"context_lines":[{"line_number":41,"context_line":"How to create an angular module"},{"line_number":42,"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"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"An angular panel is really just a python panel with angular code doing the rendering. To create an angular panel, we will create a python panel with a view that points to some angular content. Remember that angular is a javascript framework that does all of its work in the browser. As such, we must include any angular files in the static folder."},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"-static/"},{"line_number":47,"context_line":" |-dashboards/"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a2fa921_2ec1fb80","line":44,"updated":"2015-10-12 19:04:17.000000000","message":"Mention AUTO_DISCOVER_STATIC_FILES setting","commit_id":"c184dcfd5e52df4a095d0d4cdb6e4e09ddad431f"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"4aeea6707734cbed6f69187c9c867492daa759ce","unresolved":false,"context_lines":[{"line_number":67,"context_line":"   |-my_panel/"},{"line_number":68,"context_line":"    |-table/"},{"line_number":69,"context_line":"     |-table.controller.js"},{"line_number":70,"context_line":"     |-table.html\t"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"table.html is the view, this is where you define the markup that makes up your table. If you are a web developer, this should look very familiar to you. Populate the content as you see fit. Here we will use the hz-table and st-table directives to help us speed things up. The key thing to note here is that our html references a controller that we are going to define."},{"line_number":73,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a2fa921_55672d25","line":70,"updated":"2015-10-12 16:41:43.000000000","message":"RED","commit_id":"c184dcfd5e52df4a095d0d4cdb6e4e09ddad431f"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"049d571842cfa0abb758695ebd99360b6a12e252","unresolved":false,"context_lines":[{"line_number":69,"context_line":"     |-table.controller.js"},{"line_number":70,"context_line":"     |-table.html\t"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"table.html is the view, this is where you define the markup that makes up your table. If you are a web developer, this should look very familiar to you. Populate the content as you see fit. Here we will use the hz-table and st-table directives to help us speed things up. The key thing to note here is that our html references a controller that we are going to define."},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"[—table.html—]"},{"line_number":75,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a2fa921_6e5cd3ed","line":72,"updated":"2015-10-12 19:04:17.000000000","message":"hz-table and st-table directives (from the horizon framework and external library, respectively)","commit_id":"c184dcfd5e52df4a095d0d4cdb6e4e09ddad431f"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"049d571842cfa0abb758695ebd99360b6a12e252","unresolved":false,"context_lines":[{"line_number":144,"context_line":""},{"line_number":145,"context_line":"my_step.html will contain any content you want to display to the user. It usually contain inputs you want the user to enter for submission. We’ll provide a very simple example of one that asks for your favorite color."},{"line_number":146,"context_line":""},{"line_number":147,"context_line":"\u003cdiv ng-controller\u003d\"horizon.dashboard.identity.users.steps.myStepController\"\u003e"},{"line_number":148,"context_line":"  \u003ch1 translate\u003eBlue Plugin\u003c/h1\u003e"},{"line_number":149,"context_line":"  \u003cdiv class\u003d\"content\"\u003e"},{"line_number":150,"context_line":"    \u003cdiv class\u003d\"subtitle\" translate\u003eMy custom step\u003c/div\u003e"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a2fa921_8ee84f18","line":147,"updated":"2015-10-12 19:04:17.000000000","message":"code format\n\n::\n\n  blah\n  blah","commit_id":"c184dcfd5e52df4a095d0d4cdb6e4e09ddad431f"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"bc90164e73c0e23463545c4be1fd172b5a6a2fd7","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\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":2,"context_line":"Building a Horizon Panel Plugin"},{"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\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":4,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a2ca52d_e5b86777","line":1,"updated":"2015-10-16 19:35:21.000000000","message":"https://github.com/openstack/horizon/blob/master/doc/source/topics/angularjs.rst#plugins - link to tutorial is broken.  It can link to here!! :D","commit_id":"d68fd3806722a2e5eb98809a0453e917f7b76bf8"},{"author":{"_account_id":6650,"name":"Eric Peterson","email":"ejpetey@gmail.com","username":"ericpeterson-l"},"change_message_id":"48595223881d0105dad791817f7e2f9e39c89ccd","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\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":2,"context_line":"Building a Horizon Panel Plugin"},{"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\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"Why should I package my code as a plugin?"},{"line_number":6,"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"},{"line_number":7,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a2ca52d_c78ebc78","line":4,"updated":"2015-10-15 22:24:19.000000000","message":"how does this differ from what exists today with a plugin?","commit_id":"d68fd3806722a2e5eb98809a0453e917f7b76bf8"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"e3455923943740c1333bdf9cea48b7191a91bf33","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\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":2,"context_line":"Building a Horizon Panel Plugin"},{"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\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"Why should I package my code as a plugin?"},{"line_number":6,"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"},{"line_number":7,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a2ca52d_59e34ca4","line":4,"in_reply_to":"5a2ca52d_c78ebc78","updated":"2015-10-16 16:32:57.000000000","message":"It doesn\u0027t. We don\u0027t actually have an official guide for plugins that I am aware of. This tutorial walks you through how to create a plugin as it works today. Then shows you an optional step of creating an angular panel. There will be a different tutorial to show you how to extend angular workflow.","commit_id":"d68fd3806722a2e5eb98809a0453e917f7b76bf8"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"bc90164e73c0e23463545c4be1fd172b5a6a2fd7","unresolved":false,"context_lines":[{"line_number":5,"context_line":"Why should I package my code as a plugin?"},{"line_number":6,"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"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"We highly encourage that you write and maintain your code using our plugin architecture. A plugin by definition means the ability to be connected. In practical terms, this is a contract that gaurantees the continuity of your code. If you write and package your code as a plugin, it will likely continue to work in future releases."},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"Writing your code as a plugin also modularizes your code making it easier to translate and test. This also makes it easier for deployers to consume your code allowing selective enablement of features. The pattern is so good that even we are using it internally for our dashboards."},{"line_number":11,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a2ca52d_2fa87e8c","line":8,"updated":"2015-10-16 19:35:21.000000000","message":"I\u0027d like to see it 2nd part of this rephrased:\n\nWe highly encourage that you write and maintain your code using our plugin architecture. A plugin by definition means the ability to be connected. In practical terms, plugins are a way to extend and add to the functionality that already exists. It is completely independent, so if you write and package your code as a plugin, it will likely continue to work in future releases.","commit_id":"d68fd3806722a2e5eb98809a0453e917f7b76bf8"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"bc90164e73c0e23463545c4be1fd172b5a6a2fd7","unresolved":false,"context_lines":[{"line_number":7,"context_line":""},{"line_number":8,"context_line":"We highly encourage that you write and maintain your code using our plugin architecture. A plugin by definition means the ability to be connected. In practical terms, this is a contract that gaurantees the continuity of your code. If you write and package your code as a plugin, it will likely continue to work in future releases."},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"Writing your code as a plugin also modularizes your code making it easier to translate and test. This also makes it easier for deployers to consume your code allowing selective enablement of features. The pattern is so good that even we are using it internally for our dashboards."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Creating the Plugin"},{"line_number":13,"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":5,"id":"5a2ca52d_2fbddeb6","line":10,"updated":"2015-10-16 19:35:21.000000000","message":"*We are using this pattern internally for our dashboards.\n\ndon\u0027t need the \u0027so good\u0027 -- too cheesy. :D","commit_id":"d68fd3806722a2e5eb98809a0453e917f7b76bf8"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"4abba32b63b6bc72315eb0708baea0f1d9cf973e","unresolved":false,"context_lines":[{"line_number":7,"context_line":""},{"line_number":8,"context_line":"We highly encourage that you write and maintain your code using our plugin architecture. A plugin by definition means the ability to be connected. In practical terms, this is a contract that gaurantees the continuity of your code. If you write and package your code as a plugin, it will likely continue to work in future releases."},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"Writing your code as a plugin also modularizes your code making it easier to translate and test. This also makes it easier for deployers to consume your code allowing selective enablement of features. The pattern is so good that even we are using it internally for our dashboards."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Creating the Plugin"},{"line_number":13,"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":5,"id":"1a26ad4f_e27d1ce8","line":10,"in_reply_to":"5a2ca52d_2fbddeb6","updated":"2015-11-09 18:33:54.000000000","message":"I like cheese.","commit_id":"d68fd3806722a2e5eb98809a0453e917f7b76bf8"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"df9674591fac2148523d7e6a833d7b6eb28b9615","unresolved":false,"context_lines":[{"line_number":25,"context_line":""},{"line_number":26,"context_line":"..  Note ::"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"    Although this tutorial is intended for creating an angular panel plugin, you can use it as a general guide for creating a python plugin."},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"File Structure"},{"line_number":31,"context_line":"--------------"}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a2ca52d_67b3f60a","line":28,"updated":"2015-10-16 21:00:47.000000000","message":"Capitalisation on angular, python etc.","commit_id":"d68fd3806722a2e5eb98809a0453e917f7b76bf8"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"bc90164e73c0e23463545c4be1fd172b5a6a2fd7","unresolved":false,"context_lines":[{"line_number":25,"context_line":""},{"line_number":26,"context_line":"..  Note ::"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"    Although this tutorial is intended for creating an angular panel plugin, you can use it as a general guide for creating a python plugin."},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"File Structure"},{"line_number":31,"context_line":"--------------"}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a2ca52d_052ec342","line":28,"updated":"2015-10-16 19:35:21.000000000","message":"nit: could we just call this file plugin.rst?","commit_id":"d68fd3806722a2e5eb98809a0453e917f7b76bf8"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"4abba32b63b6bc72315eb0708baea0f1d9cf973e","unresolved":false,"context_lines":[{"line_number":25,"context_line":""},{"line_number":26,"context_line":"..  Note ::"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"    Although this tutorial is intended for creating an angular panel plugin, you can use it as a general guide for creating a python plugin."},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"File Structure"},{"line_number":31,"context_line":"--------------"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1a26ad4f_224b14b2","line":28,"in_reply_to":"5a2ca52d_052ec342","updated":"2015-11-09 18:33:54.000000000","message":"Done","commit_id":"d68fd3806722a2e5eb98809a0453e917f7b76bf8"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"4abba32b63b6bc72315eb0708baea0f1d9cf973e","unresolved":false,"context_lines":[{"line_number":25,"context_line":""},{"line_number":26,"context_line":"..  Note ::"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"    Although this tutorial is intended for creating an angular panel plugin, you can use it as a general guide for creating a python plugin."},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"File Structure"},{"line_number":31,"context_line":"--------------"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1a26ad4f_0250585c","line":28,"in_reply_to":"5a2ca52d_67b3f60a","updated":"2015-11-09 18:33:54.000000000","message":"Done","commit_id":"d68fd3806722a2e5eb98809a0453e917f7b76bf8"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"df9674591fac2148523d7e6a833d7b6eb28b9615","unresolved":false,"context_lines":[{"line_number":63,"context_line":"----------------"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"The enabled folder contains a file that registers your plugin to horizon. The file is prefixed with an alpha-numberic string that determines the load order of your plugin. For more information on what you can include in this file, see pluggable settings in :doc:`Settings and Configuration \u003c/topics/settings\u003e`::"},{"line_number":66,"context_line":"  "},{"line_number":67,"context_line":"    # The name of the panel to be added to HORIZON_CONFIG. Required."},{"line_number":68,"context_line":"    PANEL \u003d \u0027myplugin\u0027"},{"line_number":69,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a2ca52d_e7c70662","line":66,"updated":"2015-10-16 21:00:47.000000000","message":"RED\n\nhehehe","commit_id":"d68fd3806722a2e5eb98809a0453e917f7b76bf8"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"4abba32b63b6bc72315eb0708baea0f1d9cf973e","unresolved":false,"context_lines":[{"line_number":63,"context_line":"----------------"},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"The enabled folder contains a file that registers your plugin to horizon. The file is prefixed with an alpha-numberic string that determines the load order of your plugin. For more information on what you can include in this file, see pluggable settings in :doc:`Settings and Configuration \u003c/topics/settings\u003e`::"},{"line_number":66,"context_line":"  "},{"line_number":67,"context_line":"    # The name of the panel to be added to HORIZON_CONFIG. Required."},{"line_number":68,"context_line":"    PANEL \u003d \u0027myplugin\u0027"},{"line_number":69,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1a26ad4f_653ef6b9","line":66,"in_reply_to":"5a2ca52d_e7c70662","updated":"2015-11-09 18:33:54.000000000","message":"Done","commit_id":"d68fd3806722a2e5eb98809a0453e917f7b76bf8"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"bc90164e73c0e23463545c4be1fd172b5a6a2fd7","unresolved":false,"context_lines":[{"line_number":77,"context_line":"    AUTO_DISCOVER_STATIC_FILES \u003d True"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"Panel.py"},{"line_number":80,"context_line":"--------"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"We define a panel where our plugin will reside in. This is currently a neccessity even for angular plugins. The slug is the panel\u0027s unique identifier. Make sure that it matches what you have in your enabled file.::"},{"line_number":83,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a2ca52d_6df51deb","line":80,"updated":"2015-10-16 19:35:21.000000000","message":"lowercase","commit_id":"d68fd3806722a2e5eb98809a0453e917f7b76bf8"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"4abba32b63b6bc72315eb0708baea0f1d9cf973e","unresolved":false,"context_lines":[{"line_number":77,"context_line":"    AUTO_DISCOVER_STATIC_FILES \u003d True"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"Panel.py"},{"line_number":80,"context_line":"--------"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"We define a panel where our plugin will reside in. This is currently a neccessity even for angular plugins. The slug is the panel\u0027s unique identifier. Make sure that it matches what you have in your enabled file.::"},{"line_number":83,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1a26ad4f_054dc26b","line":80,"in_reply_to":"5a2ca52d_6df51deb","updated":"2015-11-09 18:33:54.000000000","message":"Done","commit_id":"d68fd3806722a2e5eb98809a0453e917f7b76bf8"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"bc90164e73c0e23463545c4be1fd172b5a6a2fd7","unresolved":false,"context_lines":[{"line_number":79,"context_line":"Panel.py"},{"line_number":80,"context_line":"--------"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"We define a panel where our plugin will reside in. This is currently a neccessity even for angular plugins. The slug is the panel\u0027s unique identifier. Make sure that it matches what you have in your enabled file.::"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"    from django.utils.translation import ugettext_lazy as _"},{"line_number":85,"context_line":"    import horizon"}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a2ca52d_051a437d","line":82,"updated":"2015-10-16 19:35:21.000000000","message":"\u0027reside in\u0027 sounds like it\u0027s some file directory... should be rephrased.\n\nWe define a panel which is main UI component which we can populate with tabs, tables, graphs, and other content.","commit_id":"d68fd3806722a2e5eb98809a0453e917f7b76bf8"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"4abba32b63b6bc72315eb0708baea0f1d9cf973e","unresolved":false,"context_lines":[{"line_number":79,"context_line":"Panel.py"},{"line_number":80,"context_line":"--------"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"We define a panel where our plugin will reside in. This is currently a neccessity even for angular plugins. The slug is the panel\u0027s unique identifier. Make sure that it matches what you have in your enabled file.::"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"    from django.utils.translation import ugettext_lazy as _"},{"line_number":85,"context_line":"    import horizon"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1a26ad4f_45973a48","line":82,"in_reply_to":"5a2ca52d_051a437d","updated":"2015-11-09 18:33:54.000000000","message":"rephrasing to \u0027 a panel where our plugin\u0027s content will reside in\u0027","commit_id":"d68fd3806722a2e5eb98809a0453e917f7b76bf8"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"bc90164e73c0e23463545c4be1fd172b5a6a2fd7","unresolved":false,"context_lines":[{"line_number":128,"context_line":""},{"line_number":129,"context_line":"    {% block main %}"},{"line_number":130,"context_line":"      Hello world!"},{"line_number":131,"context_line":"    {% endblock %}"},{"line_number":132,"context_line":""},{"line_number":133,"context_line":"There are a few important things to point out."},{"line_number":134,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a2ca52d_16711a0f","line":131,"updated":"2015-10-16 19:35:21.000000000","message":"At this point, you have a very basic plugin - a new panel with a title and \u0027Hello world!\u0027","commit_id":"d68fd3806722a2e5eb98809a0453e917f7b76bf8"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"4abba32b63b6bc72315eb0708baea0f1d9cf973e","unresolved":false,"context_lines":[{"line_number":128,"context_line":""},{"line_number":129,"context_line":"    {% block main %}"},{"line_number":130,"context_line":"      Hello world!"},{"line_number":131,"context_line":"    {% endblock %}"},{"line_number":132,"context_line":""},{"line_number":133,"context_line":"There are a few important things to point out."},{"line_number":134,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1a26ad4f_25eebeec","line":131,"in_reply_to":"5a2ca52d_16711a0f","updated":"2015-11-09 18:33:54.000000000","message":"Done","commit_id":"d68fd3806722a2e5eb98809a0453e917f7b76bf8"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"bc90164e73c0e23463545c4be1fd172b5a6a2fd7","unresolved":false,"context_lines":[{"line_number":140,"context_line":"AngularJS Plugin"},{"line_number":141,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"If you have no plans to add angularJS to your plugin, you may skip this section. In the tutorial below, we will show you how to customize your panel using angular."},{"line_number":144,"context_line":""},{"line_number":145,"context_line":"Index.html"},{"line_number":146,"context_line":"----------"}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a2ca52d_cd3311f5","line":143,"updated":"2015-10-16 19:35:21.000000000","message":"AngularJS*","commit_id":"d68fd3806722a2e5eb98809a0453e917f7b76bf8"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"4abba32b63b6bc72315eb0708baea0f1d9cf973e","unresolved":false,"context_lines":[{"line_number":140,"context_line":"AngularJS Plugin"},{"line_number":141,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"If you have no plans to add angularJS to your plugin, you may skip this section. In the tutorial below, we will show you how to customize your panel using angular."},{"line_number":144,"context_line":""},{"line_number":145,"context_line":"Index.html"},{"line_number":146,"context_line":"----------"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1a26ad4f_656fd692","line":143,"in_reply_to":"5a2ca52d_cd3311f5","updated":"2015-11-09 18:33:54.000000000","message":"Done","commit_id":"d68fd3806722a2e5eb98809a0453e917f7b76bf8"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"df9674591fac2148523d7e6a833d7b6eb28b9615","unresolved":false,"context_lines":[{"line_number":160,"context_line":""},{"line_number":161,"context_line":"    {% block main %}"},{"line_number":162,"context_line":"      \u003cng-include src\u003d\"\u0027{{ STATIC_URL }}dashboard/identity/myplugin/myplugin.html\u0027\"\u003e"},{"line_number":163,"context_line":"      \u003c/ng-include\u003e"},{"line_number":164,"context_line":"    {% endblock %}"},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"This template contains both Django and AngularJS code. Angular is denoted by {$..$} while django is denoted by {{..}} and {%..%}. This template gets processed twice, once by django on the server-side and once more by angular on the client-side."}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a2ca52d_87e972b9","line":163,"updated":"2015-10-16 21:00:47.000000000","message":"This is more of a general question, but when was this pattern of ng-include with an ng-controller decided on? It\u0027s much cleaner to just use a directive to imply the link, IMO, so something like \u003cmyplugin\u003e\u003c/myplugin\u003e","commit_id":"d68fd3806722a2e5eb98809a0453e917f7b76bf8"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"4abba32b63b6bc72315eb0708baea0f1d9cf973e","unresolved":false,"context_lines":[{"line_number":160,"context_line":""},{"line_number":161,"context_line":"    {% block main %}"},{"line_number":162,"context_line":"      \u003cng-include src\u003d\"\u0027{{ STATIC_URL }}dashboard/identity/myplugin/myplugin.html\u0027\"\u003e"},{"line_number":163,"context_line":"      \u003c/ng-include\u003e"},{"line_number":164,"context_line":"    {% endblock %}"},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"This template contains both Django and AngularJS code. Angular is denoted by {$..$} while django is denoted by {{..}} and {%..%}. This template gets processed twice, once by django on the server-side and once more by angular on the client-side."}],"source_content_type":"text/x-rst","patch_set":5,"id":"1a26ad4f_48b2ef95","line":163,"in_reply_to":"5a2ca52d_87e972b9","updated":"2015-11-09 18:33:54.000000000","message":"As mentioned in person, ng-include is temporary until client-side routing kicks in. as for the directive, there are plans to have a table directive that will allow someone to quickly set up a table.","commit_id":"d68fd3806722a2e5eb98809a0453e917f7b76bf8"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"df9674591fac2148523d7e6a833d7b6eb28b9615","unresolved":false,"context_lines":[{"line_number":168,"context_line":"What you chose to include in ``block main`` is entirely up to you. Since you are creating an angular plugin, we recommend that you keep everything in this section angular. Do not mix python code in here! If you find yourself passing in python data, do it via our REST services instead."},{"line_number":169,"context_line":""},{"line_number":170,"context_line":"..  Note ::"},{"line_number":171,"context_line":"  "},{"line_number":172,"context_line":"    Angular\u0027s directives are prefixed with ng. Similarly, Horizon\u0027s directives are prefixed with hz. You can think of them as name spaces."},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"myplugin.js"}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a2ca52d_47d03af6","line":171,"updated":"2015-10-16 21:00:47.000000000","message":"red","commit_id":"d68fd3806722a2e5eb98809a0453e917f7b76bf8"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"4abba32b63b6bc72315eb0708baea0f1d9cf973e","unresolved":false,"context_lines":[{"line_number":168,"context_line":"What you chose to include in ``block main`` is entirely up to you. Since you are creating an angular plugin, we recommend that you keep everything in this section angular. Do not mix python code in here! If you find yourself passing in python data, do it via our REST services instead."},{"line_number":169,"context_line":""},{"line_number":170,"context_line":"..  Note ::"},{"line_number":171,"context_line":"  "},{"line_number":172,"context_line":"    Angular\u0027s directives are prefixed with ng. Similarly, Horizon\u0027s directives are prefixed with hz. You can think of them as name spaces."},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"myplugin.js"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1a26ad4f_a55c0eee","line":171,"in_reply_to":"5a2ca52d_47d03af6","updated":"2015-11-09 18:33:54.000000000","message":"Done","commit_id":"d68fd3806722a2e5eb98809a0453e917f7b76bf8"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"bc90164e73c0e23463545c4be1fd172b5a6a2fd7","unresolved":false,"context_lines":[{"line_number":169,"context_line":""},{"line_number":170,"context_line":"..  Note ::"},{"line_number":171,"context_line":"  "},{"line_number":172,"context_line":"    Angular\u0027s directives are prefixed with ng. Similarly, Horizon\u0027s directives are prefixed with hz. You can think of them as name spaces."},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"myplugin.js"},{"line_number":175,"context_line":"-----------"}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a2ca52d_ad881572","line":172,"updated":"2015-10-16 19:35:21.000000000","message":"*You can think of the prefixes as name spaces.","commit_id":"d68fd3806722a2e5eb98809a0453e917f7b76bf8"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"bc90164e73c0e23463545c4be1fd172b5a6a2fd7","unresolved":false,"context_lines":[{"line_number":183,"context_line":""},{"line_number":184,"context_line":"      angular"},{"line_number":185,"context_line":"        .module(\u0027hz.dashboard.identity.myplugin\u0027, [])"},{"line_number":186,"context_line":"        .controller(\u0027hz.dashboard.identity.myPluginController\u0027, myPluginController);"},{"line_number":187,"context_line":""},{"line_number":188,"context_line":"      myPluginController.$inject \u003d [ \u0027$http\u0027 ];"},{"line_number":189,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a2ca52d_6d5afdf3","line":186,"updated":"2015-10-16 19:35:21.000000000","message":"not hz, but horizon?\n\nhorizon.dashboard.identity.myplugin\u0027","commit_id":"d68fd3806722a2e5eb98809a0453e917f7b76bf8"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"4abba32b63b6bc72315eb0708baea0f1d9cf973e","unresolved":false,"context_lines":[{"line_number":183,"context_line":""},{"line_number":184,"context_line":"      angular"},{"line_number":185,"context_line":"        .module(\u0027hz.dashboard.identity.myplugin\u0027, [])"},{"line_number":186,"context_line":"        .controller(\u0027hz.dashboard.identity.myPluginController\u0027, myPluginController);"},{"line_number":187,"context_line":""},{"line_number":188,"context_line":"      myPluginController.$inject \u003d [ \u0027$http\u0027 ];"},{"line_number":189,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1a26ad4f_883c87e3","line":186,"in_reply_to":"5a2ca52d_6d5afdf3","updated":"2015-11-09 18:33:54.000000000","message":"Done","commit_id":"d68fd3806722a2e5eb98809a0453e917f7b76bf8"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"bc90164e73c0e23463545c4be1fd172b5a6a2fd7","unresolved":false,"context_lines":[{"line_number":185,"context_line":"        .module(\u0027hz.dashboard.identity.myplugin\u0027, [])"},{"line_number":186,"context_line":"        .controller(\u0027hz.dashboard.identity.myPluginController\u0027, myPluginController);"},{"line_number":187,"context_line":""},{"line_number":188,"context_line":"      myPluginController.$inject \u003d [ \u0027$http\u0027 ];"},{"line_number":189,"context_line":""},{"line_number":190,"context_line":"      function myPluginController($http) {"},{"line_number":191,"context_line":"        var ctrl \u003d this;"}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a2ca52d_765c0e7d","line":188,"updated":"2015-10-16 19:35:21.000000000","message":"do you want to include this if it\u0027s not used?","commit_id":"d68fd3806722a2e5eb98809a0453e917f7b76bf8"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"4abba32b63b6bc72315eb0708baea0f1d9cf973e","unresolved":false,"context_lines":[{"line_number":185,"context_line":"        .module(\u0027hz.dashboard.identity.myplugin\u0027, [])"},{"line_number":186,"context_line":"        .controller(\u0027hz.dashboard.identity.myPluginController\u0027, myPluginController);"},{"line_number":187,"context_line":""},{"line_number":188,"context_line":"      myPluginController.$inject \u003d [ \u0027$http\u0027 ];"},{"line_number":189,"context_line":""},{"line_number":190,"context_line":"      function myPluginController($http) {"},{"line_number":191,"context_line":"        var ctrl \u003d this;"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1a26ad4f_93459871","line":188,"in_reply_to":"5a2ca52d_765c0e7d","updated":"2015-11-09 18:33:54.000000000","message":"added paragraph for $http inclusion.","commit_id":"d68fd3806722a2e5eb98809a0453e917f7b76bf8"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"bc90164e73c0e23463545c4be1fd172b5a6a2fd7","unresolved":false,"context_lines":[{"line_number":204,"context_line":""},{"line_number":205,"context_line":"::"},{"line_number":206,"context_line":""},{"line_number":207,"context_line":"    \u003cdiv ng-controller\u003d\"hz.dashboard.identity.myPluginController as ctrl\"\u003e"},{"line_number":208,"context_line":"      \u003cdiv\u003eLoading data from your controller:\u003c/div\u003e"},{"line_number":209,"context_line":"      \u003cul\u003e"},{"line_number":210,"context_line":"        \u003cli ng-repeat\u003d\"item in ctrl.items\"\u003e"}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a2ca52d_ed660dba","line":207,"updated":"2015-10-16 19:35:21.000000000","message":"hz --\u003e horizon","commit_id":"d68fd3806722a2e5eb98809a0453e917f7b76bf8"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"4abba32b63b6bc72315eb0708baea0f1d9cf973e","unresolved":false,"context_lines":[{"line_number":204,"context_line":""},{"line_number":205,"context_line":"::"},{"line_number":206,"context_line":""},{"line_number":207,"context_line":"    \u003cdiv ng-controller\u003d\"hz.dashboard.identity.myPluginController as ctrl\"\u003e"},{"line_number":208,"context_line":"      \u003cdiv\u003eLoading data from your controller:\u003c/div\u003e"},{"line_number":209,"context_line":"      \u003cul\u003e"},{"line_number":210,"context_line":"        \u003cli ng-repeat\u003d\"item in ctrl.items\"\u003e"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1a26ad4f_b348d488","line":207,"in_reply_to":"5a2ca52d_ed660dba","updated":"2015-11-09 18:33:54.000000000","message":"Done","commit_id":"d68fd3806722a2e5eb98809a0453e917f7b76bf8"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"bc90164e73c0e23463545c4be1fd172b5a6a2fd7","unresolved":false,"context_lines":[{"line_number":230,"context_line":"3. Run \"``horizon``/tools/with_venv.sh pip install sdist/``package``.tar.gz\""},{"line_number":231,"context_line":"4. Restart Apache or your Django test server"},{"line_number":232,"context_line":""},{"line_number":233,"context_line":"If you are able to hit the URL pattern in ``Url.py`` in your browser, you have successfully deployed your plugin! For plugins that do not have a URL, check that your static resources are loaded using the browser inspector."},{"line_number":234,"context_line":""},{"line_number":235,"context_line":"..  Note ::"},{"line_number":236,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a2ca52d_6d843d0a","line":233,"updated":"2015-10-16 19:35:21.000000000","message":"Don\u0027t you also need setup.py and MANIFEST.in file?\n\nIf your plugin doesn\u0027t show up properly, you can trace the problem backward.  Check your .venv folder to make sure the plugin\u0027s content is as you expect.","commit_id":"d68fd3806722a2e5eb98809a0453e917f7b76bf8"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"4abba32b63b6bc72315eb0708baea0f1d9cf973e","unresolved":false,"context_lines":[{"line_number":230,"context_line":"3. Run \"``horizon``/tools/with_venv.sh pip install sdist/``package``.tar.gz\""},{"line_number":231,"context_line":"4. Restart Apache or your Django test server"},{"line_number":232,"context_line":""},{"line_number":233,"context_line":"If you are able to hit the URL pattern in ``Url.py`` in your browser, you have successfully deployed your plugin! For plugins that do not have a URL, check that your static resources are loaded using the browser inspector."},{"line_number":234,"context_line":""},{"line_number":235,"context_line":"..  Note ::"},{"line_number":236,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1a26ad4f_6e925359","line":233,"in_reply_to":"5a2ca52d_6d843d0a","updated":"2015-11-09 18:33:54.000000000","message":"added setup.py and manifest.in","commit_id":"d68fd3806722a2e5eb98809a0453e917f7b76bf8"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"df9674591fac2148523d7e6a833d7b6eb28b9615","unresolved":false,"context_lines":[{"line_number":234,"context_line":""},{"line_number":235,"context_line":"..  Note ::"},{"line_number":236,"context_line":""},{"line_number":237,"context_line":"  To uninstall, use ``pip uninstall``. Note that you may need to rebuild your virtual environment if your plugin is not showing up properly."}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a2ca52d_c731aa5b","line":237,"updated":"2015-10-16 21:00:47.000000000","message":"Won\u0027t you also need to remove the enabled file?","commit_id":"d68fd3806722a2e5eb98809a0453e917f7b76bf8"}],"doc/source/topics/angular_table.rst":[{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"df9674591fac2148523d7e6a833d7b6eb28b9615","unresolved":false,"context_lines":[{"line_number":9,"context_line":"   |-my_panel/"},{"line_number":10,"context_line":"    |-table/"},{"line_number":11,"context_line":"     |-table.controller.js"},{"line_number":12,"context_line":"     |-table.html\t"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"table.html is the view, this is where you define the markup that makes up your table. If you are a web developer, this should look very familiar to you. Populate the content as you see fit. Here we will use the hz-table and st-table directives to help us speed things up. The key thing to note here is that our html references a controller that we are going to define."},{"line_number":15,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"5a2ca52d_8737324c","line":12,"updated":"2015-10-16 21:00:47.000000000","message":"red, and same note as before about a neater tree.","commit_id":"d68fd3806722a2e5eb98809a0453e917f7b76bf8"}],"doc/source/topics/plugin.rst":[{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"b8a2f99d970a2497f4d58b70181d3ab1b13449ef","unresolved":false,"context_lines":[{"line_number":23,"context_line":"Javascript. Knowledge of AngularJS is optional but recommended if you are"},{"line_number":24,"context_line":"attempting to create an Angular plugin."},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"Types of Plugin"},{"line_number":27,"context_line":"---------------"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"The file structure for your plugin type will be different depending on your"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a26ad4f_af6a847f","line":26,"updated":"2015-11-01 05:51:32.000000000","message":"Types of Plugins?","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"efe98c51da2ebdb844f8d2be36ee497fa8293793","unresolved":false,"context_lines":[{"line_number":23,"context_line":"Javascript. Knowledge of AngularJS is optional but recommended if you are"},{"line_number":24,"context_line":"attempting to create an Angular plugin."},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"Types of Plugin"},{"line_number":27,"context_line":"---------------"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"The file structure for your plugin type will be different depending on your"}],"source_content_type":"text/x-rst","patch_set":6,"id":"da85f559_5d0423bf","line":26,"in_reply_to":"1a26ad4f_af6a847f","updated":"2015-11-09 18:33:48.000000000","message":"Done","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"b8a2f99d970a2497f4d58b70181d3ab1b13449ef","unresolved":false,"context_lines":[{"line_number":27,"context_line":"---------------"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"The file structure for your plugin type will be different depending on your"},{"line_number":30,"context_line":"needs. Your plugin can be categorize into two types:"},{"line_number":31,"context_line":"* Plugin that create new panels or dashboards"},{"line_number":32,"context_line":"* Plugin that modify existing workflows, actions, etc... (Angular only)"},{"line_number":33,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a26ad4f_cf67c0b5","line":30,"updated":"2015-11-01 05:51:32.000000000","message":"can be categorized","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"efe98c51da2ebdb844f8d2be36ee497fa8293793","unresolved":false,"context_lines":[{"line_number":27,"context_line":"---------------"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"The file structure for your plugin type will be different depending on your"},{"line_number":30,"context_line":"needs. Your plugin can be categorize into two types:"},{"line_number":31,"context_line":"* Plugin that create new panels or dashboards"},{"line_number":32,"context_line":"* Plugin that modify existing workflows, actions, etc... (Angular only)"},{"line_number":33,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"da85f559_7dffa7aa","line":30,"in_reply_to":"1a26ad4f_cf67c0b5","updated":"2015-11-09 18:33:48.000000000","message":"Done","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"b8a2f99d970a2497f4d58b70181d3ab1b13449ef","unresolved":false,"context_lines":[{"line_number":28,"context_line":""},{"line_number":29,"context_line":"The file structure for your plugin type will be different depending on your"},{"line_number":30,"context_line":"needs. Your plugin can be categorize into two types:"},{"line_number":31,"context_line":"* Plugin that create new panels or dashboards"},{"line_number":32,"context_line":"* Plugin that modify existing workflows, actions, etc... (Angular only)"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"We will cover the basics of a panel plugin for both Python and Angular plugins."}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a26ad4f_6f078cca","line":31,"updated":"2015-11-01 05:51:32.000000000","message":"Plugins that (meaning that a type is an aggregate of a similar plugins)","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"efe98c51da2ebdb844f8d2be36ee497fa8293793","unresolved":false,"context_lines":[{"line_number":28,"context_line":""},{"line_number":29,"context_line":"The file structure for your plugin type will be different depending on your"},{"line_number":30,"context_line":"needs. Your plugin can be categorize into two types:"},{"line_number":31,"context_line":"* Plugin that create new panels or dashboards"},{"line_number":32,"context_line":"* Plugin that modify existing workflows, actions, etc... (Angular only)"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"We will cover the basics of a panel plugin for both Python and Angular plugins."}],"source_content_type":"text/x-rst","patch_set":6,"id":"da85f559_9d212b50","line":31,"in_reply_to":"1a26ad4f_6f078cca","updated":"2015-11-09 18:33:48.000000000","message":"Done","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"b8a2f99d970a2497f4d58b70181d3ab1b13449ef","unresolved":false,"context_lines":[{"line_number":29,"context_line":"The file structure for your plugin type will be different depending on your"},{"line_number":30,"context_line":"needs. Your plugin can be categorize into two types:"},{"line_number":31,"context_line":"* Plugin that create new panels or dashboards"},{"line_number":32,"context_line":"* Plugin that modify existing workflows, actions, etc... (Angular only)"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"We will cover the basics of a panel plugin for both Python and Angular plugins."},{"line_number":35,"context_line":"If you are interested in creating a new panel, follow the steps below. If you"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a26ad4f_8f0c68ee","line":32,"updated":"2015-11-01 05:51:32.000000000","message":"ditto","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"efe98c51da2ebdb844f8d2be36ee497fa8293793","unresolved":false,"context_lines":[{"line_number":29,"context_line":"The file structure for your plugin type will be different depending on your"},{"line_number":30,"context_line":"needs. Your plugin can be categorize into two types:"},{"line_number":31,"context_line":"* Plugin that create new panels or dashboards"},{"line_number":32,"context_line":"* Plugin that modify existing workflows, actions, etc... (Angular only)"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"We will cover the basics of a panel plugin for both Python and Angular plugins."},{"line_number":35,"context_line":"If you are interested in creating a new panel, follow the steps below. If you"}],"source_content_type":"text/x-rst","patch_set":6,"id":"da85f559_5d1bc31b","line":32,"in_reply_to":"1a26ad4f_8f0c68ee","updated":"2015-11-09 18:33:48.000000000","message":"Done","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"b8a2f99d970a2497f4d58b70181d3ab1b13449ef","unresolved":false,"context_lines":[{"line_number":31,"context_line":"* Plugin that create new panels or dashboards"},{"line_number":32,"context_line":"* Plugin that modify existing workflows, actions, etc... (Angular only)"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"We will cover the basics of a panel plugin for both Python and Angular plugins."},{"line_number":35,"context_line":"If you are interested in creating a new panel, follow the steps below. If you"},{"line_number":36,"context_line":"are interested in modifying an existing workflows or actions, skip ahead to"},{"line_number":37,"context_line":":doc:`Extending Angular Workflows \u003c/topics/Angular_workflow_extend\u003e`."}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a26ad4f_af0124b1","line":34,"updated":"2015-11-01 05:51:32.000000000","message":"possible rewording: ... the basics of working with panels for both...","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"efe98c51da2ebdb844f8d2be36ee497fa8293793","unresolved":false,"context_lines":[{"line_number":31,"context_line":"* Plugin that create new panels or dashboards"},{"line_number":32,"context_line":"* Plugin that modify existing workflows, actions, etc... (Angular only)"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"We will cover the basics of a panel plugin for both Python and Angular plugins."},{"line_number":35,"context_line":"If you are interested in creating a new panel, follow the steps below. If you"},{"line_number":36,"context_line":"are interested in modifying an existing workflows or actions, skip ahead to"},{"line_number":37,"context_line":":doc:`Extending Angular Workflows \u003c/topics/Angular_workflow_extend\u003e`."}],"source_content_type":"text/x-rst","patch_set":6,"id":"da85f559_5dc5033a","line":34,"in_reply_to":"1a26ad4f_af0124b1","updated":"2015-11-09 18:33:48.000000000","message":"Done","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":11778,"name":"Diana Whitten","email":"hurgleburgler@gmail.com","username":"hurgleburgler"},"change_message_id":"a6c74319bb34938a56d2f22ba536416e14341a53","unresolved":false,"context_lines":[{"line_number":33,"context_line":""},{"line_number":34,"context_line":"We will cover the basics of a panel plugin for both Python and Angular plugins."},{"line_number":35,"context_line":"If you are interested in creating a new panel, follow the steps below. If you"},{"line_number":36,"context_line":"are interested in modifying an existing workflows or actions, skip ahead to"},{"line_number":37,"context_line":":doc:`Extending Angular Workflows \u003c/topics/Angular_workflow_extend\u003e`."},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"..  Note ::"}],"source_content_type":"text/x-rst","patch_set":6,"id":"fa80f949_d3ad0285","line":36,"updated":"2015-11-06 17:24:30.000000000","message":"modifying an existing workflow or action \n\nOR\n\nmodifying existing workflows or actions","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"efe98c51da2ebdb844f8d2be36ee497fa8293793","unresolved":false,"context_lines":[{"line_number":33,"context_line":""},{"line_number":34,"context_line":"We will cover the basics of a panel plugin for both Python and Angular plugins."},{"line_number":35,"context_line":"If you are interested in creating a new panel, follow the steps below. If you"},{"line_number":36,"context_line":"are interested in modifying an existing workflows or actions, skip ahead to"},{"line_number":37,"context_line":":doc:`Extending Angular Workflows \u003c/topics/Angular_workflow_extend\u003e`."},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"..  Note ::"}],"source_content_type":"text/x-rst","patch_set":6,"id":"da85f559_bdc66f47","line":36,"in_reply_to":"fa80f949_d3ad0285","updated":"2015-11-09 18:33:48.000000000","message":"Done","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":11778,"name":"Diana Whitten","email":"hurgleburgler@gmail.com","username":"hurgleburgler"},"change_message_id":"a6c74319bb34938a56d2f22ba536416e14341a53","unresolved":false,"context_lines":[{"line_number":45,"context_line":"--------------"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"An AngularJS plugin is a collection of javascript files or static resources."},{"line_number":48,"context_line":"Because it runs entirely on your browser, we need to place all of our static"},{"line_number":49,"context_line":"resources inside the ``static`` folder. This ensures that the Django static"},{"line_number":50,"context_line":"collector picks it up and distribute it to the browser correctly. Below is a"},{"line_number":51,"context_line":"skeleton of what your plugin should look like."}],"source_content_type":"text/x-rst","patch_set":6,"id":"fa80f949_53d91221","line":48,"updated":"2015-11-06 17:24:30.000000000","message":"on --\u003e in ?","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"efe98c51da2ebdb844f8d2be36ee497fa8293793","unresolved":false,"context_lines":[{"line_number":45,"context_line":"--------------"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"An AngularJS plugin is a collection of javascript files or static resources."},{"line_number":48,"context_line":"Because it runs entirely on your browser, we need to place all of our static"},{"line_number":49,"context_line":"resources inside the ``static`` folder. This ensures that the Django static"},{"line_number":50,"context_line":"collector picks it up and distribute it to the browser correctly. Below is a"},{"line_number":51,"context_line":"skeleton of what your plugin should look like."}],"source_content_type":"text/x-rst","patch_set":6,"id":"da85f559_ddfed36a","line":48,"in_reply_to":"fa80f949_53d91221","updated":"2015-11-09 18:33:48.000000000","message":"Done","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":11778,"name":"Diana Whitten","email":"hurgleburgler@gmail.com","username":"hurgleburgler"},"change_message_id":"a6c74319bb34938a56d2f22ba536416e14341a53","unresolved":false,"context_lines":[{"line_number":47,"context_line":"An AngularJS plugin is a collection of javascript files or static resources."},{"line_number":48,"context_line":"Because it runs entirely on your browser, we need to place all of our static"},{"line_number":49,"context_line":"resources inside the ``static`` folder. This ensures that the Django static"},{"line_number":50,"context_line":"collector picks it up and distribute it to the browser correctly. Below is a"},{"line_number":51,"context_line":"skeleton of what your plugin should look like."},{"line_number":52,"context_line":"::"},{"line_number":53,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"fa80f949_d3fbc279","line":50,"updated":"2015-11-06 17:24:30.000000000","message":"distributes","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"efe98c51da2ebdb844f8d2be36ee497fa8293793","unresolved":false,"context_lines":[{"line_number":47,"context_line":"An AngularJS plugin is a collection of javascript files or static resources."},{"line_number":48,"context_line":"Because it runs entirely on your browser, we need to place all of our static"},{"line_number":49,"context_line":"resources inside the ``static`` folder. This ensures that the Django static"},{"line_number":50,"context_line":"collector picks it up and distribute it to the browser correctly. Below is a"},{"line_number":51,"context_line":"skeleton of what your plugin should look like."},{"line_number":52,"context_line":"::"},{"line_number":53,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"da85f559_fd01576b","line":50,"in_reply_to":"fa80f949_d3fbc279","updated":"2015-11-09 18:33:48.000000000","message":"Done","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"b8a2f99d970a2497f4d58b70181d3ab1b13449ef","unresolved":false,"context_lines":[{"line_number":114,"context_line":"        name \u003d _(\"My Plugin\")"},{"line_number":115,"context_line":"        slug \u003d \"myplugin\""},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"url.py"},{"line_number":118,"context_line":"------"},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"Now that we have a panel, we need to provide a URL so that users can visit our"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a26ad4f_cffee0ad","line":117,"updated":"2015-11-01 05:51:32.000000000","message":"urls.py by Django conventions. Not mentioned in File Structure section.","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"b8a2f99d970a2497f4d58b70181d3ab1b13449ef","unresolved":false,"context_lines":[{"line_number":128,"context_line":"        urls.url(r\u0027^$\u0027, views.IndexView.as_view(), name\u003d\u0027index\u0027),"},{"line_number":129,"context_line":"    )"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"view.py"},{"line_number":132,"context_line":"-------"},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"Because rendering is done client-side, all our view needs is reference to some"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a26ad4f_6f2eac44","line":131,"updated":"2015-11-01 05:51:32.000000000","message":"views.py by Django conventions. Not mentioned in File Structure section.","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"efe98c51da2ebdb844f8d2be36ee497fa8293793","unresolved":false,"context_lines":[{"line_number":128,"context_line":"        urls.url(r\u0027^$\u0027, views.IndexView.as_view(), name\u003d\u0027index\u0027),"},{"line_number":129,"context_line":"    )"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"view.py"},{"line_number":132,"context_line":"-------"},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"Because rendering is done client-side, all our view needs is reference to some"}],"source_content_type":"text/x-rst","patch_set":6,"id":"da85f559_9d404ba7","line":131,"in_reply_to":"1a26ad4f_6f2eac44","updated":"2015-11-09 18:33:48.000000000","message":"good catch!","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"b8a2f99d970a2497f4d58b70181d3ab1b13449ef","unresolved":false,"context_lines":[{"line_number":131,"context_line":"view.py"},{"line_number":132,"context_line":"-------"},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"Because rendering is done client-side, all our view needs is reference to some"},{"line_number":135,"context_line":"HTML page. If you are writing a Python plugin, this view can be much more"},{"line_number":136,"context_line":"complex. Refer to the topic guides for more details.::"},{"line_number":137,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a26ad4f_8f3308ab","line":134,"updated":"2015-11-01 05:51:32.000000000","message":"is to reference / is a reference","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"efe98c51da2ebdb844f8d2be36ee497fa8293793","unresolved":false,"context_lines":[{"line_number":131,"context_line":"view.py"},{"line_number":132,"context_line":"-------"},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"Because rendering is done client-side, all our view needs is reference to some"},{"line_number":135,"context_line":"HTML page. If you are writing a Python plugin, this view can be much more"},{"line_number":136,"context_line":"complex. Refer to the topic guides for more details.::"},{"line_number":137,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"da85f559_5d4f43bd","line":134,"in_reply_to":"1a26ad4f_8f3308ab","updated":"2015-11-09 18:33:48.000000000","message":"Done","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"b8a2f99d970a2497f4d58b70181d3ab1b13449ef","unresolved":false,"context_lines":[{"line_number":145,"context_line":"----------"},{"line_number":146,"context_line":""},{"line_number":147,"context_line":"The index HTML is where rendering occurs. In this example, we are only using"},{"line_number":148,"context_line":"django. If you are interested in using Angular directives instead, read the"},{"line_number":149,"context_line":"AngularJS section below.::"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"    {% extends \u0027base.html\u0027 %}"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a26ad4f_8fda284b","line":148,"updated":"2015-11-01 05:51:32.000000000","message":"Django","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"efe98c51da2ebdb844f8d2be36ee497fa8293793","unresolved":false,"context_lines":[{"line_number":145,"context_line":"----------"},{"line_number":146,"context_line":""},{"line_number":147,"context_line":"The index HTML is where rendering occurs. In this example, we are only using"},{"line_number":148,"context_line":"django. If you are interested in using Angular directives instead, read the"},{"line_number":149,"context_line":"AngularJS section below.::"},{"line_number":150,"context_line":""},{"line_number":151,"context_line":"    {% extends \u0027base.html\u0027 %}"}],"source_content_type":"text/x-rst","patch_set":6,"id":"da85f559_fdeb9776","line":148,"in_reply_to":"1a26ad4f_8fda284b","updated":"2015-11-09 18:33:48.000000000","message":"Done","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"b8a2f99d970a2497f4d58b70181d3ab1b13449ef","unresolved":false,"context_lines":[{"line_number":217,"context_line":"In the tutorial below, we will show you how to customize your panel using"},{"line_number":218,"context_line":"Angular."},{"line_number":219,"context_line":""},{"line_number":220,"context_line":"Index.html"},{"line_number":221,"context_line":"----------"},{"line_number":222,"context_line":""},{"line_number":223,"context_line":"The index HTML is where rendering occurs and serves as the entry point for"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a26ad4f_af9da467","line":220,"updated":"2015-11-01 05:51:32.000000000","message":"Index.html -\u003e index.html","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"efe98c51da2ebdb844f8d2be36ee497fa8293793","unresolved":false,"context_lines":[{"line_number":217,"context_line":"In the tutorial below, we will show you how to customize your panel using"},{"line_number":218,"context_line":"Angular."},{"line_number":219,"context_line":""},{"line_number":220,"context_line":"Index.html"},{"line_number":221,"context_line":"----------"},{"line_number":222,"context_line":""},{"line_number":223,"context_line":"The index HTML is where rendering occurs and serves as the entry point for"}],"source_content_type":"text/x-rst","patch_set":6,"id":"da85f559_3d991f20","line":220,"in_reply_to":"1a26ad4f_af9da467","updated":"2015-11-09 18:33:48.000000000","message":"Done","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"b8a2f99d970a2497f4d58b70181d3ab1b13449ef","unresolved":false,"context_lines":[{"line_number":220,"context_line":"Index.html"},{"line_number":221,"context_line":"----------"},{"line_number":222,"context_line":""},{"line_number":223,"context_line":"The index HTML is where rendering occurs and serves as the entry point for"},{"line_number":224,"context_line":"Angular. This is where we start to diverge from the traditional Python plugin."},{"line_number":225,"context_line":"In this example, we use a django template as the glue to our Angular template."},{"line_number":226,"context_line":"Why are we going through a django template for an Angular plugin? Long story"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a26ad4f_efe95ce7","line":223,"updated":"2015-11-01 05:51:32.000000000","message":"an entry point","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"efe98c51da2ebdb844f8d2be36ee497fa8293793","unresolved":false,"context_lines":[{"line_number":220,"context_line":"Index.html"},{"line_number":221,"context_line":"----------"},{"line_number":222,"context_line":""},{"line_number":223,"context_line":"The index HTML is where rendering occurs and serves as the entry point for"},{"line_number":224,"context_line":"Angular. This is where we start to diverge from the traditional Python plugin."},{"line_number":225,"context_line":"In this example, we use a django template as the glue to our Angular template."},{"line_number":226,"context_line":"Why are we going through a django template for an Angular plugin? Long story"}],"source_content_type":"text/x-rst","patch_set":6,"id":"da85f559_7d8fa7cc","line":223,"in_reply_to":"1a26ad4f_efe95ce7","updated":"2015-11-09 18:33:48.000000000","message":"Done","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"b8a2f99d970a2497f4d58b70181d3ab1b13449ef","unresolved":false,"context_lines":[{"line_number":222,"context_line":""},{"line_number":223,"context_line":"The index HTML is where rendering occurs and serves as the entry point for"},{"line_number":224,"context_line":"Angular. This is where we start to diverge from the traditional Python plugin."},{"line_number":225,"context_line":"In this example, we use a django template as the glue to our Angular template."},{"line_number":226,"context_line":"Why are we going through a django template for an Angular plugin? Long story"},{"line_number":227,"context_line":"short, ``base.html`` contains the navigation piece that we still need for each"},{"line_number":228,"context_line":"panel."}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a26ad4f_2fdbd450","line":225,"updated":"2015-11-01 05:51:32.000000000","message":"Django","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"efe98c51da2ebdb844f8d2be36ee497fa8293793","unresolved":false,"context_lines":[{"line_number":222,"context_line":""},{"line_number":223,"context_line":"The index HTML is where rendering occurs and serves as the entry point for"},{"line_number":224,"context_line":"Angular. This is where we start to diverge from the traditional Python plugin."},{"line_number":225,"context_line":"In this example, we use a django template as the glue to our Angular template."},{"line_number":226,"context_line":"Why are we going through a django template for an Angular plugin? Long story"},{"line_number":227,"context_line":"short, ``base.html`` contains the navigation piece that we still need for each"},{"line_number":228,"context_line":"panel."}],"source_content_type":"text/x-rst","patch_set":6,"id":"da85f559_3dc03fe0","line":225,"in_reply_to":"1a26ad4f_2fdbd450","updated":"2015-11-09 18:33:48.000000000","message":"Done","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"b8a2f99d970a2497f4d58b70181d3ab1b13449ef","unresolved":false,"context_lines":[{"line_number":223,"context_line":"The index HTML is where rendering occurs and serves as the entry point for"},{"line_number":224,"context_line":"Angular. This is where we start to diverge from the traditional Python plugin."},{"line_number":225,"context_line":"In this example, we use a django template as the glue to our Angular template."},{"line_number":226,"context_line":"Why are we going through a django template for an Angular plugin? Long story"},{"line_number":227,"context_line":"short, ``base.html`` contains the navigation piece that we still need for each"},{"line_number":228,"context_line":"panel."},{"line_number":229,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a26ad4f_4fe090fa","line":226,"updated":"2015-11-01 05:51:32.000000000","message":"Django","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"efe98c51da2ebdb844f8d2be36ee497fa8293793","unresolved":false,"context_lines":[{"line_number":223,"context_line":"The index HTML is where rendering occurs and serves as the entry point for"},{"line_number":224,"context_line":"Angular. This is where we start to diverge from the traditional Python plugin."},{"line_number":225,"context_line":"In this example, we use a django template as the glue to our Angular template."},{"line_number":226,"context_line":"Why are we going through a django template for an Angular plugin? Long story"},{"line_number":227,"context_line":"short, ``base.html`` contains the navigation piece that we still need for each"},{"line_number":228,"context_line":"panel."},{"line_number":229,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"da85f559_fdb9577a","line":226,"in_reply_to":"1a26ad4f_4fe090fa","updated":"2015-11-09 18:33:48.000000000","message":"Done","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"b8a2f99d970a2497f4d58b70181d3ab1b13449ef","unresolved":false,"context_lines":[{"line_number":232,"context_line":"    {% extends \u0027base.html\u0027 %}"},{"line_number":233,"context_line":"    {% load i18n %}"},{"line_number":234,"context_line":"    {% block title %}{% trans \"My plugin\" %}{% endblock %}"},{"line_number":235,"context_line":""},{"line_number":236,"context_line":"    {% block page_header %}"},{"line_number":237,"context_line":"      \u003chz-page-header header\u003d\"\u0027My plugin\u0027\" description\u003d\"\u0027My custom plugin!\u0027\"\u003e"},{"line_number":238,"context_line":"      \u003c/hz-page-header\u003e"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a26ad4f_afc60466","line":235,"updated":"2015-11-01 05:51:32.000000000","message":"Shouldn\u0027t the \u0027myplugin.js\u0027 be included somewhere here? The second question is where \u0027myplugin.scss\u0027 is included? Both are mentioned in File Structure section.","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"efe98c51da2ebdb844f8d2be36ee497fa8293793","unresolved":false,"context_lines":[{"line_number":232,"context_line":"    {% extends \u0027base.html\u0027 %}"},{"line_number":233,"context_line":"    {% load i18n %}"},{"line_number":234,"context_line":"    {% block title %}{% trans \"My plugin\" %}{% endblock %}"},{"line_number":235,"context_line":""},{"line_number":236,"context_line":"    {% block page_header %}"},{"line_number":237,"context_line":"      \u003chz-page-header header\u003d\"\u0027My plugin\u0027\" description\u003d\"\u0027My custom plugin!\u0027\"\u003e"},{"line_number":238,"context_line":"      \u003c/hz-page-header\u003e"}],"source_content_type":"text/x-rst","patch_set":6,"id":"da85f559_dd449375","line":235,"in_reply_to":"1a26ad4f_afc60466","updated":"2015-11-09 18:33:48.000000000","message":"They are included in the enabled file. However, only the js files can be auto discovered.","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"d3f3f77eec94e0118c6b48ea7a76af8fd5a70791","unresolved":false,"context_lines":[{"line_number":232,"context_line":"    {% extends \u0027base.html\u0027 %}"},{"line_number":233,"context_line":"    {% load i18n %}"},{"line_number":234,"context_line":"    {% block title %}{% trans \"My plugin\" %}{% endblock %}"},{"line_number":235,"context_line":""},{"line_number":236,"context_line":"    {% block page_header %}"},{"line_number":237,"context_line":"      \u003chz-page-header header\u003d\"\u0027My plugin\u0027\" description\u003d\"\u0027My custom plugin!\u0027\"\u003e"},{"line_number":238,"context_line":"      \u003c/hz-page-header\u003e"}],"source_content_type":"text/x-rst","patch_set":6,"id":"da85f559_350e7de5","line":235,"in_reply_to":"da85f559_dd449375","updated":"2015-11-12 10:52:05.000000000","message":"Should we mention the inclusion in enabled/ and auto-discovery here (possibly as a side note)? This could reduce the number of questions why they aren\u0027t referenced in a template.","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"b8a2f99d970a2497f4d58b70181d3ab1b13449ef","unresolved":false,"context_lines":[{"line_number":245,"context_line":"    {% endblock %}"},{"line_number":246,"context_line":""},{"line_number":247,"context_line":"This template contains both Django and AngularJS code. Angular is denoted by"},{"line_number":248,"context_line":"{$..$} while django is denoted by {{..}} and {%..%}. This template gets"},{"line_number":249,"context_line":"processed twice, once by django on the server-side and once more by Angular on"},{"line_number":250,"context_line":"the client-side."},{"line_number":251,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a26ad4f_0fe7f811","line":248,"updated":"2015-11-01 05:51:32.000000000","message":"Ironically, there is no {$ .. $} used in above snippet :)\n\ndjango -\u003e Django","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"efe98c51da2ebdb844f8d2be36ee497fa8293793","unresolved":false,"context_lines":[{"line_number":245,"context_line":"    {% endblock %}"},{"line_number":246,"context_line":""},{"line_number":247,"context_line":"This template contains both Django and AngularJS code. Angular is denoted by"},{"line_number":248,"context_line":"{$..$} while django is denoted by {{..}} and {%..%}. This template gets"},{"line_number":249,"context_line":"processed twice, once by django on the server-side and once more by Angular on"},{"line_number":250,"context_line":"the client-side."},{"line_number":251,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"da85f559_7d2b2795","line":248,"in_reply_to":"1a26ad4f_0fe7f811","updated":"2015-11-09 18:33:48.000000000","message":"Hm.. good point. This was done intentionally but explained rather poorly. I will reword it.","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"b8a2f99d970a2497f4d58b70181d3ab1b13449ef","unresolved":false,"context_lines":[{"line_number":246,"context_line":""},{"line_number":247,"context_line":"This template contains both Django and AngularJS code. Angular is denoted by"},{"line_number":248,"context_line":"{$..$} while django is denoted by {{..}} and {%..%}. This template gets"},{"line_number":249,"context_line":"processed twice, once by django on the server-side and once more by Angular on"},{"line_number":250,"context_line":"the client-side."},{"line_number":251,"context_line":""},{"line_number":252,"context_line":"What you chose to include in ``block main`` is entirely up to you. Since you are"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a26ad4f_afefe4e7","line":249,"updated":"2015-11-01 05:51:32.000000000","message":"Django","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"efe98c51da2ebdb844f8d2be36ee497fa8293793","unresolved":false,"context_lines":[{"line_number":246,"context_line":""},{"line_number":247,"context_line":"This template contains both Django and AngularJS code. Angular is denoted by"},{"line_number":248,"context_line":"{$..$} while django is denoted by {{..}} and {%..%}. This template gets"},{"line_number":249,"context_line":"processed twice, once by django on the server-side and once more by Angular on"},{"line_number":250,"context_line":"the client-side."},{"line_number":251,"context_line":""},{"line_number":252,"context_line":"What you chose to include in ``block main`` is entirely up to you. Since you are"}],"source_content_type":"text/x-rst","patch_set":6,"id":"da85f559_d820219e","line":249,"in_reply_to":"1a26ad4f_afefe4e7","updated":"2015-11-09 18:33:48.000000000","message":"Done","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"b8a2f99d970a2497f4d58b70181d3ab1b13449ef","unresolved":false,"context_lines":[{"line_number":247,"context_line":"This template contains both Django and AngularJS code. Angular is denoted by"},{"line_number":248,"context_line":"{$..$} while django is denoted by {{..}} and {%..%}. This template gets"},{"line_number":249,"context_line":"processed twice, once by django on the server-side and once more by Angular on"},{"line_number":250,"context_line":"the client-side."},{"line_number":251,"context_line":""},{"line_number":252,"context_line":"What you chose to include in ``block main`` is entirely up to you. Since you are"},{"line_number":253,"context_line":"creating an Angular plugin, we recommend that you keep everything in this"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a26ad4f_cfeca0f5","line":250,"updated":"2015-11-01 05:51:32.000000000","message":"It may be worth (or not) to mention that Angular gets a template which has all {{ .. }} {% .. %} already substituted with something more concrete, while {$ .. $} are still inside.","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"efe98c51da2ebdb844f8d2be36ee497fa8293793","unresolved":false,"context_lines":[{"line_number":247,"context_line":"This template contains both Django and AngularJS code. Angular is denoted by"},{"line_number":248,"context_line":"{$..$} while django is denoted by {{..}} and {%..%}. This template gets"},{"line_number":249,"context_line":"processed twice, once by django on the server-side and once more by Angular on"},{"line_number":250,"context_line":"the client-side."},{"line_number":251,"context_line":""},{"line_number":252,"context_line":"What you chose to include in ``block main`` is entirely up to you. Since you are"},{"line_number":253,"context_line":"creating an Angular plugin, we recommend that you keep everything in this"}],"source_content_type":"text/x-rst","patch_set":6,"id":"da85f559_58919198","line":250,"in_reply_to":"1a26ad4f_cfeca0f5","updated":"2015-11-09 18:33:48.000000000","message":"That was the intention of the last line in the first paragraph. Maybe I can expand on that.","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"b8a2f99d970a2497f4d58b70181d3ab1b13449ef","unresolved":false,"context_lines":[{"line_number":257,"context_line":"..  Note ::"},{"line_number":258,"context_line":""},{"line_number":259,"context_line":"    Angular\u0027s directives are prefixed with ng. Similarly, Horizon\u0027s directives"},{"line_number":260,"context_line":"    are prefixed with horizon. You can think of them as name spaces."},{"line_number":261,"context_line":""},{"line_number":262,"context_line":"myplugin.js"},{"line_number":263,"context_line":"-----------"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a26ad4f_6fbc6cdc","line":260,"updated":"2015-11-01 05:51:32.000000000","message":"Looking at above snippet, they are prefixed with hz.","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"efe98c51da2ebdb844f8d2be36ee497fa8293793","unresolved":false,"context_lines":[{"line_number":257,"context_line":"..  Note ::"},{"line_number":258,"context_line":""},{"line_number":259,"context_line":"    Angular\u0027s directives are prefixed with ng. Similarly, Horizon\u0027s directives"},{"line_number":260,"context_line":"    are prefixed with horizon. You can think of them as name spaces."},{"line_number":261,"context_line":""},{"line_number":262,"context_line":"myplugin.js"},{"line_number":263,"context_line":"-----------"}],"source_content_type":"text/x-rst","patch_set":6,"id":"da85f559_38d7ed24","line":260,"in_reply_to":"1a26ad4f_6fbc6cdc","updated":"2015-11-09 18:33:48.000000000","message":"Done","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"b8a2f99d970a2497f4d58b70181d3ab1b13449ef","unresolved":false,"context_lines":[{"line_number":310,"context_line":"        \u003c/li\u003e"},{"line_number":311,"context_line":"      \u003c/ul\u003e"},{"line_number":312,"context_line":"    \u003c/div\u003e"},{"line_number":313,"context_line":""},{"line_number":314,"context_line":"Installing Your Plugin"},{"line_number":315,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":316,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a26ad4f_cf9a606e","line":313,"updated":"2015-11-01 05:51:32.000000000","message":"I would say a few words here about myplugin.scss as well (possibly mentioning the theming stuff).","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"efe98c51da2ebdb844f8d2be36ee497fa8293793","unresolved":false,"context_lines":[{"line_number":310,"context_line":"        \u003c/li\u003e"},{"line_number":311,"context_line":"      \u003c/ul\u003e"},{"line_number":312,"context_line":"    \u003c/div\u003e"},{"line_number":313,"context_line":""},{"line_number":314,"context_line":"Installing Your Plugin"},{"line_number":315,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":316,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"da85f559_38936d51","line":313,"in_reply_to":"1a26ad4f_cf9a606e","updated":"2015-11-09 18:33:48.000000000","message":"I\u0027ll add a few words here.","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"b8a2f99d970a2497f4d58b70181d3ab1b13449ef","unresolved":false,"context_lines":[{"line_number":325,"context_line":""},{"line_number":326,"context_line":"1. Run \"cd ``plugin`` \u0026 Python setup.py sdist\""},{"line_number":327,"context_line":"2. Run \"cp -rv enabled ``horizon``/openstack_dashboard/local/\""},{"line_number":328,"context_line":"3. Run \"``horizon``/tools/with_venv.sh pip install sdist/``package``.tar.gz\""},{"line_number":329,"context_line":"4. Restart Apache or your Django test server"},{"line_number":330,"context_line":""},{"line_number":331,"context_line":"If you are able to hit the URL pattern in ``Url.py`` in your browser, you have"}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a26ad4f_0f95b83d","line":328,"updated":"2015-11-01 05:51:32.000000000","message":"Which step here is going to handle the possibly new scss rules (and compile them into plain css using honoring COMPRESS_OFFLINE \u003d True)?","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"efe98c51da2ebdb844f8d2be36ee497fa8293793","unresolved":false,"context_lines":[{"line_number":325,"context_line":""},{"line_number":326,"context_line":"1. Run \"cd ``plugin`` \u0026 Python setup.py sdist\""},{"line_number":327,"context_line":"2. Run \"cp -rv enabled ``horizon``/openstack_dashboard/local/\""},{"line_number":328,"context_line":"3. Run \"``horizon``/tools/with_venv.sh pip install sdist/``package``.tar.gz\""},{"line_number":329,"context_line":"4. Restart Apache or your Django test server"},{"line_number":330,"context_line":""},{"line_number":331,"context_line":"If you are able to hit the URL pattern in ``Url.py`` in your browser, you have"}],"source_content_type":"text/x-rst","patch_set":6,"id":"da85f559_98037942","line":328,"in_reply_to":"1a26ad4f_0f95b83d","updated":"2015-11-09 18:33:48.000000000","message":"Hm... good point, I haven\u0027t tested this with COMPRESS_OFFLINE. What do people normally do in this case? Just rerun collectstatic?","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"d3f3f77eec94e0118c6b48ea7a76af8fd5a70791","unresolved":false,"context_lines":[{"line_number":325,"context_line":""},{"line_number":326,"context_line":"1. Run \"cd ``plugin`` \u0026 Python setup.py sdist\""},{"line_number":327,"context_line":"2. Run \"cp -rv enabled ``horizon``/openstack_dashboard/local/\""},{"line_number":328,"context_line":"3. Run \"``horizon``/tools/with_venv.sh pip install sdist/``package``.tar.gz\""},{"line_number":329,"context_line":"4. Restart Apache or your Django test server"},{"line_number":330,"context_line":""},{"line_number":331,"context_line":"If you are able to hit the URL pattern in ``Url.py`` in your browser, you have"}],"source_content_type":"text/x-rst","patch_set":6,"id":"da85f559_b5758d32","line":328,"in_reply_to":"da85f559_98037942","updated":"2015-11-12 10:52:05.000000000","message":"Yep, read docs about theming by Diana, collectstatic as a means to turn scss into css was mentioned there.","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"b8a2f99d970a2497f4d58b70181d3ab1b13449ef","unresolved":false,"context_lines":[{"line_number":328,"context_line":"3. Run \"``horizon``/tools/with_venv.sh pip install sdist/``package``.tar.gz\""},{"line_number":329,"context_line":"4. Restart Apache or your Django test server"},{"line_number":330,"context_line":""},{"line_number":331,"context_line":"If you are able to hit the URL pattern in ``Url.py`` in your browser, you have"},{"line_number":332,"context_line":"successfully deployed your plugin! For plugins that do not have a URL, check"},{"line_number":333,"context_line":"that your static resources are loaded using the browser inspector."},{"line_number":334,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"1a26ad4f_2f80b4f6","line":331,"updated":"2015-11-01 05:51:32.000000000","message":"Url.py -\u003e urls.py","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"efe98c51da2ebdb844f8d2be36ee497fa8293793","unresolved":false,"context_lines":[{"line_number":328,"context_line":"3. Run \"``horizon``/tools/with_venv.sh pip install sdist/``package``.tar.gz\""},{"line_number":329,"context_line":"4. Restart Apache or your Django test server"},{"line_number":330,"context_line":""},{"line_number":331,"context_line":"If you are able to hit the URL pattern in ``Url.py`` in your browser, you have"},{"line_number":332,"context_line":"successfully deployed your plugin! For plugins that do not have a URL, check"},{"line_number":333,"context_line":"that your static resources are loaded using the browser inspector."},{"line_number":334,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"da85f559_f8b3a5e7","line":331,"in_reply_to":"1a26ad4f_2f80b4f6","updated":"2015-11-09 18:33:48.000000000","message":"Done","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":11778,"name":"Diana Whitten","email":"hurgleburgler@gmail.com","username":"hurgleburgler"},"change_message_id":"a6c74319bb34938a56d2f22ba536416e14341a53","unresolved":false,"context_lines":[{"line_number":334,"context_line":""},{"line_number":335,"context_line":"Note that you may need to rebuild your virtual environment if your plugin is not"},{"line_number":336,"context_line":"showing up properly. If your plugin does not show up properly, you can trace the"},{"line_number":337,"context_line":"problem backward. Check your ``.venv`` folder to make sure the plugin\u0027s content"},{"line_number":338,"context_line":"is as you expect."},{"line_number":339,"context_line":""},{"line_number":340,"context_line":"..  Note ::"}],"source_content_type":"text/x-rst","patch_set":6,"id":"fa80f949_73e0d696","line":337,"updated":"2015-11-06 17:24:30.000000000","message":"trace the problem backward?  This is a little cryptic.","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"efe98c51da2ebdb844f8d2be36ee497fa8293793","unresolved":false,"context_lines":[{"line_number":334,"context_line":""},{"line_number":335,"context_line":"Note that you may need to rebuild your virtual environment if your plugin is not"},{"line_number":336,"context_line":"showing up properly. If your plugin does not show up properly, you can trace the"},{"line_number":337,"context_line":"problem backward. Check your ``.venv`` folder to make sure the plugin\u0027s content"},{"line_number":338,"context_line":"is as you expect."},{"line_number":339,"context_line":""},{"line_number":340,"context_line":"..  Note ::"}],"source_content_type":"text/x-rst","patch_set":6,"id":"da85f559_38e12dd1","line":337,"in_reply_to":"fa80f949_73e0d696","updated":"2015-11-09 18:33:48.000000000","message":"removing the cryptic wording.","commit_id":"ca17b895fa8f0f0b23f8640f6e53c741de444c89"}],"doc/source/tutorials/plugin.rst":[{"author":{"_account_id":11778,"name":"Diana Whitten","email":"hurgleburgler@gmail.com","username":"hurgleburgler"},"change_message_id":"d8dbd0d2b0ce9db9d6c550bee6bcf499a36edd17","unresolved":false,"context_lines":[{"line_number":20,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"This tutorial assumes you have a basic understanding of Python, HTML,"},{"line_number":23,"context_line":"Javascript. Knowledge of AngularJS is optional but recommended if you are"},{"line_number":24,"context_line":"attempting to create an Angular plugin."},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"Types of Plugins"}],"source_content_type":"text/x-rst","patch_set":9,"id":"da85f559_dea56904","line":23,"updated":"2015-11-09 19:02:34.000000000","message":"JavaScript","commit_id":"56df414c2842db91d3eefdd48132a051851a1343"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"c84b5d6d1cb3074900009d2c7c2cc14b4fc01306","unresolved":false,"context_lines":[{"line_number":20,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"This tutorial assumes you have a basic understanding of Python, HTML,"},{"line_number":23,"context_line":"Javascript. Knowledge of AngularJS is optional but recommended if you are"},{"line_number":24,"context_line":"attempting to create an Angular plugin."},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"Types of Plugins"}],"source_content_type":"text/x-rst","patch_set":9,"id":"da85f559_4ae4e0df","line":23,"in_reply_to":"da85f559_dea56904","updated":"2015-11-11 18:54:03.000000000","message":"Done","commit_id":"56df414c2842db91d3eefdd48132a051851a1343"},{"author":{"_account_id":11778,"name":"Diana Whitten","email":"hurgleburgler@gmail.com","username":"hurgleburgler"},"change_message_id":"d8dbd0d2b0ce9db9d6c550bee6bcf499a36edd17","unresolved":false,"context_lines":[{"line_number":46,"context_line":"File Structure"},{"line_number":47,"context_line":"--------------"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"An AngularJS plugin is a collection of javascript files or static resources."},{"line_number":50,"context_line":"Because it runs entirely in your browser, we need to place all of our static"},{"line_number":51,"context_line":"resources inside the ``static`` folder. This ensures that the Django static"},{"line_number":52,"context_line":"collector picks it up and distributes it to the browser correctly. Below is a"}],"source_content_type":"text/x-rst","patch_set":9,"id":"da85f559_beabc5d5","line":49,"updated":"2015-11-09 19:02:34.000000000","message":"JavaScript","commit_id":"56df414c2842db91d3eefdd48132a051851a1343"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"c84b5d6d1cb3074900009d2c7c2cc14b4fc01306","unresolved":false,"context_lines":[{"line_number":46,"context_line":"File Structure"},{"line_number":47,"context_line":"--------------"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"An AngularJS plugin is a collection of javascript files or static resources."},{"line_number":50,"context_line":"Because it runs entirely in your browser, we need to place all of our static"},{"line_number":51,"context_line":"resources inside the ``static`` folder. This ensures that the Django static"},{"line_number":52,"context_line":"collector picks it up and distributes it to the browser correctly. Below is a"}],"source_content_type":"text/x-rst","patch_set":9,"id":"da85f559_eae4b4e0","line":49,"in_reply_to":"da85f559_beabc5d5","updated":"2015-11-11 18:54:03.000000000","message":"Done","commit_id":"56df414c2842db91d3eefdd48132a051851a1343"},{"author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"change_message_id":"e5aca2079762c90c7a4b1694e7e053e454c95119","unresolved":false,"context_lines":[{"line_number":60,"context_line":"  │"},{"line_number":61,"context_line":"  ├── myplugin"},{"line_number":62,"context_line":"  │   ├── __init__.py"},{"line_number":63,"context_line":"  │   ├── panel.py"},{"line_number":64,"context_line":"  │   ├── view.py"},{"line_number":65,"context_line":"  │   ├── static"},{"line_number":66,"context_line":"  │   │   └── dashboard"}],"source_content_type":"text/x-rst","patch_set":9,"id":"da85f559_9472f30f","line":63,"updated":"2015-11-11 18:15:48.000000000","message":"urls.py missing","commit_id":"56df414c2842db91d3eefdd48132a051851a1343"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"c84b5d6d1cb3074900009d2c7c2cc14b4fc01306","unresolved":false,"context_lines":[{"line_number":60,"context_line":"  │"},{"line_number":61,"context_line":"  ├── myplugin"},{"line_number":62,"context_line":"  │   ├── __init__.py"},{"line_number":63,"context_line":"  │   ├── panel.py"},{"line_number":64,"context_line":"  │   ├── view.py"},{"line_number":65,"context_line":"  │   ├── static"},{"line_number":66,"context_line":"  │   │   └── dashboard"}],"source_content_type":"text/x-rst","patch_set":9,"id":"da85f559_cad0d0f8","line":63,"in_reply_to":"da85f559_9472f30f","updated":"2015-11-11 18:54:03.000000000","message":"Done","commit_id":"56df414c2842db91d3eefdd48132a051851a1343"},{"author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"change_message_id":"e5aca2079762c90c7a4b1694e7e053e454c95119","unresolved":false,"context_lines":[{"line_number":61,"context_line":"  ├── myplugin"},{"line_number":62,"context_line":"  │   ├── __init__.py"},{"line_number":63,"context_line":"  │   ├── panel.py"},{"line_number":64,"context_line":"  │   ├── view.py"},{"line_number":65,"context_line":"  │   ├── static"},{"line_number":66,"context_line":"  │   │   └── dashboard"},{"line_number":67,"context_line":"  │   │       └── identity"}],"source_content_type":"text/x-rst","patch_set":9,"id":"da85f559_f409ff84","line":64,"updated":"2015-11-11 18:15:48.000000000","message":"views.py","commit_id":"56df414c2842db91d3eefdd48132a051851a1343"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"c84b5d6d1cb3074900009d2c7c2cc14b4fc01306","unresolved":false,"context_lines":[{"line_number":61,"context_line":"  ├── myplugin"},{"line_number":62,"context_line":"  │   ├── __init__.py"},{"line_number":63,"context_line":"  │   ├── panel.py"},{"line_number":64,"context_line":"  │   ├── view.py"},{"line_number":65,"context_line":"  │   ├── static"},{"line_number":66,"context_line":"  │   │   └── dashboard"},{"line_number":67,"context_line":"  │   │       └── identity"}],"source_content_type":"text/x-rst","patch_set":9,"id":"da85f559_aad30c03","line":64,"in_reply_to":"da85f559_f409ff84","updated":"2015-11-11 18:54:03.000000000","message":"Done","commit_id":"56df414c2842db91d3eefdd48132a051851a1343"},{"author":{"_account_id":11778,"name":"Diana Whitten","email":"hurgleburgler@gmail.com","username":"hurgleburgler"},"change_message_id":"d8dbd0d2b0ce9db9d6c550bee6bcf499a36edd17","unresolved":false,"context_lines":[{"line_number":79,"context_line":"..  Note ::"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"    If you are creating a Python plugin, you may ignore the contents in the"},{"line_number":82,"context_line":"    static folder. Although you will still need some javascript for any"},{"line_number":83,"context_line":"    front-end work."},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"The Enabled File"}],"source_content_type":"text/x-rst","patch_set":9,"id":"da85f559_3e86f565","line":82,"updated":"2015-11-09 19:02:34.000000000","message":"JavaScript","commit_id":"56df414c2842db91d3eefdd48132a051851a1343"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"c84b5d6d1cb3074900009d2c7c2cc14b4fc01306","unresolved":false,"context_lines":[{"line_number":79,"context_line":"..  Note ::"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"    If you are creating a Python plugin, you may ignore the contents in the"},{"line_number":82,"context_line":"    static folder. Although you will still need some javascript for any"},{"line_number":83,"context_line":"    front-end work."},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"The Enabled File"}],"source_content_type":"text/x-rst","patch_set":9,"id":"da85f559_0a01f869","line":82,"in_reply_to":"da85f559_3e86f565","updated":"2015-11-11 18:54:03.000000000","message":"Done","commit_id":"56df414c2842db91d3eefdd48132a051851a1343"},{"author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"change_message_id":"e5aca2079762c90c7a4b1694e7e053e454c95119","unresolved":false,"context_lines":[{"line_number":118,"context_line":"        slug \u003d \"myplugin\""},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"url.py"},{"line_number":121,"context_line":"------"},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"Now that we have a panel, we need to provide a URL so that users can visit our"},{"line_number":124,"context_line":"new panel! This URL generally will point to a view.::"}],"source_content_type":"text/x-rst","patch_set":9,"id":"da85f559_b456175a","line":121,"updated":"2015-11-11 18:15:48.000000000","message":"urls.py","commit_id":"56df414c2842db91d3eefdd48132a051851a1343"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"c84b5d6d1cb3074900009d2c7c2cc14b4fc01306","unresolved":false,"context_lines":[{"line_number":118,"context_line":"        slug \u003d \"myplugin\""},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"url.py"},{"line_number":121,"context_line":"------"},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"Now that we have a panel, we need to provide a URL so that users can visit our"},{"line_number":124,"context_line":"new panel! This URL generally will point to a view.::"}],"source_content_type":"text/x-rst","patch_set":9,"id":"da85f559_aafa2c73","line":121,"in_reply_to":"da85f559_b456175a","updated":"2015-11-11 18:54:03.000000000","message":"Done","commit_id":"56df414c2842db91d3eefdd48132a051851a1343"},{"author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"change_message_id":"e5aca2079762c90c7a4b1694e7e053e454c95119","unresolved":false,"context_lines":[{"line_number":131,"context_line":"        urls.url(r\u0027^$\u0027, views.IndexView.as_view(), name\u003d\u0027index\u0027),"},{"line_number":132,"context_line":"    )"},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"view.py"},{"line_number":135,"context_line":"-------"},{"line_number":136,"context_line":""},{"line_number":137,"context_line":"Because rendering is done client-side, all our view needs is to reference some"}],"source_content_type":"text/x-rst","patch_set":9,"id":"da85f559_d4539b69","line":134,"updated":"2015-11-11 18:15:48.000000000","message":"views.py","commit_id":"56df414c2842db91d3eefdd48132a051851a1343"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"c84b5d6d1cb3074900009d2c7c2cc14b4fc01306","unresolved":false,"context_lines":[{"line_number":131,"context_line":"        urls.url(r\u0027^$\u0027, views.IndexView.as_view(), name\u003d\u0027index\u0027),"},{"line_number":132,"context_line":"    )"},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"view.py"},{"line_number":135,"context_line":"-------"},{"line_number":136,"context_line":""},{"line_number":137,"context_line":"Because rendering is done client-side, all our view needs is to reference some"}],"source_content_type":"text/x-rst","patch_set":9,"id":"da85f559_6af0c491","line":134,"in_reply_to":"da85f559_d4539b69","updated":"2015-11-11 18:54:03.000000000","message":"Done","commit_id":"56df414c2842db91d3eefdd48132a051851a1343"},{"author":{"_account_id":9981,"name":"Doug Fish","email":"drfish@us.ibm.com","username":"doug-fish"},"change_message_id":"da3e673e449e11fe5e050b2a20cd9b54be78eab7","unresolved":false,"context_lines":[{"line_number":46,"context_line":"File Structure"},{"line_number":47,"context_line":"--------------"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"An AngularJS plugin is a collection of JavaScript files or static resources."},{"line_number":50,"context_line":"Because it runs entirely in your browser, we need to place all of our static"},{"line_number":51,"context_line":"resources inside the ``static`` folder. This ensures that the Django static"},{"line_number":52,"context_line":"collector picks it up and distributes it to the browser correctly. Below is a"}],"source_content_type":"text/x-rst","patch_set":10,"id":"da85f559_8ff7fad1","line":49,"updated":"2015-11-12 17:24:17.000000000","message":"Since this section is AngularJS specific I\u0027d expect it to be in the AngularJS plugin section.","commit_id":"17fa51578867a5a931ee3fef0039f62b514feb28"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"8946b3afcfb6e4b3ab765d3733bdabd3e89e5784","unresolved":false,"context_lines":[{"line_number":46,"context_line":"File Structure"},{"line_number":47,"context_line":"--------------"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"An AngularJS plugin is a collection of JavaScript files or static resources."},{"line_number":50,"context_line":"Because it runs entirely in your browser, we need to place all of our static"},{"line_number":51,"context_line":"resources inside the ``static`` folder. This ensures that the Django static"},{"line_number":52,"context_line":"collector picks it up and distributes it to the browser correctly. Below is a"}],"source_content_type":"text/x-rst","patch_set":10,"id":"da85f559_e0eb3511","line":49,"in_reply_to":"da85f559_8ff7fad1","updated":"2015-11-12 20:13:01.000000000","message":"Hm.. good catch, originally it was written for angular plugins, but that is no longer the case. I\u0027ll have to pull the shuffle things around to get the point across.","commit_id":"17fa51578867a5a931ee3fef0039f62b514feb28"},{"author":{"_account_id":9981,"name":"Doug Fish","email":"drfish@us.ibm.com","username":"doug-fish"},"change_message_id":"da3e673e449e11fe5e050b2a20cd9b54be78eab7","unresolved":false,"context_lines":[{"line_number":158,"context_line":""},{"line_number":159,"context_line":"    {% block page_header %}"},{"line_number":160,"context_line":"      {% include \"horizon/common/_domain_page_header.html\""},{"line_number":161,"context_line":"        with title\u003d\"My Plugin\" %}"},{"line_number":162,"context_line":"    {% endblock page_header %}"},{"line_number":163,"context_line":""},{"line_number":164,"context_line":"    {% block main %}"}],"source_content_type":"text/x-rst","patch_set":10,"id":"da85f559_62998dc3","line":161,"updated":"2015-11-12 17:24:17.000000000","message":"_(\"My Plugin\")","commit_id":"17fa51578867a5a931ee3fef0039f62b514feb28"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"8946b3afcfb6e4b3ab765d3733bdabd3e89e5784","unresolved":false,"context_lines":[{"line_number":158,"context_line":""},{"line_number":159,"context_line":"    {% block page_header %}"},{"line_number":160,"context_line":"      {% include \"horizon/common/_domain_page_header.html\""},{"line_number":161,"context_line":"        with title\u003d\"My Plugin\" %}"},{"line_number":162,"context_line":"    {% endblock page_header %}"},{"line_number":163,"context_line":""},{"line_number":164,"context_line":"    {% block main %}"}],"source_content_type":"text/x-rst","patch_set":10,"id":"da85f559_1bb82c29","line":161,"in_reply_to":"da85f559_62998dc3","updated":"2015-11-12 20:13:01.000000000","message":"Done","commit_id":"17fa51578867a5a931ee3fef0039f62b514feb28"},{"author":{"_account_id":9981,"name":"Doug Fish","email":"drfish@us.ibm.com","username":"doug-fish"},"change_message_id":"da3e673e449e11fe5e050b2a20cd9b54be78eab7","unresolved":false,"context_lines":[{"line_number":334,"context_line":""},{"line_number":335,"context_line":"::"},{"line_number":336,"context_line":""},{"line_number":337,"context_line":"1. Run \"cd ``plugin`` \u0026 Python setup.py sdist\""},{"line_number":338,"context_line":"2. Run \"cp -rv enabled ``horizon``/openstack_dashboard/local/\""},{"line_number":339,"context_line":"3. Run \"``horizon``/tools/with_venv.sh pip install sdist/``package``.tar.gz\""},{"line_number":340,"context_line":"4. Restart Apache or your Django test server"}],"source_content_type":"text/x-rst","patch_set":10,"id":"da85f559_8cae282c","line":337,"updated":"2015-11-12 17:24:17.000000000","message":"s/Python/python\n\nInitial cap Python won\u0027t work in some environments.","commit_id":"17fa51578867a5a931ee3fef0039f62b514feb28"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"8946b3afcfb6e4b3ab765d3733bdabd3e89e5784","unresolved":false,"context_lines":[{"line_number":334,"context_line":""},{"line_number":335,"context_line":"::"},{"line_number":336,"context_line":""},{"line_number":337,"context_line":"1. Run \"cd ``plugin`` \u0026 Python setup.py sdist\""},{"line_number":338,"context_line":"2. Run \"cp -rv enabled ``horizon``/openstack_dashboard/local/\""},{"line_number":339,"context_line":"3. Run \"``horizon``/tools/with_venv.sh pip install sdist/``package``.tar.gz\""},{"line_number":340,"context_line":"4. Restart Apache or your Django test server"}],"source_content_type":"text/x-rst","patch_set":10,"id":"da85f559_bb7d606e","line":337,"in_reply_to":"da85f559_8cae282c","updated":"2015-11-12 20:13:01.000000000","message":"Done","commit_id":"17fa51578867a5a931ee3fef0039f62b514feb28"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"38977257c9bbe5c38eacae830a6ae13379f43bf0","unresolved":false,"context_lines":[{"line_number":339,"context_line":"3. Run \"``horizon``/tools/with_venv.sh pip install sdist/``package``.tar.gz\""},{"line_number":340,"context_line":"4. Restart Apache or your Django test server"},{"line_number":341,"context_line":""},{"line_number":342,"context_line":"If you are able to hit the URL pattern in ``ulrs.py`` in your browser, you have"},{"line_number":343,"context_line":"successfully deployed your plugin! For plugins that do not have a URL, check"},{"line_number":344,"context_line":"that your static resources are loaded using the browser inspector."},{"line_number":345,"context_line":""}],"source_content_type":"text/x-rst","patch_set":10,"id":"da85f559_9595e933","line":342,"updated":"2015-11-12 10:54:06.000000000","message":"ulrs.py -\u003e urls.py","commit_id":"17fa51578867a5a931ee3fef0039f62b514feb28"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"8946b3afcfb6e4b3ab765d3733bdabd3e89e5784","unresolved":false,"context_lines":[{"line_number":339,"context_line":"3. Run \"``horizon``/tools/with_venv.sh pip install sdist/``package``.tar.gz\""},{"line_number":340,"context_line":"4. Restart Apache or your Django test server"},{"line_number":341,"context_line":""},{"line_number":342,"context_line":"If you are able to hit the URL pattern in ``ulrs.py`` in your browser, you have"},{"line_number":343,"context_line":"successfully deployed your plugin! For plugins that do not have a URL, check"},{"line_number":344,"context_line":"that your static resources are loaded using the browser inspector."},{"line_number":345,"context_line":""}],"source_content_type":"text/x-rst","patch_set":10,"id":"da85f559_7bdb787c","line":342,"in_reply_to":"da85f559_9595e933","updated":"2015-11-12 20:13:01.000000000","message":"Done","commit_id":"17fa51578867a5a931ee3fef0039f62b514feb28"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"d4d874abd8bcca2159b58cae6a02f451d8e9c78c","unresolved":false,"context_lines":[{"line_number":72,"context_line":"  └── setup.py"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"If you are creating a Python plugin, you may ignore the ``static`` folder. Most"},{"line_number":75,"context_line":"of the classes you need are provided for in Python. If you intend on adding"},{"line_number":76,"context_line":"custom front-end logic, you will need to include addition JavaScripts here."},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"An AngularJS plugin is a collection of JavaScript files or static resources."}],"source_content_type":"text/x-rst","patch_set":11,"id":"da85f559_65af4e2c","line":75,"updated":"2015-11-12 22:19:59.000000000","message":"s/intend/intent","commit_id":"80a7c2c5a6bfc595699e0c4a6bcaf5d491cf2b50"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"1953b19fdc239e0405ffa5642cbde92d875bfb37","unresolved":false,"context_lines":[{"line_number":72,"context_line":"  └── setup.py"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"If you are creating a Python plugin, you may ignore the ``static`` folder. Most"},{"line_number":75,"context_line":"of the classes you need are provided for in Python. If you intend on adding"},{"line_number":76,"context_line":"custom front-end logic, you will need to include addition JavaScripts here."},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"An AngularJS plugin is a collection of JavaScript files or static resources."}],"source_content_type":"text/x-rst","patch_set":11,"id":"da85f559_eee0f6fc","line":75,"in_reply_to":"da85f559_65af4e2c","updated":"2015-11-13 00:27:59.000000000","message":"I think intend is the correct usage here? I intend to do something (not intent).","commit_id":"80a7c2c5a6bfc595699e0c4a6bcaf5d491cf2b50"},{"author":{"_account_id":11778,"name":"Diana Whitten","email":"hurgleburgler@gmail.com","username":"hurgleburgler"},"change_message_id":"c79b64575e4531ec7b5f094960c45a997b9ea355","unresolved":false,"context_lines":[{"line_number":72,"context_line":"  └── setup.py"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"If you are creating a Python plugin, you may ignore the ``static`` folder. Most"},{"line_number":75,"context_line":"of the classes you need are provided for in Python. If you intend on adding"},{"line_number":76,"context_line":"custom front-end logic, you will need to include addition JavaScripts here."},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"An AngularJS plugin is a collection of JavaScript files or static resources."}],"source_content_type":"text/x-rst","patch_set":11,"id":"da85f559_06572303","line":75,"in_reply_to":"da85f559_eee0f6fc","updated":"2015-11-14 15:54:17.000000000","message":"intend is correct","commit_id":"80a7c2c5a6bfc595699e0c4a6bcaf5d491cf2b50"},{"author":{"_account_id":11778,"name":"Diana Whitten","email":"hurgleburgler@gmail.com","username":"hurgleburgler"},"change_message_id":"c79b64575e4531ec7b5f094960c45a997b9ea355","unresolved":false,"context_lines":[{"line_number":73,"context_line":""},{"line_number":74,"context_line":"If you are creating a Python plugin, you may ignore the ``static`` folder. Most"},{"line_number":75,"context_line":"of the classes you need are provided for in Python. If you intend on adding"},{"line_number":76,"context_line":"custom front-end logic, you will need to include addition JavaScripts here."},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"An AngularJS plugin is a collection of JavaScript files or static resources."},{"line_number":79,"context_line":"Because it runs entirely in your browser, we need to place all of our static"}],"source_content_type":"text/x-rst","patch_set":11,"id":"da85f559_265a672b","line":76,"updated":"2015-11-14 15:54:17.000000000","message":"additional JavaScript here.","commit_id":"80a7c2c5a6bfc595699e0c4a6bcaf5d491cf2b50"},{"author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"change_message_id":"c538931a8f1816cecc609c6f7692cb92cdd32256","unresolved":false,"context_lines":[{"line_number":73,"context_line":""},{"line_number":74,"context_line":"If you are creating a Python plugin, you may ignore the ``static`` folder. Most"},{"line_number":75,"context_line":"of the classes you need are provided for in Python. If you intend on adding"},{"line_number":76,"context_line":"custom front-end logic, you will need to include addition JavaScripts here."},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"An AngularJS plugin is a collection of JavaScript files or static resources."},{"line_number":79,"context_line":"Because it runs entirely in your browser, we need to place all of our static"}],"source_content_type":"text/x-rst","patch_set":11,"id":"9a8ffd7b_e5f8b94b","line":76,"in_reply_to":"da85f559_265a672b","updated":"2015-11-25 23:24:36.000000000","message":"Done","commit_id":"80a7c2c5a6bfc595699e0c4a6bcaf5d491cf2b50"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"d4d874abd8bcca2159b58cae6a02f451d8e9c78c","unresolved":false,"context_lines":[{"line_number":104,"context_line":"--------"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"We define a panel where our plugin\u0027s content will reside in. This is currently a"},{"line_number":107,"context_line":"neccessity even for Angular plugins. The slug is the panel\u0027s unique identifier."},{"line_number":108,"context_line":"Make sure that it matches what you have in your enabled file.::"},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"    from django.utils.translation import ugettext_lazy as _"}],"source_content_type":"text/x-rst","patch_set":11,"id":"da85f559_65766eda","line":107,"updated":"2015-11-12 22:19:59.000000000","message":"Django*","commit_id":"80a7c2c5a6bfc595699e0c4a6bcaf5d491cf2b50"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"1953b19fdc239e0405ffa5642cbde92d875bfb37","unresolved":false,"context_lines":[{"line_number":104,"context_line":"--------"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"We define a panel where our plugin\u0027s content will reside in. This is currently a"},{"line_number":107,"context_line":"neccessity even for Angular plugins. The slug is the panel\u0027s unique identifier."},{"line_number":108,"context_line":"Make sure that it matches what you have in your enabled file.::"},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"    from django.utils.translation import ugettext_lazy as _"}],"source_content_type":"text/x-rst","patch_set":11,"id":"da85f559_cec892ab","line":107,"in_reply_to":"da85f559_65766eda","updated":"2015-11-13 00:27:59.000000000","message":"? I want to mention that this also applies to angular plugins (not just python plugins).","commit_id":"80a7c2c5a6bfc595699e0c4a6bcaf5d491cf2b50"},{"author":{"_account_id":6650,"name":"Eric Peterson","email":"ejpetey@gmail.com","username":"ericpeterson-l"},"change_message_id":"698cd6fe240437637b1acbfb1609d5267850e10f","unresolved":false,"context_lines":[{"line_number":104,"context_line":"--------"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"We define a panel where our plugin\u0027s content will reside in. This is currently a"},{"line_number":107,"context_line":"neccessity even for Angular plugins. The slug is the panel\u0027s unique identifier."},{"line_number":108,"context_line":"Make sure that it matches what you have in your enabled file.::"},{"line_number":109,"context_line":""},{"line_number":110,"context_line":"    from django.utils.translation import ugettext_lazy as _"}],"source_content_type":"text/x-rst","patch_set":11,"id":"da85f559_932b6533","line":107,"in_reply_to":"da85f559_cec892ab","updated":"2015-11-13 20:35:03.000000000","message":"maybe this content can be merged with https://github.com/openstack/horizon/blob/master/doc/source/topics/tutorial.rst ?","commit_id":"80a7c2c5a6bfc595699e0c4a6bcaf5d491cf2b50"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"d4d874abd8bcca2159b58cae6a02f451d8e9c78c","unresolved":false,"context_lines":[{"line_number":134,"context_line":""},{"line_number":135,"context_line":"Because rendering is done client-side, all our view needs is to reference some"},{"line_number":136,"context_line":"HTML page. If you are writing a Python plugin, this view can be much more"},{"line_number":137,"context_line":"complex. Refer to the topic guides for more details.::"},{"line_number":138,"context_line":""},{"line_number":139,"context_line":"    from django.views import generic"},{"line_number":140,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"da85f559_c5471a76","line":137,"updated":"2015-11-12 22:19:59.000000000","message":"link to topic guides?","commit_id":"80a7c2c5a6bfc595699e0c4a6bcaf5d491cf2b50"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"f3955f0d88b35389e088cbc9f0641b56b1c94c99","unresolved":false,"context_lines":[{"line_number":134,"context_line":""},{"line_number":135,"context_line":"Because rendering is done client-side, all our view needs is to reference some"},{"line_number":136,"context_line":"HTML page. If you are writing a Python plugin, this view can be much more"},{"line_number":137,"context_line":"complex. Refer to the topic guides for more details.::"},{"line_number":138,"context_line":""},{"line_number":139,"context_line":"    from django.views import generic"},{"line_number":140,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"ba8a016a_b4ef28e8","line":137,"in_reply_to":"da85f559_4ebd8201","updated":"2015-11-18 11:26:36.000000000","message":"You can cross-reference anything, you may need to manually add the reference though. Look in the angular doc, I did it a couple of times.","commit_id":"80a7c2c5a6bfc595699e0c4a6bcaf5d491cf2b50"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"1953b19fdc239e0405ffa5642cbde92d875bfb37","unresolved":false,"context_lines":[{"line_number":134,"context_line":""},{"line_number":135,"context_line":"Because rendering is done client-side, all our view needs is to reference some"},{"line_number":136,"context_line":"HTML page. If you are writing a Python plugin, this view can be much more"},{"line_number":137,"context_line":"complex. Refer to the topic guides for more details.::"},{"line_number":138,"context_line":""},{"line_number":139,"context_line":"    from django.views import generic"},{"line_number":140,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"da85f559_4ebd8201","line":137,"in_reply_to":"da85f559_c5471a76","updated":"2015-11-13 00:27:59.000000000","message":"Not sure if I can reference the topic guides in rst file, I can link to the main page but not section in the page?","commit_id":"80a7c2c5a6bfc595699e0c4a6bcaf5d491cf2b50"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"d4d874abd8bcca2159b58cae6a02f451d8e9c78c","unresolved":false,"context_lines":[{"line_number":177,"context_line":"-----------"},{"line_number":178,"context_line":"This file is responsible for listing the paths you want included in your tar.::"},{"line_number":179,"context_line":""},{"line_number":180,"context_line":"    setup.pyinclude setup.py"},{"line_number":181,"context_line":""},{"line_number":182,"context_line":"    recursive-include myplugin/templates *"},{"line_number":183,"context_line":"    recursive-include myplugin/static *"}],"source_content_type":"text/x-rst","patch_set":11,"id":"da85f559_60673ceb","line":180,"updated":"2015-11-12 22:19:59.000000000","message":"include setup.py*","commit_id":"80a7c2c5a6bfc595699e0c4a6bcaf5d491cf2b50"},{"author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"change_message_id":"c538931a8f1816cecc609c6f7692cb92cdd32256","unresolved":false,"context_lines":[{"line_number":177,"context_line":"-----------"},{"line_number":178,"context_line":"This file is responsible for listing the paths you want included in your tar.::"},{"line_number":179,"context_line":""},{"line_number":180,"context_line":"    setup.pyinclude setup.py"},{"line_number":181,"context_line":""},{"line_number":182,"context_line":"    recursive-include myplugin/templates *"},{"line_number":183,"context_line":"    recursive-include myplugin/static *"}],"source_content_type":"text/x-rst","patch_set":11,"id":"9a8ffd7b_45b74586","line":180,"in_reply_to":"da85f559_13dd3570","updated":"2015-11-25 23:24:36.000000000","message":"corrected this","commit_id":"80a7c2c5a6bfc595699e0c4a6bcaf5d491cf2b50"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"1953b19fdc239e0405ffa5642cbde92d875bfb37","unresolved":false,"context_lines":[{"line_number":177,"context_line":"-----------"},{"line_number":178,"context_line":"This file is responsible for listing the paths you want included in your tar.::"},{"line_number":179,"context_line":""},{"line_number":180,"context_line":"    setup.pyinclude setup.py"},{"line_number":181,"context_line":""},{"line_number":182,"context_line":"    recursive-include myplugin/templates *"},{"line_number":183,"context_line":"    recursive-include myplugin/static *"}],"source_content_type":"text/x-rst","patch_set":11,"id":"da85f559_6ebac60c","line":180,"in_reply_to":"da85f559_60673ceb","updated":"2015-11-13 00:27:59.000000000","message":"Done","commit_id":"80a7c2c5a6bfc595699e0c4a6bcaf5d491cf2b50"},{"author":{"_account_id":6650,"name":"Eric Peterson","email":"ejpetey@gmail.com","username":"ericpeterson-l"},"change_message_id":"698cd6fe240437637b1acbfb1609d5267850e10f","unresolved":false,"context_lines":[{"line_number":177,"context_line":"-----------"},{"line_number":178,"context_line":"This file is responsible for listing the paths you want included in your tar.::"},{"line_number":179,"context_line":""},{"line_number":180,"context_line":"    setup.pyinclude setup.py"},{"line_number":181,"context_line":""},{"line_number":182,"context_line":"    recursive-include myplugin/templates *"},{"line_number":183,"context_line":"    recursive-include myplugin/static *"}],"source_content_type":"text/x-rst","patch_set":11,"id":"da85f559_13dd3570","line":180,"in_reply_to":"da85f559_60673ceb","updated":"2015-11-13 20:35:03.000000000","message":"was there supposed to be a space here ^  ??  That looks weird.","commit_id":"80a7c2c5a6bfc595699e0c4a6bcaf5d491cf2b50"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"d4d874abd8bcca2159b58cae6a02f451d8e9c78c","unresolved":false,"context_lines":[{"line_number":259,"context_line":"..  Note ::"},{"line_number":260,"context_line":""},{"line_number":261,"context_line":"    Angular\u0027s directives are prefixed with ng. Similarly, Horizon\u0027s directives"},{"line_number":262,"context_line":"    are prefixed with hz. You can think of them as name spaces."},{"line_number":263,"context_line":""},{"line_number":264,"context_line":"myplugin.js"},{"line_number":265,"context_line":"-----------"}],"source_content_type":"text/x-rst","patch_set":11,"id":"da85f559_206b7487","line":262,"updated":"2015-11-12 22:19:59.000000000","message":"You can see in the above index.html, the plugin is using horizon\u0027s page header directive.","commit_id":"80a7c2c5a6bfc595699e0c4a6bcaf5d491cf2b50"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"1953b19fdc239e0405ffa5642cbde92d875bfb37","unresolved":false,"context_lines":[{"line_number":259,"context_line":"..  Note ::"},{"line_number":260,"context_line":""},{"line_number":261,"context_line":"    Angular\u0027s directives are prefixed with ng. Similarly, Horizon\u0027s directives"},{"line_number":262,"context_line":"    are prefixed with hz. You can think of them as name spaces."},{"line_number":263,"context_line":""},{"line_number":264,"context_line":"myplugin.js"},{"line_number":265,"context_line":"-----------"}],"source_content_type":"text/x-rst","patch_set":11,"id":"da85f559_aef50ecc","line":262,"in_reply_to":"da85f559_206b7487","updated":"2015-11-13 00:27:59.000000000","message":"Do you want to include this comment here? or somewhere in the 2 paragraphs above?","commit_id":"80a7c2c5a6bfc595699e0c4a6bcaf5d491cf2b50"},{"author":{"_account_id":19142,"name":"Omer Etrog","email":"omer.etrog@nokia.com","username":"omer.etrog"},"change_message_id":"bf74da136d7f2b8ae165bc043d8f77c3a21e9990","unresolved":false,"context_lines":[{"line_number":260,"context_line":""},{"line_number":261,"context_line":"    Angular\u0027s directives are prefixed with ng. Similarly, Horizon\u0027s directives"},{"line_number":262,"context_line":"    are prefixed with hz. You can think of them as name spaces."},{"line_number":263,"context_line":""},{"line_number":264,"context_line":"myplugin.js"},{"line_number":265,"context_line":"-----------"},{"line_number":266,"context_line":""}],"source_content_type":"text/x-rst","patch_set":11,"id":"9a8ffd7b_2b879eb6","line":263,"updated":"2015-11-25 10:38:51.000000000","message":"I think that we if we want to follow John Papa code structure, we need to show how to split the module and the controller, otherwise developers will follow the example","commit_id":"80a7c2c5a6bfc595699e0c4a6bcaf5d491cf2b50"},{"author":{"_account_id":16628,"name":"Beth Elwell","email":"e.r.elwell@gmail.com","username":"bethelwell"},"change_message_id":"a39760a68d33f9705d13c28c1269422414185c9a","unresolved":false,"context_lines":[{"line_number":91,"context_line":""},{"line_number":92,"context_line":"The enabled folder contains the configuration file(s) that registers your"},{"line_number":93,"context_line":"plugin with Horizon. The file is prefixed with an alpha-numberic string that"},{"line_number":94,"context_line":"determines the load order of your plugin. For more information on what you can"},{"line_number":95,"context_line":"include in this file, see pluggable settings in"},{"line_number":96,"context_line":":doc:`Settings and Configuration \u003c/topics/settings\u003e`"},{"line_number":97,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"9a68dd71_1fdd6914","line":94,"updated":"2016-01-20 16:30:50.000000000","message":"Can the \u0027load order\u0027 be specified? Is this the order for where the plugin appears in the navigation or Horizon and if so where can the existing order and relating numbers be found?","commit_id":"5e94310a051d6306b58835be4ce6a35892498c36"},{"author":{"_account_id":16759,"name":"Wim De Clercq","email":"wim.de_clercq@nuagenetworks.net","username":"wdeclercq"},"change_message_id":"1f458d64d770bbdb00c8ec957409c8ce48b8edb2","unresolved":false,"context_lines":[{"line_number":102,"context_line":""},{"line_number":103,"context_line":"    # The name of the dashboard the PANEL associated with. Required."},{"line_number":104,"context_line":"    PANEL_DASHBOARD \u003d \u0027identity\u0027"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"    # A list of applications to be prepended to INSTALLED_APPS"},{"line_number":107,"context_line":"    ADD_INSTALLED_APPS \u003d [\u0027myplugin\u0027]"},{"line_number":108,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"9a8ffd7b_70490eb7","line":105,"updated":"2015-12-01 13:29:57.000000000","message":"To get the panel to show up in the sidebar there\u0027s a missing line with \n\nADD_PANEL \u003d \u0027myplugin.content.panel.MyPlugin\u0027\n\nAnd optionally\n\nPANEL_GROUP \u003d \u0027default\u0027\n\nSo it doesn\u0027t end up in an \"other\" panelgroup","commit_id":"5e94310a051d6306b58835be4ce6a35892498c36"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"2f39e9f1c11d8e4db742c8d3921c897faa6ec05c","unresolved":false,"context_lines":[{"line_number":102,"context_line":""},{"line_number":103,"context_line":"    # The name of the dashboard the PANEL associated with. Required."},{"line_number":104,"context_line":"    PANEL_DASHBOARD \u003d \u0027identity\u0027"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"    # A list of applications to be prepended to INSTALLED_APPS"},{"line_number":107,"context_line":"    ADD_INSTALLED_APPS \u003d [\u0027myplugin\u0027]"},{"line_number":108,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"7a740942_97c4d55f","line":105,"in_reply_to":"9a8ffd7b_70490eb7","updated":"2015-12-09 21:21:40.000000000","message":"Will leave this out for now. The purpose is to provide plugin tutorial with minimal configurations. User can reference the settings doc for more config.","commit_id":"5e94310a051d6306b58835be4ce6a35892498c36"},{"author":{"_account_id":16759,"name":"Wim De Clercq","email":"wim.de_clercq@nuagenetworks.net","username":"wdeclercq"},"change_message_id":"8be459b1debd6452b4ba2a1c2575e7128420805e","unresolved":false,"context_lines":[{"line_number":104,"context_line":"    PANEL_DASHBOARD \u003d \u0027identity\u0027"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"    # A list of applications to be prepended to INSTALLED_APPS"},{"line_number":107,"context_line":"    ADD_INSTALLED_APPS \u003d [\u0027myplugin\u0027]"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"    # Automatically discover static resources in installed apps"},{"line_number":110,"context_line":"    AUTO_DISCOVER_STATIC_FILES \u003d True"}],"source_content_type":"text/x-rst","patch_set":12,"id":"9a8ffd7b_edd3e9d3","line":107,"updated":"2015-12-01 13:16:31.000000000","message":"Given the directory structure above, this should be \u0027myplugin.content\u0027","commit_id":"5e94310a051d6306b58835be4ce6a35892498c36"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"2f39e9f1c11d8e4db742c8d3921c897faa6ec05c","unresolved":false,"context_lines":[{"line_number":104,"context_line":"    PANEL_DASHBOARD \u003d \u0027identity\u0027"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"    # A list of applications to be prepended to INSTALLED_APPS"},{"line_number":107,"context_line":"    ADD_INSTALLED_APPS \u003d [\u0027myplugin\u0027]"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"    # Automatically discover static resources in installed apps"},{"line_number":110,"context_line":"    AUTO_DISCOVER_STATIC_FILES \u003d True"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7a740942_77192922","line":107,"in_reply_to":"9a8ffd7b_edd3e9d3","updated":"2015-12-09 21:21:40.000000000","message":"I think myplugin is correct.","commit_id":"5e94310a051d6306b58835be4ce6a35892498c36"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"2f39e9f1c11d8e4db742c8d3921c897faa6ec05c","unresolved":false,"context_lines":[{"line_number":113,"context_line":"--------------"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"This file will likely be necessary if creating a plugin using Angular should"},{"line_number":116,"context_line":"your plugin need to communicate with a new service or require new interactions"},{"line_number":117,"context_line":"with a service already supported by Horizon. In this particular example, the"},{"line_number":118,"context_line":"plugin will augmentthe support for the already supported Identity service,"},{"line_number":119,"context_line":"keystone. This file serves to define new REST interfaces for the plugin\u0027s"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7a740942_1780e545","line":116,"updated":"2015-12-09 21:21:40.000000000","message":"is this a run on? sounds kind of like one.... will correct.","commit_id":"5e94310a051d6306b58835be4ce6a35892498c36"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"6f8423705cca8d6cc687320f242c8d1d61c04a6d","unresolved":false,"context_lines":[{"line_number":115,"context_line":"This file will likely be necessary if creating a plugin using Angular should"},{"line_number":116,"context_line":"your plugin need to communicate with a new service or require new interactions"},{"line_number":117,"context_line":"with a service already supported by Horizon. In this particular example, the"},{"line_number":118,"context_line":"plugin will augmentthe support for the already supported Identity service,"},{"line_number":119,"context_line":"keystone. This file serves to define new REST interfaces for the plugin\u0027s"},{"line_number":120,"context_line":"clientside to communicate with Horizon. Typically, the REST interfaces here"},{"line_number":121,"context_line":"makes calls into ``myservice.py``."}],"source_content_type":"text/x-rst","patch_set":12,"id":"9a8ffd7b_ed9f2e4e","line":118,"updated":"2015-11-26 09:02:36.000000000","message":"augmentthe -\u003e augment the","commit_id":"5e94310a051d6306b58835be4ce6a35892498c36"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"2f39e9f1c11d8e4db742c8d3921c897faa6ec05c","unresolved":false,"context_lines":[{"line_number":115,"context_line":"This file will likely be necessary if creating a plugin using Angular should"},{"line_number":116,"context_line":"your plugin need to communicate with a new service or require new interactions"},{"line_number":117,"context_line":"with a service already supported by Horizon. In this particular example, the"},{"line_number":118,"context_line":"plugin will augmentthe support for the already supported Identity service,"},{"line_number":119,"context_line":"keystone. This file serves to define new REST interfaces for the plugin\u0027s"},{"line_number":120,"context_line":"clientside to communicate with Horizon. Typically, the REST interfaces here"},{"line_number":121,"context_line":"makes calls into ``myservice.py``."}],"source_content_type":"text/x-rst","patch_set":12,"id":"7a740942_374c0176","line":118,"in_reply_to":"9a8ffd7b_ed9f2e4e","updated":"2015-12-09 21:21:40.000000000","message":"Done","commit_id":"5e94310a051d6306b58835be4ce6a35892498c36"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"6f8423705cca8d6cc687320f242c8d1d61c04a6d","unresolved":false,"context_lines":[{"line_number":116,"context_line":"your plugin need to communicate with a new service or require new interactions"},{"line_number":117,"context_line":"with a service already supported by Horizon. In this particular example, the"},{"line_number":118,"context_line":"plugin will augmentthe support for the already supported Identity service,"},{"line_number":119,"context_line":"keystone. This file serves to define new REST interfaces for the plugin\u0027s"},{"line_number":120,"context_line":"clientside to communicate with Horizon. Typically, the REST interfaces here"},{"line_number":121,"context_line":"makes calls into ``myservice.py``."},{"line_number":122,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"9a8ffd7b_2db456cf","line":119,"updated":"2015-11-26 09:02:36.000000000","message":"Shouldn\u0027t we capitalize here Keystone?","commit_id":"5e94310a051d6306b58835be4ce6a35892498c36"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"2f39e9f1c11d8e4db742c8d3921c897faa6ec05c","unresolved":false,"context_lines":[{"line_number":116,"context_line":"your plugin need to communicate with a new service or require new interactions"},{"line_number":117,"context_line":"with a service already supported by Horizon. In this particular example, the"},{"line_number":118,"context_line":"plugin will augmentthe support for the already supported Identity service,"},{"line_number":119,"context_line":"keystone. This file serves to define new REST interfaces for the plugin\u0027s"},{"line_number":120,"context_line":"clientside to communicate with Horizon. Typically, the REST interfaces here"},{"line_number":121,"context_line":"makes calls into ``myservice.py``."},{"line_number":122,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"7a740942_175b0530","line":119,"in_reply_to":"9a8ffd7b_2db456cf","updated":"2015-12-09 21:21:40.000000000","message":"Done","commit_id":"5e94310a051d6306b58835be4ce6a35892498c36"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"6f8423705cca8d6cc687320f242c8d1d61c04a6d","unresolved":false,"context_lines":[{"line_number":118,"context_line":"plugin will augmentthe support for the already supported Identity service,"},{"line_number":119,"context_line":"keystone. This file serves to define new REST interfaces for the plugin\u0027s"},{"line_number":120,"context_line":"clientside to communicate with Horizon. Typically, the REST interfaces here"},{"line_number":121,"context_line":"makes calls into ``myservice.py``."},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"This file is unnecessary in a purely Django based plugin, or if your Angular"},{"line_number":124,"context_line":"based plugin is relying on CORS support in the desired service."}],"source_content_type":"text/x-rst","patch_set":12,"id":"9a8ffd7b_cdd26a00","line":121,"updated":"2015-11-26 09:02:36.000000000","message":"makes -\u003e make","commit_id":"5e94310a051d6306b58835be4ce6a35892498c36"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"2f39e9f1c11d8e4db742c8d3921c897faa6ec05c","unresolved":false,"context_lines":[{"line_number":118,"context_line":"plugin will augmentthe support for the already supported Identity service,"},{"line_number":119,"context_line":"keystone. This file serves to define new REST interfaces for the plugin\u0027s"},{"line_number":120,"context_line":"clientside to communicate with Horizon. Typically, the REST interfaces here"},{"line_number":121,"context_line":"makes calls into ``myservice.py``."},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"This file is unnecessary in a purely Django based plugin, or if your Angular"},{"line_number":124,"context_line":"based plugin is relying on CORS support in the desired service."}],"source_content_type":"text/x-rst","patch_set":12,"id":"7a740942_b76791e9","line":121,"in_reply_to":"9a8ffd7b_cdd26a00","updated":"2015-12-09 21:21:40.000000000","message":"Done","commit_id":"5e94310a051d6306b58835be4ce6a35892498c36"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"6f8423705cca8d6cc687320f242c8d1d61c04a6d","unresolved":false,"context_lines":[{"line_number":129,"context_line":"This file will likely be necessary if creating a Django or Angular driven"},{"line_number":130,"context_line":"plugin. This file is intended to act as a convenient location for interacting"},{"line_number":131,"context_line":"with the new service this plugin is supporting. While interactions with the"},{"line_number":132,"context_line":"service can be handled in the ``views.py``, isolating the logic is an"},{"line_number":133,"context_line":"established pattern in Horizon."},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"panel.py"}],"source_content_type":"text/x-rst","patch_set":12,"id":"9a8ffd7b_ed3bae36","line":132,"updated":"2015-11-26 09:02:36.000000000","message":"Suggestion: the logic -\u003e the service interaction logic","commit_id":"5e94310a051d6306b58835be4ce6a35892498c36"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"2f39e9f1c11d8e4db742c8d3921c897faa6ec05c","unresolved":false,"context_lines":[{"line_number":129,"context_line":"This file will likely be necessary if creating a Django or Angular driven"},{"line_number":130,"context_line":"plugin. This file is intended to act as a convenient location for interacting"},{"line_number":131,"context_line":"with the new service this plugin is supporting. While interactions with the"},{"line_number":132,"context_line":"service can be handled in the ``views.py``, isolating the logic is an"},{"line_number":133,"context_line":"established pattern in Horizon."},{"line_number":134,"context_line":""},{"line_number":135,"context_line":"panel.py"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7a740942_77bda901","line":132,"in_reply_to":"9a8ffd7b_ed3bae36","updated":"2015-12-09 21:21:40.000000000","message":"Made enough sense, OK to leave as is.","commit_id":"5e94310a051d6306b58835be4ce6a35892498c36"},{"author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"change_message_id":"59571348da43315fef8aa4e9f7c74e72b9ec68bd","unresolved":false,"context_lines":[{"line_number":145,"context_line":""},{"line_number":146,"context_line":"    class MyPlugin(horizon.Panel):"},{"line_number":147,"context_line":"        name \u003d _(\"My Plugin\")"},{"line_number":148,"context_line":"        slug \u003d \"mypanel\""},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"tests.py"},{"line_number":151,"context_line":"--------"}],"source_content_type":"text/x-rst","patch_set":12,"id":"9a8ffd7b_45a0a543","line":148,"updated":"2015-11-25 23:24:11.000000000","message":"changed to clarify panel from plugin.","commit_id":"5e94310a051d6306b58835be4ce6a35892498c36"},{"author":{"_account_id":8533,"name":"Marcos Fermín Lobo","email":"lobo@lukos.org","username":"mlobo"},"change_message_id":"15e3542124d28d2932ad28a98946f5ffd7ad791e","unresolved":false,"context_lines":[{"line_number":158,"context_line":"Now that we have a panel, we need to provide a URL so that users can visit our"},{"line_number":159,"context_line":"new panel! This URL generally will point to a view.::"},{"line_number":160,"context_line":""},{"line_number":161,"context_line":"    from django.conf import urls"},{"line_number":162,"context_line":""},{"line_number":163,"context_line":"    from myplugin.content import views"},{"line_number":164,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"7a740942_1f49e98e","line":161,"updated":"2015-12-09 16:06:42.000000000","message":"\u0027from django.conf.urls import patterns\u0027 is also needed","commit_id":"5e94310a051d6306b58835be4ce6a35892498c36"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"2f39e9f1c11d8e4db742c8d3921c897faa6ec05c","unresolved":false,"context_lines":[{"line_number":158,"context_line":"Now that we have a panel, we need to provide a URL so that users can visit our"},{"line_number":159,"context_line":"new panel! This URL generally will point to a view.::"},{"line_number":160,"context_line":""},{"line_number":161,"context_line":"    from django.conf import urls"},{"line_number":162,"context_line":""},{"line_number":163,"context_line":"    from myplugin.content import views"},{"line_number":164,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"7a740942_0d5e9476","line":161,"in_reply_to":"7a740942_1f49e98e","updated":"2015-12-09 21:21:40.000000000","message":"shouldn\u0027t need to since we are importing conf (one level up)","commit_id":"5e94310a051d6306b58835be4ce6a35892498c36"},{"author":{"_account_id":8686,"name":"Wang Bo","email":"bo.wang@easystack.cn","username":"wangbo"},"change_message_id":"74434a51245902007d030406874c8bf0e06ff211","unresolved":false,"context_lines":[{"line_number":162,"context_line":""},{"line_number":163,"context_line":"    from myplugin.content import views"},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"    urlpatterns \u003d urls.patterns("},{"line_number":166,"context_line":"        urls.url(r\u0027^$\u0027, views.IndexView.as_view(), name\u003d\u0027index\u0027),"},{"line_number":167,"context_line":"    )"},{"line_number":168,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"9a8ffd7b_500e4fe6","line":165,"updated":"2015-12-01 12:29:41.000000000","message":"need prefix argument?  \u0027myplugin.content.views\u0027, or \u0027\u0027,","commit_id":"5e94310a051d6306b58835be4ce6a35892498c36"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"2f39e9f1c11d8e4db742c8d3921c897faa6ec05c","unresolved":false,"context_lines":[{"line_number":162,"context_line":""},{"line_number":163,"context_line":"    from myplugin.content import views"},{"line_number":164,"context_line":""},{"line_number":165,"context_line":"    urlpatterns \u003d urls.patterns("},{"line_number":166,"context_line":"        urls.url(r\u0027^$\u0027, views.IndexView.as_view(), name\u003d\u0027index\u0027),"},{"line_number":167,"context_line":"    )"},{"line_number":168,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"7a740942_8de1249d","line":165,"in_reply_to":"9a8ffd7b_500e4fe6","updated":"2015-12-09 21:21:40.000000000","message":"shouldn\u0027t need to since we are using views directly","commit_id":"5e94310a051d6306b58835be4ce6a35892498c36"},{"author":{"_account_id":9981,"name":"Doug Fish","email":"drfish@us.ibm.com","username":"doug-fish"},"change_message_id":"07212ccbda4e2a9bec1e52bb97be79f06c2af7bb","unresolved":false,"context_lines":[{"line_number":219,"context_line":"    recursive-include myplugin *.js *.html *.scss"},{"line_number":220,"context_line":""},{"line_number":221,"context_line":""},{"line_number":222,"context_line":"setup.py"},{"line_number":223,"context_line":"--------"},{"line_number":224,"context_line":"This file is responsible for packaging information.::"},{"line_number":225,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"7a740942_4b301ae9","line":222,"updated":"2015-12-09 14:03:44.000000000","message":"I think we should show a more openstack/pbr oriented setup.py/setup.cfg set of files. Something more like Horizon itself is using. In this kind of environment the MANIFEST.in file would\u0027t be required either.","commit_id":"5e94310a051d6306b58835be4ce6a35892498c36"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"2f39e9f1c11d8e4db742c8d3921c897faa6ec05c","unresolved":false,"context_lines":[{"line_number":219,"context_line":"    recursive-include myplugin *.js *.html *.scss"},{"line_number":220,"context_line":""},{"line_number":221,"context_line":""},{"line_number":222,"context_line":"setup.py"},{"line_number":223,"context_line":"--------"},{"line_number":224,"context_line":"This file is responsible for packaging information.::"},{"line_number":225,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"7a740942_1548da2c","line":222,"in_reply_to":"7a740942_4b301ae9","updated":"2015-12-09 21:21:40.000000000","message":"maybe can be added later as an alternate way? not sure what the better approach is.","commit_id":"5e94310a051d6306b58835be4ce6a35892498c36"},{"author":{"_account_id":8686,"name":"Wang Bo","email":"bo.wang@easystack.cn","username":"wangbo"},"change_message_id":"74434a51245902007d030406874c8bf0e06ff211","unresolved":false,"context_lines":[{"line_number":298,"context_line":"    Angular\u0027s directives are prefixed with ng. Similarly, Horizon\u0027s directives"},{"line_number":299,"context_line":"    are prefixed with hz. You can think of them as name spaces."},{"line_number":300,"context_line":""},{"line_number":301,"context_line":"myplugin.js"},{"line_number":302,"context_line":"-----------"},{"line_number":303,"context_line":""},{"line_number":304,"context_line":"Your controller is the glue between the model and the view. In this example, we"}],"source_content_type":"text/x-rst","patch_set":12,"id":"9a8ffd7b_cb9e1263","line":301,"updated":"2015-12-01 12:29:41.000000000","message":"myplugin.js -\u003e myplugin.module.js","commit_id":"5e94310a051d6306b58835be4ce6a35892498c36"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"2f39e9f1c11d8e4db742c8d3921c897faa6ec05c","unresolved":false,"context_lines":[{"line_number":298,"context_line":"    Angular\u0027s directives are prefixed with ng. Similarly, Horizon\u0027s directives"},{"line_number":299,"context_line":"    are prefixed with hz. You can think of them as name spaces."},{"line_number":300,"context_line":""},{"line_number":301,"context_line":"myplugin.js"},{"line_number":302,"context_line":"-----------"},{"line_number":303,"context_line":""},{"line_number":304,"context_line":"Your controller is the glue between the model and the view. In this example, we"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7a740942_355716cc","line":301,"in_reply_to":"9a8ffd7b_cb9e1263","updated":"2015-12-09 21:21:40.000000000","message":"myplugin.js is correct, refer to file structure above.","commit_id":"5e94310a051d6306b58835be4ce6a35892498c36"},{"author":{"_account_id":16759,"name":"Wim De Clercq","email":"wim.de_clercq@nuagenetworks.net","username":"wdeclercq"},"change_message_id":"38304bb2392f1471e2d11194011b409dc6f96c34","unresolved":false,"context_lines":[{"line_number":303,"context_line":""},{"line_number":304,"context_line":"Your controller is the glue between the model and the view. In this example, we"},{"line_number":305,"context_line":"are going to give it some fake data to render. To load more complex data,"},{"line_number":306,"context_line":"consider using the $http service."},{"line_number":307,"context_line":""},{"line_number":308,"context_line":"::"},{"line_number":309,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"9a8ffd7b_8146a64d","line":306,"updated":"2015-12-01 14:38:36.000000000","message":"Angular -\u003e angular","commit_id":"5e94310a051d6306b58835be4ce6a35892498c36"},{"author":{"_account_id":16759,"name":"Wim De Clercq","email":"wim.de_clercq@nuagenetworks.net","username":"wdeclercq"},"change_message_id":"f77a8edc08e5bb9ece1f0ce91ae054523dce9704","unresolved":false,"context_lines":[{"line_number":303,"context_line":""},{"line_number":304,"context_line":"Your controller is the glue between the model and the view. In this example, we"},{"line_number":305,"context_line":"are going to give it some fake data to render. To load more complex data,"},{"line_number":306,"context_line":"consider using the $http service."},{"line_number":307,"context_line":""},{"line_number":308,"context_line":"::"},{"line_number":309,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"9a8ffd7b_b07c5121","line":306,"in_reply_to":"9a8ffd7b_8146a64d","updated":"2015-12-01 14:46:34.000000000","message":"** Meant for a few lines lower under \u0027use strict\u0027 in the code","commit_id":"5e94310a051d6306b58835be4ce6a35892498c36"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"2f39e9f1c11d8e4db742c8d3921c897faa6ec05c","unresolved":false,"context_lines":[{"line_number":303,"context_line":""},{"line_number":304,"context_line":"Your controller is the glue between the model and the view. In this example, we"},{"line_number":305,"context_line":"are going to give it some fake data to render. To load more complex data,"},{"line_number":306,"context_line":"consider using the $http service."},{"line_number":307,"context_line":""},{"line_number":308,"context_line":"::"},{"line_number":309,"context_line":""}],"source_content_type":"text/x-rst","patch_set":12,"id":"7a740942_b56b0685","line":306,"in_reply_to":"9a8ffd7b_b07c5121","updated":"2015-12-09 21:21:40.000000000","message":"Done","commit_id":"5e94310a051d6306b58835be4ce6a35892498c36"},{"author":{"_account_id":16759,"name":"Wim De Clercq","email":"wim.de_clercq@nuagenetworks.net","username":"wdeclercq"},"change_message_id":"8be459b1debd6452b4ba2a1c2575e7128420805e","unresolved":false,"context_lines":[{"line_number":370,"context_line":""},{"line_number":371,"context_line":"1. Run \"cd ``plugin`` \u0026 python setup.py sdist\""},{"line_number":372,"context_line":"2. Run \"cp -rv enabled ``horizon``/openstack_dashboard/local/\""},{"line_number":373,"context_line":"3. Run \"``horizon``/tools/with_venv.sh pip install sdist/``package``.tar.gz\""},{"line_number":374,"context_line":"4. Restart Apache or your Django test server"},{"line_number":375,"context_line":""},{"line_number":376,"context_line":"If you are able to hit the URL pattern in ``urls.py`` in your browser, you have"}],"source_content_type":"text/x-rst","patch_set":12,"id":"9a8ffd7b_2d98111b","line":373,"updated":"2015-12-01 13:16:31.000000000","message":"Step 1 generates the tar in an \u0027dist\u0027 folder, and not \u0027sdist.\n\nsdist -\u003e dist","commit_id":"5e94310a051d6306b58835be4ce6a35892498c36"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"2f39e9f1c11d8e4db742c8d3921c897faa6ec05c","unresolved":false,"context_lines":[{"line_number":370,"context_line":""},{"line_number":371,"context_line":"1. Run \"cd ``plugin`` \u0026 python setup.py sdist\""},{"line_number":372,"context_line":"2. Run \"cp -rv enabled ``horizon``/openstack_dashboard/local/\""},{"line_number":373,"context_line":"3. Run \"``horizon``/tools/with_venv.sh pip install sdist/``package``.tar.gz\""},{"line_number":374,"context_line":"4. Restart Apache or your Django test server"},{"line_number":375,"context_line":""},{"line_number":376,"context_line":"If you are able to hit the URL pattern in ``urls.py`` in your browser, you have"}],"source_content_type":"text/x-rst","patch_set":12,"id":"7a740942_7504bec5","line":373,"in_reply_to":"9a8ffd7b_2d98111b","updated":"2015-12-09 21:21:40.000000000","message":"Done","commit_id":"5e94310a051d6306b58835be4ce6a35892498c36"},{"author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"change_message_id":"c30dbebdb5c55f3b319783387abc3daf8e3490c6","unresolved":false,"context_lines":[{"line_number":105,"context_line":""},{"line_number":106,"context_line":"    # A list of applications to be prepended to INSTALLED_APPS"},{"line_number":107,"context_line":"    ADD_INSTALLED_APPS \u003d [\u0027myplugin\u0027]"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"    # Automatically discover static resources in installed apps"},{"line_number":110,"context_line":"    AUTO_DISCOVER_STATIC_FILES \u003d True"},{"line_number":111,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"7a740942_e1454cb3","line":108,"updated":"2015-12-09 23:12:55.000000000","message":"This should have the nav piece: ADD_PANEL.","commit_id":"b583b18ec42010bf5fd6dddb9cd333ffee42d3d9"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"1ed092839e93aa1cae46cd63928e0e6d49be6f8a","unresolved":false,"context_lines":[{"line_number":105,"context_line":""},{"line_number":106,"context_line":"    # A list of applications to be prepended to INSTALLED_APPS"},{"line_number":107,"context_line":"    ADD_INSTALLED_APPS \u003d [\u0027myplugin\u0027]"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"    # Automatically discover static resources in installed apps"},{"line_number":110,"context_line":"    AUTO_DISCOVER_STATIC_FILES \u003d True"},{"line_number":111,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"7a740942_a73514f8","line":108,"in_reply_to":"7a740942_e1454cb3","updated":"2015-12-10 00:16:51.000000000","message":"Done","commit_id":"b583b18ec42010bf5fd6dddb9cd333ffee42d3d9"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"a700b862944ce587e0f993c4d8cdc698751c5dc7","unresolved":false,"context_lines":[{"line_number":6,"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"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"We highly encourage that you write and maintain your code using our plugin"},{"line_number":9,"context_line":"architecture. A plugin by definition means the ability to be connected. In"},{"line_number":10,"context_line":"practical terms, plugins are a way to extend and add to the functionality that"},{"line_number":11,"context_line":"already exists. It is completely independent, so if you write and package your"},{"line_number":12,"context_line":"code as a plugin, it will likely continue to work in future releases."}],"source_content_type":"text/x-rst","patch_set":14,"id":"da6ed579_8acbf51d","line":9,"range":{"start_line":9,"start_character":14,"end_line":9,"end_character":70},"updated":"2016-01-13 17:52:40.000000000","message":"This is superfluous, I\u0027d just remove it.","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"5dc43e1e68391b69ca5cf2bfcda91acc0c77b833","unresolved":false,"context_lines":[{"line_number":6,"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"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"We highly encourage that you write and maintain your code using our plugin"},{"line_number":9,"context_line":"architecture. A plugin by definition means the ability to be connected. In"},{"line_number":10,"context_line":"practical terms, plugins are a way to extend and add to the functionality that"},{"line_number":11,"context_line":"already exists. It is completely independent, so if you write and package your"},{"line_number":12,"context_line":"code as a plugin, it will likely continue to work in future releases."}],"source_content_type":"text/x-rst","patch_set":14,"id":"9a68dd71_567e63e5","line":9,"range":{"start_line":9,"start_character":14,"end_line":9,"end_character":70},"in_reply_to":"da6ed579_8acbf51d","updated":"2016-01-21 00:39:48.000000000","message":"That might be, but I still like to have it in. A standard definition to level set is always good.","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"a700b862944ce587e0f993c4d8cdc698751c5dc7","unresolved":false,"context_lines":[{"line_number":8,"context_line":"We highly encourage that you write and maintain your code using our plugin"},{"line_number":9,"context_line":"architecture. A plugin by definition means the ability to be connected. In"},{"line_number":10,"context_line":"practical terms, plugins are a way to extend and add to the functionality that"},{"line_number":11,"context_line":"already exists. It is completely independent, so if you write and package your"},{"line_number":12,"context_line":"code as a plugin, it will likely continue to work in future releases."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Writing your code as a plugin also modularizes your code making it easier to"},{"line_number":15,"context_line":"translate and test. This also makes it easier for deployers to consume your code"}],"source_content_type":"text/x-rst","patch_set":14,"id":"da6ed579_2a6e8901","line":12,"range":{"start_line":11,"start_character":16,"end_line":12,"end_character":68},"updated":"2016-01-13 17:52:40.000000000","message":"This isn\u0027t terribly encouraging.  The advantage is that a service or company can control its content, and progress at a rate independent of the Horizon team, not that it \"might work\"","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"5dc43e1e68391b69ca5cf2bfcda91acc0c77b833","unresolved":false,"context_lines":[{"line_number":8,"context_line":"We highly encourage that you write and maintain your code using our plugin"},{"line_number":9,"context_line":"architecture. A plugin by definition means the ability to be connected. In"},{"line_number":10,"context_line":"practical terms, plugins are a way to extend and add to the functionality that"},{"line_number":11,"context_line":"already exists. It is completely independent, so if you write and package your"},{"line_number":12,"context_line":"code as a plugin, it will likely continue to work in future releases."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Writing your code as a plugin also modularizes your code making it easier to"},{"line_number":15,"context_line":"translate and test. This also makes it easier for deployers to consume your code"}],"source_content_type":"text/x-rst","patch_set":14,"id":"9a68dd71_b113295c","line":12,"range":{"start_line":11,"start_character":16,"end_line":12,"end_character":68},"in_reply_to":"da6ed579_2a6e8901","updated":"2016-01-21 00:39:48.000000000","message":"Good point about control and progress, I\u0027ll add to it. Perhaps badly worded, but what I\u0027m trying to say here is that your plugin will continue to work when horizon undergo future changes. It is a contract that we will support you should our code break your plugin. Will remove the word \"likely\"","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"5dc43e1e68391b69ca5cf2bfcda91acc0c77b833","unresolved":false,"context_lines":[{"line_number":50,"context_line":"  │"},{"line_number":51,"context_line":"  ├── enabled"},{"line_number":52,"context_line":"  │   └── _31000_myplugin.py"},{"line_number":53,"context_line":"  ├── myplugin"},{"line_number":54,"context_line":"  │   ├── __init__.py"},{"line_number":55,"context_line":"  │   ├── api"},{"line_number":56,"context_line":"  │   │   ├── __init__.py"}],"source_content_type":"text/x-rst","patch_set":14,"id":"9a68dd71_42dd3313","line":53,"updated":"2016-01-21 00:39:48.000000000","message":"There are actually a number of ways to structure your plugin depending on whether it is a dashboard or panel. Even then, there are various variations among the existing plugins.\n\nThis tutorial in particular is about building a panel plugin. I have noted this in the paragraph above in the note section. Going forward, I think it will be beneficial to stick to one pattern. Having the tutorial for people to reference would be a good start in that direction.","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":8533,"name":"Marcos Fermín Lobo","email":"lobo@lukos.org","username":"mlobo"},"change_message_id":"07126344b8de34ec3f0506787d276da50d461ced","unresolved":false,"context_lines":[{"line_number":59,"context_line":"  │   └── content"},{"line_number":60,"context_line":"  │       ├── __init__.py"},{"line_number":61,"context_line":"  │       ├── panel.py"},{"line_number":62,"context_line":"  │       ├── static"},{"line_number":63,"context_line":"  │       │   └── dashboard"},{"line_number":64,"context_line":"  │       │       └── identity"},{"line_number":65,"context_line":"  │       │           └── myplugin"}],"source_content_type":"text/x-rst","patch_set":14,"id":"7a740942_e9b2f9e4","line":62,"updated":"2015-12-10 11:15:30.000000000","message":"\"static\" folder should be move out from \"content\" folder, should be in \"./myplugin/myplugin/static\" Only in this case Django will be able to copy our static/*.* files into \"/horizon/static\" when you execute collectstatic","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"86812ee74c4bb28d4343d795f8b5ae370c20fffb","unresolved":false,"context_lines":[{"line_number":59,"context_line":"  │   └── content"},{"line_number":60,"context_line":"  │       ├── __init__.py"},{"line_number":61,"context_line":"  │       ├── panel.py"},{"line_number":62,"context_line":"  │       ├── static"},{"line_number":63,"context_line":"  │       │   └── dashboard"},{"line_number":64,"context_line":"  │       │       └── identity"},{"line_number":65,"context_line":"  │       │           └── myplugin"}],"source_content_type":"text/x-rst","patch_set":14,"id":"1a7b0d38_a2cf237e","line":62,"in_reply_to":"7a740942_e9b2f9e4","updated":"2015-12-24 07:48:14.000000000","message":"+1","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"5dc43e1e68391b69ca5cf2bfcda91acc0c77b833","unresolved":false,"context_lines":[{"line_number":59,"context_line":"  │   └── content"},{"line_number":60,"context_line":"  │       ├── __init__.py"},{"line_number":61,"context_line":"  │       ├── panel.py"},{"line_number":62,"context_line":"  │       ├── static"},{"line_number":63,"context_line":"  │       │   └── dashboard"},{"line_number":64,"context_line":"  │       │       └── identity"},{"line_number":65,"context_line":"  │       │           └── myplugin"}],"source_content_type":"text/x-rst","patch_set":14,"id":"9a68dd71_314df972","line":62,"in_reply_to":"7a740942_e9b2f9e4","updated":"2016-01-21 00:39:48.000000000","message":"Done","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":8533,"name":"Marcos Fermín Lobo","email":"lobo@lukos.org","username":"mlobo"},"change_message_id":"f6ed182c040a1e078f187eda8ae1f9b69f6151c1","unresolved":false,"context_lines":[{"line_number":66,"context_line":"  │       │               ├── myplugin.html"},{"line_number":67,"context_line":"  │       │               ├── myplugin.js"},{"line_number":68,"context_line":"  │       │               └── myplugin.scss"},{"line_number":69,"context_line":"  │       ├── templates"},{"line_number":70,"context_line":"  │       │   └── myplugin"},{"line_number":71,"context_line":"  │       │       └── index.html"},{"line_number":72,"context_line":"  │       ├── tests.py"}],"source_content_type":"text/x-rst","patch_set":14,"id":"7a740942_f119857a","line":69,"updated":"2015-12-10 10:55:25.000000000","message":"In my case, I had to move \"templates\" folder outside from \"content\" folder, ie, ./myplugin/myplugin/templates. Otherwise, Horizon raises \"myplugin/index.html TemplateDoesNotExist\"","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"86812ee74c4bb28d4343d795f8b5ae370c20fffb","unresolved":false,"context_lines":[{"line_number":66,"context_line":"  │       │               ├── myplugin.html"},{"line_number":67,"context_line":"  │       │               ├── myplugin.js"},{"line_number":68,"context_line":"  │       │               └── myplugin.scss"},{"line_number":69,"context_line":"  │       ├── templates"},{"line_number":70,"context_line":"  │       │   └── myplugin"},{"line_number":71,"context_line":"  │       │       └── index.html"},{"line_number":72,"context_line":"  │       ├── tests.py"}],"source_content_type":"text/x-rst","patch_set":14,"id":"1a7b0d38_02b877e4","line":69,"in_reply_to":"7a740942_f119857a","updated":"2015-12-24 07:48:14.000000000","message":"+1","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":8533,"name":"Marcos Fermín Lobo","email":"lobo@lukos.org","username":"mlobo"},"change_message_id":"a0e95944b3b22cbe63e154e8834e52996c48bc3b","unresolved":false,"context_lines":[{"line_number":108,"context_line":""},{"line_number":109,"context_line":"    # A list of applications to be prepended to INSTALLED_APPS"},{"line_number":110,"context_line":"    ADD_INSTALLED_APPS \u003d [\u0027myplugin\u0027]"},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"    # Automatically discover static resources in installed apps"},{"line_number":113,"context_line":"    AUTO_DISCOVER_STATIC_FILES \u003d True"},{"line_number":114,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"7a740942_b5490962","line":111,"updated":"2015-12-14 13:40:05.000000000","message":"ADD_ANGULAR_MODULES \u003d [\u0027horizon.dashboard.identity.myplugin\u0027] is needed as well. Otherwise, the new AngularJS module will be not bootstrapped","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"5dc43e1e68391b69ca5cf2bfcda91acc0c77b833","unresolved":false,"context_lines":[{"line_number":108,"context_line":""},{"line_number":109,"context_line":"    # A list of applications to be prepended to INSTALLED_APPS"},{"line_number":110,"context_line":"    ADD_INSTALLED_APPS \u003d [\u0027myplugin\u0027]"},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"    # Automatically discover static resources in installed apps"},{"line_number":113,"context_line":"    AUTO_DISCOVER_STATIC_FILES \u003d True"},{"line_number":114,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"9a68dd71_e3e79610","line":111,"in_reply_to":"7a740942_b5490962","updated":"2016-01-21 00:39:48.000000000","message":"Done","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":8533,"name":"Marcos Fermín Lobo","email":"lobo@lukos.org","username":"mlobo"},"change_message_id":"8b99a28c556733fb488d81ccf6eb85914493779d","unresolved":false,"context_lines":[{"line_number":121,"context_line":"plugin will augment the support for the already supported Identity service,"},{"line_number":122,"context_line":"Keystone. This file serves to define new REST interfaces for the plugin\u0027s"},{"line_number":123,"context_line":"clientside to communicate with Horizon. Typically, the REST interfaces here"},{"line_number":124,"context_line":"make calls into ``myservice.py``."},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"This file is unnecessary in a purely Django based plugin, or if your Angular"},{"line_number":127,"context_line":"based plugin is relying on CORS support in the desired service."}],"source_content_type":"text/x-rst","patch_set":14,"id":"fa69d971_1d2ffca1","line":124,"range":{"start_line":124,"start_character":30,"end_line":124,"end_character":33},"updated":"2016-01-06 11:03:41.000000000","message":"So, my_rest_api.py file should be something like this https://github.com/openstack/horizon/blob/master/openstack_dashboard/api/rest/cinder.py ?","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"5dc43e1e68391b69ca5cf2bfcda91acc0c77b833","unresolved":false,"context_lines":[{"line_number":121,"context_line":"plugin will augment the support for the already supported Identity service,"},{"line_number":122,"context_line":"Keystone. This file serves to define new REST interfaces for the plugin\u0027s"},{"line_number":123,"context_line":"clientside to communicate with Horizon. Typically, the REST interfaces here"},{"line_number":124,"context_line":"make calls into ``myservice.py``."},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"This file is unnecessary in a purely Django based plugin, or if your Angular"},{"line_number":127,"context_line":"based plugin is relying on CORS support in the desired service."}],"source_content_type":"text/x-rst","patch_set":14,"id":"9a68dd71_23fe0e6c","line":124,"range":{"start_line":124,"start_character":30,"end_line":124,"end_character":33},"in_reply_to":"fa69d971_1d2ffca1","updated":"2016-01-21 00:39:48.000000000","message":"Yes","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"931a801b67c49a7a75962a3e2e7f44df8ccbeccf","unresolved":false,"context_lines":[{"line_number":125,"context_line":""},{"line_number":126,"context_line":"This file is unnecessary in a purely Django based plugin, or if your Angular"},{"line_number":127,"context_line":"based plugin is relying on CORS support in the desired service."},{"line_number":128,"context_line":""},{"line_number":129,"context_line":"myservice.py"},{"line_number":130,"context_line":"------------"},{"line_number":131,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"da6ed579_eb82e5ff","line":128,"updated":"2016-01-13 01:12:27.000000000","message":"Consider linking to this: http://docs.openstack.org/admin-guide-cloud/cross_project_cors.html","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"5dc43e1e68391b69ca5cf2bfcda91acc0c77b833","unresolved":false,"context_lines":[{"line_number":125,"context_line":""},{"line_number":126,"context_line":"This file is unnecessary in a purely Django based plugin, or if your Angular"},{"line_number":127,"context_line":"based plugin is relying on CORS support in the desired service."},{"line_number":128,"context_line":""},{"line_number":129,"context_line":"myservice.py"},{"line_number":130,"context_line":"------------"},{"line_number":131,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"9a68dd71_a3775e01","line":128,"in_reply_to":"da6ed579_eb82e5ff","updated":"2016-01-21 00:39:48.000000000","message":"Done","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":8533,"name":"Marcos Fermín Lobo","email":"lobo@lukos.org","username":"mlobo"},"change_message_id":"8b99a28c556733fb488d81ccf6eb85914493779d","unresolved":false,"context_lines":[{"line_number":126,"context_line":"This file is unnecessary in a purely Django based plugin, or if your Angular"},{"line_number":127,"context_line":"based plugin is relying on CORS support in the desired service."},{"line_number":128,"context_line":""},{"line_number":129,"context_line":"myservice.py"},{"line_number":130,"context_line":"------------"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"This file will likely be necessary if creating a Django or Angular driven"}],"source_content_type":"text/x-rst","patch_set":14,"id":"fa69d971_1d061c20","line":129,"range":{"start_line":129,"start_character":0,"end_line":129,"end_character":12},"updated":"2016-01-06 11:03:41.000000000","message":"And myservice.py should be something like this https://github.com/openstack/horizon/blob/master/openstack_dashboard/api/cinder.py ?","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"5dc43e1e68391b69ca5cf2bfcda91acc0c77b833","unresolved":false,"context_lines":[{"line_number":126,"context_line":"This file is unnecessary in a purely Django based plugin, or if your Angular"},{"line_number":127,"context_line":"based plugin is relying on CORS support in the desired service."},{"line_number":128,"context_line":""},{"line_number":129,"context_line":"myservice.py"},{"line_number":130,"context_line":"------------"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"This file will likely be necessary if creating a Django or Angular driven"}],"source_content_type":"text/x-rst","patch_set":14,"id":"9a68dd71_03d98af3","line":129,"range":{"start_line":129,"start_character":0,"end_line":129,"end_character":12},"in_reply_to":"fa69d971_1d061c20","updated":"2016-01-21 00:39:48.000000000","message":"Yes","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"a9a832e42371629fc9626b384bdf220e1073ed54","unresolved":false,"context_lines":[{"line_number":148,"context_line":""},{"line_number":149,"context_line":"    class MyPlugin(horizon.Panel):"},{"line_number":150,"context_line":"        name \u003d _(\"My Plugin\")"},{"line_number":151,"context_line":"        slug \u003d \"mypanel\""},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"tests.py"},{"line_number":154,"context_line":"--------"}],"source_content_type":"text/x-rst","patch_set":14,"id":"3a7e1126_342102a0","line":151,"range":{"start_line":151,"start_character":8,"end_line":151,"end_character":24},"updated":"2015-12-18 09:43:29.000000000","message":"Please describe that \"slug\" is used for URL.\nAnd we want list of reserved URLs including official plugins.","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"5dc43e1e68391b69ca5cf2bfcda91acc0c77b833","unresolved":false,"context_lines":[{"line_number":148,"context_line":""},{"line_number":149,"context_line":"    class MyPlugin(horizon.Panel):"},{"line_number":150,"context_line":"        name \u003d _(\"My Plugin\")"},{"line_number":151,"context_line":"        slug \u003d \"mypanel\""},{"line_number":152,"context_line":""},{"line_number":153,"context_line":"tests.py"},{"line_number":154,"context_line":"--------"}],"source_content_type":"text/x-rst","patch_set":14,"id":"9a68dd71_2344ce72","line":151,"range":{"start_line":151,"start_character":8,"end_line":151,"end_character":24},"in_reply_to":"3a7e1126_342102a0","updated":"2016-01-21 00:39:48.000000000","message":"Done","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"d6671e0ca9830d10a9aed8254b2772443e9a82d2","unresolved":false,"context_lines":[{"line_number":161,"context_line":"Now that we have a panel, we need to provide a URL so that users can visit our"},{"line_number":162,"context_line":"new panel! This URL generally will point to a view.::"},{"line_number":163,"context_line":""},{"line_number":164,"context_line":"    from django.conf.urls import url"},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"    from myplugin.content import views"},{"line_number":167,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"7a740942_3464b1e3","line":164,"updated":"2015-12-10 22:56:50.000000000","message":"Should be `from django.conf import urls`. Alternatively, many panels import patterns and url from django.conf.urls to make it tidier.","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"5dc43e1e68391b69ca5cf2bfcda91acc0c77b833","unresolved":false,"context_lines":[{"line_number":161,"context_line":"Now that we have a panel, we need to provide a URL so that users can visit our"},{"line_number":162,"context_line":"new panel! This URL generally will point to a view.::"},{"line_number":163,"context_line":""},{"line_number":164,"context_line":"    from django.conf.urls import url"},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"    from myplugin.content import views"},{"line_number":167,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"9a68dd71_f7966c93","line":164,"in_reply_to":"7a740942_3464b1e3","updated":"2016-01-21 00:39:48.000000000","message":"Done","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":8533,"name":"Marcos Fermín Lobo","email":"lobo@lukos.org","username":"mlobo"},"change_message_id":"f6ed182c040a1e078f187eda8ae1f9b69f6151c1","unresolved":false,"context_lines":[{"line_number":165,"context_line":""},{"line_number":166,"context_line":"    from myplugin.content import views"},{"line_number":167,"context_line":""},{"line_number":168,"context_line":"    urlpatterns \u003d urls.patterns("},{"line_number":169,"context_line":"        urls.url(r\u0027^$\u0027, views.IndexView.as_view(), name\u003d\u0027index\u0027),"},{"line_number":170,"context_line":"    )"},{"line_number":171,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"7a740942_6c9dba58","line":168,"updated":"2015-12-10 10:55:25.000000000","message":"NameError: name \u0027urls\u0027 is not defined","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":8686,"name":"Wang Bo","email":"bo.wang@easystack.cn","username":"wangbo"},"change_message_id":"d3ba23cf958f57540df4ba74dbd7fd785ce43d04","unresolved":false,"context_lines":[{"line_number":165,"context_line":""},{"line_number":166,"context_line":"    from myplugin.content import views"},{"line_number":167,"context_line":""},{"line_number":168,"context_line":"    urlpatterns \u003d urls.patterns("},{"line_number":169,"context_line":"        urls.url(r\u0027^$\u0027, views.IndexView.as_view(), name\u003d\u0027index\u0027),"},{"line_number":170,"context_line":"    )"},{"line_number":171,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"7a740942_9f52ee11","line":168,"updated":"2015-12-14 13:02:02.000000000","message":"There need a prefix(\u0027\u0027 or \u0027myplugin.content.views\u0027) as first argument,  Otherwise the \"urls.url(r\u0027^$\u0027, views.IndexView.as_view(), name\u003d\u0027index\u0027)\" will be used as first argument that will cause \"index\" pattern could not find.\n\nrefer to: https://github.com/django/django/blob/stable/1.8.x/django/conf/urls/__init__.py#L49 \n\nhttps://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/networks/urls.py#L34","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"5dc43e1e68391b69ca5cf2bfcda91acc0c77b833","unresolved":false,"context_lines":[{"line_number":165,"context_line":""},{"line_number":166,"context_line":"    from myplugin.content import views"},{"line_number":167,"context_line":""},{"line_number":168,"context_line":"    urlpatterns \u003d urls.patterns("},{"line_number":169,"context_line":"        urls.url(r\u0027^$\u0027, views.IndexView.as_view(), name\u003d\u0027index\u0027),"},{"line_number":170,"context_line":"    )"},{"line_number":171,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"9a68dd71_17db007e","line":168,"in_reply_to":"7a740942_6c9dba58","updated":"2016-01-21 00:39:48.000000000","message":"Done","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"a700b862944ce587e0f993c4d8cdc698751c5dc7","unresolved":false,"context_lines":[{"line_number":168,"context_line":"    urlpatterns \u003d urls.patterns("},{"line_number":169,"context_line":"        urls.url(r\u0027^$\u0027, views.IndexView.as_view(), name\u003d\u0027index\u0027),"},{"line_number":170,"context_line":"    )"},{"line_number":171,"context_line":""},{"line_number":172,"context_line":"views.py"},{"line_number":173,"context_line":"--------"},{"line_number":174,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"da6ed579_7506a6cf","line":171,"updated":"2016-01-13 17:52:40.000000000","message":"We shouldn\u0027t advise this pattern. Look at Django 1.8 urls. I don\u0027t see the value in recommending an already old style. https://docs.djangoproject.com/en/1.9/releases/1.8/#django-conf-urls-patterns","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"5dc43e1e68391b69ca5cf2bfcda91acc0c77b833","unresolved":false,"context_lines":[{"line_number":168,"context_line":"    urlpatterns \u003d urls.patterns("},{"line_number":169,"context_line":"        urls.url(r\u0027^$\u0027, views.IndexView.as_view(), name\u003d\u0027index\u0027),"},{"line_number":170,"context_line":"    )"},{"line_number":171,"context_line":""},{"line_number":172,"context_line":"views.py"},{"line_number":173,"context_line":"--------"},{"line_number":174,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"9a68dd71_22b91fea","line":171,"in_reply_to":"da6ed579_7506a6cf","updated":"2016-01-21 00:39:48.000000000","message":"Done","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"a700b862944ce587e0f993c4d8cdc698751c5dc7","unresolved":false,"context_lines":[{"line_number":205,"context_line":"At this point, you have a very basic plugin. There are a few important things"},{"line_number":206,"context_line":"to point out."},{"line_number":207,"context_line":""},{"line_number":208,"context_line":"* New panels are required to extend base.html."},{"line_number":209,"context_line":"* Always use ``STATIC_URL`` when referencing your static resources."},{"line_number":210,"context_line":""},{"line_number":211,"context_line":"Including base.html is important for a number of reasons. It is the page that"}],"source_content_type":"text/x-rst","patch_set":14,"id":"da6ed579_f514d644","line":208,"updated":"2016-01-13 17:52:40.000000000","message":"You\u0027re confusing terms here. You mean new templates.","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"5dc43e1e68391b69ca5cf2bfcda91acc0c77b833","unresolved":false,"context_lines":[{"line_number":205,"context_line":"At this point, you have a very basic plugin. There are a few important things"},{"line_number":206,"context_line":"to point out."},{"line_number":207,"context_line":""},{"line_number":208,"context_line":"* New panels are required to extend base.html."},{"line_number":209,"context_line":"* Always use ``STATIC_URL`` when referencing your static resources."},{"line_number":210,"context_line":""},{"line_number":211,"context_line":"Including base.html is important for a number of reasons. It is the page that"}],"source_content_type":"text/x-rst","patch_set":14,"id":"9a68dd71_37264469","line":208,"in_reply_to":"da6ed579_f514d644","updated":"2016-01-21 00:39:48.000000000","message":"Done","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"931a801b67c49a7a75962a3e2e7f44df8ccbeccf","unresolved":false,"context_lines":[{"line_number":206,"context_line":"to point out."},{"line_number":207,"context_line":""},{"line_number":208,"context_line":"* New panels are required to extend base.html."},{"line_number":209,"context_line":"* Always use ``STATIC_URL`` when referencing your static resources."},{"line_number":210,"context_line":""},{"line_number":211,"context_line":"Including base.html is important for a number of reasons. It is the page that"},{"line_number":212,"context_line":"contains all of your static resources along with any functionality external to"}],"source_content_type":"text/x-rst","patch_set":14,"id":"da6ed579_cbf4c188","line":209,"updated":"2016-01-13 01:12:27.000000000","message":"Wouldn\u0027t hurt to show an example here, since there isn\u0027t one above.","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"5dc43e1e68391b69ca5cf2bfcda91acc0c77b833","unresolved":false,"context_lines":[{"line_number":206,"context_line":"to point out."},{"line_number":207,"context_line":""},{"line_number":208,"context_line":"* New panels are required to extend base.html."},{"line_number":209,"context_line":"* Always use ``STATIC_URL`` when referencing your static resources."},{"line_number":210,"context_line":""},{"line_number":211,"context_line":"Including base.html is important for a number of reasons. It is the page that"},{"line_number":212,"context_line":"contains all of your static resources along with any functionality external to"}],"source_content_type":"text/x-rst","patch_set":14,"id":"9a68dd71_a2174fec","line":209,"in_reply_to":"da6ed579_ca024d0b","updated":"2016-01-21 00:39:48.000000000","message":"Removing this and adding it back in the example below where we actually use it.","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"a700b862944ce587e0f993c4d8cdc698751c5dc7","unresolved":false,"context_lines":[{"line_number":206,"context_line":"to point out."},{"line_number":207,"context_line":""},{"line_number":208,"context_line":"* New panels are required to extend base.html."},{"line_number":209,"context_line":"* Always use ``STATIC_URL`` when referencing your static resources."},{"line_number":210,"context_line":""},{"line_number":211,"context_line":"Including base.html is important for a number of reasons. It is the page that"},{"line_number":212,"context_line":"contains all of your static resources along with any functionality external to"}],"source_content_type":"text/x-rst","patch_set":14,"id":"da6ed579_ca024d0b","line":209,"in_reply_to":"da6ed579_cbf4c188","updated":"2016-01-13 17:52:40.000000000","message":"Agree with Travis, this line is too vague on its own.","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"a700b862944ce587e0f993c4d8cdc698751c5dc7","unresolved":false,"context_lines":[{"line_number":208,"context_line":"* New panels are required to extend base.html."},{"line_number":209,"context_line":"* Always use ``STATIC_URL`` when referencing your static resources."},{"line_number":210,"context_line":""},{"line_number":211,"context_line":"Including base.html is important for a number of reasons. It is the page that"},{"line_number":212,"context_line":"contains all of your static resources along with any functionality external to"},{"line_number":213,"context_line":"your panel (things like navigation, context selection, etc...). As of this"},{"line_number":214,"context_line":"moment, this is also true for Angular plugins."}],"source_content_type":"text/x-rst","patch_set":14,"id":"da6ed579_356fcec6","line":211,"range":{"start_line":211,"start_character":68,"end_line":211,"end_character":72},"updated":"2016-01-13 17:52:40.000000000","message":"template","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"5dc43e1e68391b69ca5cf2bfcda91acc0c77b833","unresolved":false,"context_lines":[{"line_number":208,"context_line":"* New panels are required to extend base.html."},{"line_number":209,"context_line":"* Always use ``STATIC_URL`` when referencing your static resources."},{"line_number":210,"context_line":""},{"line_number":211,"context_line":"Including base.html is important for a number of reasons. It is the page that"},{"line_number":212,"context_line":"contains all of your static resources along with any functionality external to"},{"line_number":213,"context_line":"your panel (things like navigation, context selection, etc...). As of this"},{"line_number":214,"context_line":"moment, this is also true for Angular plugins."}],"source_content_type":"text/x-rst","patch_set":14,"id":"9a68dd71_37dde442","line":211,"range":{"start_line":211,"start_character":68,"end_line":211,"end_character":72},"in_reply_to":"da6ed579_356fcec6","updated":"2016-01-21 00:39:48.000000000","message":"Done","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"931a801b67c49a7a75962a3e2e7f44df8ccbeccf","unresolved":false,"context_lines":[{"line_number":244,"context_line":"            \u0027Operating System :: POSIX :: Linux\u0027,"},{"line_number":245,"context_line":"            \u0027Programming Language :: Python\u0027,"},{"line_number":246,"context_line":"            \u0027Programming Language :: Python :: 2\u0027,"},{"line_number":247,"context_line":"            \u0027Programming Language :: Python :: 2.7\u0027,"},{"line_number":248,"context_line":"            \u0027Topic :: Internet :: WWW/HTTP\u0027,"},{"line_number":249,"context_line":"        ],"},{"line_number":250,"context_line":"        packages\u003dfind_packages(),"}],"source_content_type":"text/x-rst","patch_set":14,"id":"da6ed579_0b1099a7","line":247,"updated":"2016-01-13 01:12:27.000000000","message":"Shouldn\u0027t we be encouraging 3.4?","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"5dc43e1e68391b69ca5cf2bfcda91acc0c77b833","unresolved":false,"context_lines":[{"line_number":244,"context_line":"            \u0027Operating System :: POSIX :: Linux\u0027,"},{"line_number":245,"context_line":"            \u0027Programming Language :: Python\u0027,"},{"line_number":246,"context_line":"            \u0027Programming Language :: Python :: 2\u0027,"},{"line_number":247,"context_line":"            \u0027Programming Language :: Python :: 2.7\u0027,"},{"line_number":248,"context_line":"            \u0027Topic :: Internet :: WWW/HTTP\u0027,"},{"line_number":249,"context_line":"        ],"},{"line_number":250,"context_line":"        packages\u003dfind_packages(),"}],"source_content_type":"text/x-rst","patch_set":14,"id":"9a68dd71_82556bc7","line":247,"in_reply_to":"da6ed579_0b1099a7","updated":"2016-01-21 00:39:48.000000000","message":"copy/paste over. It\u0027s metadata you include with your package. This is just an example. But for your sake, I\u0027ll add python 3.4 as well.","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"86812ee74c4bb28d4343d795f8b5ae370c20fffb","unresolved":false,"context_lines":[{"line_number":275,"context_line":"    {% block title %}{% trans \"My plugin\" %}{% endblock %}"},{"line_number":276,"context_line":""},{"line_number":277,"context_line":"    {% block page_header %}"},{"line_number":278,"context_line":"      \u003chz-page-header header\u003d\"\u0027My plugin\u0027\" description\u003d\"\u0027My custom plugin!\u0027\"\u003e"},{"line_number":279,"context_line":"      \u003c/hz-page-header\u003e"},{"line_number":280,"context_line":"    {% endblock page_header %}"},{"line_number":281,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"1a7b0d38_e2e76be2","line":278,"range":{"start_line":278,"start_character":56,"end_line":278,"end_character":75},"updated":"2015-12-24 07:48:14.000000000","message":"{$ \u0027My custom plugin!\u0027 | translate $}","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"86812ee74c4bb28d4343d795f8b5ae370c20fffb","unresolved":false,"context_lines":[{"line_number":275,"context_line":"    {% block title %}{% trans \"My plugin\" %}{% endblock %}"},{"line_number":276,"context_line":""},{"line_number":277,"context_line":"    {% block page_header %}"},{"line_number":278,"context_line":"      \u003chz-page-header header\u003d\"\u0027My plugin\u0027\" description\u003d\"\u0027My custom plugin!\u0027\"\u003e"},{"line_number":279,"context_line":"      \u003c/hz-page-header\u003e"},{"line_number":280,"context_line":"    {% endblock page_header %}"},{"line_number":281,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"1a7b0d38_62c5bb3a","line":278,"range":{"start_line":278,"start_character":30,"end_line":278,"end_character":41},"updated":"2015-12-24 07:48:14.000000000","message":"{$ \u0027My plugin\u0027 | translate $}","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"5dc43e1e68391b69ca5cf2bfcda91acc0c77b833","unresolved":false,"context_lines":[{"line_number":275,"context_line":"    {% block title %}{% trans \"My plugin\" %}{% endblock %}"},{"line_number":276,"context_line":""},{"line_number":277,"context_line":"    {% block page_header %}"},{"line_number":278,"context_line":"      \u003chz-page-header header\u003d\"\u0027My plugin\u0027\" description\u003d\"\u0027My custom plugin!\u0027\"\u003e"},{"line_number":279,"context_line":"      \u003c/hz-page-header\u003e"},{"line_number":280,"context_line":"    {% endblock page_header %}"},{"line_number":281,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"9a68dd71_af2c18ac","line":278,"range":{"start_line":278,"start_character":30,"end_line":278,"end_character":41},"in_reply_to":"1a7b0d38_62c5bb3a","updated":"2016-01-21 00:39:48.000000000","message":"Done","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"5dc43e1e68391b69ca5cf2bfcda91acc0c77b833","unresolved":false,"context_lines":[{"line_number":275,"context_line":"    {% block title %}{% trans \"My plugin\" %}{% endblock %}"},{"line_number":276,"context_line":""},{"line_number":277,"context_line":"    {% block page_header %}"},{"line_number":278,"context_line":"      \u003chz-page-header header\u003d\"\u0027My plugin\u0027\" description\u003d\"\u0027My custom plugin!\u0027\"\u003e"},{"line_number":279,"context_line":"      \u003c/hz-page-header\u003e"},{"line_number":280,"context_line":"    {% endblock page_header %}"},{"line_number":281,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"9a68dd71_8f2fd4a0","line":278,"range":{"start_line":278,"start_character":56,"end_line":278,"end_character":75},"in_reply_to":"1a7b0d38_e2e76be2","updated":"2016-01-21 00:39:48.000000000","message":"Done","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":17645,"name":"Shan Guo","email":"guoshan.jolie@gmail.com","username":"guoshan"},"change_message_id":"7408e56f4613f0e5dae3aa83087c57c2fd403798","unresolved":false,"context_lines":[{"line_number":277,"context_line":"    {% block page_header %}"},{"line_number":278,"context_line":"      \u003chz-page-header header\u003d\"\u0027My plugin\u0027\" description\u003d\"\u0027My custom plugin!\u0027\"\u003e"},{"line_number":279,"context_line":"      \u003c/hz-page-header\u003e"},{"line_number":280,"context_line":"    {% endblock page_header %}"},{"line_number":281,"context_line":""},{"line_number":282,"context_line":"    {% block main %}"},{"line_number":283,"context_line":"      \u003cng-include"}],"source_content_type":"text/x-rst","patch_set":14,"id":"3a7e1126_3d4950d1","line":280,"range":{"start_line":280,"start_character":7,"end_line":280,"end_character":15},"updated":"2015-12-17 07:15:24.000000000","message":"Project dashboard are using domain scoped token，IMO，page header should not be here.","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"5dc43e1e68391b69ca5cf2bfcda91acc0c77b833","unresolved":false,"context_lines":[{"line_number":277,"context_line":"    {% block page_header %}"},{"line_number":278,"context_line":"      \u003chz-page-header header\u003d\"\u0027My plugin\u0027\" description\u003d\"\u0027My custom plugin!\u0027\"\u003e"},{"line_number":279,"context_line":"      \u003c/hz-page-header\u003e"},{"line_number":280,"context_line":"    {% endblock page_header %}"},{"line_number":281,"context_line":""},{"line_number":282,"context_line":"    {% block main %}"},{"line_number":283,"context_line":"      \u003cng-include"}],"source_content_type":"text/x-rst","patch_set":14,"id":"9a68dd71_cf0cec44","line":280,"range":{"start_line":280,"start_character":7,"end_line":280,"end_character":15},"in_reply_to":"3a7e1126_3d4950d1","updated":"2016-01-21 00:39:48.000000000","message":"This is just an example. They are free to put it wherever they want.","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"86812ee74c4bb28d4343d795f8b5ae370c20fffb","unresolved":false,"context_lines":[{"line_number":279,"context_line":"      \u003c/hz-page-header\u003e"},{"line_number":280,"context_line":"    {% endblock page_header %}"},{"line_number":281,"context_line":""},{"line_number":282,"context_line":"    {% block main %}"},{"line_number":283,"context_line":"      \u003cng-include"},{"line_number":284,"context_line":"        src\u003d\"\u0027{{ STATIC_URL }}dashboard/identity/myplugin/myplugin.html\u0027\"\u003e"},{"line_number":285,"context_line":"      \u003c/ng-include\u003e"},{"line_number":286,"context_line":"    {% endblock %}"},{"line_number":287,"context_line":""},{"line_number":288,"context_line":"This template contains both Django and AngularJS code. Angular is denoted by"},{"line_number":289,"context_line":"{$..$} while Django is denoted by {{..}} and {%..%}. This template gets"}],"source_content_type":"text/x-rst","patch_set":14,"id":"1a7b0d38_02395741","line":286,"range":{"start_line":282,"start_character":4,"end_line":286,"end_character":18},"updated":"2015-12-24 07:48:14.000000000","message":"If we use ng-route, these lines will be as following lines.\n\n{% block ng_route_base %}\n  \u003cbase href\u003d\"{{ WEBROOT }}\"\u003e\u003c/base\u003e\n{% endblock %}\n\n{% block main %}\n  \u003cdiv ng-view\u003e\u003c/div\u003e\n{% endblock %}\n\nAlso we should guide to use ng-route especially routing settings.\ncf. https://review.openstack.org/#/c/173885/134/openstack_dashboard/static/app/core/images/images.module.js","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"5dc43e1e68391b69ca5cf2bfcda91acc0c77b833","unresolved":false,"context_lines":[{"line_number":279,"context_line":"      \u003c/hz-page-header\u003e"},{"line_number":280,"context_line":"    {% endblock page_header %}"},{"line_number":281,"context_line":""},{"line_number":282,"context_line":"    {% block main %}"},{"line_number":283,"context_line":"      \u003cng-include"},{"line_number":284,"context_line":"        src\u003d\"\u0027{{ STATIC_URL }}dashboard/identity/myplugin/myplugin.html\u0027\"\u003e"},{"line_number":285,"context_line":"      \u003c/ng-include\u003e"},{"line_number":286,"context_line":"    {% endblock %}"},{"line_number":287,"context_line":""},{"line_number":288,"context_line":"This template contains both Django and AngularJS code. Angular is denoted by"},{"line_number":289,"context_line":"{$..$} while Django is denoted by {{..}} and {%..%}. This template gets"}],"source_content_type":"text/x-rst","patch_set":14,"id":"9a68dd71_423773b0","line":286,"range":{"start_line":282,"start_character":4,"end_line":286,"end_character":18},"in_reply_to":"1a7b0d38_02395741","updated":"2016-01-21 00:39:48.000000000","message":"My aim is to keep this simple, ng-route can come later.","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":11778,"name":"Diana Whitten","email":"hurgleburgler@gmail.com","username":"hurgleburgler"},"change_message_id":"48b8addeecff376d911a9b123ed600f77e50d427","unresolved":false,"context_lines":[{"line_number":299,"context_line":"..  Note ::"},{"line_number":300,"context_line":""},{"line_number":301,"context_line":"    Angular\u0027s directives are prefixed with ng. Similarly, Horizon\u0027s directives"},{"line_number":302,"context_line":"    are prefixed with hz. You can think of them as name spaces."},{"line_number":303,"context_line":""},{"line_number":304,"context_line":"myplugin.js"},{"line_number":305,"context_line":"-----------"}],"source_content_type":"text/x-rst","patch_set":14,"id":"5a710552_b1dc53e5","line":302,"updated":"2015-12-15 19:08:20.000000000","message":"Tiny nit ... namespace is one word","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"5dc43e1e68391b69ca5cf2bfcda91acc0c77b833","unresolved":false,"context_lines":[{"line_number":299,"context_line":"..  Note ::"},{"line_number":300,"context_line":""},{"line_number":301,"context_line":"    Angular\u0027s directives are prefixed with ng. Similarly, Horizon\u0027s directives"},{"line_number":302,"context_line":"    are prefixed with hz. You can think of them as name spaces."},{"line_number":303,"context_line":""},{"line_number":304,"context_line":"myplugin.js"},{"line_number":305,"context_line":"-----------"}],"source_content_type":"text/x-rst","patch_set":14,"id":"9a68dd71_312c194a","line":302,"in_reply_to":"5a710552_b1dc53e5","updated":"2016-01-21 00:39:48.000000000","message":"Done","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":8533,"name":"Marcos Fermín Lobo","email":"lobo@lukos.org","username":"mlobo"},"change_message_id":"8428be62cbc1de2a60f141374a579202d95ebe4b","unresolved":false,"context_lines":[{"line_number":314,"context_line":"      \u0027use strict\u0027;"},{"line_number":315,"context_line":""},{"line_number":316,"context_line":"      angular"},{"line_number":317,"context_line":"        .module(\u0027horizon.dashboard.identity.myplugin\u0027, [])"},{"line_number":318,"context_line":"        .controller(\u0027horizon.dashboard.identity.myPluginController\u0027,"},{"line_number":319,"context_line":"          myPluginController);"},{"line_number":320,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"7a740942_0a2325be","line":317,"updated":"2015-12-14 10:02:29.000000000","message":"\u0027horizon.dashboard.identity.myplugin\u0027 is a random module name or it should match with some folder path structure?","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":8533,"name":"Marcos Fermín Lobo","email":"lobo@lukos.org","username":"mlobo"},"change_message_id":"ce7caebce0169270d3f0ee1f587a288caca958fb","unresolved":false,"context_lines":[{"line_number":314,"context_line":"      \u0027use strict\u0027;"},{"line_number":315,"context_line":""},{"line_number":316,"context_line":"      angular"},{"line_number":317,"context_line":"        .module(\u0027horizon.dashboard.identity.myplugin\u0027, [])"},{"line_number":318,"context_line":"        .controller(\u0027horizon.dashboard.identity.myPluginController\u0027,"},{"line_number":319,"context_line":"          myPluginController);"},{"line_number":320,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"ba63e191_3acf02b2","line":317,"range":{"start_line":317,"start_character":55,"end_line":317,"end_character":57},"updated":"2016-01-19 11:22:00.000000000","message":"What if here we include a new module, like ngMaterial, which is not part yet of Horizon JS library?.\n\nThat means that you include the angular-material.min.js in the plugin web page (script src), but when you browse other web pages you get a Javascript error saying \"ngMaterial modules was not loaded\", because angular-material.min.js file is not included in all others Horizon web pages.","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"5dc43e1e68391b69ca5cf2bfcda91acc0c77b833","unresolved":false,"context_lines":[{"line_number":314,"context_line":"      \u0027use strict\u0027;"},{"line_number":315,"context_line":""},{"line_number":316,"context_line":"      angular"},{"line_number":317,"context_line":"        .module(\u0027horizon.dashboard.identity.myplugin\u0027, [])"},{"line_number":318,"context_line":"        .controller(\u0027horizon.dashboard.identity.myPluginController\u0027,"},{"line_number":319,"context_line":"          myPluginController);"},{"line_number":320,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"9a68dd71_82624bd7","line":317,"in_reply_to":"7a740942_0a2325be","updated":"2016-01-21 00:39:48.000000000","message":"The path of the module matches the file structure above.","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"931a801b67c49a7a75962a3e2e7f44df8ccbeccf","unresolved":false,"context_lines":[{"line_number":314,"context_line":"      \u0027use strict\u0027;"},{"line_number":315,"context_line":""},{"line_number":316,"context_line":"      angular"},{"line_number":317,"context_line":"        .module(\u0027horizon.dashboard.identity.myplugin\u0027, [])"},{"line_number":318,"context_line":"        .controller(\u0027horizon.dashboard.identity.myPluginController\u0027,"},{"line_number":319,"context_line":"          myPluginController);"},{"line_number":320,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"da6ed579_4bf21171","line":317,"in_reply_to":"7a740942_0a2325be","updated":"2016-01-13 01:12:27.000000000","message":"This reminds me that Tyr had some good documentation here that should be referenced:\n\nhttp://docs.openstack.org/developer/horizon/topics/angularjs.html?highlight\u003dangular#application-structure\n\nhttp://docs.openstack.org/developer/horizon/topics/angularjs.html?highlight\u003dangular#file-structure","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"5dc43e1e68391b69ca5cf2bfcda91acc0c77b833","unresolved":false,"context_lines":[{"line_number":314,"context_line":"      \u0027use strict\u0027;"},{"line_number":315,"context_line":""},{"line_number":316,"context_line":"      angular"},{"line_number":317,"context_line":"        .module(\u0027horizon.dashboard.identity.myplugin\u0027, [])"},{"line_number":318,"context_line":"        .controller(\u0027horizon.dashboard.identity.myPluginController\u0027,"},{"line_number":319,"context_line":"          myPluginController);"},{"line_number":320,"context_line":""}],"source_content_type":"text/x-rst","patch_set":14,"id":"9a68dd71_42d0d353","line":317,"range":{"start_line":317,"start_character":55,"end_line":317,"end_character":57},"in_reply_to":"ba63e191_3acf02b2","updated":"2016-01-21 00:39:48.000000000","message":"You need to install your plugin before you can see the page. This means that the files in your plugin are essential copied to horizon. If angular-material.min.js is in the static folder, you will have access to it. However, for it to be embedded into horizon\u0027s page, you will need to also add it to ADD_INSTALLED_APPS.","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":8533,"name":"Marcos Fermín Lobo","email":"lobo@lukos.org","username":"mlobo"},"change_message_id":"4d817fb3d593b1caead03eef3fe422e9672c6712","unresolved":false,"context_lines":[{"line_number":331,"context_line":"    })();"},{"line_number":332,"context_line":""},{"line_number":333,"context_line":"This is a basic example where we mocked the data. For exercise, load your data"},{"line_number":334,"context_line":"using the ``$http`` service."},{"line_number":335,"context_line":""},{"line_number":336,"context_line":"myplugin.html"},{"line_number":337,"context_line":"-------------"}],"source_content_type":"text/x-rst","patch_set":14,"id":"7a740942_1a73134f","line":334,"updated":"2015-12-10 08:11:42.000000000","message":"Could be nice if we add here a link to John Papa\u0027s guide style?","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"d6671e0ca9830d10a9aed8254b2772443e9a82d2","unresolved":false,"context_lines":[{"line_number":331,"context_line":"    })();"},{"line_number":332,"context_line":""},{"line_number":333,"context_line":"This is a basic example where we mocked the data. For exercise, load your data"},{"line_number":334,"context_line":"using the ``$http`` service."},{"line_number":335,"context_line":""},{"line_number":336,"context_line":"myplugin.html"},{"line_number":337,"context_line":"-------------"}],"source_content_type":"text/x-rst","patch_set":14,"id":"7a740942_b46181aa","line":334,"in_reply_to":"7a740942_1a73134f","updated":"2015-12-10 22:56:50.000000000","message":"I disagree. I think the section itself should reference our angular guide though, for further information on structure and testing. Probably just a couple of lines at the start or end.","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":8533,"name":"Marcos Fermín Lobo","email":"lobo@lukos.org","username":"mlobo"},"change_message_id":"4d817fb3d593b1caead03eef3fe422e9672c6712","unresolved":false,"context_lines":[{"line_number":357,"context_line":"-------------"},{"line_number":358,"context_line":""},{"line_number":359,"context_line":"You can choose to customize your panel by providing your own scss."},{"line_number":360,"context_line":"Be sure to include it in your enabled file via the ``ADD_SCSS_FILES`` setting."},{"line_number":361,"context_line":""},{"line_number":362,"context_line":"Installing Your Plugin"},{"line_number":363,"context_line":"\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":14,"id":"7a740942_da082b94","line":360,"updated":"2015-12-10 08:11:42.000000000","message":"An example of the path for ADD_SCSS_FILES?","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"5dc43e1e68391b69ca5cf2bfcda91acc0c77b833","unresolved":false,"context_lines":[{"line_number":357,"context_line":"-------------"},{"line_number":358,"context_line":""},{"line_number":359,"context_line":"You can choose to customize your panel by providing your own scss."},{"line_number":360,"context_line":"Be sure to include it in your enabled file via the ``ADD_SCSS_FILES`` setting."},{"line_number":361,"context_line":""},{"line_number":362,"context_line":"Installing Your Plugin"},{"line_number":363,"context_line":"\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":14,"id":"9a68dd71_cf3f0c24","line":360,"in_reply_to":"7a740942_da082b94","updated":"2016-01-21 00:39:48.000000000","message":"Done","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":8533,"name":"Marcos Fermín Lobo","email":"lobo@lukos.org","username":"mlobo"},"change_message_id":"4d817fb3d593b1caead03eef3fe422e9672c6712","unresolved":false,"context_lines":[{"line_number":373,"context_line":""},{"line_number":374,"context_line":"1. Run \"cd ``plugin`` \u0026 python setup.py sdist\""},{"line_number":375,"context_line":"2. Run \"cp -rv enabled ``horizon``/openstack_dashboard/local/\""},{"line_number":376,"context_line":"3. Run \"``horizon``/tools/with_venv.sh pip install dist/``package``.tar.gz\""},{"line_number":377,"context_line":"4. Restart Apache or your Django test server"},{"line_number":378,"context_line":""},{"line_number":379,"context_line":"If you are able to hit the URL pattern in ``urls.py`` in your browser, you have"}],"source_content_type":"text/x-rst","patch_set":14,"id":"7a740942_5a743bce","line":376,"updated":"2015-12-10 08:11:42.000000000","message":"I would try to clarify that this \"pip install\" will install the python package as usual, I mean, this is a typical python installation. Also, I would try to explain that if they execute the python installation, without ``horizon``/tools/with_venv.sh, the package will be installed in the PYTHON_PATH of the system.","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"5dc43e1e68391b69ca5cf2bfcda91acc0c77b833","unresolved":false,"context_lines":[{"line_number":373,"context_line":""},{"line_number":374,"context_line":"1. Run \"cd ``plugin`` \u0026 python setup.py sdist\""},{"line_number":375,"context_line":"2. Run \"cp -rv enabled ``horizon``/openstack_dashboard/local/\""},{"line_number":376,"context_line":"3. Run \"``horizon``/tools/with_venv.sh pip install dist/``package``.tar.gz\""},{"line_number":377,"context_line":"4. Restart Apache or your Django test server"},{"line_number":378,"context_line":""},{"line_number":379,"context_line":"If you are able to hit the URL pattern in ``urls.py`` in your browser, you have"}],"source_content_type":"text/x-rst","patch_set":14,"id":"9a68dd71_6f362005","line":376,"in_reply_to":"7a740942_5a743bce","updated":"2016-01-21 00:39:48.000000000","message":"Done","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"d6671e0ca9830d10a9aed8254b2772443e9a82d2","unresolved":false,"context_lines":[{"line_number":374,"context_line":"1. Run \"cd ``plugin`` \u0026 python setup.py sdist\""},{"line_number":375,"context_line":"2. Run \"cp -rv enabled ``horizon``/openstack_dashboard/local/\""},{"line_number":376,"context_line":"3. Run \"``horizon``/tools/with_venv.sh pip install dist/``package``.tar.gz\""},{"line_number":377,"context_line":"4. Restart Apache or your Django test server"},{"line_number":378,"context_line":""},{"line_number":379,"context_line":"If you are able to hit the URL pattern in ``urls.py`` in your browser, you have"},{"line_number":380,"context_line":"successfully deployed your plugin! For plugins that do not have a URL, check"}],"source_content_type":"text/x-rst","patch_set":14,"id":"7a740942_b492e149","line":377,"updated":"2015-12-10 22:56:50.000000000","message":"I feel like we should *really* mention `pip install -e` in this section.","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"931a801b67c49a7a75962a3e2e7f44df8ccbeccf","unresolved":false,"context_lines":[{"line_number":378,"context_line":""},{"line_number":379,"context_line":"If you are able to hit the URL pattern in ``urls.py`` in your browser, you have"},{"line_number":380,"context_line":"successfully deployed your plugin! For plugins that do not have a URL, check"},{"line_number":381,"context_line":"that your static resources are loaded using the browser inspector."},{"line_number":382,"context_line":""},{"line_number":383,"context_line":"Note that you may need to rebuild your virtual environment if your plugin is not"},{"line_number":384,"context_line":"showing up properly. If your plugin does not show up properly, check your"}],"source_content_type":"text/x-rst","patch_set":14,"id":"da6ed579_6bab551e","line":381,"updated":"2016-01-13 01:12:27.000000000","message":"***Might*** be worth mentioning that you can hit the rest API urls directly.  Although the wiki we have is quite awful.\n\nhttps://wiki.openstack.org/wiki/Horizon/RESTAPI","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"5dc43e1e68391b69ca5cf2bfcda91acc0c77b833","unresolved":false,"context_lines":[{"line_number":378,"context_line":""},{"line_number":379,"context_line":"If you are able to hit the URL pattern in ``urls.py`` in your browser, you have"},{"line_number":380,"context_line":"successfully deployed your plugin! For plugins that do not have a URL, check"},{"line_number":381,"context_line":"that your static resources are loaded using the browser inspector."},{"line_number":382,"context_line":""},{"line_number":383,"context_line":"Note that you may need to rebuild your virtual environment if your plugin is not"},{"line_number":384,"context_line":"showing up properly. If your plugin does not show up properly, check your"}],"source_content_type":"text/x-rst","patch_set":14,"id":"9a68dd71_efff7032","line":381,"in_reply_to":"da6ed579_6bab551e","updated":"2016-01-21 00:39:48.000000000","message":"Done","commit_id":"94f890c7434edcb4660d499d6549a2abc3d52a28"},{"author":{"_account_id":8533,"name":"Marcos Fermín Lobo","email":"lobo@lukos.org","username":"mlobo"},"change_message_id":"3cae074277380ae79ed65f5eb28ff06eea631fab","unresolved":false,"context_lines":[{"line_number":62,"context_line":"  │   │"},{"line_number":63,"context_line":"  │   ├── content"},{"line_number":64,"context_line":"  │   │   ├──__init__.py"},{"line_number":65,"context_line":"  │   │   └── mypanel"},{"line_number":66,"context_line":"  │   │       ├── __init__.py"},{"line_number":67,"context_line":"  │   │       ├── panel.py"},{"line_number":68,"context_line":"  │   │       ├── tests.py"}],"source_content_type":"text/x-rst","patch_set":15,"id":"9a68dd71_84d6cec3","line":65,"range":{"start_line":65,"start_character":14,"end_line":65,"end_character":21},"updated":"2016-01-21 07:48:17.000000000","message":"Is this sublevel needed? In my case the content dir structure is like:\n\ncontent/\n  __init__.py\n  panel.py\n  tests.py\n  etc..\n\nAnd it works","commit_id":"a0d47e721847d807a324bb6c642e419536e7dac0"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"6e59260da2b85352c7d25a7d69f5c15f6498ee16","unresolved":false,"context_lines":[{"line_number":62,"context_line":"  │   │"},{"line_number":63,"context_line":"  │   ├── content"},{"line_number":64,"context_line":"  │   │   ├──__init__.py"},{"line_number":65,"context_line":"  │   │   └── mypanel"},{"line_number":66,"context_line":"  │   │       ├── __init__.py"},{"line_number":67,"context_line":"  │   │       ├── panel.py"},{"line_number":68,"context_line":"  │   │       ├── tests.py"}],"source_content_type":"text/x-rst","patch_set":15,"id":"9a68dd71_eacdf0b7","line":65,"range":{"start_line":65,"start_character":14,"end_line":65,"end_character":21},"in_reply_to":"9a68dd71_84d6cec3","updated":"2016-01-21 17:56:52.000000000","message":"It is not a hard requirement, but good to have since we want a consistent file structure. If you have more than one panel, having it all in content will not work.","commit_id":"a0d47e721847d807a324bb6c642e419536e7dac0"},{"author":{"_account_id":8533,"name":"Marcos Fermín Lobo","email":"lobo@lukos.org","username":"mlobo"},"change_message_id":"5dc43674f2b3e29a95bcdcb1b7725502c5400d1b","unresolved":false,"context_lines":[{"line_number":62,"context_line":"  │   │"},{"line_number":63,"context_line":"  │   ├── content"},{"line_number":64,"context_line":"  │   │   ├──__init__.py"},{"line_number":65,"context_line":"  │   │   └── mypanel"},{"line_number":66,"context_line":"  │   │       ├── __init__.py"},{"line_number":67,"context_line":"  │   │       ├── panel.py"},{"line_number":68,"context_line":"  │   │       ├── tests.py"}],"source_content_type":"text/x-rst","patch_set":15,"id":"9a68dd71_f15f0a3f","line":65,"range":{"start_line":65,"start_character":14,"end_line":65,"end_character":21},"in_reply_to":"9a68dd71_eacdf0b7","updated":"2016-01-22 07:42:44.000000000","message":"Agree","commit_id":"a0d47e721847d807a324bb6c642e419536e7dac0"},{"author":{"_account_id":8533,"name":"Marcos Fermín Lobo","email":"lobo@lukos.org","username":"mlobo"},"change_message_id":"3cae074277380ae79ed65f5eb28ff06eea631fab","unresolved":false,"context_lines":[{"line_number":68,"context_line":"  │   │       ├── tests.py"},{"line_number":69,"context_line":"  │   │       ├── urls.py"},{"line_number":70,"context_line":"  │   │       ├── views.py"},{"line_number":71,"context_line":"  │   │       └── templates"},{"line_number":72,"context_line":"  │   │           └── mypanel"},{"line_number":73,"context_line":"  │   │               └── index.html"},{"line_number":74,"context_line":"  │   │"}],"source_content_type":"text/x-rst","patch_set":15,"id":"9a68dd71_0f32f7f1","line":71,"range":{"start_line":71,"start_character":18,"end_line":71,"end_character":27},"updated":"2016-01-21 07:48:17.000000000","message":"Should we move \"templates\" dir outside content dir. For me was the only way to make it works. My structure is:\n\nmyplugin\n|\n|-- enabled\n|\n|-- myplugin\n    |\n    |-- api\n    |\n    |-- content\n    |\n    |-- static\n    |\n    |-- templates","commit_id":"a0d47e721847d807a324bb6c642e419536e7dac0"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"6e59260da2b85352c7d25a7d69f5c15f6498ee16","unresolved":false,"context_lines":[{"line_number":68,"context_line":"  │   │       ├── tests.py"},{"line_number":69,"context_line":"  │   │       ├── urls.py"},{"line_number":70,"context_line":"  │   │       ├── views.py"},{"line_number":71,"context_line":"  │   │       └── templates"},{"line_number":72,"context_line":"  │   │           └── mypanel"},{"line_number":73,"context_line":"  │   │               └── index.html"},{"line_number":74,"context_line":"  │   │"}],"source_content_type":"text/x-rst","patch_set":15,"id":"9a68dd71_aa6e1894","line":71,"range":{"start_line":71,"start_character":18,"end_line":71,"end_character":27},"in_reply_to":"9a68dd71_0f32f7f1","updated":"2016-01-21 17:56:52.000000000","message":"templates is specific to the panel, it should remain inside the panel\u0027s folder. This setup works, see https://github.com/openstack/zaqar-ui and https://github.com/openstack/trove-dashboard","commit_id":"a0d47e721847d807a324bb6c642e419536e7dac0"},{"author":{"_account_id":8533,"name":"Marcos Fermín Lobo","email":"lobo@lukos.org","username":"mlobo"},"change_message_id":"3cae074277380ae79ed65f5eb28ff06eea631fab","unresolved":false,"context_lines":[{"line_number":103,"context_line":"include in this file, see pluggable settings in"},{"line_number":104,"context_line":":doc:`Settings and Configuration \u003c/topics/settings\u003e`"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"_31000_myplugin.py::"},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"    # The name of the panel to be added to HORIZON_CONFIG. Required."},{"line_number":109,"context_line":"    PANEL \u003d \u0027mypanel\u0027"}],"source_content_type":"text/x-rst","patch_set":15,"id":"9a68dd71_04fade42","line":106,"range":{"start_line":106,"start_character":0,"end_line":106,"end_character":18},"updated":"2016-01-21 07:48:17.000000000","message":"We missed \"ADD_SCSS_FILES\" as weel, sorry for not metion before.","commit_id":"a0d47e721847d807a324bb6c642e419536e7dac0"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"6e59260da2b85352c7d25a7d69f5c15f6498ee16","unresolved":false,"context_lines":[{"line_number":103,"context_line":"include in this file, see pluggable settings in"},{"line_number":104,"context_line":":doc:`Settings and Configuration \u003c/topics/settings\u003e`"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"_31000_myplugin.py::"},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"    # The name of the panel to be added to HORIZON_CONFIG. Required."},{"line_number":109,"context_line":"    PANEL \u003d \u0027mypanel\u0027"}],"source_content_type":"text/x-rst","patch_set":15,"id":"9a68dd71_4af2fcd3","line":106,"range":{"start_line":106,"start_character":0,"end_line":106,"end_character":18},"in_reply_to":"9a68dd71_04fade42","updated":"2016-01-21 17:56:52.000000000","message":"Ideally, you do not want to mess around with styling since Horizon is providing that (especially true with theme-ing). ADD_SCSS_FILES should only be use for margins/padding. In this example, I did not want to cover styling so I intentionally left it out.","commit_id":"a0d47e721847d807a324bb6c642e419536e7dac0"},{"author":{"_account_id":8533,"name":"Marcos Fermín Lobo","email":"lobo@lukos.org","username":"mlobo"},"change_message_id":"5dc43674f2b3e29a95bcdcb1b7725502c5400d1b","unresolved":false,"context_lines":[{"line_number":103,"context_line":"include in this file, see pluggable settings in"},{"line_number":104,"context_line":":doc:`Settings and Configuration \u003c/topics/settings\u003e`"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"_31000_myplugin.py::"},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"    # The name of the panel to be added to HORIZON_CONFIG. Required."},{"line_number":109,"context_line":"    PANEL \u003d \u0027mypanel\u0027"}],"source_content_type":"text/x-rst","patch_set":15,"id":"9a68dd71_f1262acd","line":106,"range":{"start_line":106,"start_character":0,"end_line":106,"end_character":18},"in_reply_to":"9a68dd71_4af2fcd3","updated":"2016-01-22 07:42:44.000000000","message":"I see you point but, in my opinion, if you do not mention the possibility of ADD_SCSS_FILES param, developers will not notice that they have that option (add new CSS files to plugin)","commit_id":"a0d47e721847d807a324bb6c642e419536e7dac0"},{"author":{"_account_id":8533,"name":"Marcos Fermín Lobo","email":"lobo@lukos.org","username":"mlobo"},"change_message_id":"3cae074277380ae79ed65f5eb28ff06eea631fab","unresolved":false,"context_lines":[{"line_number":178,"context_line":"    from django.conf.urls import patterns"},{"line_number":179,"context_line":"    from django.conf.urls import url"},{"line_number":180,"context_line":""},{"line_number":181,"context_line":"    from myplugin.content.mypanel import views"},{"line_number":182,"context_line":""},{"line_number":183,"context_line":"    urlpatterns \u003d patterns("},{"line_number":184,"context_line":"        url(r\u0027^$\u0027, views.IndexView.as_view(), name\u003d\u0027index\u0027),"}],"source_content_type":"text/x-rst","patch_set":15,"id":"9a68dd71_8ff827e7","line":181,"range":{"start_line":181,"start_character":9,"end_line":181,"end_character":33},"updated":"2016-01-21 07:48:17.000000000","message":"If you change the dir structure as I mentioned in comment above, you have to change this line to \"myplugin.content\"","commit_id":"a0d47e721847d807a324bb6c642e419536e7dac0"},{"author":{"_account_id":16628,"name":"Beth Elwell","email":"e.r.elwell@gmail.com","username":"bethelwell"},"change_message_id":"6be795270607258c8939d7a92203bfa76b59c76c","unresolved":false,"context_lines":[{"line_number":237,"context_line":"This file is responsible for packaging information.::"},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"    from setuptools import setup, find_packages"},{"line_number":240,"context_line":""},{"line_number":241,"context_line":"    setup("},{"line_number":242,"context_line":"        name \u003d \u0027myplugin\u0027,"},{"line_number":243,"context_line":"        version \u003d \u00270.0.1\u0027,"}],"source_content_type":"text/x-rst","patch_set":15,"id":"9a68dd71_1ad2eed2","line":240,"updated":"2016-01-22 10:30:14.000000000","message":"when i did this code it failed and required the 2x imports to be on separate lines and in alphabetical order:\n\nfrom setuptools import find_packages\nfrom setuptools import setup","commit_id":"a0d47e721847d807a324bb6c642e419536e7dac0"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"22e33400b4923f5e24106442f772ba0a9f099271","unresolved":false,"context_lines":[{"line_number":232,"context_line":"    recursive-include myplugin *.js *.html *.scss"},{"line_number":233,"context_line":""},{"line_number":234,"context_line":""},{"line_number":235,"context_line":"setup.py"},{"line_number":236,"context_line":"--------"},{"line_number":237,"context_line":"This file is responsible for packaging information.::"},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"    from setuptools import setup, find_packages"},{"line_number":240,"context_line":""},{"line_number":241,"context_line":"    setup("},{"line_number":242,"context_line":"        name \u003d \u0027myplugin\u0027,"},{"line_number":243,"context_line":"        version \u003d \u00270.0.1\u0027,"},{"line_number":244,"context_line":"        description \u003d \u0027A panel plugin for OpenStack Dashboard\u0027,"},{"line_number":245,"context_line":"        author \u003d \u0027myname\u0027,"},{"line_number":246,"context_line":"        author_email \u003d \u0027myemail\u0027,"},{"line_number":247,"context_line":"        classifiers \u003d ["},{"line_number":248,"context_line":"            \u0027Environment :: OpenStack\u0027,"},{"line_number":249,"context_line":"            \u0027Framework :: Django\u0027,"},{"line_number":250,"context_line":"            \u0027Intended Audience :: Developers\u0027,"},{"line_number":251,"context_line":"            \u0027Intended Audience :: System Administrators\u0027,"},{"line_number":252,"context_line":"            \u0027License :: OSI Approved :: Apache Software License\u0027,"},{"line_number":253,"context_line":"            \u0027Operating System :: OS Independent\u0027,"},{"line_number":254,"context_line":"            \u0027Operating System :: POSIX :: Linux\u0027,"},{"line_number":255,"context_line":"            \u0027Programming Language :: Python\u0027,"},{"line_number":256,"context_line":"            \u0027Programming Language :: Python :: 2\u0027,"},{"line_number":257,"context_line":"            \u0027Programming Language :: Python :: 2.7\u0027,"},{"line_number":258,"context_line":"            \u0027Programming Language :: Python :: 3.4\u0027,"},{"line_number":259,"context_line":"            \u0027Topic :: Internet :: WWW/HTTP\u0027,"},{"line_number":260,"context_line":"        ],"},{"line_number":261,"context_line":"        packages\u003dfind_packages(),"},{"line_number":262,"context_line":"        include_package_data \u003d True,"},{"line_number":263,"context_line":"    )"},{"line_number":264,"context_line":""},{"line_number":265,"context_line":"AngularJS Plugin"},{"line_number":266,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":15,"id":"9a68dd71_0b5b8288","line":263,"range":{"start_line":235,"start_character":0,"end_line":263,"end_character":5},"updated":"2016-01-22 11:21:13.000000000","message":"This is about 3 years out of date I think. Look at how packages are currently done with setup.py and setup.cfg.\n\nRef: https://github.com/openstack/horizon/commit/91e4715c141874e6caeffb4056981efef9c781e1","commit_id":"a0d47e721847d807a324bb6c642e419536e7dac0"},{"author":{"_account_id":16628,"name":"Beth Elwell","email":"e.r.elwell@gmail.com","username":"bethelwell"},"change_message_id":"6be795270607258c8939d7a92203bfa76b59c76c","unresolved":false,"context_lines":[{"line_number":260,"context_line":"        ],"},{"line_number":261,"context_line":"        packages\u003dfind_packages(),"},{"line_number":262,"context_line":"        include_package_data \u003d True,"},{"line_number":263,"context_line":"    )"},{"line_number":264,"context_line":""},{"line_number":265,"context_line":"AngularJS Plugin"},{"line_number":266,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":15,"id":"9a68dd71_1ae98e80","line":263,"updated":"2016-01-22 10:30:14.000000000","message":"errors when doing this locally re spacing either side of \u003d","commit_id":"a0d47e721847d807a324bb6c642e419536e7dac0"},{"author":{"_account_id":12826,"name":"Rob Cresswell","display_name":"robcresswell","email":"robert.cresswell@outlook.com","username":"rob-cresswell"},"change_message_id":"cace2f4e58cd96d914d4faa813261bc2f5160517","unresolved":false,"context_lines":[{"line_number":232,"context_line":"    recursive-include myplugin *.js *.html *.scss"},{"line_number":233,"context_line":""},{"line_number":234,"context_line":""},{"line_number":235,"context_line":"setup.py"},{"line_number":236,"context_line":"--------"},{"line_number":237,"context_line":"This file is responsible for packaging information.::"},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"    from setuptools import setup, find_packages"},{"line_number":240,"context_line":""},{"line_number":241,"context_line":"    setup("},{"line_number":242,"context_line":"        name \u003d \u0027myplugin\u0027,"},{"line_number":243,"context_line":"        version \u003d \u00270.0.1\u0027,"},{"line_number":244,"context_line":"        description \u003d \u0027A panel plugin for OpenStack Dashboard\u0027,"},{"line_number":245,"context_line":"        author \u003d \u0027myname\u0027,"},{"line_number":246,"context_line":"        author_email \u003d \u0027myemail\u0027,"},{"line_number":247,"context_line":"        classifiers \u003d ["},{"line_number":248,"context_line":"            \u0027Environment :: OpenStack\u0027,"},{"line_number":249,"context_line":"            \u0027Framework :: Django\u0027,"},{"line_number":250,"context_line":"            \u0027Intended Audience :: Developers\u0027,"},{"line_number":251,"context_line":"            \u0027Intended Audience :: System Administrators\u0027,"},{"line_number":252,"context_line":"            \u0027License :: OSI Approved :: Apache Software License\u0027,"},{"line_number":253,"context_line":"            \u0027Operating System :: OS Independent\u0027,"},{"line_number":254,"context_line":"            \u0027Operating System :: POSIX :: Linux\u0027,"},{"line_number":255,"context_line":"            \u0027Programming Language :: Python\u0027,"},{"line_number":256,"context_line":"            \u0027Programming Language :: Python :: 2\u0027,"},{"line_number":257,"context_line":"            \u0027Programming Language :: Python :: 2.7\u0027,"},{"line_number":258,"context_line":"            \u0027Programming Language :: Python :: 3.4\u0027,"},{"line_number":259,"context_line":"            \u0027Topic :: Internet :: WWW/HTTP\u0027,"},{"line_number":260,"context_line":"        ],"},{"line_number":261,"context_line":"        packages\u003dfind_packages(),"},{"line_number":262,"context_line":"        include_package_data \u003d True,"},{"line_number":263,"context_line":"    )"},{"line_number":264,"context_line":""},{"line_number":265,"context_line":"AngularJS Plugin"},{"line_number":266,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":15,"id":"7a5de9d1_315debe9","line":263,"range":{"start_line":235,"start_character":0,"end_line":263,"end_character":5},"in_reply_to":"7a5de9d1_593a1338","updated":"2016-01-27 22:20:40.000000000","message":"Ah, my mistake. I saw the new plugins using this model and assumed this was \"the standard\".","commit_id":"a0d47e721847d807a324bb6c642e419536e7dac0"},{"author":{"_account_id":5623,"name":"David Lyle","email":"dklyle0@gmail.com","username":"david-lyle"},"change_message_id":"61e3b51d2982d97a9ec641fef9fd81c901eadd8d","unresolved":false,"context_lines":[{"line_number":232,"context_line":"    recursive-include myplugin *.js *.html *.scss"},{"line_number":233,"context_line":""},{"line_number":234,"context_line":""},{"line_number":235,"context_line":"setup.py"},{"line_number":236,"context_line":"--------"},{"line_number":237,"context_line":"This file is responsible for packaging information.::"},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"    from setuptools import setup, find_packages"},{"line_number":240,"context_line":""},{"line_number":241,"context_line":"    setup("},{"line_number":242,"context_line":"        name \u003d \u0027myplugin\u0027,"},{"line_number":243,"context_line":"        version \u003d \u00270.0.1\u0027,"},{"line_number":244,"context_line":"        description \u003d \u0027A panel plugin for OpenStack Dashboard\u0027,"},{"line_number":245,"context_line":"        author \u003d \u0027myname\u0027,"},{"line_number":246,"context_line":"        author_email \u003d \u0027myemail\u0027,"},{"line_number":247,"context_line":"        classifiers \u003d ["},{"line_number":248,"context_line":"            \u0027Environment :: OpenStack\u0027,"},{"line_number":249,"context_line":"            \u0027Framework :: Django\u0027,"},{"line_number":250,"context_line":"            \u0027Intended Audience :: Developers\u0027,"},{"line_number":251,"context_line":"            \u0027Intended Audience :: System Administrators\u0027,"},{"line_number":252,"context_line":"            \u0027License :: OSI Approved :: Apache Software License\u0027,"},{"line_number":253,"context_line":"            \u0027Operating System :: OS Independent\u0027,"},{"line_number":254,"context_line":"            \u0027Operating System :: POSIX :: Linux\u0027,"},{"line_number":255,"context_line":"            \u0027Programming Language :: Python\u0027,"},{"line_number":256,"context_line":"            \u0027Programming Language :: Python :: 2\u0027,"},{"line_number":257,"context_line":"            \u0027Programming Language :: Python :: 2.7\u0027,"},{"line_number":258,"context_line":"            \u0027Programming Language :: Python :: 3.4\u0027,"},{"line_number":259,"context_line":"            \u0027Topic :: Internet :: WWW/HTTP\u0027,"},{"line_number":260,"context_line":"        ],"},{"line_number":261,"context_line":"        packages\u003dfind_packages(),"},{"line_number":262,"context_line":"        include_package_data \u003d True,"},{"line_number":263,"context_line":"    )"},{"line_number":264,"context_line":""},{"line_number":265,"context_line":"AngularJS Plugin"},{"line_number":266,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":15,"id":"7a5de9d1_593a1338","line":263,"range":{"start_line":235,"start_character":0,"end_line":263,"end_character":5},"in_reply_to":"9a68dd71_0b5b8288","updated":"2016-01-27 21:03:00.000000000","message":"So there are pros and cons to the pbr model. OpenStack requires it. Downstream not such big fans. So depending on what audience you are writing your plugin for, OpenStack or pure downstream, the way you approach this will vary.\n\nUltimately, both methods should be documented, but that could be incremental work. \n\nMaybe for now, making a note that upstream plugins should use pbr, and a link to pbr?","commit_id":"a0d47e721847d807a324bb6c642e419536e7dac0"},{"author":{"_account_id":8533,"name":"Marcos Fermín Lobo","email":"lobo@lukos.org","username":"mlobo"},"change_message_id":"3cae074277380ae79ed65f5eb28ff06eea631fab","unresolved":false,"context_lines":[{"line_number":379,"context_line":"::"},{"line_number":380,"context_line":""},{"line_number":381,"context_line":"    # A list of scss files to be included in the compressed set of files"},{"line_number":382,"context_line":"    ADD_SCSS_FILES \u003d [\u0027dashboard/identity/myplugin/myplugin.scss\u0027]"},{"line_number":383,"context_line":""},{"line_number":384,"context_line":"Installing Your Plugin"},{"line_number":385,"context_line":"\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":15,"id":"9a68dd71_cf637fb0","line":382,"range":{"start_line":382,"start_character":4,"end_line":382,"end_character":66},"updated":"2016-01-21 07:48:17.000000000","message":"This line, should be in _31000_myplugin.py file?","commit_id":"a0d47e721847d807a324bb6c642e419536e7dac0"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"6e59260da2b85352c7d25a7d69f5c15f6498ee16","unresolved":false,"context_lines":[{"line_number":379,"context_line":"::"},{"line_number":380,"context_line":""},{"line_number":381,"context_line":"    # A list of scss files to be included in the compressed set of files"},{"line_number":382,"context_line":"    ADD_SCSS_FILES \u003d [\u0027dashboard/identity/myplugin/myplugin.scss\u0027]"},{"line_number":383,"context_line":""},{"line_number":384,"context_line":"Installing Your Plugin"},{"line_number":385,"context_line":"\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":15,"id":"9a68dd71_0aa2c4ae","line":382,"range":{"start_line":382,"start_character":4,"end_line":382,"end_character":66},"in_reply_to":"9a68dd71_cf637fb0","updated":"2016-01-21 17:56:52.000000000","message":"Yes, add this to your enabled file.","commit_id":"a0d47e721847d807a324bb6c642e419536e7dac0"}]}
