Thursday, 2016-06-16

*** openstack has joined #ara05:58
*** myoung|afk has joined #ara12:26
larsksdmsimard: I don't think it makes sense to display a count of hosts on the dashboard, since there's no way to accurately count them.  I think having that display on a playbook summary screen would make a lot of sense.12:55
larsks(# of hosts, # of tasks, maybe # of files involved?)12:55
dmsimardI'll put up a WIP to generate discussion today12:57
*** myoung|afk has quit IRC13:29
*** myoung|afk has joined #ara13:32
*** myoung|afk is now known as myoung13:49
dmsimardeh, pbr and it's magical things ..13:58
openstackgerritDavid Moreau Simard proposed openstack/ara: WIP: Interface facelift  https://review.openstack.org/33057614:03
dmsimardlarsks: ^ you should have the new UI built in the integration tests when they're done14:03
dmsimardI stress that it's mostly just for discussion at this point14:04
dmsimardI have no idea what to do for the home page/dashboard14:06
dmsimardbut you gave me the idea that four cards at the top of the dashboard could be a good fit at the top of the dashboard summary (hosts, plays, tasks, task results, duration)14:07
*** dotplus_ is now known as dotplus14:13
dmsimardlarsks: http://logs.openstack.org/76/330576/1/check/gate-ara-integration-centos-7/0105f5f/logs/build/14:31
* larsks looks...14:32
larsksKill the hosts count! With fire!14:32
dmsimardit's a placeholder lol14:33
dmsimardit's to help brainstorming !14:33
larsksI'm just not sure that anything but "number of playbooks" helps at the global level.  E.g., I'm not sure "total number of tasks, ever" is a useful number.14:33
dmsimardyeah, I think I'm trying too hard to come up with a dashboard-ish home page14:34
dmsimardand there's really not a lot of dashboard-ish worthy things14:34
larsksYou could, for the most recent N playbooks, display a summary count for hosts/tasks/etc?14:34
larsksAnd older playbooks would just be listed without that summary display...14:35
larsksHmm, never mind.14:35
larsksI guess we list that information for everything anyway.14:35
dmsimardyeah14:35
dmsimardI'm working on the playbook page now, drawing from the dashboard-ish approach I think it'll be better, showing you soon.14:36
larsksAwesome.14:36
openstackgerritDavid Moreau Simard proposed openstack/ara: WIP: Interface facelift  https://review.openstack.org/33057615:09
dmsimardlarsks: ^ has playbook page rework http://i.imgur.com/Zes2X4g.png15:10
larsksI like it.  I am not sure I like the centered headings, though; I think it makes them hard to spot.15:11
dmsimardI'm not sure about the start and end timestamps. I removed that table since the duration was now in the dashboard cards15:11
larsksI think that makes sense.15:11
larsksWe need a better ui for filtering by file, though.15:12
dmsimardone thing at a time15:12
dmsimard:P15:12
dmsimardBy the headings you mean like "statistics" "tasks" and such ?15:12
larsksI think maybe we need some javascript and a popup menu of files, so the list can be filtered dynamically on the page...15:12
larsksYeah, those headings.15:12
larsksI keep trying to scroll down on that image...15:13
* larsks has a hard time with *pictures* of interfaces.15:13
dmsimardlarsks: I played a bit with tooltips ( https://www.patternfly.org/pattern-library/widgets/#tooltip ) and popovers ( https://www.patternfly.org/pattern-library/widgets/#popover ) yesterday, there's definitely something to do with that15:14
dmsimardthose in-window popups, modals they're called, are actually easier than I thought, too. https://www.patternfly.org/pattern-library/widgets/#modal15:14
larsksCool.15:14
dmsimardlarsks: http://i.imgur.com/LLJ3Jm8.png better ? bold or no bold for the headers ?15:17
larsksI like that better.15:18
larsksMaybe the same thing for the playbook heading as well?  It looks weird with that centered and everything else not...15:18
larsksI know you like you're centering :)15:18
larsks*your15:18
larsksfingers.15:19
dmsimardlol15:19
dmsimardyeah sure I don't mind15:19
dmsimardokay, I'll try and come up with the same feel for the other pages15:24
*** openstackgerrit has quit IRC15:34
*** openstackgerrit has joined #ara15:34
*** myoung is now known as myoung|biab16:12
*** myoung|biab has quit IRC16:17
dmsimardlarsks: fyi as part of the interface lift I'm fixing a bug I found that was introduced when we added the file model16:54
dmsimardfile in the tables was often blank, that's because instead of task.path, it is now file.task.path16:55
dmsimardalmost ready to send another patchset in.16:56
dmsimardbrb16:56
dmsimardlarsks: I still don't know what to do with the home page though17:24
dmsimardwhy is this so hard? :p17:24
larsksRedirect to most recently playbook? :)17:24
dmsimardnot a bad idea17:24
dmsimardI'll leave that out of scope for the current commit17:25
dmsimardand leave the home page as-is17:25
larsksSounds fair.17:25
dmsimardi.e, scrap the dashboard and put back the explanations and stuff.17:25
larsksMaybe keep the list of playbooks?17:26
dmsimardI guess17:27
dmsimardlarsks: could do something like this for files: https://www.patternfly.org/pattern-library/widgets/#treegrid-table17:33
dmsimard(out of scope of current commit, though) :P17:33
larsksSure, yeah, that might be worth trying out.17:33
*** myoung|biab has joined #ara17:53
*** myoung|biab is now known as myoung17:54
dmsimardOh. I have an interesting middle ground for the file list. You'll like it.18:05
dmsimardhaha, oh shité18:08
dmsimardshit*18:08
dmsimardsorry18:08
dmsimardstupidly excited18:08
openstackgerritDavid Moreau Simard proposed openstack/ara: WIP: Interface facelift  https://review.openstack.org/33057618:10
dmsimardcome on jenkins, build it BUILD IT!18:10
dmsimardlarsks: IT'S ALIVE18:16
dmsimardbefore: http://logs.openstack.org/56/329256/2/gate/gate-ara-integration-centos-7/d099746/logs/build/18:16
* larsks runs and hides18:16
dmsimardafter: http://logs.openstack.org/76/330576/3/check/gate-ara-integration-centos-7/9b44719/logs/build/18:16
dmsimarddon't look at the dashboard, I didn't touch it18:16
dmsimardthe rest is awesome though18:16
dmsimardsurprise for you in the file list.18:16
larsksI am looking at http://logs.openstack.org/76/330576/3/check/gate-ara-integration-centos-7/9b44719/logs/build/playbook/0b4eb32b-6788-4460-9d04-9a7b0d318f93/index.html and the task list looks the same w/r/t files?  Or are you referring to somewhere else?18:17
dmsimardhttp://logs.openstack.org/76/330576/3/check/gate-ara-integration-centos-7/9b44719/logs/build/playbook/62eab1b1-ee60-45bd-bb02-d1d826f5aca2/file/index.html18:17
dmsimard"view file"18:17
larsksAh, on that page.18:17
dmsimardDoesn't work for the playbook tho. Not sure yet why, just noticed18:18
larsksI get a popup window with empty content :(18:18
dmsimardcheck the tasks, not the playbook file18:18
dmsimardplaybook file looks buffy18:18
dmsimardbuggy*18:18
larsksI don't think we want to display that in a popup.  Or rather, maybe we do, but we want to make sure that we can easily generate urls to *particular lines*.18:18
larsksSo that those can be emailed/posted in irc/etc.18:18
dmsimardyeah, this is just a transition implementation18:19
dmsimardbecause we have the content but no UI for it yet18:19
larsksI think it is better if "view file" goes to a separate page, rather than using a popup.18:19
larsksAnd we should include a link both to "pretty" content with line numbers as well as "raw" content.18:19
larsks(possibly by having a "raw" or "download" link on the view file page)18:19
larsksThe playbook view looks nice!18:20
dmsimardlarsks: you okay to settle with that file list view for the time being ? making the file UI is out of scope of this :(18:20
dmsimardI just added something that was better than a table with one column18:20
larsksI think either (a) drop the "view file" completely, or (b) at least have it go to a separate page instead of using a popup.18:21
larsksNobody likes popups.18:21
larsksWe don't have to do the line numbering et al right now.18:22
dmsimardyeah okay I'll drop it entirely from the review18:22
dmsimardI don't want to touch the view controllers at all for this patch18:22
dmsimardor the least possible18:22
dmsimardagalante: so, before: http://logs.openstack.org/56/329256/2/gate/gate-ara-integration-centos-7/d099746/logs/build/ and after: http://logs.openstack.org/76/330576/3/check/gate-ara-integration-centos-7/9b44719/logs/build/18:23
dmsimarder, wrong channel18:23
dmsimardlarsks: hm, the playbook doesn't have a content id18:27
dmsimardthat's why it came out blank18:27
dmsimardhttp://paste.openstack.org/show/516713/18:28
larsksRight.  We only populate content from tasks.18:28
dmsimardwould need to do it on playbook start I guess18:28
dmsimardI'll create an issue so I don't forget18:29
dmsimardwhich reminds me we need to migrate away from that ..18:29
larsksAway from....?  Oh, the issues. Yeah.18:31
larsksSo, I don't know that we need to collect content on playbook start.  We get everything via log_task, including the list of files.18:31
larsksSo if the "view file" link only appears on the "list of files" page, it shouldn't be an issue ever.18:31
larsksOh wait, I see the bug.18:36
openstackgerritLars Kellogg-Stedman proposed openstack/ara: ensure we collect main playbook content  https://review.openstack.org/33074718:54
larsksFix for #108 ^^^^18:54
dmsimardlgtm19:00
openstackgerritDavid Moreau Simard proposed openstack/ara: Interface improvements and revamp  https://review.openstack.org/33057619:21
dmsimardlarsks: I'm really sorry about all thsoe font files19:23
dmsimardIt's hard to tell which is used and which is not19:23
dmsimardI *guess* I could remove relatively safely the .eot and .svg19:24
larsksI wish those could be installable external dependencies instead of included in our project.19:24
larsksI don't know what the options are for that, though.19:25
dmsimardyeah it's installable through npm nodejs crap19:25
larsksUgh, yeah, let's not make npm a requirement... :(19:25
dmsimard^ removed the files we don't need for sure19:25
dmsimarder19:25
dmsimardopenstackgerrit ?19:25
openstackgerritDavid Moreau Simard proposed openstack/ara: Interface improvements and revamp  https://review.openstack.org/33057619:26
dmsimardbrb19:26
dmsimardlarsks: https://review.openstack.org/#/c/330576/ ready for review20:08
*** openstackstatus has joined #ara20:17
*** ChanServ sets mode: +v openstackstatus20:17
larsksCan we merge the fix for 108 and rebase? That will make my life easier testing things locally.20:26
openstackgerritLars Kellogg-Stedman proposed openstack/ara: Interface improvements and revamp  https://review.openstack.org/33057620:27
larsksI just rebased it.  So no worries.20:27
dmsimardlarsks: sure20:27
openstackgerritMerged openstack/ara: ensure we collect main playbook content  https://review.openstack.org/33074720:44
dmsimardlarsks: if you're mostly okay with that review, I'm going to start working on the next pieces (file ui, and what else did we mention6)20:58
dmsimardI guess we could move the file list inside the playbook summary page21:00
dmsimardand do away with the page with just the file list in it21:00
dmsimardthis page: http://logs.openstack.org/76/330576/6/check/gate-ara-integration-ubuntu-trusty/6edcb0a/logs/build/playbook/8e6443c7-80bf-4e2b-83b7-19fcfcd4ca49/index.html21:01
dmsimardor make the file path/lineno clickable, perhaps21:01
dmsimardI think making the file path and lineno clickable makes sense.21:02
larsksdmsimard: I think we should remove the "file" column and use that widget you were pointing at earlier.21:13
dmsimardlarsks: I guess I removed some files I should've kept, seeing a lot of those: http://paste.openstack.org/show/516727/21:14
dmsimardlarsks: which widget ? the tree-ish one ?21:14
dmsimardthe file/lineno column is relevant to the tasks table though, I think, it tells you where's that task from21:15
larsksThe treegrid-table widget.21:20
larsksYou would keep the "line" column.21:20
larsksOr...hmm, we would still need to display the filename somewhere, but the widget is a little different than I had remembered.21:20
dmsimardlet me see if I can come up with something convincing21:21
larsksIt would be nice to display the file only once per file for the first task in the file, and have everything below that be collapsible.21:21
larsksAnd the "line" column would link to the appropriate file + line.21:21
dmsimardwell there's that: http://i.imgur.com/xaHbSWK.png21:40
dmsimardClickable lines, though, haven't found how. I'll leave that for another commit to at least get a minimal UI for that in21:48
dmsimardsometimes I'm stuck on the stupidest things22:05
dmsimardgod damn I hate css and js22:05

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