)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":11941,"name":"Richard Hagarty","email":"rich.hagarty@ibm.com","username":"rhagarty"},"change_message_id":"cf7622665c0170600ef2f201e91fa4c714a03238","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Shaoquan Chen \u003csean.chen2@hp.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2014-11-26 09:21:43 -0800"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Implements: blueprint BASIC WIZARD FRAMEWORK"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Change-Id: I6d7530b6723764d3ca117e16eeae78c0ab35e48e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"5a890539_3c503d0a","line":7,"updated":"2014-11-26 17:30:18.000000000","message":"Please include a summary line of your patch. Then add a blank line and then a short description.","commit_id":"6fa076bb757544b9f6bb80c1941cb3f1e46f1555"},{"author":{"_account_id":6914,"name":"Tatiana Ovchinnikova","email":"t.v.ovtchinnikova@gmail.com","username":"tmazur"},"change_message_id":"deecba5d15495669ca8392ceb8a1bf64091414bf","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Shaoquan Chen \u003csean.chen2@hp.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2014-11-26 09:21:43 -0800"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Implements: blueprint BASIC WIZARD FRAMEWORK"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Change-Id: I6d7530b6723764d3ca117e16eeae78c0ab35e48e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"5a890539_752e4afc","line":7,"in_reply_to":"5a890539_3c503d0a","updated":"2014-11-27 08:46:46.000000000","message":"Agreed. Hope this may help: https://wiki.openstack.org/wiki/GitCommitMessages","commit_id":"6fa076bb757544b9f6bb80c1941cb3f1e46f1555"},{"author":{"_account_id":6763,"name":"jingliuqing","email":"jing.liuqing@99cloud.net","username":"jing"},"change_message_id":"48f8d5f688f84bcaf502a014c7cb735241e35931","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Shaoquan Chen \u003csean.chen2@hp.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2014-11-26 09:21:43 -0800"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Implements: blueprint BASIC WIZARD FRAMEWORK"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Change-Id: I6d7530b6723764d3ca117e16eeae78c0ab35e48e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"5a890539_d4f6f28f","line":7,"in_reply_to":"5a890539_752e4afc","updated":"2014-11-30 04:16:29.000000000","message":"+1 and please register bp firstly","commit_id":"6fa076bb757544b9f6bb80c1941cb3f1e46f1555"},{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"0a8535a856cb4f1ce2e4c4a05384135dc401eeab","unresolved":false,"context_lines":[{"line_number":10,"context_line":"Create a reusable angular based wizard."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Motivation:"},{"line_number":13,"context_line":"The initial driving motivation is to redesign the launch instance wizard based on a modern, responsive design that is based on client side rendering using angular."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"The wizard will be as lightweight as possible, but still allow for customizable text, localization, customizable per-worfklow number of steps."},{"line_number":16,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"5a890539_cb629f3c","line":13,"updated":"2014-12-02 06:42:46.000000000","message":"subsequent lines after the summary should be wrapped at 72 characters","commit_id":"536052f8a6e86ee25d09234e66b6efdd689e7bc6"},{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"1dc0c840c85aab84220d4970ab3a9a8f3f055cf2","unresolved":false,"context_lines":[{"line_number":31,"context_line":"- Use Jasmine for unit test."},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"Blueprint:"},{"line_number":34,"context_line":"https://blueprints.launchpad.net/horizon/+spec/initial-reusable-angular-wizard"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"Change-Id: I6d7530b6723764d3ca117e16eeae78c0ab35e48e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"5a890539_21a31a44","line":34,"updated":"2014-12-03 07:14:52.000000000","message":"Implements: blueprint initial-reusable-angular-wizard\n\nor \"Partially Implements\" if this only partially implements the BP","commit_id":"5b7957b4e0735cd65c13473ef4211452913aa8fb"}],"horizon/static/angular/framework.module.js":[{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"13fc111b7d5bbab43ecddc7626adb6b0cfe40a44","unresolved":false,"context_lines":[{"line_number":1,"context_line":"(function () {"},{"line_number":2,"context_line":"  \u0027use strict\u0027;"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"  var module \u003d angular.module(\u0027hz.framework\u0027, ["}],"source_content_type":"text/javascript","patch_set":16,"id":"3a961159_6032c510","line":1,"updated":"2015-01-13 15:33:24.000000000","message":"I notice you\u0027re using the anonymous function feature to limit scope on lots of the code.  This isn\u0027t necessary in most cases...I don\u0027t believe.\n\nFor example, here, the declaration of \"module\" is not needed.  You can simply say: \n\n  \u0027use strict\u0027;\n\n  angular.module(...);\n\nand it would not add anything to the global context.  As a result the wrapping is unnecessary, which to me means it should be removed.  Discussion?\n\nYou can also (in other files) chain registrations so you don\u0027t have to declare any vars on any context.","commit_id":"7bca05c63c18c153d6a69e0d01652f338bd58803"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"959ca8d9f7c94d6f069656ce31ccee4bbb977067","unresolved":false,"context_lines":[{"line_number":1,"context_line":"(function () {"},{"line_number":2,"context_line":"  \u0027use strict\u0027;"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"  var module \u003d angular.module(\u0027hz.framework\u0027, ["}],"source_content_type":"text/javascript","patch_set":16,"id":"3a961159_dd7a73b9","line":1,"in_reply_to":"3a961159_6032c510","updated":"2015-01-13 21:48:31.000000000","message":"We have discussed this in a previous patch and came to an agreement that using the anonymous function is safer than not, and incurs little to no overhead. There may also be scenarios where we are not using angular. Having the anonymous in one place and not in a another causes inconsistency and may confuse someone new to JS and Horizon.\nhttps://review.openstack.org/#/c/112654/","commit_id":"7bca05c63c18c153d6a69e0d01652f338bd58803"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"65146acfe9ff0d3444639d2e8aa61dd56c243247","unresolved":false,"context_lines":[{"line_number":1,"context_line":"(function () {"},{"line_number":2,"context_line":"  \u0027use strict\u0027;"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"  var module \u003d angular.module(\u0027hz.framework\u0027, ["}],"source_content_type":"text/javascript","patch_set":16,"id":"3a961159_12406506","line":1,"in_reply_to":"3a961159_921b7572","updated":"2015-01-13 23:56:35.000000000","message":"And also, if we put \u0027use strict\u0027 outside of the wrapper function, that will cause all the JS code in other files are using strict mode, that maybe cause problem if other files files have problem with strict mode.","commit_id":"7bca05c63c18c153d6a69e0d01652f338bd58803"},{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"8b0b477176f24d94b33662b77d933b9dedced4f1","unresolved":false,"context_lines":[{"line_number":1,"context_line":"(function () {"},{"line_number":2,"context_line":"  \u0027use strict\u0027;"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"  var module \u003d angular.module(\u0027hz.framework\u0027, ["}],"source_content_type":"text/javascript","patch_set":16,"id":"3a961159_921b7572","line":1,"in_reply_to":"3a961159_dd7a73b9","updated":"2015-01-13 22:14:47.000000000","message":"Thank you, it certainly doesn\u0027t hurt to be consistent, as long as we know why we\u0027re consistent!","commit_id":"7bca05c63c18c153d6a69e0d01652f338bd58803"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"94f821771eed9b83a32cf6fd63a72b3af7b89448","unresolved":false,"context_lines":[{"line_number":1,"context_line":"(function () {"},{"line_number":2,"context_line":"  \u0027use strict\u0027;"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"  var module \u003d angular.module(\u0027hz.framework\u0027, ["},{"line_number":5,"context_line":"    \u0027hz.framework.help-panel\u0027,"},{"line_number":6,"context_line":"    \u0027hz.framework.wizard\u0027,"},{"line_number":7,"context_line":"    \u0027hz.framework.workflow\u0027"}],"source_content_type":"text/javascript","patch_set":16,"id":"3a961159_14084d27","line":4,"updated":"2015-01-14 01:44:02.000000000","message":"I\u0027m not sure I understand the need for framework here. Do you envision that we are going to group many horizon widgets together into a single framework? If that is the case, I would prefer to see another patch that sets up a pattern for introducing new widgets into a horizon framework.","commit_id":"7bca05c63c18c153d6a69e0d01652f338bd58803"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"11dc0f79aa8947b40a84fbcad004a24f6c48da68","unresolved":false,"context_lines":[{"line_number":1,"context_line":"(function () {"},{"line_number":2,"context_line":"  \u0027use strict\u0027;"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"  var module \u003d angular.module(\u0027hz.framework\u0027, ["},{"line_number":5,"context_line":"    \u0027hz.framework.help-panel\u0027,"},{"line_number":6,"context_line":"    \u0027hz.framework.wizard\u0027,"},{"line_number":7,"context_line":"    \u0027hz.framework.workflow\u0027"}],"source_content_type":"text/javascript","patch_set":16,"id":"3a961159_d4616512","line":4,"in_reply_to":"3a961159_14084d27","updated":"2015-01-14 02:49:06.000000000","message":"Good point. The original design is having all reusable components grouped into `hz.framework` module. The reusable components include all the widgets, and also other infrastructural services which may not have UI. If you see we do not need such a grouper module right now, I can remove it.","commit_id":"7bca05c63c18c153d6a69e0d01652f338bd58803"},{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"971292f8ee688fa416ba949406b863e6cafe2cdb","unresolved":false,"context_lines":[{"line_number":1,"context_line":"(function () {"},{"line_number":2,"context_line":"  \u0027use strict\u0027;"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"  var module \u003d angular.module(\u0027hz.framework\u0027, ["},{"line_number":5,"context_line":"    \u0027hz.framework.help-panel\u0027,"},{"line_number":6,"context_line":"    \u0027hz.framework.wizard\u0027,"},{"line_number":7,"context_line":"    \u0027hz.framework.workflow\u0027"}],"source_content_type":"text/javascript","patch_set":16,"id":"3a961159_eb210d50","line":4,"in_reply_to":"3a961159_d4616512","updated":"2015-01-14 15:49:48.000000000","message":"I would still argue against \"var module \u003d \" here as there is no point in assigning it, but that perhaps is a matter of style.","commit_id":"7bca05c63c18c153d6a69e0d01652f338bd58803"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"691b465e60b0b7c3f28cd4584c23a195d0961217","unresolved":false,"context_lines":[{"line_number":1,"context_line":"(function () {"},{"line_number":2,"context_line":" \u0027use strict\u0027;"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"  angular.module(\u0027hz.framework\u0027, ["},{"line_number":5,"context_line":"    \u0027hz.framework.wizard\u0027"},{"line_number":6,"context_line":"  ])"},{"line_number":7,"context_line":"    .constant(\u0027frameworkPath\u0027, \u0027/static/angular/\u0027);"}],"source_content_type":"text/javascript","patch_set":21,"id":"fa81d914_32bf4dfd","line":4,"updated":"2015-01-29 00:48:25.000000000","message":"rename to hz.widget","commit_id":"a7da7914c5e15309423aaa411709b494e75960c8"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"e9bc4721cf92698c6bc52278d99d3a59a4e5d167","unresolved":false,"context_lines":[{"line_number":1,"context_line":"(function () {"},{"line_number":2,"context_line":" \u0027use strict\u0027;"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"  angular.module(\u0027hz.framework\u0027, ["},{"line_number":5,"context_line":"    \u0027hz.framework.wizard\u0027"},{"line_number":6,"context_line":"  ])"},{"line_number":7,"context_line":"    .constant(\u0027frameworkPath\u0027, \u0027/static/angular/\u0027);"}],"source_content_type":"text/javascript","patch_set":21,"id":"fa81d914_52ee81b5","line":4,"in_reply_to":"fa81d914_32bf4dfd","updated":"2015-01-29 00:55:34.000000000","message":"Will do.","commit_id":"a7da7914c5e15309423aaa411709b494e75960c8"}],"horizon/static/angular/wizard/wizard.ctrl.js":[{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"13fc111b7d5bbab43ecddc7626adb6b0cfe40a44","unresolved":false,"context_lines":[{"line_number":3,"context_line":""},{"line_number":4,"context_line":"  var module \u003d angular.module(\u0027hz.framework.wizard\u0027);"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"  module.controller(\u0027WizardCtrl\u0027, ["},{"line_number":7,"context_line":"    \u0027$scope\u0027,"},{"line_number":8,"context_line":"    \u0027$modalInstance\u0027,"},{"line_number":9,"context_line":"    function ($scope, $modalInstance) {"}],"source_content_type":"text/javascript","patch_set":16,"id":"3a961159_9321c9a0","line":6,"updated":"2015-01-13 15:33:24.000000000","message":"Note, you don\u0027t have to \"var module...\", you can just chain the .controller() method onto the object returned by angular.module().  This eliminates the need to use the anonymous function.","commit_id":"7bca05c63c18c153d6a69e0d01652f338bd58803"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"65146acfe9ff0d3444639d2e8aa61dd56c243247","unresolved":false,"context_lines":[{"line_number":3,"context_line":""},{"line_number":4,"context_line":"  var module \u003d angular.module(\u0027hz.framework.wizard\u0027);"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"  module.controller(\u0027WizardCtrl\u0027, ["},{"line_number":7,"context_line":"    \u0027$scope\u0027,"},{"line_number":8,"context_line":"    \u0027$modalInstance\u0027,"},{"line_number":9,"context_line":"    function ($scope, $modalInstance) {"}],"source_content_type":"text/javascript","patch_set":16,"id":"3a961159_92c61567","line":6,"in_reply_to":"3a961159_9321c9a0","updated":"2015-01-13 23:56:35.000000000","message":"We need the wrapper function to scope strict mode, it is not for protecting module variable. I know we don\u0027t have to make a module reference here, but that is my personal preference to get code formatted nicely.","commit_id":"7bca05c63c18c153d6a69e0d01652f338bd58803"}],"horizon/static/angular/wizard/wizard.directive.js":[{"author":{"_account_id":12825,"name":"Szymon Wróblewski","email":"szymon.wroblewski@ovhcloud.com","username":"bluex"},"change_message_id":"86c5721535acf42b968a8e64ff12e9e564fe8fa8","unresolved":false,"context_lines":[{"line_number":6,"context_line":"      return;"},{"line_number":7,"context_line":"    }"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"    var workflow \u003d workflows[attrs.workflow];"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"    if (!workflow) {"},{"line_number":12,"context_line":"      return;"}],"source_content_type":"text/javascript","patch_set":12,"id":"3a961159_89018308","line":9,"updated":"2014-12-18 16:10:26.000000000","message":"I don\u0027t think it\u0027s good idea to have access to all defined workflows here. Wizard directive should be as independent as possible. It is the task of a controller in dashboard to select specific workflow for the task. Wizard should then receive concrete workflow setup to work on.","commit_id":"b065316b80b263c190c6e2c05d028745da9ccc7f"},{"author":{"_account_id":12825,"name":"Szymon Wróblewski","email":"szymon.wroblewski@ovhcloud.com","username":"bluex"},"change_message_id":"86c5721535acf42b968a8e64ff12e9e564fe8fa8","unresolved":false,"context_lines":[{"line_number":30,"context_line":"      $scope.openHelp \u003d false;"},{"line_number":31,"context_line":"    }"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"    function open() {"},{"line_number":34,"context_line":"      reset();"},{"line_number":35,"context_line":"      $scope.forcedOpen \u003d true;"},{"line_number":36,"context_line":"    }"}],"source_content_type":"text/javascript","patch_set":12,"id":"3a961159_34db82ee","line":33,"updated":"2014-12-18 16:10:26.000000000","message":"Behavior of the modal window shouldn\u0027t be part of the wizard widget, it\u0027s not related to what wizard does. Another module will handle this (for ex. http://angular-ui.github.io/bootstrap/#/modal).","commit_id":"b065316b80b263c190c6e2c05d028745da9ccc7f"},{"author":{"_account_id":12825,"name":"Szymon Wróblewski","email":"szymon.wroblewski@ovhcloud.com","username":"bluex"},"change_message_id":"8d08b60f1bc673847092650b2723758f2f52c7a8","unresolved":false,"context_lines":[{"line_number":44,"context_line":"      reset();"},{"line_number":45,"context_line":"    }"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"    function open() {"},{"line_number":48,"context_line":"      reset();"},{"line_number":49,"context_line":"      $scope.forcedOpen \u003d true;"},{"line_number":50,"context_line":"    }"}],"source_content_type":"text/javascript","patch_set":14,"id":"3a961159_622ddb45","line":47,"updated":"2015-01-08 17:36:58.000000000","message":"Functionality not related to wizard, modal logic is provided by angular-bootstrap (changeset #139284)","commit_id":"19e5d471ce0167a36d351ef624501d6b46c24420"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"399a579e6178d123a893c1986fd6354b43beed4a","unresolved":false,"context_lines":[{"line_number":44,"context_line":"      reset();"},{"line_number":45,"context_line":"    }"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"    function open() {"},{"line_number":48,"context_line":"      reset();"},{"line_number":49,"context_line":"      $scope.forcedOpen \u003d true;"},{"line_number":50,"context_line":"    }"}],"source_content_type":"text/javascript","patch_set":14,"id":"3a961159_ad096f2c","line":47,"in_reply_to":"3a961159_622ddb45","updated":"2015-01-08 22:44:53.000000000","message":"Sure will use Bootstarp for this.","commit_id":"19e5d471ce0167a36d351ef624501d6b46c24420"},{"author":{"_account_id":12825,"name":"Szymon Wróblewski","email":"szymon.wroblewski@ovhcloud.com","username":"bluex"},"change_message_id":"8d08b60f1bc673847092650b2723758f2f52c7a8","unresolved":false,"context_lines":[{"line_number":129,"context_line":"    return {"},{"line_number":130,"context_line":"      controller: [\u0027$scope\u0027, \u0027workflowManager\u0027, controller],"},{"line_number":131,"context_line":"      link: link,"},{"line_number":132,"context_line":"      replace: true,"},{"line_number":133,"context_line":"      templateUrl: \u0027/framework/wizard/wizard.tpl.html\u0027"},{"line_number":134,"context_line":"    };"},{"line_number":135,"context_line":"  }"}],"source_content_type":"text/javascript","patch_set":14,"id":"3a961159_c2ca0f9f","line":132,"updated":"2015-01-08 17:36:58.000000000","message":"replace is deprecated","commit_id":"19e5d471ce0167a36d351ef624501d6b46c24420"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"a004dd6921a044ec555a6fb5e89ed367f307252e","unresolved":false,"context_lines":[{"line_number":129,"context_line":"    return {"},{"line_number":130,"context_line":"      controller: [\u0027$scope\u0027, \u0027workflowManager\u0027, controller],"},{"line_number":131,"context_line":"      link: link,"},{"line_number":132,"context_line":"      replace: true,"},{"line_number":133,"context_line":"      templateUrl: \u0027/framework/wizard/wizard.tpl.html\u0027"},{"line_number":134,"context_line":"    };"},{"line_number":135,"context_line":"  }"}],"source_content_type":"text/javascript","patch_set":14,"id":"3a961159_c389b170","line":132,"in_reply_to":"3a961159_280edfe5","updated":"2015-01-14 00:04:19.000000000","message":"It will be deprecated in V2.0, and many people don\u0027t like this change, because it will cause the DOM tree ugly. please check https://github.com/angular/angular.js/commit/eec6394a342fb92fba5270eee11c83f1d895e9fb. \n\nI can change it if you have strong opinion on it.","commit_id":"19e5d471ce0167a36d351ef624501d6b46c24420"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"d61740bd147647de062ff4a0df43a51db6df4853","unresolved":false,"context_lines":[{"line_number":129,"context_line":"    return {"},{"line_number":130,"context_line":"      controller: [\u0027$scope\u0027, \u0027workflowManager\u0027, controller],"},{"line_number":131,"context_line":"      link: link,"},{"line_number":132,"context_line":"      replace: true,"},{"line_number":133,"context_line":"      templateUrl: \u0027/framework/wizard/wizard.tpl.html\u0027"},{"line_number":134,"context_line":"    };"},{"line_number":135,"context_line":"  }"}],"source_content_type":"text/javascript","patch_set":14,"id":"3a961159_c7cccf63","line":132,"in_reply_to":"3a961159_6d03070d","updated":"2015-01-09 07:35:48.000000000","message":"Tried without it, \u003cwizard\u003e will stay in HTML. So will keep it.","commit_id":"19e5d471ce0167a36d351ef624501d6b46c24420"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"399a579e6178d123a893c1986fd6354b43beed4a","unresolved":false,"context_lines":[{"line_number":129,"context_line":"    return {"},{"line_number":130,"context_line":"      controller: [\u0027$scope\u0027, \u0027workflowManager\u0027, controller],"},{"line_number":131,"context_line":"      link: link,"},{"line_number":132,"context_line":"      replace: true,"},{"line_number":133,"context_line":"      templateUrl: \u0027/framework/wizard/wizard.tpl.html\u0027"},{"line_number":134,"context_line":"    };"},{"line_number":135,"context_line":"  }"}],"source_content_type":"text/javascript","patch_set":14,"id":"3a961159_6d03070d","line":132,"in_reply_to":"3a961159_c2ca0f9f","updated":"2015-01-08 22:44:53.000000000","message":"Will try to remove it if it works the same. Thanks.","commit_id":"19e5d471ce0167a36d351ef624501d6b46c24420"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"a28d9d8a68080aed0b5f6caaa091e7c8123e0ab0","unresolved":false,"context_lines":[{"line_number":129,"context_line":"    return {"},{"line_number":130,"context_line":"      controller: [\u0027$scope\u0027, \u0027workflowManager\u0027, controller],"},{"line_number":131,"context_line":"      link: link,"},{"line_number":132,"context_line":"      replace: true,"},{"line_number":133,"context_line":"      templateUrl: \u0027/framework/wizard/wizard.tpl.html\u0027"},{"line_number":134,"context_line":"    };"},{"line_number":135,"context_line":"  }"}],"source_content_type":"text/javascript","patch_set":14,"id":"3a961159_280edfe5","line":132,"in_reply_to":"3a961159_c7cccf63","updated":"2015-01-13 17:37:03.000000000","message":"Looks like it will be deprecated in next release, which is aways off and in general won\u0027t be backwards compatible with the current version.  However, is this really needed?  What really changes if we take it out? https://docs.angularjs.org/api/ng/service/$compile#-replace-deprecated-will-be-removed-in-next-major-release-i-e-v2-0","commit_id":"19e5d471ce0167a36d351ef624501d6b46c24420"},{"author":{"_account_id":12825,"name":"Szymon Wróblewski","email":"szymon.wroblewski@ovhcloud.com","username":"bluex"},"change_message_id":"8d08b60f1bc673847092650b2723758f2f52c7a8","unresolved":false,"context_lines":[{"line_number":130,"context_line":"      controller: [\u0027$scope\u0027, \u0027workflowManager\u0027, controller],"},{"line_number":131,"context_line":"      link: link,"},{"line_number":132,"context_line":"      replace: true,"},{"line_number":133,"context_line":"      templateUrl: \u0027/framework/wizard/wizard.tpl.html\u0027"},{"line_number":134,"context_line":"    };"},{"line_number":135,"context_line":"  }"},{"line_number":136,"context_line":""}],"source_content_type":"text/javascript","patch_set":14,"id":"3a961159_2255931d","line":133,"updated":"2015-01-08 17:36:58.000000000","message":"From where \u0027/framework\u0027 path comes?","commit_id":"19e5d471ce0167a36d351ef624501d6b46c24420"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"399a579e6178d123a893c1986fd6354b43beed4a","unresolved":false,"context_lines":[{"line_number":130,"context_line":"      controller: [\u0027$scope\u0027, \u0027workflowManager\u0027, controller],"},{"line_number":131,"context_line":"      link: link,"},{"line_number":132,"context_line":"      replace: true,"},{"line_number":133,"context_line":"      templateUrl: \u0027/framework/wizard/wizard.tpl.html\u0027"},{"line_number":134,"context_line":"    };"},{"line_number":135,"context_line":"  }"},{"line_number":136,"context_line":""}],"source_content_type":"text/javascript","patch_set":14,"id":"3a961159_2afe4506","line":133,"in_reply_to":"3a961159_2255931d","updated":"2015-01-08 22:44:53.000000000","message":"This is a mistake of copy/paste from prototype. Will fix.","commit_id":"19e5d471ce0167a36d351ef624501d6b46c24420"},{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"13fc111b7d5bbab43ecddc7626adb6b0cfe40a44","unresolved":false,"context_lines":[{"line_number":1,"context_line":"(function () {"},{"line_number":2,"context_line":"  \u0027use strict\u0027;"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"  function link($scope, element, attrs) {"},{"line_number":5,"context_line":"    console.log(\u0027link in directive\u0027);"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"    if (!attrs.workflow) {"}],"source_content_type":"text/javascript","patch_set":16,"id":"3a961159_f3aa0d70","line":4,"updated":"2015-01-13 15:33:24.000000000","message":"Many places prefer \"var link \u003d function()\" notation; any reason for this \"function link()\" notation?","commit_id":"7bca05c63c18c153d6a69e0d01652f338bd58803"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"65146acfe9ff0d3444639d2e8aa61dd56c243247","unresolved":false,"context_lines":[{"line_number":1,"context_line":"(function () {"},{"line_number":2,"context_line":"  \u0027use strict\u0027;"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"  function link($scope, element, attrs) {"},{"line_number":5,"context_line":"    console.log(\u0027link in directive\u0027);"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"    if (!attrs.workflow) {"}],"source_content_type":"text/javascript","patch_set":16,"id":"3a961159_527aed25","line":4,"in_reply_to":"3a961159_f3aa0d70","updated":"2015-01-13 23:56:35.000000000","message":"using declaration pattern is more robust. You can call a function before the declaration. This pattern is used in some examples for angular official docs as well.","commit_id":"7bca05c63c18c153d6a69e0d01652f338bd58803"},{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"13fc111b7d5bbab43ecddc7626adb6b0cfe40a44","unresolved":false,"context_lines":[{"line_number":45,"context_line":"      reset();"},{"line_number":46,"context_line":"    }"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"    function switchTo(index) {"},{"line_number":49,"context_line":"      var i, currentIndex \u003d $scope.currentIndex;"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"      if (index \u003d\u003d\u003d currentIndex) {"}],"source_content_type":"text/javascript","patch_set":16,"id":"3a961159_d3bc310a","line":48,"updated":"2015-01-13 15:33:24.000000000","message":"May want some simple boundary checking on the passed index.\n\nSome simple docs about the purpose of this might be good too.","commit_id":"7bca05c63c18c153d6a69e0d01652f338bd58803"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"65146acfe9ff0d3444639d2e8aa61dd56c243247","unresolved":false,"context_lines":[{"line_number":45,"context_line":"      reset();"},{"line_number":46,"context_line":"    }"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"    function switchTo(index) {"},{"line_number":49,"context_line":"      var i, currentIndex \u003d $scope.currentIndex;"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"      if (index \u003d\u003d\u003d currentIndex) {"}],"source_content_type":"text/javascript","patch_set":16,"id":"3a961159_52c82d56","line":48,"in_reply_to":"3a961159_d3bc310a","updated":"2015-01-13 23:56:35.000000000","message":"The index is passed in from repeat $index, is will never get a chance to pass in out-scoped value.","commit_id":"7bca05c63c18c153d6a69e0d01652f338bd58803"}],"horizon/static/angular/wizard/wizard.html":[{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"ee0150bcd325596447b0771151529e76465a354b","unresolved":false,"context_lines":[{"line_number":1,"context_line":"\u003cdiv ng-form\u003d\"wizardForm\"\u003e"},{"line_number":2,"context_line":"  \u003cdiv class\u003d\"modal-header\"\u003e"},{"line_number":3,"context_line":"    \u003ch3 class\u003d\"modal-title\"\u003e{$ text.title $}\u003c/h3\u003e"},{"line_number":4,"context_line":"  \u003c/div\u003e"}],"source_content_type":"text/html","patch_set":19,"id":"1a930d6b_3b481e2d","line":1,"updated":"2015-01-21 19:31:18.000000000","message":"So, I like the look of the HTML in patch set 18 because it mostly just declares the content and the angular bindings, making it easier to see the angular interaction. It also provides more semantic meaning to the markup.  This does make it a bit harder to understand the layout, though. Patch set 19 uses more native bootstrap styling, but 18 looks more like it can be made to look exactly like the UX designs and in the future more obviously change just the style if the style needs to change further. (scss change won\u0027t affect the HTML page so much and will make it easier to tell if bindings / other semantic content gets changed / etc). \n\nSo, I lean toward the semantic markup of 18, but wonder if at least some of the scss files can extend from bootstrap classes as a starting point to reduce custom styling (as long as it fits the UX designs).","commit_id":"932951f3eeb793e6e3579e9ac4223f6e663befb1"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"060cea3303045532b233c606d9f4986f6827e32e","unresolved":false,"context_lines":[{"line_number":1,"context_line":"\u003cdiv ng-form\u003d\"wizardForm\"\u003e"},{"line_number":2,"context_line":"  \u003cdiv class\u003d\"modal-header\"\u003e"},{"line_number":3,"context_line":"    \u003ch3 class\u003d\"modal-title\"\u003e{$ text.title $}\u003c/h3\u003e"},{"line_number":4,"context_line":"  \u003c/div\u003e"}],"source_content_type":"text/html","patch_set":19,"id":"1a930d6b_b5ab161d","line":1,"in_reply_to":"1a930d6b_3b481e2d","updated":"2015-01-22 17:57:15.000000000","message":"Will start optimizing the scss code.","commit_id":"932951f3eeb793e6e3579e9ac4223f6e663befb1"}],"horizon/static/angular/wizard/wizard.js":[{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"ee0150bcd325596447b0771151529e76465a354b","unresolved":false,"context_lines":[{"line_number":7,"context_line":""},{"line_number":8,"context_line":"    .constant(\u0027wizardConfig\u0027, {"},{"line_number":9,"context_line":"      text: {"},{"line_number":10,"context_line":"        title: \u0027Wizard\u0027,"},{"line_number":11,"context_line":"        cancel: \u0027Cancel\u0027,"},{"line_number":12,"context_line":"        back: \u0027Back\u0027,"},{"line_number":13,"context_line":"        next: \u0027Next\u0027,"}],"source_content_type":"text/javascript","patch_set":19,"id":"1a930d6b_f873fcae","line":10,"updated":"2015-01-21 19:31:18.000000000","message":"The change to put the default values in javascript is good for i18n / l10n reasons, since the HTML template in this case is served out from static and won\u0027t have django template processing.  However, this should be wrapped in gettext().\n\nFrom: https://wiki.openstack.org/wiki/Horizon/Javascript\n\nFor localization of text in JavaScript files use \u0027gettext(\"translatable text\")\u0027. Only \u0027gettext\u0027 is recognized by our tools and will be included in the \u0027.po\u0027 file after running \u0027./run_tests --makemessages\u0027.\n\nFor localization of AngularJS templates in Horizon, there are a couple of ways to do it.\n\nUsing \u0027gettext\u0027 or \u0027ngettext\u0027 function that is passed from server to client. If you\u0027re only translating a few things, this methodology is ok to use.\n\nUse an angular directive that will fetch a django template instead of a static HTML file. The advantage here is that you can now use \u0027{% trans %}\u0027 and anything else Django has to offer. You can also cache the page according to the locale if you know that the content is static.","commit_id":"932951f3eeb793e6e3579e9ac4223f6e663befb1"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"67f0f76f6431964b91dced0211c150e68943e754","unresolved":false,"context_lines":[{"line_number":7,"context_line":""},{"line_number":8,"context_line":"    .constant(\u0027wizardConfig\u0027, {"},{"line_number":9,"context_line":"      text: {"},{"line_number":10,"context_line":"        title: \u0027Wizard\u0027,"},{"line_number":11,"context_line":"        cancel: \u0027Cancel\u0027,"},{"line_number":12,"context_line":"        back: \u0027Back\u0027,"},{"line_number":13,"context_line":"        next: \u0027Next\u0027,"}],"source_content_type":"text/javascript","patch_set":19,"id":"1a930d6b_157fa6e1","line":10,"in_reply_to":"1a930d6b_f873fcae","updated":"2015-01-22 05:46:47.000000000","message":"Sure will do this.","commit_id":"932951f3eeb793e6e3579e9ac4223f6e663befb1"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"7bfa55d9cec32902493f9eccae3dbc35653f2b34","unresolved":false,"context_lines":[{"line_number":28,"context_line":"      \u0027$modalInstance\u0027,"},{"line_number":29,"context_line":"      \u0027wizardConfig\u0027,"},{"line_number":30,"context_line":"      \u0027workflow\u0027,"},{"line_number":31,"context_line":"      function ($scope, $modalInstance, wizardConfig, workflow) {"},{"line_number":32,"context_line":"        $scope.currentIndex \u003d 0;"},{"line_number":33,"context_line":"        $scope.openHelp \u003d false;"},{"line_number":34,"context_line":"        $scope.steps \u003d angular.copy(workflow.steps) || [];"}],"source_content_type":"text/javascript","patch_set":19,"id":"1a930d6b_15d89dee","line":31,"updated":"2015-01-21 15:04:30.000000000","message":"I guess you may have already answered the following question, but could you please point me to code where the `workflow` is defined?","commit_id":"932951f3eeb793e6e3579e9ac4223f6e663befb1"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"67f0f76f6431964b91dced0211c150e68943e754","unresolved":false,"context_lines":[{"line_number":28,"context_line":"      \u0027$modalInstance\u0027,"},{"line_number":29,"context_line":"      \u0027wizardConfig\u0027,"},{"line_number":30,"context_line":"      \u0027workflow\u0027,"},{"line_number":31,"context_line":"      function ($scope, $modalInstance, wizardConfig, workflow) {"},{"line_number":32,"context_line":"        $scope.currentIndex \u003d 0;"},{"line_number":33,"context_line":"        $scope.openHelp \u003d false;"},{"line_number":34,"context_line":"        $scope.steps \u003d angular.copy(workflow.steps) || [];"}],"source_content_type":"text/javascript","patch_set":19,"id":"1a930d6b_9551d664","line":31,"in_reply_to":"1a930d6b_15d89dee","updated":"2015-01-22 05:46:47.000000000","message":"A workflow is defined in business related modules. For example, launch instance workflow is defined in launch-instance.js. But that code is not part of this UI widget. A business controller will defined using wizard directive like:\n\n\u003cwizard ng-controller\u003d\"LaunchInstanceCtrl\"\u003e\u003c/wizard\u003e\n\nand then in LaunchInstanceCtrl, will do\n\n$scope.workflow \u003d {...};\n\nbecause this controller has the same $scope as the wizard directive, once $scope.workflow get updated, the UI will be updated by the wizard directive.","commit_id":"932951f3eeb793e6e3579e9ac4223f6e663befb1"},{"author":{"_account_id":12825,"name":"Szymon Wróblewski","email":"szymon.wroblewski@ovhcloud.com","username":"bluex"},"change_message_id":"2b6eb3480db0c7a67901daacf76d75c97a952a65","unresolved":false,"context_lines":[{"line_number":28,"context_line":"      \u0027$modalInstance\u0027,"},{"line_number":29,"context_line":"      \u0027wizardConfig\u0027,"},{"line_number":30,"context_line":"      \u0027workflow\u0027,"},{"line_number":31,"context_line":"      function ($scope, $modalInstance, wizardConfig, workflow) {"},{"line_number":32,"context_line":"        $scope.currentIndex \u003d 0;"},{"line_number":33,"context_line":"        $scope.openHelp \u003d false;"},{"line_number":34,"context_line":"        $scope.steps \u003d angular.copy(workflow.steps) || [];"}],"source_content_type":"text/javascript","patch_set":19,"id":"1a930d6b_5ef8667c","line":31,"in_reply_to":"1a930d6b_15d89dee","updated":"2015-01-22 09:54:37.000000000","message":"In this specific patch \"workflow\" if injected by $modal.open (take a look at line 68, this file). Previously (and in following patches) there is an assumption that workflow is defined in scope that will use wizard directive.","commit_id":"932951f3eeb793e6e3579e9ac4223f6e663befb1"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"7bfa55d9cec32902493f9eccae3dbc35653f2b34","unresolved":false,"context_lines":[{"line_number":62,"context_line":"      function ($modal) {"},{"line_number":63,"context_line":"        this.open \u003d function (steps, text, icons) {"},{"line_number":64,"context_line":"          return $modal.open({"},{"line_number":65,"context_line":"            backdrop: \u0027static\u0027,"},{"line_number":66,"context_line":"            controller: \u0027WizardCtrl\u0027,"},{"line_number":67,"context_line":"            resolve: {"},{"line_number":68,"context_line":"              workflow: function () {"}],"source_content_type":"text/javascript","patch_set":19,"id":"1a930d6b_7ac70e13","line":65,"updated":"2015-01-21 15:04:30.000000000","message":"Could this value be made configurable to conform the existing setting http://docs.openstack.org/developer/horizon/topics/settings.html#modal-backdrop ?","commit_id":"932951f3eeb793e6e3579e9ac4223f6e663befb1"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"9348d4dcef0f4beeef6e306a7a56b7df15783830","unresolved":false,"context_lines":[{"line_number":62,"context_line":"      function ($modal) {"},{"line_number":63,"context_line":"        this.open \u003d function (steps, text, icons) {"},{"line_number":64,"context_line":"          return $modal.open({"},{"line_number":65,"context_line":"            backdrop: \u0027static\u0027,"},{"line_number":66,"context_line":"            controller: \u0027WizardCtrl\u0027,"},{"line_number":67,"context_line":"            resolve: {"},{"line_number":68,"context_line":"              workflow: function () {"}],"source_content_type":"text/javascript","patch_set":19,"id":"1a930d6b_4d9fbeb4","line":65,"in_reply_to":"1a930d6b_366f48c7","updated":"2015-01-23 00:08:38.000000000","message":"@Shaoquan, how the modal closes is a user preference, similar to things like: what is my language? what font size? how many rows to show per table? etc... In horizon today, we have some of these preferences stored in settings.py and we inject them into the Django base template so that client-side javascripts have access to them. \n\n@Timur, there is a blueprint in motion to address how we handle policies and configs (have spoken to David about it in IRC http://eavesdrop.openstack.org/irclogs/%23openstack-horizon/%23openstack-horizon.2015-01-22.log). Basically, for configs, there will be one for user preferences and one for admin. The admin configs is read-only and will have limited access via a REST layer. The user preferences will get fetch once and will live out the remainder of its life in localstorage.","commit_id":"932951f3eeb793e6e3579e9ac4223f6e663befb1"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"88ff2a593b2763543b458d5b806be2d3e76d1640","unresolved":false,"context_lines":[{"line_number":62,"context_line":"      function ($modal) {"},{"line_number":63,"context_line":"        this.open \u003d function (steps, text, icons) {"},{"line_number":64,"context_line":"          return $modal.open({"},{"line_number":65,"context_line":"            backdrop: \u0027static\u0027,"},{"line_number":66,"context_line":"            controller: \u0027WizardCtrl\u0027,"},{"line_number":67,"context_line":"            resolve: {"},{"line_number":68,"context_line":"              workflow: function () {"}],"source_content_type":"text/javascript","patch_set":19,"id":"1a930d6b_eb3ed228","line":65,"in_reply_to":"1a930d6b_7ac70e13","updated":"2015-01-21 15:37:39.000000000","message":"FYI to Sean and Szymon for more context.  http://lists.openstack.org/pipermail/openstack-dev/2014-December/thread.html#51956","commit_id":"932951f3eeb793e6e3579e9ac4223f6e663befb1"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"67f0f76f6431964b91dced0211c150e68943e754","unresolved":false,"context_lines":[{"line_number":62,"context_line":"      function ($modal) {"},{"line_number":63,"context_line":"        this.open \u003d function (steps, text, icons) {"},{"line_number":64,"context_line":"          return $modal.open({"},{"line_number":65,"context_line":"            backdrop: \u0027static\u0027,"},{"line_number":66,"context_line":"            controller: \u0027WizardCtrl\u0027,"},{"line_number":67,"context_line":"            resolve: {"},{"line_number":68,"context_line":"              workflow: function () {"}],"source_content_type":"text/javascript","patch_set":19,"id":"1a930d6b_366f48c7","line":65,"in_reply_to":"1a930d6b_7ac70e13","updated":"2015-01-22 05:46:47.000000000","message":"Not very sure I understand. This is changed. It is defined in business modules, means each business module will decide what is the behavior of the modal.","commit_id":"932951f3eeb793e6e3579e9ac4223f6e663befb1"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"691b465e60b0b7c3f28cd4584c23a195d0961217","unresolved":false,"context_lines":[{"line_number":7,"context_line":"      cancel: gettext(\u0027Cancel\u0027),"},{"line_number":8,"context_line":"      back: gettext(\u0027Back\u0027),"},{"line_number":9,"context_line":"      next: gettext(\u0027Next\u0027),"},{"line_number":10,"context_line":"      finish: gettext(\u0027Finish\u0027)"},{"line_number":11,"context_line":"    })"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"    .constant(\u0027wizardDefaultBtnIcon\u0027, {"}],"source_content_type":"text/javascript","patch_set":21,"id":"fa81d914_326d8d99","line":10,"updated":"2015-01-29 00:48:25.000000000","message":"might make more sense to combine these two constants into one. format can be { cancel: { text: gettext(\"Cancel\"), icon: \"fa fa-close\" }, ..... }","commit_id":"a7da7914c5e15309423aaa411709b494e75960c8"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"e9bc4721cf92698c6bc52278d99d3a59a4e5d167","unresolved":false,"context_lines":[{"line_number":7,"context_line":"      cancel: gettext(\u0027Cancel\u0027),"},{"line_number":8,"context_line":"      back: gettext(\u0027Back\u0027),"},{"line_number":9,"context_line":"      next: gettext(\u0027Next\u0027),"},{"line_number":10,"context_line":"      finish: gettext(\u0027Finish\u0027)"},{"line_number":11,"context_line":"    })"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"    .constant(\u0027wizardDefaultBtnIcon\u0027, {"}],"source_content_type":"text/javascript","patch_set":21,"id":"fa81d914_52d761ed","line":10,"in_reply_to":"fa81d914_326d8d99","updated":"2015-01-29 00:55:34.000000000","message":"Actually, I think it make more sense to not have the icon constant and have them defined in html as default value, they are not going to be internationalized. Having them in html is mach easier to understand what they mean.","commit_id":"a7da7914c5e15309423aaa411709b494e75960c8"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"7705393d90991aa40eb20514cdcf660b9e11e783","unresolved":false,"context_lines":[{"line_number":3,"context_line":""},{"line_number":4,"context_line":"  angular.module(\u0027hz.widget.wizard\u0027, [])"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"    .constant(\u0027wizardDefaultBtnText\u0027, {"},{"line_number":7,"context_line":"      cancel: gettext(\u0027Cancel\u0027),"},{"line_number":8,"context_line":"      back: gettext(\u0027Back\u0027),"},{"line_number":9,"context_line":"      next: gettext(\u0027Next\u0027),"}],"source_content_type":"text/javascript","patch_set":29,"id":"da86d52c_6aa88f8d","line":6,"updated":"2015-02-04 18:23:04.000000000","message":"perhaps wizardLabels is shorter and cleaner?","commit_id":"0d0314b1ac027c997634e50835f4c55db3870d13"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"9bee57d958488c12f11830ee03e7e1f12e6f23bc","unresolved":false,"context_lines":[{"line_number":3,"context_line":""},{"line_number":4,"context_line":"  angular.module(\u0027hz.widget.wizard\u0027, [])"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"    .constant(\u0027wizardDefaultBtnText\u0027, {"},{"line_number":7,"context_line":"      cancel: gettext(\u0027Cancel\u0027),"},{"line_number":8,"context_line":"      back: gettext(\u0027Back\u0027),"},{"line_number":9,"context_line":"      next: gettext(\u0027Next\u0027),"}],"source_content_type":"text/javascript","patch_set":29,"id":"da86d52c_a55627cc","line":6,"in_reply_to":"da86d52c_6aa88f8d","updated":"2015-02-05 05:09:43.000000000","message":"Sure will make the change. Thanks.","commit_id":"0d0314b1ac027c997634e50835f4c55db3870d13"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"7705393d90991aa40eb20514cdcf660b9e11e783","unresolved":false,"context_lines":[{"line_number":22,"context_line":"    .controller(\u0027ModalContainerCtrl\u0027, ["},{"line_number":23,"context_line":"      \u0027$scope\u0027, \u0027$modalInstance\u0027, ModalContainerCtrl"},{"line_number":24,"context_line":"    ]);"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"  function WizardCtrl($scope, wizardDefaultBtnText) {"},{"line_number":27,"context_line":"    $scope.currentIndex \u003d 0;"},{"line_number":28,"context_line":"    $scope.openHelp \u003d false;"}],"source_content_type":"text/javascript","patch_set":29,"id":"da86d52c_aa38c73d","line":25,"updated":"2015-02-04 18:23:04.000000000","message":"Generally, I prefer to see the angular coding format use. If you do decide to deviate, I\u0027m fine with that as long as the formatting isn\u0027t too confusing. I know that functions are treated first class in JS and get lifted, but a beginner will not know that. Lets declare the function above the code where we use it, or just embed it directly like a boss. \n\nI know Matt Farina is pushing for better JS documentation and I agree with this direction. Doing it the embedded way will ensure that documentation in the future is easier because it\u0027s group in one place. If we have 2-3 places for each part, its not going to be easy to document.","commit_id":"0d0314b1ac027c997634e50835f4c55db3870d13"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"07afc1f445dad08509289e8cd45ea1c2d8946992","unresolved":false,"context_lines":[{"line_number":22,"context_line":"    .controller(\u0027ModalContainerCtrl\u0027, ["},{"line_number":23,"context_line":"      \u0027$scope\u0027, \u0027$modalInstance\u0027, ModalContainerCtrl"},{"line_number":24,"context_line":"    ]);"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"  function WizardCtrl($scope, wizardDefaultBtnText) {"},{"line_number":27,"context_line":"    $scope.currentIndex \u003d 0;"},{"line_number":28,"context_line":"    $scope.openHelp \u003d false;"}],"source_content_type":"text/javascript","patch_set":29,"id":"da86d52c_c50cfb3d","line":25,"in_reply_to":"da86d52c_8c67904c","updated":"2015-02-05 04:51:44.000000000","message":"JS has function hosting feature, when using declaration pattern the location when the function is declared doesn\u0027t matter. It is considered a good pattern to have them defined to the bottom of the scope. There are lots of samples out their in Angular official web side and some other angular expert:\n\nhttp://www.johnpapa.net/angular-function-declarations-function-expressions-and-readable-code/\n\nhttps://docs.angularjs.org/guide/compiler\n\nAs a long time JS professional, I know very clearly those are just examples of good practice of JS used here in Angular.","commit_id":"0d0314b1ac027c997634e50835f4c55db3870d13"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"13f7a82c90252f1916c50877ea686977c18a9d79","unresolved":false,"context_lines":[{"line_number":22,"context_line":"    .controller(\u0027ModalContainerCtrl\u0027, ["},{"line_number":23,"context_line":"      \u0027$scope\u0027, \u0027$modalInstance\u0027, ModalContainerCtrl"},{"line_number":24,"context_line":"    ]);"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"  function WizardCtrl($scope, wizardDefaultBtnText) {"},{"line_number":27,"context_line":"    $scope.currentIndex \u003d 0;"},{"line_number":28,"context_line":"    $scope.openHelp \u003d false;"}],"source_content_type":"text/javascript","patch_set":29,"id":"da86d52c_8c67904c","line":25,"in_reply_to":"da86d52c_aa38c73d","updated":"2015-02-05 03:02:37.000000000","message":"I don\u0027t have a problem with these being separate, but I think they should be defined before they\u0027re used; the code just reads better imo.","commit_id":"0d0314b1ac027c997634e50835f4c55db3870d13"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"07afc1f445dad08509289e8cd45ea1c2d8946992","unresolved":false,"context_lines":[{"line_number":22,"context_line":"    .controller(\u0027ModalContainerCtrl\u0027, ["},{"line_number":23,"context_line":"      \u0027$scope\u0027, \u0027$modalInstance\u0027, ModalContainerCtrl"},{"line_number":24,"context_line":"    ]);"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"  function WizardCtrl($scope, wizardDefaultBtnText) {"},{"line_number":27,"context_line":"    $scope.currentIndex \u003d 0;"},{"line_number":28,"context_line":"    $scope.openHelp \u003d false;"}],"source_content_type":"text/javascript","patch_set":29,"id":"da86d52c_a5070717","line":25,"in_reply_to":"da86d52c_aa38c73d","updated":"2015-02-05 04:51:44.000000000","message":"Ok, I will make them inline lambda. Actually having them declared separately is a good practice in Angular community, because it make debugging easier. function is a object in JS but not a class. constructor function is supposed to have new operator to create an instance and look up properties via `this`.","commit_id":"0d0314b1ac027c997634e50835f4c55db3870d13"}],"horizon/static/angular/wizard/wizard.module.js":[{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"82aca5776a25a76b10c9381f25426418c09b946b","unresolved":false,"context_lines":[{"line_number":1,"context_line":"(function () {"},{"line_number":2,"context_line":" \u0027use strict\u0027;"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"  angular.module(\u0027hz.framework.wizard\u0027, ["},{"line_number":5,"context_line":"  ]);"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"})();"}],"source_content_type":"text/javascript","patch_set":16,"id":"3a961159_546655ef","line":4,"updated":"2015-01-14 01:49:06.000000000","message":"Refer to comment in workflow.module.js\nAlong similar line, I think it makes more sense to group a single functionality that you are offering into a single file. Surely, if grows too large, we can split it if the need for it arise.","commit_id":"7bca05c63c18c153d6a69e0d01652f338bd58803"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"11dc0f79aa8947b40a84fbcad004a24f6c48da68","unresolved":false,"context_lines":[{"line_number":1,"context_line":"(function () {"},{"line_number":2,"context_line":" \u0027use strict\u0027;"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"  angular.module(\u0027hz.framework.wizard\u0027, ["},{"line_number":5,"context_line":"  ]);"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"})();"}],"source_content_type":"text/javascript","patch_set":16,"id":"3a961159_ba35a3a9","line":4,"in_reply_to":"3a961159_546655ef","updated":"2015-01-14 02:49:06.000000000","message":"Thanks for this deep and detailed review, really appreciate it. Please check my response to your other comments.","commit_id":"7bca05c63c18c153d6a69e0d01652f338bd58803"}],"horizon/static/angular/wizard/wizard.scss":[{"author":{"_account_id":12825,"name":"Szymon Wróblewski","email":"szymon.wroblewski@ovhcloud.com","username":"bluex"},"change_message_id":"86c5721535acf42b968a8e64ff12e9e564fe8fa8","unresolved":false,"context_lines":[{"line_number":1,"context_line":".wizard {"},{"line_number":2,"context_line":"  display: block;"},{"line_number":3,"context_line":"  position: fixed;"},{"line_number":4,"context_line":"  top: 0;"}],"source_content_type":"text/x-scss","patch_set":12,"id":"3a961159_691a9718","line":1,"updated":"2014-12-18 16:10:26.000000000","message":"This is SCSS - make good use of its features and group styles together.\nHorizon is using Bootstrap so most of this styles isn\u0027t really needed.","commit_id":"b065316b80b263c190c6e2c05d028745da9ccc7f"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"54cdf1deae333f20344f7468cd3bb68bbc544ed9","unresolved":false,"context_lines":[{"line_number":1,"context_line":".wizard {"},{"line_number":2,"context_line":"  display: block;"},{"line_number":3,"context_line":"  position: fixed;"},{"line_number":4,"context_line":"  top: 0;"}],"source_content_type":"text/x-scss","patch_set":12,"id":"3a961159_bf7e46ad","line":1,"in_reply_to":"3a961159_691a9718","updated":"2014-12-19 17:24:01.000000000","message":"We need to have a design review with the UX designers to identify exactly which parts are custom and which will be default bootstrap. A lot of time has gone into the layout and look and feel in the community.  I know that some things they do intend to be bootstrap.  I will setup a review hangout so that we can do this in January. For now, I wouldn\u0027t worry a lot about final styling, and hope we can come back to this because there are still some iterations happening in UX.","commit_id":"b065316b80b263c190c6e2c05d028745da9ccc7f"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"6962f6021d738fa83b314efe956db01fc437c59c","unresolved":false,"context_lines":[{"line_number":20,"context_line":"$WizardSidePadding: 35px !default;"},{"line_number":21,"context_line":"$WizardStatusIndicatorSize: 24px !default;"},{"line_number":22,"context_line":"$WizardBtnGap: 5px !default;"},{"line_number":23,"context_line":"$WizardToolbarBtnHeight: 28px !default;"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":".wizard {"},{"line_number":26,"context_line":"  display: block;"}],"source_content_type":"text/x-scss","patch_set":21,"id":"fa81d914_f4377eae","line":23,"updated":"2015-01-28 16:13:47.000000000","message":"These variables should be in _variables.scss","commit_id":"a7da7914c5e15309423aaa411709b494e75960c8"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"691b465e60b0b7c3f28cd4584c23a195d0961217","unresolved":false,"context_lines":[{"line_number":20,"context_line":"$WizardSidePadding: 35px !default;"},{"line_number":21,"context_line":"$WizardStatusIndicatorSize: 24px !default;"},{"line_number":22,"context_line":"$WizardBtnGap: 5px !default;"},{"line_number":23,"context_line":"$WizardToolbarBtnHeight: 28px !default;"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":".wizard {"},{"line_number":26,"context_line":"  display: block;"}],"source_content_type":"text/x-scss","patch_set":21,"id":"fa81d914_b2109d02","line":23,"in_reply_to":"fa81d914_9d090534","updated":"2015-01-29 00:48:25.000000000","message":"+1 to move it to variables.","commit_id":"a7da7914c5e15309423aaa411709b494e75960c8"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"e9bc4721cf92698c6bc52278d99d3a59a4e5d167","unresolved":false,"context_lines":[{"line_number":20,"context_line":"$WizardSidePadding: 35px !default;"},{"line_number":21,"context_line":"$WizardStatusIndicatorSize: 24px !default;"},{"line_number":22,"context_line":"$WizardBtnGap: 5px !default;"},{"line_number":23,"context_line":"$WizardToolbarBtnHeight: 28px !default;"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":".wizard {"},{"line_number":26,"context_line":"  display: block;"}],"source_content_type":"text/x-scss","patch_set":21,"id":"fa81d914_f2f8557e","line":23,"in_reply_to":"fa81d914_b2109d02","updated":"2015-01-29 00:55:34.000000000","message":"Will do.","commit_id":"a7da7914c5e15309423aaa411709b494e75960c8"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"881093b1bba5c20a7492e14dcb648fab29b9dc79","unresolved":false,"context_lines":[{"line_number":20,"context_line":"$WizardSidePadding: 35px !default;"},{"line_number":21,"context_line":"$WizardStatusIndicatorSize: 24px !default;"},{"line_number":22,"context_line":"$WizardBtnGap: 5px !default;"},{"line_number":23,"context_line":"$WizardToolbarBtnHeight: 28px !default;"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":".wizard {"},{"line_number":26,"context_line":"  display: block;"}],"source_content_type":"text/x-scss","patch_set":21,"id":"fa81d914_9d090534","line":23,"in_reply_to":"fa81d914_f4377eae","updated":"2015-01-28 17:23:21.000000000","message":"Right, I\u0027ll do the same thing as with help-panel.","commit_id":"a7da7914c5e15309423aaa411709b494e75960c8"}],"horizon/static/angular/wizard/wizard.tpl.html":[{"author":{"_account_id":12825,"name":"Szymon Wróblewski","email":"szymon.wroblewski@ovhcloud.com","username":"bluex"},"change_message_id":"86c5721535acf42b968a8e64ff12e9e564fe8fa8","unresolved":false,"context_lines":[{"line_number":13,"context_line":"        ng-disabled\u003d\"!steps[$index].valid\""},{"line_number":14,"context_line":"        ng-repeat\u003d\"step in steps\"\u003e"},{"line_number":15,"context_line":"      \u003c/button\u003e"},{"line_number":16,"context_line":"    \u003c/div"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"    \u003e\u003cdiv class\u003d\"step\""},{"line_number":19,"context_line":"      ng-form"}],"source_content_type":"text/html","patch_set":12,"id":"3a961159_4e688121","line":16,"updated":"2014-12-18 16:10:26.000000000","message":"Your explanation about need for white space control would have been valid if Horizon would not have been using Bootstrap which handles this issue by using floats. This  brings another issue - why didn\u0027t you use any of the bootstrap classes.","commit_id":"b065316b80b263c190c6e2c05d028745da9ccc7f"},{"author":{"_account_id":12825,"name":"Szymon Wróblewski","email":"szymon.wroblewski@ovhcloud.com","username":"bluex"},"change_message_id":"86c5721535acf42b968a8e64ff12e9e564fe8fa8","unresolved":false,"context_lines":[{"line_number":55,"context_line":"      \u003c/div\u003e"},{"line_number":56,"context_line":"    \u003c/div\u003e"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"    \u003cdiv class\u003d\"help-panel\""},{"line_number":59,"context_line":"      ng-class\u003d\"{\u0027open\u0027: openHelp}\"\u003e"},{"line_number":60,"context_line":"      \u003cbutton class\u003d\"open\""},{"line_number":61,"context_line":"        ng-click\u003d\"openHelp\u003dtrue\"\u003e"}],"source_content_type":"text/html","patch_set":12,"id":"3a961159_8918a376","line":58,"updated":"2014-12-18 16:10:26.000000000","message":"It might be a good idea to move the help panel to the separate directive, as its behavior is quite generic and can be reused somewhere else.","commit_id":"b065316b80b263c190c6e2c05d028745da9ccc7f"},{"author":{"_account_id":7665,"name":"Travis Tripp","email":"os.travis.tripp@gmail.com","username":"travis.tripp"},"change_message_id":"54cdf1deae333f20344f7468cd3bb68bbc544ed9","unresolved":false,"context_lines":[{"line_number":55,"context_line":"      \u003c/div\u003e"},{"line_number":56,"context_line":"    \u003c/div\u003e"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"    \u003cdiv class\u003d\"help-panel\""},{"line_number":59,"context_line":"      ng-class\u003d\"{\u0027open\u0027: openHelp}\"\u003e"},{"line_number":60,"context_line":"      \u003cbutton class\u003d\"open\""},{"line_number":61,"context_line":"        ng-click\u003d\"openHelp\u003dtrue\"\u003e"}],"source_content_type":"text/html","patch_set":12,"id":"3a961159_7f693ebd","line":58,"in_reply_to":"3a961159_8918a376","updated":"2014-12-19 17:24:01.000000000","message":"This flyout help concept is being proposed in some other horizon mockups as a common pattern, so if it can be its own directive then it will be easier to leverage in those other areas of horizon.","commit_id":"b065316b80b263c190c6e2c05d028745da9ccc7f"},{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"13fc111b7d5bbab43ecddc7626adb6b0cfe40a44","unresolved":false,"context_lines":[{"line_number":11,"context_line":"    \u003c/button\u003e"},{"line_number":12,"context_line":"  \u003c/div"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"  \u003e\u003cdiv class\u003d\"step\""},{"line_number":15,"context_line":"    ng-form"},{"line_number":16,"context_line":"    ng-include src\u003d\"step.url\""},{"line_number":17,"context_line":"    ng-repeat\u003d\"step in steps\""}],"source_content_type":"text/html","patch_set":16,"id":"3a961159_56274fb5","line":14,"updated":"2015-01-13 15:33:24.000000000","message":"Do we need these unspaced tag endings?  I\u0027m not familiar with why we\u0027d do this.","commit_id":"7bca05c63c18c153d6a69e0d01652f338bd58803"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"65146acfe9ff0d3444639d2e8aa61dd56c243247","unresolved":false,"context_lines":[{"line_number":11,"context_line":"    \u003c/button\u003e"},{"line_number":12,"context_line":"  \u003c/div"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"  \u003e\u003cdiv class\u003d\"step\""},{"line_number":15,"context_line":"    ng-form"},{"line_number":16,"context_line":"    ng-include src\u003d\"step.url\""},{"line_number":17,"context_line":"    ng-repeat\u003d\"step in steps\""}],"source_content_type":"text/html","patch_set":16,"id":"3a961159_283df4dd","line":14,"in_reply_to":"3a961159_56274fb5","updated":"2015-01-13 23:56:35.000000000","message":"This is for white space control. When define an element as a inline or inline-block, any white space will cause visible gap in between those elements. There are two ways of fixing that:\n\na). using float in CSS. but is will change the order of the element when float: left, which will cause keyboard accessibility issue.\n\nb) Do not introduce these white space using the way you see here. This is a solution also can be found in Google\u0027s book about Closure compiler.","commit_id":"7bca05c63c18c153d6a69e0d01652f338bd58803"}],"horizon/static/angular/workflow/workflow.module.js":[{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"94f821771eed9b83a32cf6fd63a72b3af7b89448","unresolved":false,"context_lines":[{"line_number":1,"context_line":"(function () {"},{"line_number":2,"context_line":" \u0027use strict\u0027;"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"  angular.module(\u0027hz.framework.workflow\u0027, ["},{"line_number":5,"context_line":"  ]);"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"})();"}],"source_content_type":"text/javascript","patch_set":16,"id":"3a961159_d92fe0a5","line":4,"updated":"2015-01-14 01:44:02.000000000","message":"Why have the module in a different place than the workflow implementation? Do you envision that there will be other workflow classes in the future? I get that we want to modularize everything, but it actually makes it difficult to follow when there are so many files.","commit_id":"7bca05c63c18c153d6a69e0d01652f338bd58803"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"11dc0f79aa8947b40a84fbcad004a24f6c48da68","unresolved":false,"context_lines":[{"line_number":1,"context_line":"(function () {"},{"line_number":2,"context_line":" \u0027use strict\u0027;"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"  angular.module(\u0027hz.framework.workflow\u0027, ["},{"line_number":5,"context_line":"  ]);"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"})();"}],"source_content_type":"text/javascript","patch_set":16,"id":"3a961159_1accf7ba","line":4,"in_reply_to":"3a961159_d92fe0a5","updated":"2015-01-14 02:49:06.000000000","message":"The design was come from some long discussion in the launch instance development team, suggested by some team member:\n\n- For each component, we will have a module defined for it.\n\nThe reason why I have an single file solely for module definition and having the file name like this xxx.module.js is:\n\n- We immediately know the module is defined in this file, so that all other files in the same directly should be listed after this file, this is because the order is significant.\n- In the future, if we have a machinates of auto-inject JS files into _script.html, we can inject all the files with .module.js extension and then other files. Because of angularJS\u0027s use of dependency injection, this will guaranty all the JS files are inject correctly.\n\nBut if you think this will cause too many small JS source file, I can easily combine all the code for the same components into one file.\n\nFor an example of how an auto-inject work based on this design, please check:\n\nhttps://github.com/sean-sq-chen/wizard-angular\nand go to /tools/gulpfile.js to see:\n\nvar jsSourceFiles \u003d [\n  paths.client + \u0027index.js\u0027,\n  paths.client + \u0027framework/**/*.module.js\u0027,\n  paths.client + \u0027framework/**/*.js\u0027,\n  paths.client + \u0027app/**/*.module.js\u0027,\n  paths.client + \u0027app/**/*.js\u0027,\n  \u0027!\u0027 + paths.client + \u0027**/*.spec.js\u0027,\n  \u0027!\u0027 + paths.client + \u0027**/*.test.js\u0027,\n  \u0027!\u0027 + paths.client + \u0027lib/**/*.js\u0027\n];\n\nAgain, this is totally a design preference or taste, if the community don\u0027t like it, make no sense to keep it. Let me know your thoughts on it, and I can make change accordingly.","commit_id":"7bca05c63c18c153d6a69e0d01652f338bd58803"}],"horizon/static/horizon/html/wizard-step.html":[{"author":{"_account_id":7976,"name":"Maxime Vidori","email":"mvidori@redhat.com","username":"MaxV"},"change_message_id":"701ded28958bce56f584aa62a94e24fdc7229896","unresolved":false,"context_lines":[{"line_number":1,"context_line":"\u003cdiv class\u003d\"step\"\u003e"},{"line_number":2,"context_line":"  \u003cdiv class\u003d\"form\" ng-transclude\u003e\u003c/div\u003e"},{"line_number":3,"context_line":"  \u003cdiv class\u003d\"toolbar\"\u003e"},{"line_number":4,"context_line":"    \u003cdiv class\u003d\"left-btn-grp\"\u003e"},{"line_number":5,"context_line":"      \u003cbutton class\u003d\"cancel\""}],"source_content_type":"text/html","patch_set":1,"id":"5a890539_d9a8dd22","line":2,"updated":"2014-12-01 10:30:26.000000000","message":"I prefer a step-content here, form looks like a reserved word and a wizard does not imply a form in all cases","commit_id":"6fa076bb757544b9f6bb80c1941cb3f1e46f1555"},{"author":{"_account_id":7976,"name":"Maxime Vidori","email":"mvidori@redhat.com","username":"MaxV"},"change_message_id":"701ded28958bce56f584aa62a94e24fdc7229896","unresolved":false,"context_lines":[{"line_number":1,"context_line":"\u003cdiv class\u003d\"step\"\u003e"},{"line_number":2,"context_line":"  \u003cdiv class\u003d\"form\" ng-transclude\u003e\u003c/div\u003e"},{"line_number":3,"context_line":"  \u003cdiv class\u003d\"toolbar\"\u003e"},{"line_number":4,"context_line":"    \u003cdiv class\u003d\"left-btn-grp\"\u003e"},{"line_number":5,"context_line":"      \u003cbutton class\u003d\"cancel\""},{"line_number":6,"context_line":"        ng-click\u003d\"cancel()\""}],"source_content_type":"text/html","patch_set":1,"id":"5a890539_7946097d","line":3,"updated":"2014-12-01 10:30:26.000000000","message":"as I said this must be outside of the primary directive, this seems to be an implementation of the horizon framework for the workflow, as long as we are only implementing the wizard widget this need to be in another directive","commit_id":"6fa076bb757544b9f6bb80c1941cb3f1e46f1555"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"29868be696f45f6986300f4accfe896147da54fd","unresolved":false,"context_lines":[{"line_number":10,"context_line":"      \u003cbutton class\u003d\"back\""},{"line_number":11,"context_line":"        ng-click\u003d\"back()\""},{"line_number":12,"context_line":"        ng-disable\u003d\"backBtnDisabled\"\u003e{% btnLabel.back %}\u003c/button"},{"line_number":13,"context_line":"      \u003e\u003cbutton class\u003d\"next\""},{"line_number":14,"context_line":"        ng-click\u003d\"next()\""},{"line_number":15,"context_line":"        ng-disable\u003d\"nextBtnDisabled\"\u003e{% btnLabel.next %}\u003c/button"},{"line_number":16,"context_line":"      \u003e\u003cdiv class\u003d\"btn-wrap finish\"\u003e"}],"source_content_type":"text/html","patch_set":1,"id":"5a890539_a9dbe41f","line":13,"updated":"2014-11-28 05:17:10.000000000","message":"The wrapping of the \"\u003e\" for the tag is rather unsightly. If it\u0027s to avoid wrapping then perhaps force the \u003cdiv\u003e contents not to wrap through CSS rather than through this hack?","commit_id":"6fa076bb757544b9f6bb80c1941cb3f1e46f1555"}],"horizon/static/horizon/html/wizard.html":[{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"29868be696f45f6986300f4accfe896147da54fd","unresolved":false,"context_lines":[{"line_number":3,"context_line":"  \u003cdiv class\u003d\"light-box\"\u003e"},{"line_number":4,"context_line":"    \u003cdiv class\u003d\"title\"\u003e\u003c/div\u003e"},{"line_number":5,"context_line":"    \u003cul class\u003d\"nav\"\u003e\u003c/ul"},{"line_number":6,"context_line":"    \u003e\u003cdiv class\u003d\"content\" ng-transclude\u003e\u003c/div\u003e"},{"line_number":7,"context_line":"  \u003c/div\u003e"},{"line_number":8,"context_line":"\u003c/div\u003e"}],"source_content_type":"text/html","patch_set":1,"id":"5a890539_49cc4062","line":6,"updated":"2014-11-28 05:17:10.000000000","message":"Another odd wrapping of the \"\u003e\" here.","commit_id":"6fa076bb757544b9f6bb80c1941cb3f1e46f1555"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"9e591bed7702cc5cec1ae7267775b3e0f935e9b7","unresolved":false,"context_lines":[{"line_number":3,"context_line":"  \u003cdiv class\u003d\"light-box\"\u003e"},{"line_number":4,"context_line":"    \u003cdiv class\u003d\"title\"\u003e\u003c/div\u003e"},{"line_number":5,"context_line":"    \u003cul class\u003d\"nav\"\u003e\u003c/ul"},{"line_number":6,"context_line":"    \u003e\u003cdiv class\u003d\"content\" ng-transclude\u003e\u003c/div\u003e"},{"line_number":7,"context_line":"  \u003c/div\u003e"},{"line_number":8,"context_line":"\u003c/div\u003e"}],"source_content_type":"text/html","patch_set":1,"id":"5a890539_aaa0c890","line":6,"in_reply_to":"5a890539_49cc4062","updated":"2014-12-10 06:55:37.000000000","message":"This is so called \u0027html white space control\u0027. When the element\u0027s display property is inline or inline block, the white space between tag name become significant. (When the display property is block, it does\u0027nt matter, which is the common cases). The white space will introduce white gat between whose elements. The right practice which is not very uncommon is the way here and its is also suggested by google in their book about Closure compiler. There are other ways to remove the whitespace, adding a comment for example, which is even more ugly for some people\u0027s eye.\n\nUsing CSS cannot remove the white space, because we do not know how much a white space it take (usually three pixels). Using CSS float can also remove whitespace, but we have to change html element order to help CSS, which is a html structural hack that will cause many other problems, accessibility for example. I\u0027d rather keep the formatting a little bit unfriendly to human\u0027s eye rather that hacking html structurally and using CSS float. Actually for UI layout, we should avoid using CSS float almost in any case. CSS float is designed for floating content, not direction alignment.","commit_id":"6fa076bb757544b9f6bb80c1941cb3f1e46f1555"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"ffb2c5dd6bcf3ca2b079a415b491eb50801c65a6","unresolved":false,"context_lines":[{"line_number":15,"context_line":"      \u003c/button\u003e"},{"line_number":16,"context_line":"    \u003c/div"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"    \u003e\u003cdiv class\u003d\"step\""},{"line_number":19,"context_line":"      ng-form"},{"line_number":20,"context_line":"      ng-include src\u003d\"step.url\""},{"line_number":21,"context_line":"      ng-repeat\u003d\"step in steps\""}],"source_content_type":"text/html","patch_set":3,"id":"5a890539_fe2612b9","line":18,"updated":"2014-12-03 04:40:53.000000000","message":"What is the purpose of this strange wrapping of the \"\u003e\" character here and below?","commit_id":"f754b6b936b750d52da0ea75289ecb49cb8100f5"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"cfbdfdc6f4d915e9684f2e91b02f35dd2bbcab10","unresolved":false,"context_lines":[{"line_number":15,"context_line":"      \u003c/button\u003e"},{"line_number":16,"context_line":"    \u003c/div"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"    \u003e\u003cdiv class\u003d\"step\""},{"line_number":19,"context_line":"      ng-form"},{"line_number":20,"context_line":"      ng-include src\u003d\"step.url\""},{"line_number":21,"context_line":"      ng-repeat\u003d\"step in steps\""}],"source_content_type":"text/html","patch_set":3,"id":"5a890539_646370b1","line":18,"in_reply_to":"5a890539_fe2612b9","updated":"2014-12-10 06:54:58.000000000","message":"This is so called \u0027html white space control\u0027. When the element\u0027s display property is inline or inline block, the white space between tag name become significant. (When the display property is block, it does\u0027nt matter, which is the common cases). \n\nThe white space will introduce white gat between whose elements. The right practice which is not very uncommon is the way here and its is also suggested by google in their book about Closure compiler. There are other ways to remove the whitespace, adding a comment for example, which is even more ugly for some people\u0027s eye.\n\nUsing CSS cannot remove the white space, because we do not know how much a white space it take (usually three pixels). Using CSS float can also remove whitespace, but we have to change html element order to help CSS, which is a html structural hack that will cause many other problems, accessibility for example. I\u0027d rather keep the formatting a little bit unfriendly to human\u0027s eye rather that hacking html structurally and using CSS float. Actually for UI layout, we should avoid using CSS float almost in any case. CSS float is designed for floating content, not direction alignment.","commit_id":"f754b6b936b750d52da0ea75289ecb49cb8100f5"},{"author":{"_account_id":13325,"name":"Paul Karikh","email":"pkarikh@gmail.com","username":"paul.karikh"},"change_message_id":"504ff533c020124877ebcc65a27821d6f500df10","unresolved":false,"context_lines":[{"line_number":4,"context_line":"  \u003cdiv class\u003d\"overlay\"\u003e\u003c/div\u003e"},{"line_number":5,"context_line":"  \u003cdiv class\u003d\"light-box\"\u003e"},{"line_number":6,"context_line":"    \u003cdiv class\u003d\"title\" ng-bind\u003d\"title\"\u003e\u003c/div\u003e"},{"line_number":7,"context_line":"    "},{"line_number":8,"context_line":"    \u003cdiv class\u003d\"nav\"\u003e"},{"line_number":9,"context_line":"      \u003cbutton "},{"line_number":10,"context_line":"        ng-bind\u003d\"step.title\""}],"source_content_type":"text/html","patch_set":6,"id":"5a890539_78ddbe13","line":7,"updated":"2014-12-03 16:25:49.000000000","message":"(nit) These whitespaces seems to be redundant.","commit_id":"3fa0bc5eb2a07cdf046ee9c9234b814909f4bbf3"}],"horizon/static/horizon/js/angular/directives/wizard-step.js":[{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"29868be696f45f6986300f4accfe896147da54fd","unresolved":false,"context_lines":[{"line_number":15,"context_line":"    };"},{"line_number":16,"context_line":"  }"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"  angular.module(\u0027hz\u0027).directive(\u0027wizardstep\u0027, wizardStepDirectiveFactory);"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"}());"}],"source_content_type":"text/javascript","patch_set":1,"id":"5a890539_09395841","line":18,"updated":"2014-11-28 05:17:10.000000000","message":"Nit: the directive source file is called \"wizard-step\" which I like, but the directive will be called \"wizardstep\" which could use hypenation :)","commit_id":"6fa076bb757544b9f6bb80c1941cb3f1e46f1555"}],"horizon/static/horizon/js/angular/directives/wizard.js":[{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"29868be696f45f6986300f4accfe896147da54fd","unresolved":false,"context_lines":[{"line_number":2,"context_line":"  \u0027use strict\u0027;"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"  var "},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"  CURRENT_STEP_CSS_CLASSNAME \u003d \u0027current\u0027,"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"  WIZARD_IS_OPEN_CSS_CLASSNAME \u003d \u0027open\u0027,"}],"source_content_type":"text/javascript","patch_set":1,"id":"5a890539_69473cbd","line":5,"updated":"2014-11-28 05:17:10.000000000","message":"This is a strange form of variable declaration; if you\u0027re going to leave this hanging like this, rather than prefix all the vars independently, then please indent the vars being declared so it\u0027s clearer they\u0027re part of a \"block\".","commit_id":"6fa076bb757544b9f6bb80c1941cb3f1e46f1555"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"9e591bed7702cc5cec1ae7267775b3e0f935e9b7","unresolved":false,"context_lines":[{"line_number":2,"context_line":"  \u0027use strict\u0027;"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"  var "},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"  CURRENT_STEP_CSS_CLASSNAME \u003d \u0027current\u0027,"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"  WIZARD_IS_OPEN_CSS_CLASSNAME \u003d \u0027open\u0027,"}],"source_content_type":"text/javascript","patch_set":1,"id":"5a890539_0a055c79","line":5,"in_reply_to":"5a890539_69473cbd","updated":"2014-12-10 06:55:37.000000000","message":"I will stick on one-var pattern. Will keep the block indentation correctly. Thanks.","commit_id":"6fa076bb757544b9f6bb80c1941cb3f1e46f1555"},{"author":{"_account_id":7976,"name":"Maxime Vidori","email":"mvidori@redhat.com","username":"MaxV"},"change_message_id":"701ded28958bce56f584aa62a94e24fdc7229896","unresolved":false,"context_lines":[{"line_number":3,"context_line":""},{"line_number":4,"context_line":"  var "},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"  CURRENT_STEP_CSS_CLASSNAME \u003d \u0027current\u0027,"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"  WIZARD_IS_OPEN_CSS_CLASSNAME \u003d \u0027open\u0027,"},{"line_number":9,"context_line":""}],"source_content_type":"text/javascript","patch_set":1,"id":"5a890539_799b6966","line":6,"updated":"2014-12-01 10:30:26.000000000","message":"If you are using constants, please consider using angular.constants, this will allow user to customise on their needs instead of manipulating source code, please take a look at https://github.com/angular-ui/bootstrap/blob/master/src/buttons/buttons.js#L3","commit_id":"6fa076bb757544b9f6bb80c1941cb3f1e46f1555"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"9e591bed7702cc5cec1ae7267775b3e0f935e9b7","unresolved":false,"context_lines":[{"line_number":3,"context_line":""},{"line_number":4,"context_line":"  var "},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"  CURRENT_STEP_CSS_CLASSNAME \u003d \u0027current\u0027,"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"  WIZARD_IS_OPEN_CSS_CLASSNAME \u003d \u0027open\u0027,"},{"line_number":9,"context_line":""}],"source_content_type":"text/javascript","patch_set":1,"id":"5a890539_0a139cb8","line":6,"in_reply_to":"5a890539_799b6966","updated":"2014-12-10 06:55:37.000000000","message":"AngularJS constant should be used for `public` constants. Local constants should not be registered with angular.","commit_id":"6fa076bb757544b9f6bb80c1941cb3f1e46f1555"},{"author":{"_account_id":7976,"name":"Maxime Vidori","email":"mvidori@redhat.com","username":"MaxV"},"change_message_id":"701ded28958bce56f584aa62a94e24fdc7229896","unresolved":false,"context_lines":[{"line_number":17,"context_line":"    finish: \u0027Finish\u0027"},{"line_number":18,"context_line":"  },"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"  btnLabel \u003d angular.extend({}, DEFAULT_BTN_LABEL);"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"  function wizardDirectiveFactory(events) {"},{"line_number":23,"context_line":"    return {"}],"source_content_type":"text/javascript","patch_set":1,"id":"5a890539_d9d9bd23","line":20,"updated":"2014-12-01 10:30:26.000000000","message":"I do not really understand the need of this line","commit_id":"6fa076bb757544b9f6bb80c1941cb3f1e46f1555"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"9e591bed7702cc5cec1ae7267775b3e0f935e9b7","unresolved":false,"context_lines":[{"line_number":17,"context_line":"    finish: \u0027Finish\u0027"},{"line_number":18,"context_line":"  },"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"  btnLabel \u003d angular.extend({}, DEFAULT_BTN_LABEL);"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"  function wizardDirectiveFactory(events) {"},{"line_number":23,"context_line":"    return {"}],"source_content_type":"text/javascript","patch_set":1,"id":"5a890539_ca1c34c5","line":20,"in_reply_to":"5a890539_d9d9bd23","updated":"2014-12-10 06:55:37.000000000","message":"This was a placeholder for localization strings. Not used any more. (removed).","commit_id":"6fa076bb757544b9f6bb80c1941cb3f1e46f1555"},{"author":{"_account_id":7976,"name":"Maxime Vidori","email":"mvidori@redhat.com","username":"MaxV"},"change_message_id":"701ded28958bce56f584aa62a94e24fdc7229896","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":"  function wizardDirectiveFactory(events) {"},{"line_number":23,"context_line":"    return {"},{"line_number":24,"context_line":"      replace: true,"},{"line_number":25,"context_line":"      transclude: true,"},{"line_number":26,"context_line":"      templateUrl: TEMPLATE_URL,"},{"line_number":27,"context_line":"      link: link"}],"source_content_type":"text/javascript","patch_set":1,"id":"5a890539_5934ed49","line":24,"updated":"2014-12-01 10:30:26.000000000","message":"this one is deprecated please look at transclude element if you want to replace","commit_id":"6fa076bb757544b9f6bb80c1941cb3f1e46f1555"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"9e591bed7702cc5cec1ae7267775b3e0f935e9b7","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":"  function wizardDirectiveFactory(events) {"},{"line_number":23,"context_line":"    return {"},{"line_number":24,"context_line":"      replace: true,"},{"line_number":25,"context_line":"      transclude: true,"},{"line_number":26,"context_line":"      templateUrl: TEMPLATE_URL,"},{"line_number":27,"context_line":"      link: link"}],"source_content_type":"text/javascript","patch_set":1,"id":"5a890539_ca4a74ac","line":24,"in_reply_to":"5a890539_5934ed49","updated":"2014-12-10 06:55:37.000000000","message":"II know it will be the default behavior. But I found without it specified, the element is not going to be replaced. So I will keep it.","commit_id":"6fa076bb757544b9f6bb80c1941cb3f1e46f1555"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"29868be696f45f6986300f4accfe896147da54fd","unresolved":false,"context_lines":[{"line_number":30,"context_line":""},{"line_number":31,"context_line":"  function link(scope, element, attrs) {"},{"line_number":32,"context_line":"    var opened \u003d false,"},{"line_number":33,"context_line":"        contentContainer \u003d angular.element(element[0].children[1].children[2]),"},{"line_number":34,"context_line":"        currentIndex \u003d 0,"},{"line_number":35,"context_line":"        steps \u003d contentContainer[0].children,"},{"line_number":36,"context_line":"        stepsCount \u003d contentContainer[0].childElementCount;"}],"source_content_type":"text/javascript","patch_set":1,"id":"5a890539_891b88c9","line":33,"updated":"2014-11-28 05:17:10.000000000","message":"I generally balk at any DOM related code in angular. The above is fragile (depending on specifics of the HTML) but also I think discovery of the steps could me simpler if instead the steps register themselves with the wizard when their link() is executed?","commit_id":"6fa076bb757544b9f6bb80c1941cb3f1e46f1555"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"9e591bed7702cc5cec1ae7267775b3e0f935e9b7","unresolved":false,"context_lines":[{"line_number":30,"context_line":""},{"line_number":31,"context_line":"  function link(scope, element, attrs) {"},{"line_number":32,"context_line":"    var opened \u003d false,"},{"line_number":33,"context_line":"        contentContainer \u003d angular.element(element[0].children[1].children[2]),"},{"line_number":34,"context_line":"        currentIndex \u003d 0,"},{"line_number":35,"context_line":"        steps \u003d contentContainer[0].children,"},{"line_number":36,"context_line":"        stepsCount \u003d contentContainer[0].childElementCount;"}],"source_content_type":"text/javascript","patch_set":1,"id":"5a890539_2af4d859","line":33,"in_reply_to":"5a890539_790e098e","updated":"2014-12-10 06:55:37.000000000","message":"Removed, no longer needed. Thanks.","commit_id":"6fa076bb757544b9f6bb80c1941cb3f1e46f1555"},{"author":{"_account_id":7976,"name":"Maxime Vidori","email":"mvidori@redhat.com","username":"MaxV"},"change_message_id":"701ded28958bce56f584aa62a94e24fdc7229896","unresolved":false,"context_lines":[{"line_number":30,"context_line":""},{"line_number":31,"context_line":"  function link(scope, element, attrs) {"},{"line_number":32,"context_line":"    var opened \u003d false,"},{"line_number":33,"context_line":"        contentContainer \u003d angular.element(element[0].children[1].children[2]),"},{"line_number":34,"context_line":"        currentIndex \u003d 0,"},{"line_number":35,"context_line":"        steps \u003d contentContainer[0].children,"},{"line_number":36,"context_line":"        stepsCount \u003d contentContainer[0].childElementCount;"}],"source_content_type":"text/javascript","patch_set":1,"id":"5a890539_790e098e","line":33,"in_reply_to":"5a890539_891b88c9","updated":"2014-12-01 10:30:26.000000000","message":"Agreed on that, please look at https://github.com/angular-ui/bootstrap/blob/master/src/tabs/tabs.js in order to see how to register, transclude and interact with step registration","commit_id":"6fa076bb757544b9f6bb80c1941cb3f1e46f1555"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"9e591bed7702cc5cec1ae7267775b3e0f935e9b7","unresolved":false,"context_lines":[{"line_number":30,"context_line":""},{"line_number":31,"context_line":"  function link(scope, element, attrs) {"},{"line_number":32,"context_line":"    var opened \u003d false,"},{"line_number":33,"context_line":"        contentContainer \u003d angular.element(element[0].children[1].children[2]),"},{"line_number":34,"context_line":"        currentIndex \u003d 0,"},{"line_number":35,"context_line":"        steps \u003d contentContainer[0].children,"},{"line_number":36,"context_line":"        stepsCount \u003d contentContainer[0].childElementCount;"}],"source_content_type":"text/javascript","patch_set":1,"id":"5a890539_8adb0cec","line":33,"in_reply_to":"5a890539_891b88c9","updated":"2014-12-10 06:55:37.000000000","message":"This is refactored out. Thanks.","commit_id":"6fa076bb757544b9f6bb80c1941cb3f1e46f1555"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"29868be696f45f6986300f4accfe896147da54fd","unresolved":false,"context_lines":[{"line_number":36,"context_line":"        stepsCount \u003d contentContainer[0].childElementCount;"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"    function unsetCurrent() {"},{"line_number":39,"context_line":"      angular.element(steps[currentIndex])"},{"line_number":40,"context_line":"          .removeClass(CURRENT_STEP_CSS_CLASSNAME);"},{"line_number":41,"context_line":"    }"},{"line_number":42,"context_line":""}],"source_content_type":"text/javascript","patch_set":1,"id":"5a890539_a95e8477","line":39,"updated":"2014-11-28 05:17:10.000000000","message":"To make the wizard slightly more flexible and a little cleaner (IMHO :) perhaps the we could use events here to let the current step know it\u0027s deactivated, and let the new step know it\u0027s activated. By default the step directive could then set and unset the class on itself, rather than it being manipulated from afar like this. If the method of traversal was also supplied in the event (say, which button was pressed, or whether the step tab was directly accessed) then the step controller could take specific action where appropriate.","commit_id":"6fa076bb757544b9f6bb80c1941cb3f1e46f1555"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"9e591bed7702cc5cec1ae7267775b3e0f935e9b7","unresolved":false,"context_lines":[{"line_number":36,"context_line":"        stepsCount \u003d contentContainer[0].childElementCount;"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"    function unsetCurrent() {"},{"line_number":39,"context_line":"      angular.element(steps[currentIndex])"},{"line_number":40,"context_line":"          .removeClass(CURRENT_STEP_CSS_CLASSNAME);"},{"line_number":41,"context_line":"    }"},{"line_number":42,"context_line":""}],"source_content_type":"text/javascript","patch_set":1,"id":"5a890539_aaffe832","line":39,"in_reply_to":"5a890539_996bb51e","updated":"2014-12-10 06:55:37.000000000","message":"Refactored to a new way. Thanks.","commit_id":"6fa076bb757544b9f6bb80c1941cb3f1e46f1555"},{"author":{"_account_id":7976,"name":"Maxime Vidori","email":"mvidori@redhat.com","username":"MaxV"},"change_message_id":"701ded28958bce56f584aa62a94e24fdc7229896","unresolved":false,"context_lines":[{"line_number":36,"context_line":"        stepsCount \u003d contentContainer[0].childElementCount;"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"    function unsetCurrent() {"},{"line_number":39,"context_line":"      angular.element(steps[currentIndex])"},{"line_number":40,"context_line":"          .removeClass(CURRENT_STEP_CSS_CLASSNAME);"},{"line_number":41,"context_line":"    }"},{"line_number":42,"context_line":""}],"source_content_type":"text/javascript","patch_set":1,"id":"5a890539_996bb51e","line":39,"in_reply_to":"5a890539_a95e8477","updated":"2014-12-01 10:30:26.000000000","message":"do not manipulate class directly, you can have a boolean bound to ng-show and let angular handle this event","commit_id":"6fa076bb757544b9f6bb80c1941cb3f1e46f1555"},{"author":{"_account_id":7976,"name":"Maxime Vidori","email":"mvidori@redhat.com","username":"MaxV"},"change_message_id":"701ded28958bce56f584aa62a94e24fdc7229896","unresolved":false,"context_lines":[{"line_number":82,"context_line":"      close();"},{"line_number":83,"context_line":"    }"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"    scope.cancelBtnDisabled \u003d false;"},{"line_number":86,"context_line":"    scope.backBtnDisabled \u003d false;"},{"line_number":87,"context_line":"    scope.nextBtnDisabled \u003d false;"},{"line_number":88,"context_line":"    scope.isLastStep \u003d false;"}],"source_content_type":"text/javascript","patch_set":1,"id":"5a890539_d9e37da2","line":85,"updated":"2014-12-01 10:30:26.000000000","message":"For me, this should not be available through the scope but with a service instead, here we have a collision with the user scope. When creating a widget scope must be isolated from the parent one","commit_id":"6fa076bb757544b9f6bb80c1941cb3f1e46f1555"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"9e591bed7702cc5cec1ae7267775b3e0f935e9b7","unresolved":false,"context_lines":[{"line_number":82,"context_line":"      close();"},{"line_number":83,"context_line":"    }"},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"    scope.cancelBtnDisabled \u003d false;"},{"line_number":86,"context_line":"    scope.backBtnDisabled \u003d false;"},{"line_number":87,"context_line":"    scope.nextBtnDisabled \u003d false;"},{"line_number":88,"context_line":"    scope.isLastStep \u003d false;"}],"source_content_type":"text/javascript","patch_set":1,"id":"5a890539_6ab8a075","line":85,"in_reply_to":"5a890539_d9e37da2","updated":"2014-12-10 06:55:37.000000000","message":"I believe the button is a part of the wizard. This part also refactored. Please have a look at the new implementation.","commit_id":"6fa076bb757544b9f6bb80c1941cb3f1e46f1555"},{"author":{"_account_id":7976,"name":"Maxime Vidori","email":"mvidori@redhat.com","username":"MaxV"},"change_message_id":"701ded28958bce56f584aa62a94e24fdc7229896","unresolved":false,"context_lines":[{"line_number":97,"context_line":"    scope.$on(events.WIZARD_OPEN, open);"},{"line_number":98,"context_line":"  }"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"  angular.module(\u0027hz\u0027).directive(\u0027wizard\u0027, ["},{"line_number":101,"context_line":"    \u0027events\u0027,"},{"line_number":102,"context_line":"    wizardDirectiveFactory"},{"line_number":103,"context_line":"  ]);"}],"source_content_type":"text/javascript","patch_set":1,"id":"5a890539_19d26534","line":100,"updated":"2014-12-01 10:30:26.000000000","message":"please create a dedicated module for the wizard directive in order to have a separated code base","commit_id":"6fa076bb757544b9f6bb80c1941cb3f1e46f1555"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"9e591bed7702cc5cec1ae7267775b3e0f935e9b7","unresolved":false,"context_lines":[{"line_number":97,"context_line":"    scope.$on(events.WIZARD_OPEN, open);"},{"line_number":98,"context_line":"  }"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"  angular.module(\u0027hz\u0027).directive(\u0027wizard\u0027, ["},{"line_number":101,"context_line":"    \u0027events\u0027,"},{"line_number":102,"context_line":"    wizardDirectiveFactory"},{"line_number":103,"context_line":"  ]);"}],"source_content_type":"text/javascript","patch_set":1,"id":"5a890539_caa6f453","line":100,"in_reply_to":"5a890539_19d26534","updated":"2014-12-10 06:55:37.000000000","message":"Not sure we should do that. Let\u0027s discuss.","commit_id":"6fa076bb757544b9f6bb80c1941cb3f1e46f1555"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"ffb2c5dd6bcf3ca2b079a415b491eb50801c65a6","unresolved":false,"context_lines":[{"line_number":1,"context_line":"(function () {"},{"line_number":2,"context_line":"  \u0027use strict\u0027;"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"  function link($scope, element, attrs, workflows) {"},{"line_number":5,"context_line":"    var workflow \u003d workflows[attrs.workflow];"},{"line_number":6,"context_line":"    var steps \u003d $scope.steps \u003d workflow.steps;"},{"line_number":7,"context_line":"    $scope.title \u003d workflow.title;"}],"source_content_type":"text/javascript","patch_set":3,"id":"5a890539_636febfc","line":4,"updated":"2014-12-03 04:40:53.000000000","message":"Declaring this outside of the scope of the directive declaration at the end of the file is very strange style, and makes this code more difficult to read than having it inline.","commit_id":"f754b6b936b750d52da0ea75289ecb49cb8100f5"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"cfbdfdc6f4d915e9684f2e91b02f35dd2bbcab10","unresolved":false,"context_lines":[{"line_number":1,"context_line":"(function () {"},{"line_number":2,"context_line":"  \u0027use strict\u0027;"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"  function link($scope, element, attrs, workflows) {"},{"line_number":5,"context_line":"    var workflow \u003d workflows[attrs.workflow];"},{"line_number":6,"context_line":"    var steps \u003d $scope.steps \u003d workflow.steps;"},{"line_number":7,"context_line":"    $scope.title \u003d workflow.title;"}],"source_content_type":"text/javascript","patch_set":3,"id":"5a890539_59b2e0e5","line":4,"in_reply_to":"5a890539_636febfc","updated":"2014-12-10 06:54:58.000000000","message":"Declaring function first and then register it into the module is the right way to define a directive. This pattern can be also seen in many Angular tutorial. Some simple tutorial is using inline function declaration, that should not be in really production.","commit_id":"f754b6b936b750d52da0ea75289ecb49cb8100f5"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"ffb2c5dd6bcf3ca2b079a415b491eb50801c65a6","unresolved":false,"context_lines":[{"line_number":86,"context_line":"        \u0026\u0026 !steps[index].done;"},{"line_number":87,"context_line":"    }"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"    $scope.switchTo \u003d switchTo;"},{"line_number":90,"context_line":"    $scope.isFirstStep \u003d isFirstStep;"},{"line_number":91,"context_line":"    $scope.isLastStep \u003d isLastStep;"},{"line_number":92,"context_line":"    $scope.isCurrent \u003d isCurrent;"}],"source_content_type":"text/javascript","patch_set":3,"id":"5a890539_439caf0e","line":89,"updated":"2014-12-03 04:40:53.000000000","message":"All of these could be avoided if you instead used the form:\n\n  $scope.switchTo \u003d function(index) {...\n\nAnd so on.","commit_id":"f754b6b936b750d52da0ea75289ecb49cb8100f5"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"cfbdfdc6f4d915e9684f2e91b02f35dd2bbcab10","unresolved":false,"context_lines":[{"line_number":86,"context_line":"        \u0026\u0026 !steps[index].done;"},{"line_number":87,"context_line":"    }"},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"    $scope.switchTo \u003d switchTo;"},{"line_number":90,"context_line":"    $scope.isFirstStep \u003d isFirstStep;"},{"line_number":91,"context_line":"    $scope.isLastStep \u003d isLastStep;"},{"line_number":92,"context_line":"    $scope.isCurrent \u003d isCurrent;"}],"source_content_type":"text/javascript","patch_set":3,"id":"5a890539_590e608d","line":89,"in_reply_to":"5a890539_439caf0e","updated":"2014-12-10 06:54:58.000000000","message":"Declaring function first and then decide if to expose it to scope or some other API object is good practice. The is a common good practice in many `module` pattern like AngularJS and NodeJS.","commit_id":"f754b6b936b750d52da0ea75289ecb49cb8100f5"},{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"ffb2c5dd6bcf3ca2b079a415b491eb50801c65a6","unresolved":false,"context_lines":[{"line_number":100,"context_line":"    $scope.$on(workflow.openEventName, open);"},{"line_number":101,"context_line":"  }"},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"  function wizardDirectiveFactory(workflows) {"},{"line_number":104,"context_line":"    return {"},{"line_number":105,"context_line":"      link: function ($scope, element, attrs) {"},{"line_number":106,"context_line":"        link($scope, element, attrs, workflows);"}],"source_content_type":"text/javascript","patch_set":3,"id":"5a890539_c38fbfcb","line":103,"updated":"2014-12-03 04:40:53.000000000","message":"Declaring this function here, and not just inline in the directive declaration below, means it\u0027s declared as a global, which is messy in my opinion. Better to just declare it inline in the directive instead IMO.","commit_id":"f754b6b936b750d52da0ea75289ecb49cb8100f5"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"cfbdfdc6f4d915e9684f2e91b02f35dd2bbcab10","unresolved":false,"context_lines":[{"line_number":100,"context_line":"    $scope.$on(workflow.openEventName, open);"},{"line_number":101,"context_line":"  }"},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"  function wizardDirectiveFactory(workflows) {"},{"line_number":104,"context_line":"    return {"},{"line_number":105,"context_line":"      link: function ($scope, element, attrs) {"},{"line_number":106,"context_line":"        link($scope, element, attrs, workflows);"}],"source_content_type":"text/javascript","patch_set":3,"id":"5a890539_598580cd","line":103,"in_reply_to":"5a890539_c38fbfcb","updated":"2014-12-10 06:54:58.000000000","message":"Inline function declaration is not good practice.  The pattern here is good practice and can be find in some very serious Angular tutorial.","commit_id":"f754b6b936b750d52da0ea75289ecb49cb8100f5"},{"author":{"_account_id":13325,"name":"Paul Karikh","email":"pkarikh@gmail.com","username":"paul.karikh"},"change_message_id":"504ff533c020124877ebcc65a27821d6f500df10","unresolved":false,"context_lines":[{"line_number":45,"context_line":"      if (index \u003c currentIndex) {"},{"line_number":46,"context_line":"        for (i \u003d index; i \u003c currentIndex; i++) {"},{"line_number":47,"context_line":"          steps[i].done \u003d false;  "},{"line_number":48,"context_line":"        }"},{"line_number":49,"context_line":"      } else {"},{"line_number":50,"context_line":"        for (i \u003d currentIndex; i \u003c index; i++) {"},{"line_number":51,"context_line":"          steps[i].done \u003d true;  "}],"source_content_type":"text/javascript","patch_set":6,"id":"5a890539_f83e0e28","line":48,"updated":"2014-12-03 16:25:49.000000000","message":"The same nit about whatespaces.","commit_id":"3fa0bc5eb2a07cdf046ee9c9234b814909f4bbf3"}],"horizon/static/horizon/js/angular/horizon.js":[{"author":{"_account_id":12071,"name":"Richard Jones","email":"r1chardj0n3s@gmail.com","username":"richard"},"change_message_id":"29868be696f45f6986300f4accfe896147da54fd","unresolved":false,"context_lines":[{"line_number":37,"context_line":"  ]);"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"  app.constant(\u0027events\u0027, {"},{"line_number":40,"context_line":"    WIZARD_OPEN: \u0027WIZARD_OPEN\u0027"},{"line_number":41,"context_line":"  });"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"  horizonApp \u003d app;"}],"source_content_type":"text/javascript","patch_set":1,"id":"5a890539_694c9cc9","line":40,"updated":"2014-11-28 05:17:10.000000000","message":"I think this should be in the wizard source, not up here.","commit_id":"6fa076bb757544b9f6bb80c1941cb3f1e46f1555"},{"author":{"_account_id":7976,"name":"Maxime Vidori","email":"mvidori@redhat.com","username":"MaxV"},"change_message_id":"701ded28958bce56f584aa62a94e24fdc7229896","unresolved":false,"context_lines":[{"line_number":37,"context_line":"  ]);"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"  app.constant(\u0027events\u0027, {"},{"line_number":40,"context_line":"    WIZARD_OPEN: \u0027WIZARD_OPEN\u0027"},{"line_number":41,"context_line":"  });"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"  horizonApp \u003d app;"}],"source_content_type":"text/javascript","patch_set":1,"id":"5a890539_998735b6","line":40,"in_reply_to":"5a890539_694c9cc9","updated":"2014-12-01 10:30:26.000000000","message":"agreed on that","commit_id":"6fa076bb757544b9f6bb80c1941cb3f1e46f1555"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"9e591bed7702cc5cec1ae7267775b3e0f935e9b7","unresolved":false,"context_lines":[{"line_number":37,"context_line":"  ]);"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"  app.constant(\u0027events\u0027, {"},{"line_number":40,"context_line":"    WIZARD_OPEN: \u0027WIZARD_OPEN\u0027"},{"line_number":41,"context_line":"  });"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"  horizonApp \u003d app;"}],"source_content_type":"text/javascript","patch_set":1,"id":"5a890539_c4e6e415","line":40,"in_reply_to":"5a890539_998735b6","updated":"2014-12-10 06:55:37.000000000","message":"This is a `global` event.  It is fired out of the wizard code scope.\n\nWon\u0027t fix.","commit_id":"6fa076bb757544b9f6bb80c1941cb3f1e46f1555"},{"author":{"_account_id":13325,"name":"Paul Karikh","email":"pkarikh@gmail.com","username":"paul.karikh"},"change_message_id":"504ff533c020124877ebcc65a27821d6f500df10","unresolved":false,"context_lines":[{"line_number":4,"context_line":"(function () {"},{"line_number":5,"context_line":"  \u0027use strict\u0027;"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"  var"},{"line_number":8,"context_line":"    horizon_dependencies \u003d [\u0027hz.conf\u0027, \u0027hz.utils\u0027, \u0027ngCookies\u0027],"},{"line_number":9,"context_line":"    // TODO: remove global variable angularModuleExtension"},{"line_number":10,"context_line":"    dependencies \u003d horizon_dependencies.concat(angularModuleExtension),"}],"source_content_type":"text/javascript","patch_set":6,"id":"5a890539_b8a726bb","line":7,"updated":"2014-12-03 16:25:49.000000000","message":"It is not a big problem, but I think it would be better to keep \u0027var\u0027 operator on the same line with \u0027horizon_dependencies\u0027","commit_id":"3fa0bc5eb2a07cdf046ee9c9234b814909f4bbf3"},{"author":{"_account_id":12825,"name":"Szymon Wróblewski","email":"szymon.wroblewski@ovhcloud.com","username":"bluex"},"change_message_id":"86c5721535acf42b968a8e64ff12e9e564fe8fa8","unresolved":false,"context_lines":[{"line_number":2,"context_line":"(function () {"},{"line_number":3,"context_line":"  \u0027use strict\u0027;"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"  var horizon_dependencies \u003d [\u0027hz.conf\u0027, \u0027hz.utils\u0027, \u0027ngCookies\u0027, \u0027hz.framework.wizard\u0027];"},{"line_number":6,"context_line":"  var dependencies \u003d horizon_dependencies.concat(angularModuleExtension);"},{"line_number":7,"context_line":"  angular.module(\u0027hz\u0027, dependencies)"},{"line_number":8,"context_line":"    .config([\u0027$interpolateProvider\u0027, \u0027$httpProvider\u0027,"}],"source_content_type":"text/javascript","patch_set":12,"id":"3a961159_03de523f","line":5,"updated":"2014-12-18 16:10:26.000000000","message":"It\u0027s not a good place to put it. Main module should only import dashboard modules. Each dashboard module will have its own dependency list and those that want to use wizard will import it.","commit_id":"b065316b80b263c190c6e2c05d028745da9ccc7f"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"691b465e60b0b7c3f28cd4584c23a195d0961217","unresolved":false,"context_lines":[{"line_number":2,"context_line":"(function () {"},{"line_number":3,"context_line":"  \u0027use strict\u0027;"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"  var horizon_dependencies \u003d [\u0027hz.conf\u0027, \u0027hz.utils\u0027, \u0027ngCookies\u0027, \u0027hz.framework\u0027];"},{"line_number":6,"context_line":"  var dependencies \u003d horizon_dependencies.concat(angularModuleExtension);"},{"line_number":7,"context_line":"  angular.module(\u0027hz\u0027, dependencies)"},{"line_number":8,"context_line":"    .config([\u0027$interpolateProvider\u0027, \u0027$httpProvider\u0027,"}],"source_content_type":"text/javascript","patch_set":21,"id":"fa81d914_d213510b","line":5,"updated":"2015-01-29 00:48:25.000000000","message":"again, hz.widget instead","commit_id":"a7da7914c5e15309423aaa411709b494e75960c8"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"e9bc4721cf92698c6bc52278d99d3a59a4e5d167","unresolved":false,"context_lines":[{"line_number":2,"context_line":"(function () {"},{"line_number":3,"context_line":"  \u0027use strict\u0027;"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"  var horizon_dependencies \u003d [\u0027hz.conf\u0027, \u0027hz.utils\u0027, \u0027ngCookies\u0027, \u0027hz.framework\u0027];"},{"line_number":6,"context_line":"  var dependencies \u003d horizon_dependencies.concat(angularModuleExtension);"},{"line_number":7,"context_line":"  angular.module(\u0027hz\u0027, dependencies)"},{"line_number":8,"context_line":"    .config([\u0027$interpolateProvider\u0027, \u0027$httpProvider\u0027,"}],"source_content_type":"text/javascript","patch_set":21,"id":"fa81d914_921639a6","line":5,"in_reply_to":"fa81d914_d213510b","updated":"2015-01-29 00:55:34.000000000","message":"Right.","commit_id":"a7da7914c5e15309423aaa411709b494e75960c8"}],"horizon/static/horizon/tests/angular/directives/wizard-step.test.js":[{"author":{"_account_id":6914,"name":"Tatiana Ovchinnikova","email":"t.v.ovtchinnikova@gmail.com","username":"tmazur"},"change_message_id":"deecba5d15495669ca8392ceb8a1bf64091414bf","unresolved":false,"context_lines":[{"line_number":3,"context_line":"  beforeEach(module(\u0027hz\u0027));"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"  it(\u0027should define directive \"wizardstep\"\u0027, inject([\u0027wizardstep\u0027, function (wizardstep) {"},{"line_number":6,"context_line":"    expect(wizardstep).toBeDefined();"},{"line_number":7,"context_line":"  }]);"},{"line_number":8,"context_line":"});"}],"source_content_type":"text/javascript","patch_set":1,"id":"5a890539_d551be64","line":6,"updated":"2014-11-27 08:46:46.000000000","message":"jshint concern is valid here. Please fix it.","commit_id":"6fa076bb757544b9f6bb80c1941cb3f1e46f1555"}],"horizon/static/horizon/tests/angular/directives/wizard.test.js":[{"author":{"_account_id":6914,"name":"Tatiana Ovchinnikova","email":"t.v.ovtchinnikova@gmail.com","username":"tmazur"},"change_message_id":"deecba5d15495669ca8392ceb8a1bf64091414bf","unresolved":false,"context_lines":[{"line_number":3,"context_line":"  beforeEach(module(\u0027hz\u0027));"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"  it(\u0027should define directive \"wizard\"\u0027, inject([\u0027wizard\u0027, function (wizard) {"},{"line_number":6,"context_line":"    expect(wizard).toBeDefined();"},{"line_number":7,"context_line":"  }]);"},{"line_number":8,"context_line":"});"}],"source_content_type":"text/javascript","patch_set":1,"id":"5a890539_154c26c8","line":6,"updated":"2014-11-27 08:46:46.000000000","message":"jshint concern is valid here. Please fix it.","commit_id":"6fa076bb757544b9f6bb80c1941cb3f1e46f1555"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"9e591bed7702cc5cec1ae7267775b3e0f935e9b7","unresolved":false,"context_lines":[{"line_number":3,"context_line":"  beforeEach(module(\u0027hz\u0027));"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"  it(\u0027should define directive \"wizard\"\u0027, inject([\u0027wizard\u0027, function (wizard) {"},{"line_number":6,"context_line":"    expect(wizard).toBeDefined();"},{"line_number":7,"context_line":"  }]);"},{"line_number":8,"context_line":"});"}],"source_content_type":"text/javascript","patch_set":1,"id":"5a890539_8a778cd3","line":6,"in_reply_to":"5a890539_154c26c8","updated":"2014-12-10 06:55:37.000000000","message":"Will fix.","commit_id":"6fa076bb757544b9f6bb80c1941cb3f1e46f1555"}],"horizon/templates/horizon/_scripts.html":[{"author":{"_account_id":14124,"name":"Matt Borland","email":"matt.borland@hpe.com","username":"mborland"},"change_message_id":"13fc111b7d5bbab43ecddc7626adb6b0cfe40a44","unresolved":false,"context_lines":[{"line_number":17,"context_line":"\u003cscript src\u003d\u0027{{ STATIC_URL }}horizon/js/angular/controllers/namespace-controller.js\u0027\u003e\u003c/script\u003e"},{"line_number":18,"context_line":"\u003cscript src\u003d\u0027{{ STATIC_URL }}horizon/js/angular/controllers/dummy.js\u0027 type\u003d\u0027text/javascript\u0027 charset\u003d\u0027utf-8\u0027\u003e\u003c/script\u003e"},{"line_number":19,"context_line":"\u003cscript src\u003d\u0027{{ STATIC_URL }}horizon/js/angular/directives/forms.js\u0027 type\u003d\u0027text/javascript\u0027 charset\u003d\u0027utf-8\u0027\u003e\u003c/script\u003e"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"\u003cscript src\u003d\u0027{{ STATIC_URL }}angular/framework.module.js\u0027 type\u003d\u0027text/javascript\u0027 charset\u003d\u0027utf-8\u0027\u003e\u003c/script\u003e"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"\u003cscript src\u003d\u0027{{ STATIC_URL }}angular/help-panel/help-panel.module.js\u0027 type\u003d\u0027text/javascript\u0027 charset\u003d\u0027utf-8\u0027\u003e\u003c/script\u003e"}],"source_content_type":"text/html","patch_set":16,"id":"3a961159_b6acf3ef","line":20,"updated":"2015-01-13 15:33:24.000000000","message":"So, does this mean all these JS files\u0027 code gets loaded regardless of whether you hit any of the Angular pages?","commit_id":"7bca05c63c18c153d6a69e0d01652f338bd58803"},{"author":{"_account_id":13805,"name":"Shaoquan Chen","email":"sean.chen2@hp.com","username":"SeanChen"},"change_message_id":"65146acfe9ff0d3444639d2e8aa61dd56c243247","unresolved":false,"context_lines":[{"line_number":17,"context_line":"\u003cscript src\u003d\u0027{{ STATIC_URL }}horizon/js/angular/controllers/namespace-controller.js\u0027\u003e\u003c/script\u003e"},{"line_number":18,"context_line":"\u003cscript src\u003d\u0027{{ STATIC_URL }}horizon/js/angular/controllers/dummy.js\u0027 type\u003d\u0027text/javascript\u0027 charset\u003d\u0027utf-8\u0027\u003e\u003c/script\u003e"},{"line_number":19,"context_line":"\u003cscript src\u003d\u0027{{ STATIC_URL }}horizon/js/angular/directives/forms.js\u0027 type\u003d\u0027text/javascript\u0027 charset\u003d\u0027utf-8\u0027\u003e\u003c/script\u003e"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"\u003cscript src\u003d\u0027{{ STATIC_URL }}angular/framework.module.js\u0027 type\u003d\u0027text/javascript\u0027 charset\u003d\u0027utf-8\u0027\u003e\u003c/script\u003e"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"\u003cscript src\u003d\u0027{{ STATIC_URL }}angular/help-panel/help-panel.module.js\u0027 type\u003d\u0027text/javascript\u0027 charset\u003d\u0027utf-8\u0027\u003e\u003c/script\u003e"}],"source_content_type":"text/html","patch_set":16,"id":"3a961159_a8280498","line":20,"in_reply_to":"3a961159_b6acf3ef","updated":"2015-01-13 23:56:35.000000000","message":"Right.","commit_id":"7bca05c63c18c153d6a69e0d01652f338bd58803"}],"openstack_dashboard/static/dashboard/scss/_wizard.scss":[{"author":{"_account_id":13325,"name":"Paul Karikh","email":"pkarikh@gmail.com","username":"paul.karikh"},"change_message_id":"504ff533c020124877ebcc65a27821d6f500df10","unresolved":false,"context_lines":[{"line_number":121,"context_line":"  font-size: 11px;"},{"line_number":122,"context_line":"  font-weight: normal;"},{"line_number":123,"context_line":"  line-height: 1.5;"},{"line_number":124,"context_line":"  border-bottom: 1px solid #999; "},{"line_number":125,"context_line":"}"},{"line_number":126,"context_line":""},{"line_number":127,"context_line":".wizard .toolbar {"}],"source_content_type":"text/x-scss","patch_set":6,"id":"5a890539_381c16c2","line":124,"updated":"2014-12-03 16:25:49.000000000","message":"Here too.","commit_id":"3fa0bc5eb2a07cdf046ee9c9234b814909f4bbf3"}],"openstack_dashboard/static/dashboard/scss/horizon.scss":[{"author":{"_account_id":12825,"name":"Szymon Wróblewski","email":"szymon.wroblewski@ovhcloud.com","username":"bluex"},"change_message_id":"86c5721535acf42b968a8e64ff12e9e564fe8fa8","unresolved":false,"context_lines":[{"line_number":8,"context_line":"// Components"},{"line_number":9,"context_line":"@import \"components/resource_browser\";"},{"line_number":10,"context_line":"@import \"components/topbar\";"},{"line_number":11,"context_line":"@import \"../../../../../horizon/static/angular/wizard/wizard\";"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"/* new clearfix */"},{"line_number":14,"context_line":".clearfix:after {"}],"source_content_type":"text/x-scss","patch_set":12,"id":"3a961159_609e2c56","line":11,"updated":"2014-12-18 16:10:26.000000000","message":"It should be something like \"/angular/wizard/wizard\"","commit_id":"b065316b80b263c190c6e2c05d028745da9ccc7f"}]}
