2017-01-12 17:43:34 |
Travis Tripp |
description |
The angular registry allows you to create tabs dynamically by registering them [1]. This technique is used by the instances panel in the searchlight UI [2]. Sometime in Ocata it got broken and now tabs no longer show up in the instances panel in either default or material theme.
https://imgur.com/a/JIO3Z
[0] https://github.com/openstack/horizon/blob/2394397bfd258fe584cc565a924e4dd216f6b224/horizon/static/framework/conf/resource-type-registry.service.js#L84
[1] https://github.com/openstack/horizon/blob/2925562c1a3f0a9b3e2d55833691a7b0ad10eb2a/horizon/static/framework/widgets/details/details.directive.js#L28-L61
[2] https://github.com/openstack/searchlight-ui/blob/master/searchlight_ui/static/resources/os-nova-servers/details/details.module.js#L52-L72 |
The angular registry allows you to create tabs dynamically by registering them [0][1]. This technique is used by the instances panel in the searchlight UI [2]. Sometime in Ocata it got broken and now tabs no longer show up in the instances panel in either default or material theme.
https://imgur.com/a/JIO3Z
[0] https://github.com/openstack/horizon/blob/2394397bfd258fe584cc565a924e4dd216f6b224/horizon/static/framework/conf/resource-type-registry.service.js#L84
[1] https://github.com/openstack/horizon/blob/2925562c1a3f0a9b3e2d55833691a7b0ad10eb2a/horizon/static/framework/widgets/details/details.directive.js#L28-L61
[2] https://github.com/openstack/searchlight-ui/blob/master/searchlight_ui/static/resources/os-nova-servers/details/details.module.js#L52-L72 |
|