Tuesday, 2014-08-05

*** openstack has joined #openstack-monasca16:17
*** openstackstatus has joined #openstack-monasca16:18
*** raymondr has quit IRC16:24
*** raymondr has joined #openstack-monasca16:25
*** raymondr has quit IRC16:30
*** ddieterly has quit IRC16:45
openstackgerritCindy O'Neill proposed a change to stackforge/monasca-ui: fix max size of autocomplete parameter  https://review.openstack.org/11209317:48
*** aviau has quit IRC17:53
*** theresa_ has joined #openstack-monasca18:05
*** raymondr_ has joined #openstack-monasca18:16
openstackgerritChristian Berendt proposed a change to stackforge/monasca-agent: Enable hacking check H233  https://review.openstack.org/11012618:22
cindyotongli: I’m having our UI expert take a look.  He is the one that implemented the angular JS.  I thought that is a mvc framework that horizon has accepted18:50
tongli@cindyo, horizon is using django framework.18:50
tongliI am pretty sure that the views should not mix with python code.18:51
cindyoyes django with client side angular JS.  We are doing both18:51
tongliI mean html code should not mix with python.18:51
tonglifrom the form.py, I see python and html code all mixed. the output is clearly html code. seems to me that should be in the view.18:53
cindyothis has been done in the custom widgets18:53
cindyoI didnt’ write them initially, so we’ll have rob take a look18:53
tongliok. please reply to the comment I put up, I probably just miss something here.18:54
cindyotongli: not sure, it is a valid point18:55
tonglicertainly.18:55
cindyotongli I am just helping on the ui, I am not a UI developer so not sure what is correct when working with django.18:56
tongli@cindyo, understood.18:57
cindyoraymondr_: is it bad practice to mix html in the custom widgets?  Should this be changed?  Please see https://review.openstack.org/#/c/112093/18:59
openstackgerritChristian Berendt proposed a change to stackforge/monasca-agent: Enable hacking check H234  https://review.openstack.org/11211319:00
raymondr_the alternative would be to move this html into a Django template.19:01
cindyoraymondr_: would that be the _create.html (etc) templates that we have provided?19:02
raymondr_Django's widgets generated HTML directly though https://github.com/django/django/blob/master/django/forms/forms.py19:06
raymondr_cindyo_: Django itself is an MVC toolkit using templates. In this case we would move the HTML to it's own template and then have the widget apply the template. But I would not recommend this in this cas.19:09
cindyoraymondr_: yeah seems to add another layer of complexity19:10
raymondr_let's move this discussion to review system19:11
cindyosounds good19:11
*** aviau has joined #openstack-monasca19:19
*** theresa_ has quit IRC19:25
*** aviau has quit IRC19:25
*** theresa_ has joined #openstack-monasca19:26
*** jodah has joined #openstack-monasca19:37
*** raymondr_ has quit IRC19:58
*** raymondr_ has joined #openstack-monasca20:01
*** openstackgerrit has quit IRC21:16
*** openstackgerrit has joined #openstack-monasca21:17
*** theresa_ has quit IRC21:43
*** jhalterm- has quit IRC22:12
*** jhalterman has joined #openstack-monasca22:14
*** jodah has quit IRC22:36
*** raymondr_ has quit IRC23:05
*** jodah has joined #openstack-monasca23:21
*** cindyo has quit IRC23:23
*** jodah has quit IRC23:31
*** theresa_ has joined #openstack-monasca23:31
*** th_ has joined #openstack-monasca23:34
*** theresa_ has quit IRC23:37

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!