)]}'
{"doc/source/tutorials/workflow_extend.rst":[{"author":{"_account_id":7431,"name":"Jay_Clark","email":"jay.clark@gmail.com","username":"jclark"},"change_message_id":"8f9261c02eba831072072c2d32e5acf2b53b5bc6","unresolved":false,"context_lines":[{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Below is an example of an existing workflow in Horizon. The goal is to inject"},{"line_number":18,"context_line":"our own custom step into this workflow. The most important take-away from this"},{"line_number":19,"context_line":"workflow is the list of steps. The extensible service will allow us to arbitrary"},{"line_number":20,"context_line":"inject our custom step into the ``steps`` array using id and a priority."},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"::"}],"source_content_type":"text/x-rst","patch_set":1,"id":"da85f559_389e71b9","line":19,"updated":"2015-11-12 11:27:43.000000000","message":"s/arbitrary/arbitrarily","commit_id":"38100bc05b7e826062cc83669e2951d80f517036"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"e089da973da1dbcfd02b83586b98adf5164f3de1","unresolved":false,"context_lines":[{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Below is an example of an existing workflow in Horizon. The goal is to inject"},{"line_number":18,"context_line":"our own custom step into this workflow. The most important take-away from this"},{"line_number":19,"context_line":"workflow is the list of steps. The extensible service will allow us to arbitrary"},{"line_number":20,"context_line":"inject our custom step into the ``steps`` array using id and a priority."},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"::"}],"source_content_type":"text/x-rst","patch_set":1,"id":"da85f559_d64fdb68","line":19,"in_reply_to":"da85f559_389e71b9","updated":"2015-11-12 20:08:34.000000000","message":"Done","commit_id":"38100bc05b7e826062cc83669e2951d80f517036"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"dad2a1fc97f238ef5c32deaf337574272fa51596","unresolved":false,"context_lines":[{"line_number":34,"context_line":"      \u0027horizon.framework.util.i18n.gettext\u0027"},{"line_number":35,"context_line":"    ];"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"    function createWorkflow(workflowService, basePath, gettext) {"},{"line_number":38,"context_line":"      var path \u003d basePath + \u0027users/steps/\u0027;"},{"line_number":39,"context_line":"      var workflow \u003d workflowService({"},{"line_number":40,"context_line":"        title: gettext(\u0027Create User\u0027),"}],"source_content_type":"text/x-rst","patch_set":1,"id":"da85f559_475cc47c","line":37,"updated":"2015-11-12 04:50:04.000000000","message":"The naming not matching up between the input and the injected dependency makes this example a little bit harder to follow.\n\nhorizon.app.core.workflow.factory --\u003e workflowService","commit_id":"38100bc05b7e826062cc83669e2951d80f517036"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"e089da973da1dbcfd02b83586b98adf5164f3de1","unresolved":false,"context_lines":[{"line_number":34,"context_line":"      \u0027horizon.framework.util.i18n.gettext\u0027"},{"line_number":35,"context_line":"    ];"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"    function createWorkflow(workflowService, basePath, gettext) {"},{"line_number":38,"context_line":"      var path \u003d basePath + \u0027users/steps/\u0027;"},{"line_number":39,"context_line":"      var workflow \u003d workflowService({"},{"line_number":40,"context_line":"        title: gettext(\u0027Create User\u0027),"}],"source_content_type":"text/x-rst","patch_set":1,"id":"da85f559_36ebc7dd","line":37,"in_reply_to":"da85f559_475cc47c","updated":"2015-11-12 20:08:34.000000000","message":"Yeah its a bit confusing. I\u0027ll rename workflowService to workflowFactory since it really is a factory.","commit_id":"38100bc05b7e826062cc83669e2951d80f517036"},{"author":{"_account_id":7431,"name":"Jay_Clark","email":"jay.clark@gmail.com","username":"jclark"},"change_message_id":"8f9261c02eba831072072c2d32e5acf2b53b5bc6","unresolved":false,"context_lines":[{"line_number":64,"context_line":"--------------"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"Remember that the goal of this tutorial is to inject our custom step into an"},{"line_number":67,"context_line":"existing workflow. All of the files we are interested in resides in the"},{"line_number":68,"context_line":"``static`` folder."},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"  myplugin"}],"source_content_type":"text/x-rst","patch_set":1,"id":"da85f559_187e0d6a","line":67,"updated":"2015-11-12 11:27:43.000000000","message":"s/resides/reside","commit_id":"38100bc05b7e826062cc83669e2951d80f517036"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"e089da973da1dbcfd02b83586b98adf5164f3de1","unresolved":false,"context_lines":[{"line_number":64,"context_line":"--------------"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"Remember that the goal of this tutorial is to inject our custom step into an"},{"line_number":67,"context_line":"existing workflow. All of the files we are interested in resides in the"},{"line_number":68,"context_line":"``static`` folder."},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"  myplugin"}],"source_content_type":"text/x-rst","patch_set":1,"id":"da85f559_b6833702","line":67,"in_reply_to":"da85f559_187e0d6a","updated":"2015-11-12 20:08:34.000000000","message":"Done","commit_id":"38100bc05b7e826062cc83669e2951d80f517036"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"dad2a1fc97f238ef5c32deaf337574272fa51596","unresolved":false,"context_lines":[{"line_number":82,"context_line":"  │               ├── myplugin"},{"line_number":83,"context_line":"  │               │   └── myplugin.js"},{"line_number":84,"context_line":"  │               │"},{"line_number":85,"context_line":"  │               └── steps"},{"line_number":86,"context_line":"  │                   ├── mystep.controller.js"},{"line_number":87,"context_line":"  │                   ├── mystep.help.html"},{"line_number":88,"context_line":"  │                   └── mystep.html"}],"source_content_type":"text/x-rst","patch_set":1,"id":"da85f559_672ea8fc","line":85,"updated":"2015-11-12 04:50:04.000000000","message":"Typically, we\u0027d see a step dir here as well. (not a blocker).","commit_id":"38100bc05b7e826062cc83669e2951d80f517036"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"e089da973da1dbcfd02b83586b98adf5164f3de1","unresolved":false,"context_lines":[{"line_number":82,"context_line":"  │               ├── myplugin"},{"line_number":83,"context_line":"  │               │   └── myplugin.js"},{"line_number":84,"context_line":"  │               │"},{"line_number":85,"context_line":"  │               └── steps"},{"line_number":86,"context_line":"  │                   ├── mystep.controller.js"},{"line_number":87,"context_line":"  │                   ├── mystep.help.html"},{"line_number":88,"context_line":"  │                   └── mystep.html"}],"source_content_type":"text/x-rst","patch_set":1,"id":"da85f559_767aaf25","line":85,"in_reply_to":"da85f559_672ea8fc","updated":"2015-11-12 20:08:34.000000000","message":"ah good catch","commit_id":"38100bc05b7e826062cc83669e2951d80f517036"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"dad2a1fc97f238ef5c32deaf337574272fa51596","unresolved":false,"context_lines":[{"line_number":142,"context_line":""},{"line_number":143,"context_line":"In this example, the events are broadcasted by the wizard and the user panel."},{"line_number":144,"context_line":"Using $on method, we can listen to events generated by the wizard. We can even"},{"line_number":145,"context_line":"broadcast our own events via the $emit method."},{"line_number":146,"context_line":""},{"line_number":147,"context_line":"::"},{"line_number":148,"context_line":"  (function() {"}],"source_content_type":"text/x-rst","patch_set":1,"id":"da85f559_a7fb3046","line":145,"updated":"2015-11-12 04:50:04.000000000","message":"Saying we can **broadcast** our own events via the $emit method is a little odd and confusing, because there is a $broadcast in angularjs.  I think you could be a little more clear on this wording and also explain a bit on why to use $emit and not $broadcast.  You somewhat allude to it above by mentioning same parent scope, but maybe explain that better.","commit_id":"38100bc05b7e826062cc83669e2951d80f517036"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"e089da973da1dbcfd02b83586b98adf5164f3de1","unresolved":false,"context_lines":[{"line_number":142,"context_line":""},{"line_number":143,"context_line":"In this example, the events are broadcasted by the wizard and the user panel."},{"line_number":144,"context_line":"Using $on method, we can listen to events generated by the wizard. We can even"},{"line_number":145,"context_line":"broadcast our own events via the $emit method."},{"line_number":146,"context_line":""},{"line_number":147,"context_line":"::"},{"line_number":148,"context_line":"  (function() {"}],"source_content_type":"text/x-rst","patch_set":1,"id":"da85f559_749f0651","line":145,"in_reply_to":"da85f559_a7fb3046","updated":"2015-11-12 20:08:34.000000000","message":"Done","commit_id":"38100bc05b7e826062cc83669e2951d80f517036"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"dad2a1fc97f238ef5c32deaf337574272fa51596","unresolved":false,"context_lines":[{"line_number":157,"context_line":"      \u0027$scope\u0027,"},{"line_number":158,"context_line":"      \u0027horizon.framework.widgets.wizard.events\u0027,"},{"line_number":159,"context_line":"      \u0027horizon.dashboard.identity.users.events\u0027"},{"line_number":160,"context_line":"    ];"},{"line_number":161,"context_line":"    function blueStepController($scope, wizardEvents, userEvents) {"},{"line_number":162,"context_line":""},{"line_number":163,"context_line":"      $scope.$on(wizardEvents.ON_SWITCH, function(e, args) {"}],"source_content_type":"text/x-rst","patch_set":1,"id":"da85f559_276c2007","line":160,"updated":"2015-11-12 04:50:04.000000000","message":"Please, add a line of whitespace here for readability.","commit_id":"38100bc05b7e826062cc83669e2951d80f517036"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"e089da973da1dbcfd02b83586b98adf5164f3de1","unresolved":false,"context_lines":[{"line_number":157,"context_line":"      \u0027$scope\u0027,"},{"line_number":158,"context_line":"      \u0027horizon.framework.widgets.wizard.events\u0027,"},{"line_number":159,"context_line":"      \u0027horizon.dashboard.identity.users.events\u0027"},{"line_number":160,"context_line":"    ];"},{"line_number":161,"context_line":"    function blueStepController($scope, wizardEvents, userEvents) {"},{"line_number":162,"context_line":""},{"line_number":163,"context_line":"      $scope.$on(wizardEvents.ON_SWITCH, function(e, args) {"}],"source_content_type":"text/x-rst","patch_set":1,"id":"da85f559_36be67ae","line":160,"in_reply_to":"da85f559_276c2007","updated":"2015-11-12 20:08:34.000000000","message":"Done","commit_id":"38100bc05b7e826062cc83669e2951d80f517036"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"dad2a1fc97f238ef5c32deaf337574272fa51596","unresolved":false,"context_lines":[{"line_number":159,"context_line":"      \u0027horizon.dashboard.identity.users.events\u0027"},{"line_number":160,"context_line":"    ];"},{"line_number":161,"context_line":"    function blueStepController($scope, wizardEvents, userEvents) {"},{"line_number":162,"context_line":""},{"line_number":163,"context_line":"      $scope.$on(wizardEvents.ON_SWITCH, function(e, args) {"},{"line_number":164,"context_line":"        console.info(\u0027Wizard is switching step!\u0027);"},{"line_number":165,"context_line":"        console.info(args);"}],"source_content_type":"text/x-rst","patch_set":1,"id":"da85f559_2743c06d","line":162,"updated":"2015-11-12 04:50:04.000000000","message":"You talk about $emit above, but then it doesn\u0027t get tied into down here.  Maybe you should $emit something here, like the persons favorite color from the input box in the html down below.","commit_id":"38100bc05b7e826062cc83669e2951d80f517036"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"e089da973da1dbcfd02b83586b98adf5164f3de1","unresolved":false,"context_lines":[{"line_number":159,"context_line":"      \u0027horizon.dashboard.identity.users.events\u0027"},{"line_number":160,"context_line":"    ];"},{"line_number":161,"context_line":"    function blueStepController($scope, wizardEvents, userEvents) {"},{"line_number":162,"context_line":""},{"line_number":163,"context_line":"      $scope.$on(wizardEvents.ON_SWITCH, function(e, args) {"},{"line_number":164,"context_line":"        console.info(\u0027Wizard is switching step!\u0027);"},{"line_number":165,"context_line":"        console.info(args);"}],"source_content_type":"text/x-rst","patch_set":1,"id":"da85f559_77ab88d7","line":162,"in_reply_to":"da85f559_2743c06d","updated":"2015-11-12 20:08:34.000000000","message":"Done","commit_id":"38100bc05b7e826062cc83669e2951d80f517036"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"dad2a1fc97f238ef5c32deaf337574272fa51596","unresolved":false,"context_lines":[{"line_number":205,"context_line":"            \u003cdiv class\u003d\"form-group required\"\u003e"},{"line_number":206,"context_line":"              \u003clabel class\u003d\"control-label\" translate\u003eFavor color\u003c/label\u003e"},{"line_number":207,"context_line":"              \u003cinput type\u003d\"text\" class\u003d\"form-control\""},{"line_number":208,"context_line":"                placeholder\u003d\"{$ \u0027Enter your favorite color\u0027|translate $}\"\u003e"},{"line_number":209,"context_line":"            \u003c/div\u003e"},{"line_number":210,"context_line":"          \u003c/div\u003e"},{"line_number":211,"context_line":"        \u003c/div\u003e\u003c!-- row --\u003e"}],"source_content_type":"text/x-rst","patch_set":1,"id":"da85f559_e70ff834","line":208,"updated":"2015-11-12 04:50:04.000000000","message":"As mentioned above, why not add the ng-model here.  Otherwise, this doesn\u0027t really show how data is captured and shared from injected steps.","commit_id":"38100bc05b7e826062cc83669e2951d80f517036"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"e089da973da1dbcfd02b83586b98adf5164f3de1","unresolved":false,"context_lines":[{"line_number":205,"context_line":"            \u003cdiv class\u003d\"form-group required\"\u003e"},{"line_number":206,"context_line":"              \u003clabel class\u003d\"control-label\" translate\u003eFavor color\u003c/label\u003e"},{"line_number":207,"context_line":"              \u003cinput type\u003d\"text\" class\u003d\"form-control\""},{"line_number":208,"context_line":"                placeholder\u003d\"{$ \u0027Enter your favorite color\u0027|translate $}\"\u003e"},{"line_number":209,"context_line":"            \u003c/div\u003e"},{"line_number":210,"context_line":"          \u003c/div\u003e"},{"line_number":211,"context_line":"        \u003c/div\u003e\u003c!-- row --\u003e"}],"source_content_type":"text/x-rst","patch_set":1,"id":"da85f559_571f6409","line":208,"in_reply_to":"da85f559_e70ff834","updated":"2015-11-12 20:08:34.000000000","message":"Done","commit_id":"38100bc05b7e826062cc83669e2951d80f517036"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"dad2a1fc97f238ef5c32deaf337574272fa51596","unresolved":false,"context_lines":[{"line_number":219,"context_line":"Now that we have completed our plugin, lets package it and test that it works."},{"line_number":220,"context_line":"Lastly, make sure that the panel containing the workflow you are extending is"},{"line_number":221,"context_line":"enabled (in this case, the identity users panel). Good luck! If you have"},{"line_number":222,"context_line":"questions, reach out to us in IRC!"}],"source_content_type":"text/x-rst","patch_set":1,"id":"da85f559_6a02ed0b","line":222,"updated":"2015-11-12 04:50:04.000000000","message":"I think you need to re-link to directions on packaging and perhaps testing.  Otherwise this kind of leaves you hanging.","commit_id":"38100bc05b7e826062cc83669e2951d80f517036"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"e089da973da1dbcfd02b83586b98adf5164f3de1","unresolved":false,"context_lines":[{"line_number":219,"context_line":"Now that we have completed our plugin, lets package it and test that it works."},{"line_number":220,"context_line":"Lastly, make sure that the panel containing the workflow you are extending is"},{"line_number":221,"context_line":"enabled (in this case, the identity users panel). Good luck! If you have"},{"line_number":222,"context_line":"questions, reach out to us in IRC!"}],"source_content_type":"text/x-rst","patch_set":1,"id":"da85f559_d7e7d444","line":222,"in_reply_to":"da85f559_6a02ed0b","updated":"2015-11-12 20:08:34.000000000","message":"Done. Do you know if it is possible to link to a section in a page? I know you can do it via url, but is there a way to do it in rst?","commit_id":"38100bc05b7e826062cc83669e2951d80f517036"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"b668c5c7f6822ed6c79640660da43f7606379249","unresolved":false,"context_lines":[{"line_number":219,"context_line":"Now that we have completed our plugin, lets package it and test that it works."},{"line_number":220,"context_line":"Lastly, make sure that the panel containing the workflow you are extending is"},{"line_number":221,"context_line":"enabled (in this case, the identity users panel). Good luck! If you have"},{"line_number":222,"context_line":"questions, reach out to us in IRC!"}],"source_content_type":"text/x-rst","patch_set":1,"id":"da85f559_86fef836","line":222,"in_reply_to":"da85f559_d7e7d444","updated":"2015-11-12 22:14:38.000000000","message":"You can add a named section reference in a doc\n\nhttp://sphinx-doc.org/markup/inline.html#ref-role\n\ne.g.\n\n.. _searchlight-plugins:\n\nThen reference it from other docs.\n\n:ref:`searchlight-plugins`","commit_id":"38100bc05b7e826062cc83669e2951d80f517036"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"483f8a15c334fba47a04b1905dc7a3c923ea0a6e","unresolved":false,"context_lines":[{"line_number":1,"context_line":"Extending an AngularJS Workflow"},{"line_number":2,"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":3,"context_line":""},{"line_number":4,"context_line":"A workflow extends the ``extensibleService``. This means that all workflows"},{"line_number":5,"context_line":"inherit properties and methods provided by the ``extensibleService``. Refer to"},{"line_number":6,"context_line":"inline documentation on what those properties and methods are."}],"source_content_type":"text/x-rst","patch_set":2,"id":"5a5ae5dd_5e5f02e5","line":3,"updated":"2016-02-04 21:58:51.000000000","message":"Why might you want to extend?","commit_id":"009e2d4e176e853fa6ad8ed8850fea24177b1015"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"f1374b4877402c06131b5123c63cef0c7535ec88","unresolved":false,"context_lines":[{"line_number":3,"context_line":""},{"line_number":4,"context_line":"A workflow extends the ``extensibleService``. This means that all workflows"},{"line_number":5,"context_line":"inherit properties and methods provided by the ``extensibleService``. Refer to"},{"line_number":6,"context_line":"inline documentation on what those properties and methods are."},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"We highly recommend that you complete the"},{"line_number":9,"context_line":":doc:``plugin tutorial \u003c/tutorials/plugin\u003e`` if you have not done so already."}],"source_content_type":"text/x-rst","patch_set":2,"id":"da85f559_7af7e88c","line":6,"updated":"2015-11-12 22:36:02.000000000","message":"It wouldn\u0027t hurt to say something like, \"Some of the ways you can extend a workflow are adding steps, removing steps, and injecting custom data handling logic.\"","commit_id":"009e2d4e176e853fa6ad8ed8850fea24177b1015"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"b3a999808900fe2954b14d0c4a6f4fcfcb138c58","unresolved":false,"context_lines":[{"line_number":3,"context_line":""},{"line_number":4,"context_line":"A workflow extends the ``extensibleService``. This means that all workflows"},{"line_number":5,"context_line":"inherit properties and methods provided by the ``extensibleService``. Refer to"},{"line_number":6,"context_line":"inline documentation on what those properties and methods are."},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"We highly recommend that you complete the"},{"line_number":9,"context_line":":doc:``plugin tutorial \u003c/tutorials/plugin\u003e`` if you have not done so already."}],"source_content_type":"text/x-rst","patch_set":2,"id":"da85f559_cea97292","line":6,"in_reply_to":"da85f559_7af7e88c","updated":"2015-11-13 00:39:15.000000000","message":"Done","commit_id":"009e2d4e176e853fa6ad8ed8850fea24177b1015"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"483f8a15c334fba47a04b1905dc7a3c923ea0a6e","unresolved":false,"context_lines":[{"line_number":9,"context_line":":doc:``plugin tutorial \u003c/tutorials/plugin\u003e`` if you have not done so already."},{"line_number":10,"context_line":"If you do not know how to package and install a plugin, the rest of this"},{"line_number":11,"context_line":"tutorial will not make sense! In this tutorial, we will examine an existing"},{"line_number":12,"context_line":"workflow and how we can extend it as a plugin."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Workflow Example"},{"line_number":15,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5a5ae5dd_ab303602","line":12,"updated":"2016-02-04 21:58:51.000000000","message":"Note that the steps for extending a workflow can easily be adapted to extend other things like table columns.","commit_id":"009e2d4e176e853fa6ad8ed8850fea24177b1015"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"c7588a35dc49ca36f7ef3b8d94013bfffa1475b9","unresolved":false,"context_lines":[{"line_number":23,"context_line":"::"},{"line_number":24,"context_line":"  (function() {"},{"line_number":25,"context_line":"    \u0027use strict\u0027;"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"    angular"},{"line_number":28,"context_line":"      .module(\u0027horizon.dashboard.identity.users\u0027)"},{"line_number":29,"context_line":"      .factory(\u0027horizon.dashboard.identity.users.actions.createWorkflowService\u0027,"}],"source_content_type":"text/x-rst","patch_set":2,"id":"da85f559_af59555d","line":26,"updated":"2015-11-14 00:20:40.000000000","message":"It would be nice to also show some ngDoc example here, don\u0027t have to be comprehensive, just need to be good enough to encourage this practice.","commit_id":"009e2d4e176e853fa6ad8ed8850fea24177b1015"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"908a711e29adc27bf32928a4dce414f4d62450a7","unresolved":false,"context_lines":[{"line_number":23,"context_line":"::"},{"line_number":24,"context_line":"  (function() {"},{"line_number":25,"context_line":"    \u0027use strict\u0027;"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"    angular"},{"line_number":28,"context_line":"      .module(\u0027horizon.dashboard.identity.users\u0027)"},{"line_number":29,"context_line":"      .factory(\u0027horizon.dashboard.identity.users.actions.createWorkflowService\u0027,"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba8a016a_fe1ac316","line":26,"in_reply_to":"ba8a016a_130c6793","updated":"2015-11-17 01:38:42.000000000","message":"So ng-doc inside of the RST? That seems a little odd here.  This is the doc providing an example. Any ngdoc belongs in code, IMO. I agree with Thai not including in here.","commit_id":"009e2d4e176e853fa6ad8ed8850fea24177b1015"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"d2d07c0d9077ccedc92f7cb7e9bf6223fa5cb9aa","unresolved":false,"context_lines":[{"line_number":23,"context_line":"::"},{"line_number":24,"context_line":"  (function() {"},{"line_number":25,"context_line":"    \u0027use strict\u0027;"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"    angular"},{"line_number":28,"context_line":"      .module(\u0027horizon.dashboard.identity.users\u0027)"},{"line_number":29,"context_line":"      .factory(\u0027horizon.dashboard.identity.users.actions.createWorkflowService\u0027,"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba8a016a_130c6793","line":26,"in_reply_to":"da85f559_af59555d","updated":"2015-11-16 22:09:23.000000000","message":"I left out the ngdoc intentionally because i wanted the users to focus on the code sample. Doesn\u0027t hurt to include it, I can swing either way.","commit_id":"009e2d4e176e853fa6ad8ed8850fea24177b1015"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"e765da792c2bdc44b1cd44519b2dfb482b3018f3","unresolved":false,"context_lines":[{"line_number":26,"context_line":""},{"line_number":27,"context_line":"    angular"},{"line_number":28,"context_line":"      .module(\u0027horizon.dashboard.identity.users\u0027)"},{"line_number":29,"context_line":"      .factory(\u0027horizon.dashboard.identity.users.actions.createWorkflowService\u0027,"},{"line_number":30,"context_line":"        createWorkflow);"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"    createWorkflow.$inject \u003d ["}],"source_content_type":"text/x-rst","patch_set":2,"id":"da85f559_f20bc622","line":29,"updated":"2015-11-14 00:27:30.000000000","message":"I think what we get here from the service factory is the returned workflow object, not the workflow creator function, I would like to have it named as \u0027horizon.dashboard.identity.users.actions.workflow\u0027 for less confusion.","commit_id":"009e2d4e176e853fa6ad8ed8850fea24177b1015"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"11730a20aeaeceb1a8af9b418b3f52fdae6f26ea","unresolved":false,"context_lines":[{"line_number":26,"context_line":""},{"line_number":27,"context_line":"    angular"},{"line_number":28,"context_line":"      .module(\u0027horizon.dashboard.identity.users\u0027)"},{"line_number":29,"context_line":"      .factory(\u0027horizon.dashboard.identity.users.actions.createWorkflowService\u0027,"},{"line_number":30,"context_line":"        createWorkflow);"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"    createWorkflow.$inject \u003d ["}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba8a016a_d6ca4d4f","line":29,"in_reply_to":"ba8a016a_13354745","updated":"2015-11-16 22:26:43.000000000","message":"In that case, you will have more that one factories, each create:\n\n- horizon.dashboard.identity.users.actions.fooWorkflow\n- horizon.dashboard.identity.users.actions.barWorkflow\n\nWhat we get from the angular .factory is a workflow definition object, and it is a singleton. If you really want to get a factory function from angular .factory pattern, it should return a function in the factory function, then in the returned function, return a workflow object. Yes, I know, angular is very confusing in this matters.\n\nThat being said, this is just a nit about readability, don\u0027t consider it as a blocker. If you decided not to change, I will vote for +1.","commit_id":"009e2d4e176e853fa6ad8ed8850fea24177b1015"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"908a711e29adc27bf32928a4dce414f4d62450a7","unresolved":false,"context_lines":[{"line_number":26,"context_line":""},{"line_number":27,"context_line":"    angular"},{"line_number":28,"context_line":"      .module(\u0027horizon.dashboard.identity.users\u0027)"},{"line_number":29,"context_line":"      .factory(\u0027horizon.dashboard.identity.users.actions.createWorkflowService\u0027,"},{"line_number":30,"context_line":"        createWorkflow);"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"    createWorkflow.$inject \u003d ["}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba8a016a_fe9f235d","line":29,"in_reply_to":"ba8a016a_d6ca4d4f","updated":"2015-11-17 01:38:42.000000000","message":"the \"create\" part of the name may be a little confusing as Sean points out.  Even though the example here is the create user workflow, this naming seems like it is a service that creates workflows.\n\nMaybe this this should be createUserWorkflowService (that doesn\u0027t quite roll off the tongue either) or something a little easier to read.","commit_id":"009e2d4e176e853fa6ad8ed8850fea24177b1015"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"d2d07c0d9077ccedc92f7cb7e9bf6223fa5cb9aa","unresolved":false,"context_lines":[{"line_number":26,"context_line":""},{"line_number":27,"context_line":"    angular"},{"line_number":28,"context_line":"      .module(\u0027horizon.dashboard.identity.users\u0027)"},{"line_number":29,"context_line":"      .factory(\u0027horizon.dashboard.identity.users.actions.createWorkflowService\u0027,"},{"line_number":30,"context_line":"        createWorkflow);"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"    createWorkflow.$inject \u003d ["}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba8a016a_13354745","line":29,"in_reply_to":"da85f559_f20bc622","updated":"2015-11-16 22:09:23.000000000","message":"in this panel, there is only one workflow. What if you have multiple workflows in a given panel?","commit_id":"009e2d4e176e853fa6ad8ed8850fea24177b1015"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"483f8a15c334fba47a04b1905dc7a3c923ea0a6e","unresolved":false,"context_lines":[{"line_number":89,"context_line":"  │                           ├── mystep.help.html"},{"line_number":90,"context_line":"  │                           └── mystep.html"},{"line_number":91,"context_line":"  │"},{"line_number":92,"context_line":"  ├── MANIFEST.in"},{"line_number":93,"context_line":"  └── setup.py"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"..  Note ::"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5a5ae5dd_de145245","line":92,"updated":"2016-02-04 21:58:51.000000000","message":"dont need to show these","commit_id":"009e2d4e176e853fa6ad8ed8850fea24177b1015"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"483f8a15c334fba47a04b1905dc7a3c923ea0a6e","unresolved":false,"context_lines":[{"line_number":116,"context_line":""},{"line_number":117,"context_line":"  myPlugin.$inject \u003d ["},{"line_number":118,"context_line":"    \u0027horizon.dashboard.identity.basePath\u0027,"},{"line_number":119,"context_line":"    \u0027horizon.dashboard.identity.users.actions.createWorkflowService\u0027"},{"line_number":120,"context_line":"  ];"},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"  function myPlugin(basePath, workflow) {"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5a5ae5dd_7e9f5eb4","line":119,"range":{"start_line":119,"start_character":23,"end_line":119,"end_character":31},"updated":"2016-02-04 21:58:51.000000000","message":"check that this is the naming convention we still use.","commit_id":"009e2d4e176e853fa6ad8ed8850fea24177b1015"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"483f8a15c334fba47a04b1905dc7a3c923ea0a6e","unresolved":false,"context_lines":[{"line_number":243,"context_line":"-------"},{"line_number":244,"context_line":""},{"line_number":245,"context_line":"Now that we have completed our plugin, lets package it and test that it works."},{"line_number":246,"context_line":"If you need a refresher, take a look at the"},{"line_number":247,"context_line":":doc:`Plugin Tutorial \u003c/tutorial/plugin\u003e`."},{"line_number":248,"context_line":""},{"line_number":249,"context_line":"Lastly, make sure that the panel containing the workflow you are extending is"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5a5ae5dd_ab07d61a","line":246,"updated":"2016-02-04 21:58:51.000000000","message":"look at the installation section in ...","commit_id":"009e2d4e176e853fa6ad8ed8850fea24177b1015"},{"author":{"_account_id":9647,"name":"Justin Pomeroy","email":"jpomero@linux.vnet.ibm.com","username":"jpomero"},"change_message_id":"68450818632ec967a6e8e9f7cffc47f83ad20440","unresolved":false,"context_lines":[{"line_number":69,"context_line":"  ];"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"  function myPlugin(basePath, workflow) {"},{"line_number":72,"context_line":"    var customStep \u003d {"},{"line_number":73,"context_line":"      title: gettext(\u0027My Step\u0027),"},{"line_number":74,"context_line":"      templateUrl: basePath + \u0027steps/mystep/mystep.html\u0027,"},{"line_number":75,"context_line":"      helpUrl: basePath + \u0027steps/mystep/mystep.help.html\u0027,"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3a57f1b5_10a5ac45","line":72,"updated":"2016-02-12 19:13:15.000000000","message":"It\u0027s important for the extensible service that each item in the container have an id attribute, otherwise it probably won\u0027t work as expected.  If a workflow is only being extended once that might not be an issue, but even if you were going to say add two pages to a workflow, if the first one you add does not have an id you might get unexpected results when you try to add the second.  That\u0027s probably something that should be shown here and maybe mentioned somewhere in this doc as well. It\u0027s basically the only requirement when using the extensible service.","commit_id":"5dbe1e229fbdbe05293bf68d2c09951e9016040e"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"694f8d3a79e32652410bf4d9bf78ca0281ee6687","unresolved":false,"context_lines":[{"line_number":5,"context_line":"inherit properties and methods provided by the ``extensibleService``. Extending"},{"line_number":6,"context_line":"a workflow allows you to add your own steps, remove existing steps, and inject"},{"line_number":7,"context_line":"custom data handling logic. Refer to inline documentation on what those"},{"line_number":8,"context_line":"properties and methods are."},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"We highly recommend that you complete the"},{"line_number":11,"context_line":":doc:``plugin tutorial \u003c/tutorials/plugin\u003e`` if you have not done so already."}],"source_content_type":"text/x-rst","patch_set":4,"id":"1a122d0e_ca7ad7f0","line":8,"updated":"2016-04-19 22:50:46.000000000","message":"Provide a link.","commit_id":"407e51ee09518618d6d1e87911a8b7d721e3153f"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"6a9079bd8189f8a12efcb31bf52cd761e28d5398","unresolved":false,"context_lines":[{"line_number":12,"context_line":"If you do not know how to package and install a plugin, the rest of this"},{"line_number":13,"context_line":"tutorial will not make sense! In this tutorial, we will examine an existing"},{"line_number":14,"context_line":"workflow and how we can extend it as a plugin."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"..  Note ::"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"    Although this tutorial focuses on extending a workflow, the steps here"}],"source_content_type":"text/x-rst","patch_set":4,"id":"7af24918_3a6291d8","line":15,"updated":"2016-03-03 18:30:10.000000000","message":"Maybe should mention, \"You can add, remove, replace, append, and prepend steps.\"","commit_id":"407e51ee09518618d6d1e87911a8b7d721e3153f"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"aa6ea9c56f1c9db2d3fa57aee9686ec18f390336","unresolved":false,"context_lines":[{"line_number":12,"context_line":"If you do not know how to package and install a plugin, the rest of this"},{"line_number":13,"context_line":"tutorial will not make sense! In this tutorial, we will examine an existing"},{"line_number":14,"context_line":"workflow and how we can extend it as a plugin."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"..  Note ::"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"    Although this tutorial focuses on extending a workflow, the steps here"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3afc51ec_09561529","line":15,"in_reply_to":"7af24918_3a6291d8","updated":"2016-03-11 22:52:31.000000000","message":"I mentioned add, remove, and injecting in the paragraph above. And a reference to inline docs for more properties and methods. Is that sufficient?","commit_id":"407e51ee09518618d6d1e87911a8b7d721e3153f"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"694f8d3a79e32652410bf4d9bf78ca0281ee6687","unresolved":false,"context_lines":[{"line_number":18,"context_line":"    Although this tutorial focuses on extending a workflow, the steps here"},{"line_number":19,"context_line":"    can easily be adapted to extend any service that inherited the"},{"line_number":20,"context_line":"    ``extensibleService``. Examples of other extensible services include"},{"line_number":21,"context_line":"    table columns and table actions."},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"File Structure"},{"line_number":24,"context_line":"--------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1a122d0e_cd0671cd","line":21,"updated":"2016-04-19 22:50:46.000000000","message":"...extensibility services... is a little confusing.\n\nExamples of other extensible points include table columns and table actions.","commit_id":"407e51ee09518618d6d1e87911a8b7d721e3153f"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"694f8d3a79e32652410bf4d9bf78ca0281ee6687","unresolved":false,"context_lines":[{"line_number":38,"context_line":"               └── core"},{"line_number":39,"context_line":"                   └── images"},{"line_number":40,"context_line":"                       ├── plugins"},{"line_number":41,"context_line":"                       │   └── myplugin.js"},{"line_number":42,"context_line":"                       │"},{"line_number":43,"context_line":"                       └── steps"},{"line_number":44,"context_line":"                           └── mystep"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1a122d0e_4dfb81c1","line":41,"updated":"2016-04-19 22:50:46.000000000","message":"myplugin.module.js for consistency","commit_id":"407e51ee09518618d6d1e87911a8b7d721e3153f"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"694f8d3a79e32652410bf4d9bf78ca0281ee6687","unresolved":false,"context_lines":[{"line_number":183,"context_line":"        \u003cdiv class\u003d\"row\"\u003e"},{"line_number":184,"context_line":"          \u003cdiv class\u003d\"col-xs-12 col-sm-8\"\u003e"},{"line_number":185,"context_line":"            \u003cdiv class\u003d\"form-group required\"\u003e"},{"line_number":186,"context_line":"              \u003clabel class\u003d\"control-label\" translate\u003eFavor color\u003c/label\u003e"},{"line_number":187,"context_line":"              \u003cinput type\u003d\"text\" class\u003d\"form-control\""},{"line_number":188,"context_line":"                ng-model\u003d\"ctrl.favoriteColor\""},{"line_number":189,"context_line":"                placeholder\u003d\"{$ \u0027Enter your favorite color\u0027|translate $}\"\u003e"}],"source_content_type":"text/x-rst","patch_set":4,"id":"1a122d0e_ad8e952b","line":186,"updated":"2016-04-19 22:50:46.000000000","message":"nit: Favorite color*","commit_id":"407e51ee09518618d6d1e87911a8b7d721e3153f"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"a7b21e32fa4033e3428fce2b087348036f91011a","unresolved":false,"context_lines":[{"line_number":46,"context_line":"                               ├── mystep.help.html"},{"line_number":47,"context_line":"                               └── mystep.html"},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"myplugin.js"},{"line_number":50,"context_line":"-----------"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"This is the entry point into our plugin. We hook into an existing module via the"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1a122d0e_c416fea5","line":49,"updated":"2016-04-29 14:43:08.000000000","message":"myplugin.module.js*","commit_id":"6ea5eacee63b7ee352e5de2f7fa3bc36e0c43a13"}]}
