)]}'
{"zaqar_ui/static/dashboard/project/queues/actions/list-message.controller.js":[{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"0365f926c7f13f547bd8c8b8650b9d68548374c6","unresolved":false,"context_lines":[{"line_number":42,"context_line":"    var ctrl \u003d this;"},{"line_number":43,"context_line":"    ctrl.queuesMap \u003d {};"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"    init();"},{"line_number":46,"context_line":"    initScope();"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"    //////////"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"    function initScope() {"},{"line_number":51,"context_line":"      zaqar.getMessages(queue).success(function (response) {"},{"line_number":52,"context_line":"        alert(\"OK\");"},{"line_number":53,"context_line":"      })"}],"source_content_type":"text/javascript","patch_set":3,"id":"bff0334d_f0d87353","line":50,"range":{"start_line":45,"start_character":0,"end_line":50,"end_character":26},"updated":"2017-04-12 06:22:04.000000000","message":"unnecessary","commit_id":"686ef164afb4a97ff8154ee13f855dc8a30c7618"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"0365f926c7f13f547bd8c8b8650b9d68548374c6","unresolved":false,"context_lines":[{"line_number":48,"context_line":"    //////////"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"    function initScope() {"},{"line_number":51,"context_line":"      zaqar.getMessages(queue).success(function (response) {"},{"line_number":52,"context_line":"        alert(\"OK\");"},{"line_number":53,"context_line":"      })"},{"line_number":54,"context_line":"    }"}],"source_content_type":"text/javascript","patch_set":3,"id":"bff0334d_501a7f16","line":51,"range":{"start_line":51,"start_character":24,"end_line":51,"end_character":29},"updated":"2017-04-12 06:22:04.000000000","message":"$scope.model.id\n\n\"queue\" is not defined. So you\u0027ve got javascript errors, I think.","commit_id":"686ef164afb4a97ff8154ee13f855dc8a30c7618"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"0365f926c7f13f547bd8c8b8650b9d68548374c6","unresolved":false,"context_lines":[{"line_number":51,"context_line":"      zaqar.getMessages(queue).success(function (response) {"},{"line_number":52,"context_line":"        alert(\"OK\");"},{"line_number":53,"context_line":"      })"},{"line_number":54,"context_line":"    }"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"    function init() {}"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"    //////////"},{"line_number":59,"context_line":""}],"source_content_type":"text/javascript","patch_set":3,"id":"bff0334d_d0db2f4c","line":56,"range":{"start_line":54,"start_character":0,"end_line":56,"end_character":22},"updated":"2017-04-12 06:22:04.000000000","message":"unnecessary","commit_id":"686ef164afb4a97ff8154ee13f855dc8a30c7618"}],"zaqar_ui/static/dashboard/project/queues/actions/list-message.service.js":[{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"acb666388d770282fc973d269ed38dffb9bf81c4","unresolved":false,"context_lines":[{"line_number":123,"context_line":"      return modal.open(config).then(submit);"},{"line_number":124,"context_line":"    }"},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"    function submit(context) {"},{"line_number":127,"context_line":"      var id \u003d context.model.id;"},{"line_number":128,"context_line":"      var name \u003d context.model.name;"},{"line_number":129,"context_line":"      delete context.model.id;"}],"source_content_type":"text/javascript","patch_set":3,"id":"dfeb2761_8cf4ddd0","line":126,"updated":"2017-04-04 04:09:02.000000000","message":"Instead of putting a \u0027submit\u0027 button, can I load the messages when open/load the form?","commit_id":"686ef164afb4a97ff8154ee13f855dc8a30c7618"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"cc604784666654391dcb18140e5f9900cd87ec91","unresolved":false,"context_lines":[{"line_number":123,"context_line":"      return modal.open(config).then(submit);"},{"line_number":124,"context_line":"    }"},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"    function submit(context) {"},{"line_number":127,"context_line":"      var id \u003d context.model.id;"},{"line_number":128,"context_line":"      var name \u003d context.model.name;"},{"line_number":129,"context_line":"      delete context.model.id;"}],"source_content_type":"text/javascript","patch_set":3,"id":"bff0334d_55aa7118","line":126,"in_reply_to":"dfeb2761_8cf4ddd0","updated":"2017-04-12 05:57:29.000000000","message":"We can load the current data when open dialog like following.\n\nhttps://github.com/openstack/zaqar-ui/blob/master/zaqar_ui/static/dashboard/admin/pools/actions/update.service.js#L68-L76\n\nIf we should not close this dialog by submit button, we can re-open this dialog like following.\n\nhttps://github.com/openstack/zun-ui/blob/master/zun_ui/static/dashboard/container/containers/operations/execute.service.js#L176-L178","commit_id":"686ef164afb4a97ff8154ee13f855dc8a30c7618"}],"zaqar_ui/static/dashboard/project/queues/actions/post-message.service.js":[{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"9c12b9934993251832aefddaf1fa33669439298c","unresolved":false,"context_lines":[{"line_number":75,"context_line":"            items: ["},{"line_number":76,"context_line":"              {"},{"line_number":77,"context_line":"                key: \u0027messages\u0027,"},{"line_number":78,"context_line":"                type: \u0027textarea\u0027"},{"line_number":79,"context_line":"              }"},{"line_number":80,"context_line":"            ]"},{"line_number":81,"context_line":"          },"}],"source_content_type":"text/javascript","patch_set":1,"id":"da36d5c6_91ac528d","line":78,"updated":"2017-02-27 03:03:35.000000000","message":"How can I set the height of the testarea? Thanks.","commit_id":"8113c1e5282f448ce86109bd02e9e98eafc39925"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"23b0cbbd0fc8aef236c606365d1769e1c0ec5d9e","unresolved":false,"context_lines":[{"line_number":75,"context_line":"            items: ["},{"line_number":76,"context_line":"              {"},{"line_number":77,"context_line":"                key: \u0027messages\u0027,"},{"line_number":78,"context_line":"                type: \u0027textarea\u0027"},{"line_number":79,"context_line":"              }"},{"line_number":80,"context_line":"            ]"},{"line_number":81,"context_line":"          },"}],"source_content_type":"text/javascript","patch_set":1,"id":"9a30ddce_41cbd672","line":78,"in_reply_to":"da36d5c6_91ac528d","updated":"2017-03-07 03:18:26.000000000","message":"We can set it like following as style in zaqar_ui/static/dashboard/project/queues/queues.scss:\n\ntextarea#messages {\n  height: 25em;\n}","commit_id":"8113c1e5282f448ce86109bd02e9e98eafc39925"},{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"9c12b9934993251832aefddaf1fa33669439298c","unresolved":false,"context_lines":[{"line_number":133,"context_line":"      delete context.model.id;"},{"line_number":134,"context_line":"      delete context.model.name;"},{"line_number":135,"context_line":"      return zaqar.postMessages(id, context.model).then(function(response) {"},{"line_number":136,"context_line":"        toast.add(\u0027success\u0027, interpolate(message.success, [name]));"},{"line_number":137,"context_line":"      });"},{"line_number":138,"context_line":"    }"},{"line_number":139,"context_line":"  }"}],"source_content_type":"text/javascript","patch_set":1,"id":"da36d5c6_51cd7a64","line":136,"updated":"2017-02-27 03:03:35.000000000","message":"Similar question as I asked before? After post messages, how can I update the queue\u0027s row? Or I have to refresh the whole table?","commit_id":"8113c1e5282f448ce86109bd02e9e98eafc39925"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"23b0cbbd0fc8aef236c606365d1769e1c0ec5d9e","unresolved":false,"context_lines":[{"line_number":133,"context_line":"      delete context.model.id;"},{"line_number":134,"context_line":"      delete context.model.name;"},{"line_number":135,"context_line":"      return zaqar.postMessages(id, context.model).then(function(response) {"},{"line_number":136,"context_line":"        toast.add(\u0027success\u0027, interpolate(message.success, [name]));"},{"line_number":137,"context_line":"      });"},{"line_number":138,"context_line":"    }"},{"line_number":139,"context_line":"  }"}],"source_content_type":"text/javascript","patch_set":1,"id":"9a30ddce_06872f10","line":136,"in_reply_to":"da36d5c6_51cd7a64","updated":"2017-03-07 03:18:26.000000000","message":"before one is for only inside of drawer. please see http://paste.openstack.org/show/601686/","commit_id":"8113c1e5282f448ce86109bd02e9e98eafc39925"}],"zaqar_ui/static/dashboard/project/queues/table/message.html":[{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"c62c183d0b1c9ff0c4e82e7f0f053637421bc380","unresolved":false,"context_lines":[{"line_number":1,"context_line":""},{"line_number":2,"context_line":"\u003ctable class\u003d\"table tabler-inner\""},{"line_number":3,"context_line":"  ng-controller\u003d\"horizon.dashboard.project.queues.table.messageController as msgCtrl\"\u003e"},{"line_number":4,"context_line":"  \u003cthead\u003e"},{"line_number":5,"context_line":"    \u003ctr\u003e"}],"source_content_type":"text/html","patch_set":2,"id":"1a1ced50_b5f9ba82","line":2,"updated":"2017-03-20 22:16:55.000000000","message":"(Q): How can I show this table on the modal form of view messages? I\u0027m thinking on the modal form, there are a table and a \u0027poll\u0027 button, after click the poll button, it will call zaqar api to poll messages from the current queue and list the messages on the table. Messages table has 2 table actions: claim and delete. Does that make any sense? Thanks.","commit_id":"93bde75386d33a9219016f9b353615c9ef20e931"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"11dd2761ec8ef239cec7ba678fee96726961826b","unresolved":false,"context_lines":[{"line_number":1,"context_line":""},{"line_number":2,"context_line":"\u003ctable class\u003d\"table tabler-inner\""},{"line_number":3,"context_line":"  ng-controller\u003d\"horizon.dashboard.project.queues.table.messageController as msgCtrl\"\u003e"},{"line_number":4,"context_line":"  \u003cthead\u003e"},{"line_number":5,"context_line":"    \u003ctr\u003e"}],"source_content_type":"text/html","patch_set":2,"id":"1a1ced50_f4732b13","line":2,"in_reply_to":"1a1ced50_b5f9ba82","updated":"2017-03-21 06:07:13.000000000","message":"Does implementation like subscriptions table not make sence? It means adding messages table under subscriptions table and some actions for items.\n\nI couldn\u0027t find suitable samples for your idea. Some dialogs uses \"transfer-table\" directive, but it is for transferring rows between two tables. e.g. some steps in \"create instance\" dialog or \"manage policy\" dialog in Senlin-Dashboard https://github.com/openstack/senlin-dashboard/tree/master/senlin_dashboard/static/app/core/clusters/actions/manage-policy\nYou may refer transfer-table and be able to implement table as favorite, it may not be so easy.","commit_id":"93bde75386d33a9219016f9b353615c9ef20e931"},{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"ddcb7f686869b00de3e5a5209bdf85000d2a0789","unresolved":false,"context_lines":[{"line_number":1,"context_line":""},{"line_number":2,"context_line":"\u003ctable class\u003d\"table tabler-inner\""},{"line_number":3,"context_line":"  ng-controller\u003d\"horizon.dashboard.project.queues.table.messageController as msgCtrl\"\u003e"},{"line_number":4,"context_line":"  \u003cthead\u003e"},{"line_number":5,"context_line":"    \u003ctr\u003e"}],"source_content_type":"text/html","patch_set":2,"id":"1a1ced50_d69c4910","line":2,"in_reply_to":"1a1ced50_f4732b13","updated":"2017-03-21 23:13:09.000000000","message":"You can think the messages table is totally separated table, but we can get the queue name when click the \u0027View Messages\u0027 button of the queue. Then just like a normal table, loading data for it.\n\nUnfortunately, putting messages table under subscriptions table is not good idea. Because there could be a lot of messages. But if we can\u0027t work out above idea easily, we can use this way as a temporary solution.","commit_id":"93bde75386d33a9219016f9b353615c9ef20e931"}]}
