)]}'
{"horizon/static/angular/action-list/action-list.js":[{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"72b0546ab041eacf6464724555fc25062caf2442","unresolved":false,"context_lines":[{"line_number":85,"context_line":"        restrict: \u0027E\u0027,"},{"line_number":86,"context_line":"        link: function (scope, element, attrs, ctrl, transclude) {"},{"line_number":87,"context_line":"          element.addClass(\u0027action-list btn-group\u0027);"},{"line_number":88,"context_line":"          element.find(\u0027notifications\u0027).addClass(\u0027notifications\u0027);"},{"line_number":89,"context_line":"        }"},{"line_number":90,"context_line":"      };"},{"line_number":91,"context_line":"    }"}],"source_content_type":"text/javascript","patch_set":2,"id":"9a80dd14_70a12f93","line":88,"updated":"2015-03-09 20:45:57.000000000","message":"If action-list is styled as a directive, this can be simplified to: element.addClass(\u0027btn-group\u0027). Having said that, it might actually be cleaner and more readable to do it via the markup instead of injecting it magically in javascript.","commit_id":"a5d2dd53328ab2f7aa8a1738538768d5e6aef71c"},{"author":{"_account_id":13785,"name":"Kelly Domico","email":"kelly.domico@hp.com","username":"kdomico"},"change_message_id":"f8f7650849858d4ccd2af14329f215a2df79301e","unresolved":false,"context_lines":[{"line_number":85,"context_line":"        restrict: \u0027E\u0027,"},{"line_number":86,"context_line":"        link: function (scope, element, attrs, ctrl, transclude) {"},{"line_number":87,"context_line":"          element.addClass(\u0027action-list btn-group\u0027);"},{"line_number":88,"context_line":"          element.find(\u0027notifications\u0027).addClass(\u0027notifications\u0027);"},{"line_number":89,"context_line":"        }"},{"line_number":90,"context_line":"      };"},{"line_number":91,"context_line":"    }"}],"source_content_type":"text/javascript","patch_set":2,"id":"9a80dd14_4e4e4c3c","line":88,"in_reply_to":"9a80dd14_70a12f93","updated":"2015-03-09 21:22:53.000000000","message":"Removed \u0027notifications\u0027 and \u0027action-list\u0027. Left \u0027btn-group\u0027 though - I\u0027m afraid people might forget to set that in the HTML and wonder why their dropdown looks weird.","commit_id":"a5d2dd53328ab2f7aa8a1738538768d5e6aef71c"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"72b0546ab041eacf6464724555fc25062caf2442","unresolved":false,"context_lines":[{"line_number":108,"context_line":"   *"},{"line_number":109,"context_line":"   * ```"},{"line_number":110,"context_line":"   * \u003cmenu\u003e"},{"line_number":111,"context_line":"   *   ... actions ..."},{"line_number":112,"context_line":"   * \u003c/menu\u003e"},{"line_number":113,"context_line":"   * ```"},{"line_number":114,"context_line":"   */"}],"source_content_type":"text/javascript","patch_set":2,"id":"9a80dd14_f0319f5a","line":111,"updated":"2015-03-09 20:45:57.000000000","message":"will be good to show the markup for action here.","commit_id":"a5d2dd53328ab2f7aa8a1738538768d5e6aef71c"},{"author":{"_account_id":13785,"name":"Kelly Domico","email":"kelly.domico@hp.com","username":"kdomico"},"change_message_id":"f8f7650849858d4ccd2af14329f215a2df79301e","unresolved":false,"context_lines":[{"line_number":108,"context_line":"   *"},{"line_number":109,"context_line":"   * ```"},{"line_number":110,"context_line":"   * \u003cmenu\u003e"},{"line_number":111,"context_line":"   *   ... actions ..."},{"line_number":112,"context_line":"   * \u003c/menu\u003e"},{"line_number":113,"context_line":"   * ```"},{"line_number":114,"context_line":"   */"}],"source_content_type":"text/javascript","patch_set":2,"id":"9a80dd14_6e1eb00d","line":111,"in_reply_to":"9a80dd14_f0319f5a","updated":"2015-03-09 21:22:53.000000000","message":"Done.","commit_id":"a5d2dd53328ab2f7aa8a1738538768d5e6aef71c"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"72b0546ab041eacf6464724555fc25062caf2442","unresolved":false,"context_lines":[{"line_number":181,"context_line":"        scope: {"},{"line_number":182,"context_line":"          actionClasses: \u0027\u003d?\u0027,"},{"line_number":183,"context_line":"          callback: \u0027\u003d?\u0027,"},{"line_number":184,"context_line":"          disabled: \u0027\u003d?\u0027,"},{"line_number":185,"context_line":"          item: \u0027\u003d?\u0027"},{"line_number":186,"context_line":"        },"},{"line_number":187,"context_line":"        templateUrl: function(element, attrs) {"}],"source_content_type":"text/javascript","patch_set":2,"id":"9a80dd14_f0f43f5c","line":184,"updated":"2015-03-09 20:45:57.000000000","message":"can we use ng-disabled instead?","commit_id":"a5d2dd53328ab2f7aa8a1738538768d5e6aef71c"},{"author":{"_account_id":13785,"name":"Kelly Domico","email":"kelly.domico@hp.com","username":"kdomico"},"change_message_id":"f8f7650849858d4ccd2af14329f215a2df79301e","unresolved":false,"context_lines":[{"line_number":181,"context_line":"        scope: {"},{"line_number":182,"context_line":"          actionClasses: \u0027\u003d?\u0027,"},{"line_number":183,"context_line":"          callback: \u0027\u003d?\u0027,"},{"line_number":184,"context_line":"          disabled: \u0027\u003d?\u0027,"},{"line_number":185,"context_line":"          item: \u0027\u003d?\u0027"},{"line_number":186,"context_line":"        },"},{"line_number":187,"context_line":"        templateUrl: function(element, attrs) {"}],"source_content_type":"text/javascript","patch_set":2,"id":"9a80dd14_53051544","line":184,"in_reply_to":"9a80dd14_f0f43f5c","updated":"2015-03-09 21:22:53.000000000","message":"For tooltips to work on click, I had to set a \u0027disabled\u0027 class for the buttons. See comment on action.html page.","commit_id":"a5d2dd53328ab2f7aa8a1738538768d5e6aef71c"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"f7a9d98062e0433e067040dd8b676a132a04cb92","unresolved":false,"context_lines":[{"line_number":183,"context_line":"      return {"},{"line_number":184,"context_line":"        restrict: \u0027E\u0027,"},{"line_number":185,"context_line":"        scope: {"},{"line_number":186,"context_line":"          actionClasses: \u0027\u003d?\u0027,"},{"line_number":187,"context_line":"          callback: \u0027\u003d?\u0027,"},{"line_number":188,"context_line":"          disabled: \u0027\u003d?\u0027,"},{"line_number":189,"context_line":"          item: \u0027\u003d?\u0027"}],"source_content_type":"text/javascript","patch_set":4,"id":"9a80dd14_9b5d694b","line":186,"updated":"2015-03-12 00:58:01.000000000","message":"can remove this. read comment below.","commit_id":"818a86e85faf9dce1cb47999dcd00b5583b918db"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"f7a9d98062e0433e067040dd8b676a132a04cb92","unresolved":false,"context_lines":[{"line_number":194,"context_line":"          return path + \u0027action-list/\u0027 + buttonType + \u0027.html\u0027;"},{"line_number":195,"context_line":"        },"},{"line_number":196,"context_line":"        transclude: true,"},{"line_number":197,"context_line":"        link: function(scope, element, attrs, ctrl, transclude) {"},{"line_number":198,"context_line":"          // Append transcluded content to a button"},{"line_number":199,"context_line":"          // or menu item link"},{"line_number":200,"context_line":"          transclude(scope, function(clone) {"}],"source_content_type":"text/javascript","patch_set":4,"id":"9a80dd14_bb1f8d6f","line":197,"updated":"2015-03-12 00:58:01.000000000","message":"I think we should allow user to style using the standard HTML class attribute. Add following line to enable this:\n\nscope.actionClasses \u003d attrs.class;","commit_id":"818a86e85faf9dce1cb47999dcd00b5583b918db"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"445a99edf8c314263be046080c996e4e676b428e","unresolved":false,"context_lines":[{"line_number":194,"context_line":"          return path + \u0027action-list/\u0027 + buttonType + \u0027.html\u0027;"},{"line_number":195,"context_line":"        },"},{"line_number":196,"context_line":"        transclude: true,"},{"line_number":197,"context_line":"        link: function(scope, element, attrs, ctrl, transclude) {"},{"line_number":198,"context_line":"          // Append transcluded content to a button"},{"line_number":199,"context_line":"          // or menu item link"},{"line_number":200,"context_line":"          transclude(scope, function(clone) {"}],"source_content_type":"text/javascript","patch_set":4,"id":"9a80dd14_ea6cd09f","line":197,"in_reply_to":"9a80dd14_bb1f8d6f","updated":"2015-03-12 02:06:27.000000000","message":"nevermind, disregard this comment. apparently you can pass string into ng-class\u003d\"\u0027someclass\u0027\" just don\u0027t forget the single quote to tell angular that it is a string.","commit_id":"818a86e85faf9dce1cb47999dcd00b5583b918db"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"445a99edf8c314263be046080c996e4e676b428e","unresolved":false,"context_lines":[{"line_number":198,"context_line":"          // Append transcluded content to a button"},{"line_number":199,"context_line":"          // or menu item link"},{"line_number":200,"context_line":"          transclude(scope, function(clone) {"},{"line_number":201,"context_line":"            var menuItem \u003d element.find(\u0027li \u003e a\u0027);"},{"line_number":202,"context_line":"            if (menuItem.length) {"},{"line_number":203,"context_line":"              menuItem.first().append(clone);"},{"line_number":204,"context_line":"            } else {"}],"source_content_type":"text/javascript","patch_set":4,"id":"9a80dd14_ea83f0a6","line":201,"updated":"2015-03-12 02:06:27.000000000","message":"currently, i have a label object that i want to use in action. But because the scope is isolated, its actually unable to access this label object.","commit_id":"818a86e85faf9dce1cb47999dcd00b5583b918db"},{"author":{"_account_id":13785,"name":"Kelly Domico","email":"kelly.domico@hp.com","username":"kdomico"},"change_message_id":"3cc8eed0870167e24401a6a717b6abbf3961064d","unresolved":false,"context_lines":[{"line_number":198,"context_line":"          // Append transcluded content to a button"},{"line_number":199,"context_line":"          // or menu item link"},{"line_number":200,"context_line":"          transclude(scope, function(clone) {"},{"line_number":201,"context_line":"            var menuItem \u003d element.find(\u0027li \u003e a\u0027);"},{"line_number":202,"context_line":"            if (menuItem.length) {"},{"line_number":203,"context_line":"              menuItem.first().append(clone);"},{"line_number":204,"context_line":"            } else {"}],"source_content_type":"text/javascript","patch_set":4,"id":"9a80dd14_85eeb1eb","line":201,"in_reply_to":"9a80dd14_ea83f0a6","updated":"2015-03-13 00:39:41.000000000","message":"I *think* the isolate scope can be removed. Let me see what I can do. Do you have an example I can use?","commit_id":"818a86e85faf9dce1cb47999dcd00b5583b918db"}],"horizon/static/angular/action-list/action-list.scss":[{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"72b0546ab041eacf6464724555fc25062caf2442","unresolved":false,"context_lines":[{"line_number":1,"context_line":".action-list.btn-group {"},{"line_number":2,"context_line":"  \u0026[warning-tooltip] {"},{"line_number":3,"context_line":"    cursor: pointer;"},{"line_number":4,"context_line":"  }"}],"source_content_type":"text/x-scss","patch_set":2,"id":"9a80dd14_f03d1f90","line":1,"updated":"2015-03-09 20:45:57.000000000","message":"Since action-list is a directive, we can simply style it like so: action-list.btn-group{...} Same can be said for notifications.","commit_id":"a5d2dd53328ab2f7aa8a1738538768d5e6aef71c"},{"author":{"_account_id":13785,"name":"Kelly Domico","email":"kelly.domico@hp.com","username":"kdomico"},"change_message_id":"f8f7650849858d4ccd2af14329f215a2df79301e","unresolved":false,"context_lines":[{"line_number":1,"context_line":".action-list.btn-group {"},{"line_number":2,"context_line":"  \u0026[warning-tooltip] {"},{"line_number":3,"context_line":"    cursor: pointer;"},{"line_number":4,"context_line":"  }"}],"source_content_type":"text/x-scss","patch_set":2,"id":"9a80dd14_ae1428e9","line":1,"in_reply_to":"9a80dd14_f03d1f90","updated":"2015-03-09 21:22:53.000000000","message":"Done.","commit_id":"a5d2dd53328ab2f7aa8a1738538768d5e6aef71c"}],"horizon/static/angular/action-list/action.html":[{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"72b0546ab041eacf6464724555fc25062caf2442","unresolved":false,"context_lines":[{"line_number":1,"context_line":"\u003cbutton tabIndex\u003d\"0\""},{"line_number":2,"context_line":"  class\u003d\"action-button {$ disabled ? \u0027disabled\u0027 : \u0027\u0027 $}\""},{"line_number":3,"context_line":"  ng-class\u003d\"actionClasses\""},{"line_number":4,"context_line":"  ng-click\u003d\"disabled || callback(item)\"\u003e"},{"line_number":5,"context_line":"\u003c/button\u003e"}],"source_content_type":"text/html","patch_set":2,"id":"9a80dd14_bddf00d5","line":2,"updated":"2015-03-09 20:45:57.000000000","message":"Is this a native bootstrap class, or something you have defined? I don\u0027t see a reference to action-button in scss.","commit_id":"a5d2dd53328ab2f7aa8a1738538768d5e6aef71c"},{"author":{"_account_id":13785,"name":"Kelly Domico","email":"kelly.domico@hp.com","username":"kdomico"},"change_message_id":"f8f7650849858d4ccd2af14329f215a2df79301e","unresolved":false,"context_lines":[{"line_number":1,"context_line":"\u003cbutton tabIndex\u003d\"0\""},{"line_number":2,"context_line":"  class\u003d\"action-button {$ disabled ? \u0027disabled\u0027 : \u0027\u0027 $}\""},{"line_number":3,"context_line":"  ng-class\u003d\"actionClasses\""},{"line_number":4,"context_line":"  ng-click\u003d\"disabled || callback(item)\"\u003e"},{"line_number":5,"context_line":"\u003c/button\u003e"}],"source_content_type":"text/html","patch_set":2,"id":"9a80dd14_73521968","line":2,"in_reply_to":"9a80dd14_bddf00d5","updated":"2015-03-09 21:22:53.000000000","message":"Done.","commit_id":"a5d2dd53328ab2f7aa8a1738538768d5e6aef71c"},{"author":{"_account_id":9576,"name":"Thai Tran","email":"tqtran@us.ibm.com","username":"tqtran"},"change_message_id":"72b0546ab041eacf6464724555fc25062caf2442","unresolved":false,"context_lines":[{"line_number":1,"context_line":"\u003cbutton tabIndex\u003d\"0\""},{"line_number":2,"context_line":"  class\u003d\"action-button {$ disabled ? \u0027disabled\u0027 : \u0027\u0027 $}\""},{"line_number":3,"context_line":"  ng-class\u003d\"actionClasses\""},{"line_number":4,"context_line":"  ng-click\u003d\"disabled || callback(item)\"\u003e"},{"line_number":5,"context_line":"\u003c/button\u003e"}],"source_content_type":"text/html","patch_set":2,"id":"9a80dd14_b04807b4","line":4,"updated":"2015-03-09 20:45:57.000000000","message":"why not use ng-disabled?","commit_id":"a5d2dd53328ab2f7aa8a1738538768d5e6aef71c"},{"author":{"_account_id":13785,"name":"Kelly Domico","email":"kelly.domico@hp.com","username":"kdomico"},"change_message_id":"f8f7650849858d4ccd2af14329f215a2df79301e","unresolved":false,"context_lines":[{"line_number":1,"context_line":"\u003cbutton tabIndex\u003d\"0\""},{"line_number":2,"context_line":"  class\u003d\"action-button {$ disabled ? \u0027disabled\u0027 : \u0027\u0027 $}\""},{"line_number":3,"context_line":"  ng-class\u003d\"actionClasses\""},{"line_number":4,"context_line":"  ng-click\u003d\"disabled || callback(item)\"\u003e"},{"line_number":5,"context_line":"\u003c/button\u003e"}],"source_content_type":"text/html","patch_set":2,"id":"9a80dd14_b3be51ac","line":4,"in_reply_to":"9a80dd14_b04807b4","updated":"2015-03-09 21:22:53.000000000","message":"Click events are blocked when the button is disabled. So, for the warning tooltip to show up on click, I had to use the Bootstrap \u0027disabled\u0027 class and not allow the callback to go through if disabled.","commit_id":"a5d2dd53328ab2f7aa8a1738538768d5e6aef71c"}]}
