)]}'
{"horizon/base.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"e9998810c623619b81be347adc31a37201a433b0","unresolved":false,"context_lines":[{"line_number":1031,"context_line":""},{"line_number":1032,"context_line":"        Add URL, dashboard and panel for ngdetails view."},{"line_number":1033,"context_line":"        This enables reload ngdetails view."},{"line_number":1034,"context_line":"        Dashboard and panel are required on setting current navigation"},{"line_number":1035,"context_line":"        and breadcrumb in each HTTP request."},{"line_number":1036,"context_line":"        \"\"\""},{"line_number":1037,"context_line":"        if hasattr(panel, \u0027resource_types\u0027):"},{"line_number":1038,"context_line":"            urlpatterns \u003d self._get_default_urlpatterns()"}],"source_content_type":"text/x-python","patch_set":2,"id":"bf3e73b7_acf7e7f5","line":1035,"range":{"start_line":1034,"start_character":8,"end_line":1035,"end_character":44},"updated":"2017-08-07 12:16:59.000000000","message":"Is this still correct?","commit_id":"8c9e6362d693ff93719bf83e5e48d796b7a4c229"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"a0d5be8126144f38357b154c6e52e655247cefe3","unresolved":false,"context_lines":[{"line_number":1031,"context_line":""},{"line_number":1032,"context_line":"        Add URL, dashboard and panel for ngdetails view."},{"line_number":1033,"context_line":"        This enables reload ngdetails view."},{"line_number":1034,"context_line":"        Dashboard and panel are required on setting current navigation"},{"line_number":1035,"context_line":"        and breadcrumb in each HTTP request."},{"line_number":1036,"context_line":"        \"\"\""},{"line_number":1037,"context_line":"        if hasattr(panel, \u0027resource_types\u0027):"},{"line_number":1038,"context_line":"            urlpatterns \u003d self._get_default_urlpatterns()"}],"source_content_type":"text/x-python","patch_set":2,"id":"9f436f4f_f220464c","line":1035,"range":{"start_line":1034,"start_character":8,"end_line":1035,"end_character":44},"in_reply_to":"bf3e73b7_acf7e7f5","updated":"2017-08-08 02:52:49.000000000","message":"Yes. Every panel has navigation and breadcrumb. But this description should be modified to \"request to the panel.\". Thanks!","commit_id":"8c9e6362d693ff93719bf83e5e48d796b7a4c229"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"e9998810c623619b81be347adc31a37201a433b0","unresolved":false,"context_lines":[{"line_number":1038,"context_line":"            urlpatterns \u003d self._get_default_urlpatterns()"},{"line_number":1039,"context_line":"            views \u003d import_module(\u0027horizon.browsers.views\u0027)"},{"line_number":1040,"context_line":"            for resource_type in panel.resource_types:"},{"line_number":1041,"context_line":"                try:"},{"line_number":1042,"context_line":"                    urlpatterns.append("},{"line_number":1043,"context_line":"                        url(r\u0027^ngdetails/%s/[^/]+\u0027 % resource_type,"},{"line_number":1044,"context_line":"                            views.AngularDetailsView.as_view(),"}],"source_content_type":"text/x-python","patch_set":2,"id":"bf3e73b7_cca46b0b","line":1041,"updated":"2017-08-07 12:16:59.000000000","message":"Could you check a requested resource_type is always registered?","commit_id":"8c9e6362d693ff93719bf83e5e48d796b7a4c229"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"a0d5be8126144f38357b154c6e52e655247cefe3","unresolved":false,"context_lines":[{"line_number":1038,"context_line":"            urlpatterns \u003d self._get_default_urlpatterns()"},{"line_number":1039,"context_line":"            views \u003d import_module(\u0027horizon.browsers.views\u0027)"},{"line_number":1040,"context_line":"            for resource_type in panel.resource_types:"},{"line_number":1041,"context_line":"                try:"},{"line_number":1042,"context_line":"                    urlpatterns.append("},{"line_number":1043,"context_line":"                        url(r\u0027^ngdetails/%s/[^/]+\u0027 % resource_type,"},{"line_number":1044,"context_line":"                            views.AngularDetailsView.as_view(),"}],"source_content_type":"text/x-python","patch_set":2,"id":"9f436f4f_92efbaaf","line":1041,"in_reply_to":"bf3e73b7_cca46b0b","updated":"2017-08-08 02:52:49.000000000","message":"You seem to mean \"already\". Done.","commit_id":"8c9e6362d693ff93719bf83e5e48d796b7a4c229"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"e9998810c623619b81be347adc31a37201a433b0","unresolved":false,"context_lines":[{"line_number":1047,"context_line":"                    self.details[resource_type] \u003d {\u0027dashboard\u0027: dashboard,"},{"line_number":1048,"context_line":"                                                   \u0027panel\u0027: panel.slug}"},{"line_number":1049,"context_line":"                except Exception as e:"},{"line_number":1050,"context_line":"                    LOG.warning(\u0027Could not add %(details) to %(panel)s on \u0027"},{"line_number":1051,"context_line":"                                \u0027%(dashboard)s: %(exc)s\u0027,"},{"line_number":1052,"context_line":"                                {\u0027dashboard\u0027: dashboard, \u0027panel\u0027: panel.slug,"},{"line_number":1053,"context_line":"                                 \u0027resource_type\u0027: resource_type, \u0027exc\u0027: e})"}],"source_content_type":"text/x-python","patch_set":2,"id":"bf3e73b7_ac74879a","line":1050,"range":{"start_line":1050,"start_character":20,"end_line":1050,"end_character":32},"updated":"2017-08-07 12:16:59.000000000","message":"Isn\u0027t it an error?","commit_id":"8c9e6362d693ff93719bf83e5e48d796b7a4c229"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"a0d5be8126144f38357b154c6e52e655247cefe3","unresolved":false,"context_lines":[{"line_number":1047,"context_line":"                    self.details[resource_type] \u003d {\u0027dashboard\u0027: dashboard,"},{"line_number":1048,"context_line":"                                                   \u0027panel\u0027: panel.slug}"},{"line_number":1049,"context_line":"                except Exception as e:"},{"line_number":1050,"context_line":"                    LOG.warning(\u0027Could not add %(details) to %(panel)s on \u0027"},{"line_number":1051,"context_line":"                                \u0027%(dashboard)s: %(exc)s\u0027,"},{"line_number":1052,"context_line":"                                {\u0027dashboard\u0027: dashboard, \u0027panel\u0027: panel.slug,"},{"line_number":1053,"context_line":"                                 \u0027resource_type\u0027: resource_type, \u0027exc\u0027: e})"}],"source_content_type":"text/x-python","patch_set":2,"id":"9f436f4f_b29d1e68","line":1050,"range":{"start_line":1050,"start_character":20,"end_line":1050,"end_character":32},"in_reply_to":"bf3e73b7_ac74879a","updated":"2017-08-08 02:52:49.000000000","message":"This exception does not stop behavior other than refreshing. So this is following L992 or L1025.","commit_id":"8c9e6362d693ff93719bf83e5e48d796b7a4c229"}],"horizon/browsers/views.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"e9998810c623619b81be347adc31a37201a433b0","unresolved":false,"context_lines":[{"line_number":95,"context_line":""},{"line_number":96,"context_line":"    def get_context_data(self, **kwargs):"},{"line_number":97,"context_line":"        context \u003d super(AngularDetailsView, self).get_context_data(**kwargs)"},{"line_number":98,"context_line":"        resource_path \u003d self.request.path.partition(\u0027/ngdetails/\u0027)[2]"},{"line_number":99,"context_line":"        resource_type \u003d resource_path.split(\u0027/\u0027)[0]"},{"line_number":100,"context_line":"        dashboard, panel \u003d horizon.get_details_path(resource_type)"},{"line_number":101,"context_line":"        self.request.horizon[\u0027dashboard\u0027] \u003d dashboard"}],"source_content_type":"text/x-python","patch_set":2,"id":"bf3e73b7_cc590bff","line":98,"range":{"start_line":98,"start_character":24,"end_line":98,"end_character":69},"updated":"2017-08-07 12:16:59.000000000","message":"Note: r\u0027^ngdetails/%s/[^/]+\u0027 is registered and \u0027ngdetails/%s\u0027 is not registered, so this works correctly.","commit_id":"8c9e6362d693ff93719bf83e5e48d796b7a4c229"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"a0d5be8126144f38357b154c6e52e655247cefe3","unresolved":false,"context_lines":[{"line_number":95,"context_line":""},{"line_number":96,"context_line":"    def get_context_data(self, **kwargs):"},{"line_number":97,"context_line":"        context \u003d super(AngularDetailsView, self).get_context_data(**kwargs)"},{"line_number":98,"context_line":"        resource_path \u003d self.request.path.partition(\u0027/ngdetails/\u0027)[2]"},{"line_number":99,"context_line":"        resource_type \u003d resource_path.split(\u0027/\u0027)[0]"},{"line_number":100,"context_line":"        dashboard, panel \u003d horizon.get_details_path(resource_type)"},{"line_number":101,"context_line":"        self.request.horizon[\u0027dashboard\u0027] \u003d dashboard"}],"source_content_type":"text/x-python","patch_set":2,"id":"9f436f4f_d209c231","line":98,"range":{"start_line":98,"start_character":24,"end_line":98,"end_character":69},"in_reply_to":"bf3e73b7_cc590bff","updated":"2017-08-08 02:52:49.000000000","message":"Add comments. Done.","commit_id":"8c9e6362d693ff93719bf83e5e48d796b7a4c229"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"e9998810c623619b81be347adc31a37201a433b0","unresolved":false,"context_lines":[{"line_number":96,"context_line":"    def get_context_data(self, **kwargs):"},{"line_number":97,"context_line":"        context \u003d super(AngularDetailsView, self).get_context_data(**kwargs)"},{"line_number":98,"context_line":"        resource_path \u003d self.request.path.partition(\u0027/ngdetails/\u0027)[2]"},{"line_number":99,"context_line":"        resource_type \u003d resource_path.split(\u0027/\u0027)[0]"},{"line_number":100,"context_line":"        dashboard, panel \u003d horizon.get_details_path(resource_type)"},{"line_number":101,"context_line":"        self.request.horizon[\u0027dashboard\u0027] \u003d dashboard"},{"line_number":102,"context_line":"        self.request.horizon[\u0027panel\u0027] \u003d panel"}],"source_content_type":"text/x-python","patch_set":2,"id":"bf3e73b7_2cbc1704","line":99,"range":{"start_line":99,"start_character":8,"end_line":99,"end_character":51},"updated":"2017-08-07 12:16:59.000000000","message":"why is this needed? Is it just to strip a trailing slash? If so, use rstrip() instead.","commit_id":"8c9e6362d693ff93719bf83e5e48d796b7a4c229"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"a0d5be8126144f38357b154c6e52e655247cefe3","unresolved":false,"context_lines":[{"line_number":96,"context_line":"    def get_context_data(self, **kwargs):"},{"line_number":97,"context_line":"        context \u003d super(AngularDetailsView, self).get_context_data(**kwargs)"},{"line_number":98,"context_line":"        resource_path \u003d self.request.path.partition(\u0027/ngdetails/\u0027)[2]"},{"line_number":99,"context_line":"        resource_type \u003d resource_path.split(\u0027/\u0027)[0]"},{"line_number":100,"context_line":"        dashboard, panel \u003d horizon.get_details_path(resource_type)"},{"line_number":101,"context_line":"        self.request.horizon[\u0027dashboard\u0027] \u003d dashboard"},{"line_number":102,"context_line":"        self.request.horizon[\u0027panel\u0027] \u003d panel"}],"source_content_type":"text/x-python","patch_set":2,"id":"9f436f4f_b2063e20","line":99,"range":{"start_line":99,"start_character":8,"end_line":99,"end_character":51},"in_reply_to":"bf3e73b7_2cbc1704","updated":"2017-08-08 02:52:49.000000000","message":"resource_path will be \u0027[resource_type]/[identyfier]\u0027. so we need to use split.","commit_id":"8c9e6362d693ff93719bf83e5e48d796b7a4c229"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"2c29a8e82cfb285bf2be297984bd7d4ea9642d86","unresolved":false,"context_lines":[{"line_number":96,"context_line":"    def get_context_data(self, **kwargs):"},{"line_number":97,"context_line":"        context \u003d super(AngularDetailsView, self).get_context_data(**kwargs)"},{"line_number":98,"context_line":"        # set flag that means routed by django"},{"line_number":99,"context_line":"        context[\u0027ngDetailsRoutedByDjango\u0027] \u003d \u0027yes\u0027"},{"line_number":100,"context_line":"        # set default dashboard and panel"},{"line_number":101,"context_line":"        dashboard \u003d horizon.get_default_dashboard()"},{"line_number":102,"context_line":"        self.request.horizon[\u0027dashboard\u0027] \u003d dashboard"}],"source_content_type":"text/x-python","patch_set":14,"id":"ff82abbf_9789ec75","line":99,"range":{"start_line":99,"start_character":45,"end_line":99,"end_character":50},"updated":"2017-11-29 21:07:40.000000000","message":"As Python, True/False would be better.","commit_id":"c6a1080089ca97f71ed1b6379936c6d758b2b664"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"2c29a8e82cfb285bf2be297984bd7d4ea9642d86","unresolved":false,"context_lines":[{"line_number":96,"context_line":"    def get_context_data(self, **kwargs):"},{"line_number":97,"context_line":"        context \u003d super(AngularDetailsView, self).get_context_data(**kwargs)"},{"line_number":98,"context_line":"        # set flag that means routed by django"},{"line_number":99,"context_line":"        context[\u0027ngDetailsRoutedByDjango\u0027] \u003d \u0027yes\u0027"},{"line_number":100,"context_line":"        # set default dashboard and panel"},{"line_number":101,"context_line":"        dashboard \u003d horizon.get_default_dashboard()"},{"line_number":102,"context_line":"        self.request.horizon[\u0027dashboard\u0027] \u003d dashboard"}],"source_content_type":"text/x-python","patch_set":14,"id":"ff82abbf_f79958c3","line":99,"range":{"start_line":99,"start_character":17,"end_line":99,"end_character":40},"updated":"2017-11-29 21:07:40.000000000","message":"In the python side, we usually use underscore as a delimiter.\n\n ngdetails_routed_by_django","commit_id":"c6a1080089ca97f71ed1b6379936c6d758b2b664"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"0a15e4f6f80d9b8ff26a724aa4ae43b990e363ce","unresolved":false,"context_lines":[{"line_number":96,"context_line":"    def get_context_data(self, **kwargs):"},{"line_number":97,"context_line":"        context \u003d super(AngularDetailsView, self).get_context_data(**kwargs)"},{"line_number":98,"context_line":"        # set flag that means routed by django"},{"line_number":99,"context_line":"        context[\u0027ngDetailsRoutedByDjango\u0027] \u003d \u0027yes\u0027"},{"line_number":100,"context_line":"        # set default dashboard and panel"},{"line_number":101,"context_line":"        dashboard \u003d horizon.get_default_dashboard()"},{"line_number":102,"context_line":"        self.request.horizon[\u0027dashboard\u0027] \u003d dashboard"}],"source_content_type":"text/x-python","patch_set":14,"id":"ff82abbf_e5e3d303","line":99,"range":{"start_line":99,"start_character":45,"end_line":99,"end_character":50},"in_reply_to":"ff82abbf_9789ec75","updated":"2017-12-22 08:47:57.000000000","message":"Done","commit_id":"c6a1080089ca97f71ed1b6379936c6d758b2b664"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"0a15e4f6f80d9b8ff26a724aa4ae43b990e363ce","unresolved":false,"context_lines":[{"line_number":96,"context_line":"    def get_context_data(self, **kwargs):"},{"line_number":97,"context_line":"        context \u003d super(AngularDetailsView, self).get_context_data(**kwargs)"},{"line_number":98,"context_line":"        # set flag that means routed by django"},{"line_number":99,"context_line":"        context[\u0027ngDetailsRoutedByDjango\u0027] \u003d \u0027yes\u0027"},{"line_number":100,"context_line":"        # set default dashboard and panel"},{"line_number":101,"context_line":"        dashboard \u003d horizon.get_default_dashboard()"},{"line_number":102,"context_line":"        self.request.horizon[\u0027dashboard\u0027] \u003d dashboard"}],"source_content_type":"text/x-python","patch_set":14,"id":"ff82abbf_85ee87ea","line":99,"range":{"start_line":99,"start_character":17,"end_line":99,"end_character":40},"in_reply_to":"ff82abbf_f79958c3","updated":"2017-12-22 08:47:57.000000000","message":"Done","commit_id":"c6a1080089ca97f71ed1b6379936c6d758b2b664"}],"horizon/static/framework/util/navigations/navigations.service.js":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"2c29a8e82cfb285bf2be297984bd7d4ea9642d86","unresolved":false,"context_lines":[{"line_number":90,"context_line":""},{"line_number":91,"context_line":"    /* set breadcrumb items by array. The last item will be set as active */"},{"line_number":92,"context_line":"    function setBreadcrumb(items) {"},{"line_number":93,"context_line":"      // get breadcrumb"},{"line_number":94,"context_line":"      var breadcrumb \u003d angular.element(\"div.page-breadcrumb ol.breadcrumb\");"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"      // remove all items"}],"source_content_type":"text/javascript","patch_set":14,"id":"ff82abbf_575b64f4","line":93,"range":{"start_line":93,"start_character":6,"end_line":93,"end_character":23},"updated":"2017-11-29 21:07:40.000000000","message":"Comments in this functions looks unnecessary as they are apparent.","commit_id":"c6a1080089ca97f71ed1b6379936c6d758b2b664"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"0a15e4f6f80d9b8ff26a724aa4ae43b990e363ce","unresolved":false,"context_lines":[{"line_number":90,"context_line":""},{"line_number":91,"context_line":"    /* set breadcrumb items by array. The last item will be set as active */"},{"line_number":92,"context_line":"    function setBreadcrumb(items) {"},{"line_number":93,"context_line":"      // get breadcrumb"},{"line_number":94,"context_line":"      var breadcrumb \u003d angular.element(\"div.page-breadcrumb ol.breadcrumb\");"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"      // remove all items"}],"source_content_type":"text/javascript","patch_set":14,"id":"ff82abbf_c599efc3","line":93,"range":{"start_line":93,"start_character":6,"end_line":93,"end_character":23},"in_reply_to":"ff82abbf_575b64f4","updated":"2017-12-22 08:47:57.000000000","message":"Done","commit_id":"c6a1080089ca97f71ed1b6379936c6d758b2b664"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"2c29a8e82cfb285bf2be297984bd7d4ea9642d86","unresolved":false,"context_lines":[{"line_number":97,"context_line":"      breadcrumb.empty();"},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"      // add items"},{"line_number":100,"context_line":"      items.forEach(addItem);"},{"line_number":101,"context_line":"      function addItem (item, index, array) {"},{"line_number":102,"context_line":"        var newItem \u003d angular.element(\"\u003cli\u003e\").addClass(\"breadcrumb-item-truncate\");"},{"line_number":103,"context_line":"        if (array.length - 1 \u003d\u003d\u003d index) {"}],"source_content_type":"text/javascript","patch_set":14,"id":"ff82abbf_770788cb","line":100,"updated":"2017-11-29 21:07:40.000000000","message":"How about moving this after \u0027function addItem\u0027?","commit_id":"c6a1080089ca97f71ed1b6379936c6d758b2b664"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"0a15e4f6f80d9b8ff26a724aa4ae43b990e363ce","unresolved":false,"context_lines":[{"line_number":97,"context_line":"      breadcrumb.empty();"},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"      // add items"},{"line_number":100,"context_line":"      items.forEach(addItem);"},{"line_number":101,"context_line":"      function addItem (item, index, array) {"},{"line_number":102,"context_line":"        var newItem \u003d angular.element(\"\u003cli\u003e\").addClass(\"breadcrumb-item-truncate\");"},{"line_number":103,"context_line":"        if (array.length - 1 \u003d\u003d\u003d index) {"}],"source_content_type":"text/javascript","patch_set":14,"id":"ff82abbf_0526f768","line":100,"in_reply_to":"ff82abbf_770788cb","updated":"2017-12-22 08:47:57.000000000","message":"It\u0027s not good for readability. But addItem is unnecessary to be defined. It\u0027s enough to be a nameless function.","commit_id":"c6a1080089ca97f71ed1b6379936c6d758b2b664"}],"horizon/static/framework/widgets/details/routed-details-view.controller.js":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"2c29a8e82cfb285bf2be297984bd7d4ea9642d86","unresolved":false,"context_lines":[{"line_number":54,"context_line":"    function checkRoutedByDjango(resourceType) {"},{"line_number":55,"context_line":"      // get flag that means routed once by django."},{"line_number":56,"context_line":"      var routedByDjango \u003d angular.element(\"ngdetails\").attr(\"routed-by-django\");"},{"line_number":57,"context_line":"      if (routedByDjango !\u003d\u003d \u0027\u0027) {"},{"line_number":58,"context_line":"        // If django routed to ngdetails view, navigations (i.e. side bar and"},{"line_number":59,"context_line":"        // breadcrumbs) are set as default dashboard and panel by django side"},{"line_number":60,"context_line":"        // AngularDetailsView."}],"source_content_type":"text/javascript","patch_set":14,"id":"ff82abbf_17cddc83","line":57,"range":{"start_line":57,"start_character":10,"end_line":57,"end_character":31},"updated":"2017-11-29 21:07:40.000000000","message":"I think it is better to compare the variable to \u0027yes\u0027.\nThe current logic returns True if the value is \u0027no\u0027 :-(","commit_id":"c6a1080089ca97f71ed1b6379936c6d758b2b664"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"0a15e4f6f80d9b8ff26a724aa4ae43b990e363ce","unresolved":false,"context_lines":[{"line_number":54,"context_line":"    function checkRoutedByDjango(resourceType) {"},{"line_number":55,"context_line":"      // get flag that means routed once by django."},{"line_number":56,"context_line":"      var routedByDjango \u003d angular.element(\"ngdetails\").attr(\"routed-by-django\");"},{"line_number":57,"context_line":"      if (routedByDjango !\u003d\u003d \u0027\u0027) {"},{"line_number":58,"context_line":"        // If django routed to ngdetails view, navigations (i.e. side bar and"},{"line_number":59,"context_line":"        // breadcrumbs) are set as default dashboard and panel by django side"},{"line_number":60,"context_line":"        // AngularDetailsView."}],"source_content_type":"text/javascript","patch_set":14,"id":"ff82abbf_6594a337","line":57,"range":{"start_line":57,"start_character":10,"end_line":57,"end_character":31},"in_reply_to":"ff82abbf_17cddc83","updated":"2017-12-22 08:47:57.000000000","message":"Done","commit_id":"c6a1080089ca97f71ed1b6379936c6d758b2b664"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"2c29a8e82cfb285bf2be297984bd7d4ea9642d86","unresolved":false,"context_lines":[{"line_number":69,"context_line":"        navigationsService.setBreadcrumb(labels);"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"        // clear flag"},{"line_number":72,"context_line":"        angular.element(\"ngdetails\").attr(\"routed-by-django\", \"\");"},{"line_number":73,"context_line":"      }"},{"line_number":74,"context_line":"    }"},{"line_number":75,"context_line":""}],"source_content_type":"text/javascript","patch_set":14,"id":"ff82abbf_5785a405","line":72,"range":{"start_line":72,"start_character":62,"end_line":72,"end_character":64},"updated":"2017-11-29 21:07:40.000000000","message":"I think yes/no is straight-forward naming. Otherwise, dropping the attribute sounds more reasonable.","commit_id":"c6a1080089ca97f71ed1b6379936c6d758b2b664"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"0a15e4f6f80d9b8ff26a724aa4ae43b990e363ce","unresolved":false,"context_lines":[{"line_number":69,"context_line":"        navigationsService.setBreadcrumb(labels);"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"        // clear flag"},{"line_number":72,"context_line":"        angular.element(\"ngdetails\").attr(\"routed-by-django\", \"\");"},{"line_number":73,"context_line":"      }"},{"line_number":74,"context_line":"    }"},{"line_number":75,"context_line":""}],"source_content_type":"text/javascript","patch_set":14,"id":"ff82abbf_e5cd135d","line":72,"range":{"start_line":72,"start_character":62,"end_line":72,"end_character":64},"in_reply_to":"ff82abbf_5785a405","updated":"2017-12-22 08:47:57.000000000","message":"Done","commit_id":"c6a1080089ca97f71ed1b6379936c6d758b2b664"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"a55a7a3cfd5fa466564a05d578225e2d718c3fb3","unresolved":false,"context_lines":[{"line_number":52,"context_line":"    function checkRoutedByDjango(resourceType) {"},{"line_number":53,"context_line":"      // get flag that means routed once by django."},{"line_number":54,"context_line":"      var routedByDjango \u003d angular.element(\"ngdetails\").attr(\"routed-by-django\");"},{"line_number":55,"context_line":"      if (routedByDjango \u003d\u003d\u003d \"yes\") {"},{"line_number":56,"context_line":"        // If django routed to ngdetails view, navigations (i.e. side bar and"},{"line_number":57,"context_line":"        // breadcrumbs) are set as default dashboard and panel by django side"},{"line_number":58,"context_line":"        // AngularDetailsView."}],"source_content_type":"text/javascript","patch_set":16,"id":"3fa0c359_0fb835c6","line":55,"range":{"start_line":55,"start_character":30,"end_line":55,"end_character":33},"updated":"2018-02-06 01:35:29.000000000","message":"I had forgotten changing this to \"True\"","commit_id":"f00fe213a05ed1af4bb43c81f652c59f9dba00b3"}],"openstack_dashboard/dashboards/identity/static/dashboard/identity/domains/domains.module.js":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"2c29a8e82cfb285bf2be297984bd7d4ea9642d86","unresolved":false,"context_lines":[{"line_number":45,"context_line":"    registry.getResourceType(domainResourceType)"},{"line_number":46,"context_line":"      .setNames(gettext(\u0027Domain\u0027), gettext(\u0027Domains\u0027))"},{"line_number":47,"context_line":"      .setSummaryTemplateUrl(basePath + \u0027details/drawer.html\u0027)"},{"line_number":48,"context_line":"      .setDefaultIndexUrl(\u0027/identity/domains/\u0027)"},{"line_number":49,"context_line":"      .setProperties(domainProperties())"},{"line_number":50,"context_line":"      .setListFunction(domainService.listDomains)"},{"line_number":51,"context_line":"      .tableColumns"}],"source_content_type":"text/javascript","patch_set":14,"id":"ff82abbf_37b020dd","line":48,"range":{"start_line":48,"start_character":6,"end_line":48,"end_character":47},"updated":"2017-11-29 21:07:40.000000000","message":"Can\u0027t we get this from the pluggable panel definition?\nThis introduces hard-coding panel locations.\nIf we rearrange panels, we will forget to update this with higher rate perhaps.","commit_id":"c6a1080089ca97f71ed1b6379936c6d758b2b664"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"0a15e4f6f80d9b8ff26a724aa4ae43b990e363ce","unresolved":false,"context_lines":[{"line_number":45,"context_line":"    registry.getResourceType(domainResourceType)"},{"line_number":46,"context_line":"      .setNames(gettext(\u0027Domain\u0027), gettext(\u0027Domains\u0027))"},{"line_number":47,"context_line":"      .setSummaryTemplateUrl(basePath + \u0027details/drawer.html\u0027)"},{"line_number":48,"context_line":"      .setDefaultIndexUrl(\u0027/identity/domains/\u0027)"},{"line_number":49,"context_line":"      .setProperties(domainProperties())"},{"line_number":50,"context_line":"      .setListFunction(domainService.listDomains)"},{"line_number":51,"context_line":"      .tableColumns"}],"source_content_type":"text/javascript","patch_set":14,"id":"ff82abbf_e573d3e5","line":48,"range":{"start_line":48,"start_character":6,"end_line":48,"end_character":47},"in_reply_to":"ff82abbf_37b020dd","updated":"2017-12-22 08:47:57.000000000","message":"In the time to rearrange, we may touch this file, i.e. also other settings for registry service. np ;)","commit_id":"c6a1080089ca97f71ed1b6379936c6d758b2b664"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"db9a9e7c178840c8b5b95872afb33e5d085af5c9","unresolved":false,"context_lines":[{"line_number":45,"context_line":"    registry.getResourceType(domainResourceType)"},{"line_number":46,"context_line":"      .setNames(gettext(\u0027Domain\u0027), gettext(\u0027Domains\u0027))"},{"line_number":47,"context_line":"      .setSummaryTemplateUrl(basePath + \u0027details/drawer.html\u0027)"},{"line_number":48,"context_line":"      .setDefaultIndexUrl(\u0027/identity/domains/\u0027)"},{"line_number":49,"context_line":"      .setProperties(domainProperties())"},{"line_number":50,"context_line":"      .setListFunction(domainService.listDomains)"},{"line_number":51,"context_line":"      .tableColumns"}],"source_content_type":"text/javascript","patch_set":15,"id":"df87a7cf_aca1e648","line":48,"updated":"2017-12-15 10:05:26.000000000","message":"Doesn\u0027t it introduce another type of bug 1533910?","commit_id":"5bd833ce13e5c9eadb058081466c7e7d7864599f"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"0a15e4f6f80d9b8ff26a724aa4ae43b990e363ce","unresolved":false,"context_lines":[{"line_number":45,"context_line":"    registry.getResourceType(domainResourceType)"},{"line_number":46,"context_line":"      .setNames(gettext(\u0027Domain\u0027), gettext(\u0027Domains\u0027))"},{"line_number":47,"context_line":"      .setSummaryTemplateUrl(basePath + \u0027details/drawer.html\u0027)"},{"line_number":48,"context_line":"      .setDefaultIndexUrl(\u0027/identity/domains/\u0027)"},{"line_number":49,"context_line":"      .setProperties(domainProperties())"},{"line_number":50,"context_line":"      .setListFunction(domainService.listDomains)"},{"line_number":51,"context_line":"      .tableColumns"}],"source_content_type":"text/javascript","patch_set":15,"id":"bf8cb3f7_0eab4989","line":48,"in_reply_to":"df87a7cf_aca1e648","updated":"2017-12-22 08:47:57.000000000","message":"Originally Angularized panels has the issue. Like follow: https://github.com/openstack/horizon/blob/338dd392c5ffadfed3acf6eebdc26f444885c986/openstack_dashboard/static/app/core/flavors/flavors.module.js#L153\n\nWe need to consider about the problem not only for django-based panel also angular-based.","commit_id":"5bd833ce13e5c9eadb058081466c7e7d7864599f"}],"openstack_dashboard/static/app/core/images/images.service.js":[{"author":{"_account_id":8313,"name":"Lajos Katona","display_name":"lajoskatona","email":"katonalala@gmail.com","username":"elajkat","status":"Ericsson Software Technology"},"change_message_id":"c042579165ffe230928e4dedd0632b2ba859a158","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":18,"id":"1f9dbf25_d0ec4af5","updated":"2018-02-27 15:25:57.000000000","message":"Shu: I uploaded a similar patch for trunks to fix the navigations from admin/trunks:\nhttps://review.openstack.org/548317\n\nIf you prefer to add that to this patch feel free, I can abandon.","commit_id":"4fe47278bfc5bfa2e2079954b4547851c9112c7f"}],"openstack_dashboard/templates/angular.html":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"2c29a8e82cfb285bf2be297984bd7d4ea9642d86","unresolved":false,"context_lines":[{"line_number":11,"context_line":""},{"line_number":12,"context_line":"{% block main %}"},{"line_number":13,"context_line":"  \u003cdiv ng-view\u003e\u003c/div\u003e"},{"line_number":14,"context_line":"  \u003cngdetails routed-by-django\u003d\"{{ ngDetailsRoutedByDjango }}\"\u003e"},{"line_number":15,"context_line":"{% endblock %}"}],"source_content_type":"text/html","patch_set":14,"id":"ff82abbf_77eb0812","line":14,"range":{"start_line":14,"start_character":34,"end_line":14,"end_character":57},"updated":"2017-11-29 21:07:40.000000000","message":"If you want to have a string \u0027yes\u0027 or \u0027no\u0027. consider using a filter:\n\n  ngdetails_routed_by_django | yesno","commit_id":"c6a1080089ca97f71ed1b6379936c6d758b2b664"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"0a15e4f6f80d9b8ff26a724aa4ae43b990e363ce","unresolved":false,"context_lines":[{"line_number":11,"context_line":""},{"line_number":12,"context_line":"{% block main %}"},{"line_number":13,"context_line":"  \u003cdiv ng-view\u003e\u003c/div\u003e"},{"line_number":14,"context_line":"  \u003cngdetails routed-by-django\u003d\"{{ ngDetailsRoutedByDjango }}\"\u003e"},{"line_number":15,"context_line":"{% endblock %}"}],"source_content_type":"text/html","patch_set":14,"id":"ff82abbf_c5d1ef24","line":14,"range":{"start_line":14,"start_character":34,"end_line":14,"end_character":57},"in_reply_to":"ff82abbf_77eb0812","updated":"2017-12-22 08:47:57.000000000","message":"Done","commit_id":"c6a1080089ca97f71ed1b6379936c6d758b2b664"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"0c55473126f66227e098780fc5d8236ac6f905ff","unresolved":false,"context_lines":[{"line_number":11,"context_line":""},{"line_number":12,"context_line":"{% block main %}"},{"line_number":13,"context_line":"  \u003cdiv ng-view\u003e\u003c/div\u003e"},{"line_number":14,"context_line":"  \u003cngdetails routed-by-django\u003d\"{{ routed_by_django | yesno }}\"\u003e"},{"line_number":15,"context_line":"{% endblock %}"}],"source_content_type":"text/html","patch_set":15,"id":"df87a7cf_3d53413b","line":14,"range":{"start_line":14,"start_character":53,"end_line":14,"end_character":58},"updated":"2017-12-11 09:42:04.000000000","message":"I suggested to use yesno filter, but I noticed a problem.\nyesno filter supports I18n, so I am afraid yesno can return translated strings... Let\u0027s use a string literal again.","commit_id":"5bd833ce13e5c9eadb058081466c7e7d7864599f"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"0a15e4f6f80d9b8ff26a724aa4ae43b990e363ce","unresolved":false,"context_lines":[{"line_number":11,"context_line":""},{"line_number":12,"context_line":"{% block main %}"},{"line_number":13,"context_line":"  \u003cdiv ng-view\u003e\u003c/div\u003e"},{"line_number":14,"context_line":"  \u003cngdetails routed-by-django\u003d\"{{ routed_by_django | yesno }}\"\u003e"},{"line_number":15,"context_line":"{% endblock %}"}],"source_content_type":"text/html","patch_set":15,"id":"bf8cb3f7_4e3711b2","line":14,"range":{"start_line":14,"start_character":53,"end_line":14,"end_character":58},"in_reply_to":"df87a7cf_3d53413b","updated":"2017-12-22 08:47:57.000000000","message":"Done","commit_id":"5bd833ce13e5c9eadb058081466c7e7d7864599f"}],"releasenotes/notes/bug-1746706-8d2f982c514f22b1.yaml":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"b16732aa6ae89e43f05134be4463d8972e962165","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    [:bug:`1746706`] Fixed the navigation menu and breadcrumb list"},{"line_number":5,"context_line":"    do not reproduced properly when reloading or opening Angular-based"},{"line_number":6,"context_line":"    detail page directly."}],"source_content_type":"text/x-yaml","patch_set":19,"id":"bf659307_86738f4d","line":4,"updated":"2018-03-28 05:35:04.000000000","message":"Fixed -\u003e Fixed a bug","commit_id":"493adb2f5aa357364e1570b33e426ce0dbeaabe8"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"57fd1665a55091b859a13983920601b4921d06e7","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    [:bug:`1746706`] Fixed the navigation menu and breadcrumb list"},{"line_number":5,"context_line":"    do not reproduced properly when reloading or opening Angular-based"},{"line_number":6,"context_line":"    detail page directly."}],"source_content_type":"text/x-yaml","patch_set":19,"id":"bf659307_be32365d","line":4,"in_reply_to":"bf659307_86738f4d","updated":"2018-03-29 06:02:14.000000000","message":"Done","commit_id":"493adb2f5aa357364e1570b33e426ce0dbeaabe8"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"b16732aa6ae89e43f05134be4463d8972e962165","unresolved":false,"context_lines":[{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    [:bug:`1746706`] Fixed the navigation menu and breadcrumb list"},{"line_number":5,"context_line":"    do not reproduced properly when reloading or opening Angular-based"},{"line_number":6,"context_line":"    detail page directly."}],"source_content_type":"text/x-yaml","patch_set":19,"id":"bf659307_46933750","line":5,"range":{"start_line":5,"start_character":4,"end_line":5,"end_character":10},"updated":"2018-03-28 05:35:04.000000000","message":"do not -\u003e are not","commit_id":"493adb2f5aa357364e1570b33e426ce0dbeaabe8"},{"author":{"_account_id":16352,"name":"Shu Muto","email":"shu.mutow@gmail.com","username":"shu.mutow"},"change_message_id":"57fd1665a55091b859a13983920601b4921d06e7","unresolved":false,"context_lines":[{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    [:bug:`1746706`] Fixed the navigation menu and breadcrumb list"},{"line_number":5,"context_line":"    do not reproduced properly when reloading or opening Angular-based"},{"line_number":6,"context_line":"    detail page directly."}],"source_content_type":"text/x-yaml","patch_set":19,"id":"bf659307_de37ea4c","line":5,"range":{"start_line":5,"start_character":4,"end_line":5,"end_character":10},"in_reply_to":"bf659307_46933750","updated":"2018-03-29 06:02:14.000000000","message":"Done","commit_id":"493adb2f5aa357364e1570b33e426ce0dbeaabe8"}]}
