Friday, 2014-06-20

*** sjmc7 has quit IRC00:02
*** gokrokve has quit IRC01:22
*** TravT has quit IRC01:41
*** gokrokve has joined #murano01:47
*** sab has joined #murano04:13
*** sab has quit IRC04:14
*** openstackgerrit has quit IRC04:57
*** chandan_kumar has joined #murano05:40
*** gokrokve_ has joined #murano06:58
*** gokrokve has quit IRC07:02
*** stan_lagun has joined #murano08:07
*** slagun has quit IRC08:10
*** chandan_kumar has quit IRC09:09
*** katyafervent_awa is now known as katyafervent09:53
*** katyafervent is now known as katyafervent_awa10:35
*** stanlagun has joined #murano10:52
*** openstackgerrit has joined #murano10:55
*** katyafervent_awa is now known as katyafervent10:58
openstackgerritAnastasia Kuznetsova proposed a change to stackforge/murano-dashboard: Add Test package, remove uploading of extra apps  https://review.openstack.org/10084611:01
openstackgerritA change was merged to stackforge/murano: Change how actions are stored in Object Model  https://review.openstack.org/10119411:07
openstackgerritA change was merged to stackforge/murano: Support specifying ``sort_dir`` key in packages.search call  https://review.openstack.org/10028311:16
openstackgerritA change was merged to stackforge/murano-dashboard: Add 'Previous Page' button to the App Catalog page  https://review.openstack.org/10028411:22
*** asalkeld has quit IRC11:40
*** gokrokve_ has quit IRC11:54
openstackgerritSergey Kolekonov proposed a change to stackforge/murano-deployment: added new parameter for engine tests  https://review.openstack.org/10150612:09
*** gokrokve has joined #murano12:32
*** gokrokve has quit IRC12:37
openstackgerritRuslan Kamaldinov proposed a change to stackforge/murano: Added DB migrations on Alembic  https://review.openstack.org/9647113:30
ruhepatch-set #22. i hope this one will be merged :)13:31
*** gokrokve has joined #murano13:34
*** gokrokve has quit IRC13:39
stanlagunruhe, you missed one place :)13:39
stanlagunstatus.entity_id13:39
ruheok. i will calmly update my patch and will not smash my keyboard13:40
stanlagun:))13:40
stanlagunI don't know why this happens. I commented every single place in my first review13:41
*** iyozhikov is now known as IgorYozhikov13:53
*** gokrokve has joined #murano13:55
*** gokrokve has quit IRC14:00
openstackgerritRuslan Kamaldinov proposed a change to stackforge/murano: Added DB migrations on Alembic  https://review.openstack.org/9647114:01
*** gokrokve has joined #murano14:02
*** sjmc7 has joined #murano14:09
openstackgerritSteve McLellan proposed a change to stackforge/murano: Add 'userdata_format' to Server heat template  https://review.openstack.org/10034414:17
sjmc7can someone approve https://review.openstack.org/#/c/99757/ please?14:19
*** gokrokve has quit IRC14:38
stanlagunsjmc7, done14:49
sjmc7thanks14:50
*** stanlagun has quit IRC14:51
*** chandan_kumar has joined #murano14:55
sjmc7stanlagun, regarding the inheritance thing you commented on - how would an Application require a dependency on a class instance with the behavior of multiple subclasses?15:00
sjmc7e.g. a HeatSWConfigInstance and LinuxInstance ?15:00
sjmc7it feels like there should be a cleaner way to do this15:00
sjmc7mix-ins are the way python tackled this; would the same approach work here?15:02
sjmc7problem is, the subclasses are overriding behavior in most cases, not adding it15:05
openstackgerritA change was merged to stackforge/murano-dashboard: Make individual flavor filters optional  https://review.openstack.org/9975715:15
openstackgerritEkaterina Fedorova proposed a change to stackforge/murano-dashboard: Sync developer settings  https://review.openstack.org/10157815:21
openstackgerritEkaterina Fedorova proposed a change to stackforge/python-muranoclient: Add package-create command  https://review.openstack.org/9917715:29
openstackgerritEkaterina Fedorova proposed a change to stackforge/python-muranoclient: Infrastructure update  https://review.openstack.org/10095415:29
*** gokrokve has joined #murano15:41
*** TravT has joined #murano16:04
*** PierreRambaud has quit IRC16:05
tsufievsjmc7, he'll be in an hour or so16:10
sjmc7ok, np16:10
*** btully has joined #murano17:41
btullytsufiev: i just responded to your comments re bug #1328512 and code review https://review.openstack.org/#/c/99050/17:43
*** gokrokve_ has joined #murano18:49
*** gokrokve has quit IRC18:52
tsufievbtully, hi! i've seen your comment at https://review.openstack.org/#/c/99050/4/muranodashboard/templates/catalog/index.html19:44
tsufievi've realized that I don't know either why buttons became non-responsive in that case - in first patchset I used special style provided in html19:45
btullyk19:45
btullywhen you say unresponsive, do you mean they couldn't be clicked?19:45
tsufievyes19:46
tsufievunresponsive intentionally19:46
tsufievperhaps some of the classes you've assigned to div had the same meaning19:46
btullyi didn't change the button classes, no19:47
btullybuttons are the same19:47
btullyi didn't realize we had a function that intentionally makes the buttons unresponsive19:47
tsufievweird... I'll take another look in a couple of minutes and then we can discuss that issue in hangout19:48
btullydo you know where in the code the function is that enables the buttons?19:48
tsufievor here19:48
btullyi'm actually in a meeting right now unfortunately :(19:48
tsufievnp19:49
tsufievirc is ok19:49
tsufievhttps://review.openstack.org/#/c/99050/1/muranodashboard/templates/catalog/index.html so here the buttons became non-responsive because I'd covered them with transparent div19:51
tsufievhttps://review.openstack.org/#/c/99050/4/muranodashboard/templates/catalog/index.html now I'll try to find out what magic did disable buttons here :)19:52
btullyright you added the transparent div19:58
btullyi thought you meant that there was some other function that was making the buttons non-responsive19:58
btullybut just to take a step back19:58
btullyi thought the purpose of your work was to purposefully make the buttons non-responsive19:59
btullyi.e., don't allow a user to click before the page loads19:59
btullydue to someone at one time clicking a button before the page was fully loaded, and some error occurred20:00
btullycan you elaborate on that error? maybe i don't understand the purpose of what bug we are trying to fix20:00
btullyit almost sounds like we fixed one bug but created another?20:01
tsufievbtully, yes, the purpose of that commit was indeed to prevent user from clicking a button before a page is fully loaded20:07
tsufievi've did a little investigation...20:07
tsufiev1. .modal-backdrop class is doing almost the same thing as my div with hard-coded style20:08
tsufiev2. although some .modal-backdrop css-defined properties start working immediately, namely all mouse events interception, some others (like 0.8 alpha black color) are applied at the very end20:11
btullyright20:11
tsufievthey are applied at roughly the same time when the spinner is shown20:11
tsufievi suspect that this behaviour is not specified and depends on browser implementation20:12
btullyso what is it we want to do, remove the spinner?20:13
tsufievnow it seems like a challenge to me: to save the spinner and show it in the right time :)20:14
btullyor is the background that covers the buttons not loading fast enough?20:14
tsufievremoving the spinner is simply...20:15
btullythe spinner is font-awesome package which i think you guys added, right?20:15
btullyhowever it uses css3 animations to spin the icon20:16
btullyso maybe that's part of the problem?20:16
tsufievyes, it's ours20:16
tsufievperhaps it's 'fade in' alone...20:16
btullyright20:17
btullymaybe we remove fade in20:17
btullyand then the animation to fade in the background and spinner will hopefully not occur20:17
tsufievno, doesn't work :(20:18
tsufievopacity: 0.8 is applied both to .modal-backdrop alone and to .modal-backdrop.fade.in20:18
btullyis the opacity 0.8 an issue?20:18
tsufievi could only guess20:19
tsufievmaybe it's not20:19
btullyfor me, when i load the page, i barely see the background and spinner. it disappears almost immediately20:20
tsufievare you using development server in debug mode?20:20
btullyare you testing in some way that slows the browser down, and if so, how are you doing that?20:20
tsufievas I said, django dev-server, debug mode20:21
btullythe devstack server or my local running of murano and muranodashboard?20:21
tsufievalso, I'm using Linux inside VBox at home20:21
tsufievlocal one20:21
btullylet me check20:21
btullyin my murano.conf, debug and verbose are set to true20:22
btullyin local_settings.py for muranodashboard, debug is also set to true20:26
tsufievso, you're using debug mode20:26
*** gokrokve_ has quit IRC20:26
tsufievperhaps your hardware is more powerful, so the page is served faster than on my machine20:26
tsufievit seems like an interesting puzzle, solving it could advance us in understanding how browsers load&render page content - but unfortunately it will be of little use for the Murano UI as a whole :(20:28
sjmc7which page are you talking about?20:29
sjmc7the catalog page?20:29
tsufievi'll read some articles on the internet on how browsers do the rendering, but suspect the most practical solution here is to drop the spinner which appears to late20:29
tsufievsjmc7, yes20:29
sjmc7how many applications do you have?20:29
tsufievi have six on first page20:30
btullyi have 3 and only 1 page20:30
sjmc7i'm on a remote server with a few packages, but it takes almost no time. a second or less20:31
tsufievsjmc7, could you try this one https://review.openstack.org/#/c/99050/ - to see how late the spinner appears?20:32
tsufievthe idea was to make buttons not responsive (because pressing them until page is fully loaded causes an error) and show the spinner immediately20:33
sjmc7have people pressed the button before it's loaded?20:40
sjmc7what do other horizon dashboards do?20:41
tsufievyes, they pressed20:42
tsufievhm... you're asking the exact question i should had asked myself before doing the initial fix :-|20:43
tsufievfirst have to find dashboards with page structure similar to AppCatalog20:44
openstackgerritBrian Tully proposed a change to stackforge/murano-dashboard: Disable all buttons and links until AppCatalog page is loaded  https://review.openstack.org/9905020:50
tsufievI've tried to reproduce initial bug on Project->Images, 'Lauch' button, but failed20:51
btullytsufiev: can you try the patch i just committed to see if the spinner loads faster now?20:51
tsufievbtully, yes20:52
sjmc7which button(s) cause problems if they're hit too early?20:53
tsufievsjmc7, Add to Env and Quick deploy20:55
tsufievbtully, it looks good when switching from one panel to another and almost the same when doing hard reload20:56
*** gokrokve has joined #murano20:57
tsufievi think i should look into that issue with a clear head20:57
btullythe only other options i can think of would be to explicitly disable the buttons20:57
btullyactually i don't think they are buttons20:58
tsufievsjmc7, i suspect other standard dashboards don't have such problem with buttons because they load faster (no pictures, no special fonts)20:58
*** gokrokve_ has joined #murano20:59
btullyyeah they are not buttons, they are links20:59
sjmc7what's not getting loaded fast enough?20:59
tsufievso, it's virtually impossible to press the button before page is loaded - because they loaded just a nano-second before loading is complete20:59
tsufievperhaps, it's App logos21:00
btullywhich is what we want, right?21:00
sjmc7i don't understand why slow images would make buttons not work21:01
btullythe problem is not that the buttons don't work21:01
*** gokrokve has quit IRC21:02
*** gokrokve_ has quit IRC21:04
tsufievsjmc7, the bug happens for sure, ativelkov could confirm that. it occurs when the button (link rendered as button) is pressed, the required action is to draw modal form, but the java-script for handling modals is not yet loaded, so the wrong template is rendered21:16
sjmc7nova must have the same problem21:17
tsufievanother way to solve it - is to provide another 'Add App' wizard template, for non-modal (non-ajax) requests21:18
tsufievbut it would look ugly21:18
sjmc7what i am really getting at is - this seems like it should be something that has already been solved21:18
sjmc7and also something that would very rarely affect real users21:19
sjmc7since the javascript is tiny and cached21:19
tsufievsecond point is definitely right21:19
tsufievbut because of this it may not be solved at all :)21:20
sjmc7what's the error that happens?21:20
tsufievanyways, I'll look search for horizon LP for that kind of bug21:20
tsufievTemplateNotFound21:20
sjmc7could we make the error nicer, if fixing it properly is very hard?21:21
sjmc7"An error occurred because the page was slow to load - please try again" ?21:21
tsufievsimplest way is to prevent clicking the buttons for a little while21:21
tsufievIMHO21:21
tsufievit would be less irritating21:22
sjmc7it'll be super irritating when i'm testing and can't click :)21:22
tsufievhm... maybe we are irritated by different things :)21:23
btullyright but if we prevent clicking, we should visually indicate that, which was what I was attempting to do21:25
btullyotherwise yes, very annoying if i see a button and keep clicking on it while nothing happens21:25
btullytsufiev: on your dev server, do you not have js aggregated?21:26
tsufievbtully, no21:26
tsufievI need to check whether js was packed on ativelkov machine who initially filed that bug on Safari21:27
btullyso it sounds like a performance issue. maybe assets are being blocked due to non-aggregation21:28
tsufievperhaps21:28
btullyand because js is taking long to load, the modal system isn't fully initialized21:28
btullylike you mentioned above21:29
tsufievyep21:29
btullyso even a JS solution wouldn't be helpful21:29
tsufievwill check on monday21:30
* tsufiev leaves to sleep21:30
btullyso one way might be to explicity hide (or make invisible) the quick eploy and add to env buttons via css21:31
btullyand then unhide them with js21:31
btullybut kind of a wonky experience21:31
btullythere's also a css "pointer-events" attribute that you can set to none, which prevents clicking, but it's not 100% supported in all browsers yet21:33
btullybut given how much Horizon appears to use the modal system, i'm surprised this bug hasn't come up before21:34
btullyi'll stop talking to myself now :)21:36
btullyhave a great weekend21:37
*** btully has quit IRC21:37
sjmc7you too21:37
*** gokrokve has joined #murano21:39
*** sjmc7 has quit IRC22:53
*** TravT has quit IRC23:36
*** gokrokve has quit IRC23:50

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