Friday, 2015-12-04

-openstackstatus- NOTICE: Tox tests are broken at the moment. From openstack-infra we are working to fix them. Please don't approve changes until we notify that tox tests work again.09:32
*** openstackgerrit has quit IRC10:32
*** openstackgerrit has joined #storyboard10:33
SotKgood morning!10:50
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Tidy up project groups states  https://review.openstack.org/25304910:57
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Add an "Unlimited" option to the paging controls  https://review.openstack.org/23599310:58
SotKugh, the recent events list passes a JSON dump of each event object to the templates rather than passing the object12:05
persiaDoes that make life easier by allowing streaming updates of recent events, or just consume more cycles in the browser?12:25
Zara(I return! I was ill earlier but I feel better now.)12:35
SotKpersia: makes life more difficult because I can't just pass an object that will be useful once its contents are resolved, and instead have to wait for the result before passing it12:57
SotKotherwise the rendered template is blank12:58
SotKZara: good afternoon!12:58
persiaAh.  Somehow I thought there might be some polling function that would consume JSON from the server.  Given the situation, it indeed sounds suboptimal.12:59
SotKsadly not, I'd like something like that to be the case eventually though12:59
SotK(also for boards/worklists, so the contents are automatically updated when changed elsewhere13:00
SotK)13:00
pedroalvarezoh, just remembered, when doing some testing yesteraday I noted that the worklists didn't update automatically after adding some "works"  to it13:02
pedroalvarezhaving to refresh to see them13:03
SotKhmm, it seems to work in Chrome on my test instance (and also on storyboard.sotk.co.uk)13:04
pedroalvarezJust tried in storyboard.openstack.org with what we have right now13:12
pedroalvarezand I needed to F513:13
SotKo.O13:14
SotKme too13:14
SotKlooks like a race between the items being added and the contents being reloaded13:20
* SotK doesn't know why that exists off the top of his head13:20
pedroalvarezahh, so I guess it tries to load from the db before they have been created13:24
SotKyeah, its weird because my understanding of the code was that it would load once the update was finished13:25
SotKI must have gone wrong somewhere13:25
pedroalvarezGET happens at the same time than the POST13:37
pedroalvarez(i'm talking like an expert here but I'm just looking at google chrome network tab)13:37
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Make the recent events list collapsible  https://review.openstack.org/25349713:40
pedroalvarezwell, that was fast13:41
SotKah, its because the load is triggered by the modal closing not the request returning13:44
pedroalvarezOh! I remember another bug14:07
SotKheh, what was it?14:08
pedroalvarezI won't tell until I can reproduce it :)14:08
pedroalvarezNope, I cant reproduce it14:10
pedroalvarezlink in tasks (not stories) in worklist weren't working properly14:10
pedroalvarezbut seems to work fine in s.openstack.o and s.sotk.co.uk14:11
SotKhmm, I think Zara saw that once upon a time too14:11
SotKbut I thought I'd fixed it14:11
pedroalvarezyeah, not to worry14:19
pedroalvarezit is probably fixed given that it works in other places14:19
pedroalvarezbtw, I'm the owner of the first worklist in production14:22
pedroalvarezmuahahah14:22
* SotK really dislikes his "add items to worklists" UI now he's used it on the production db14:24
Zara:D14:24
SotKit was fine on my test instance with only a few stories, but showing the first 5 results from nearly 700 stories is useless14:26
Zarayeah, most UX problems we've encountered with our patches seem to be to do with things being scaled up in unpredicted ways in production. We really could do with that dev branch with a big db.14:28
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Don't close the "add item" modal until the items are added  https://review.openstack.org/25352614:28
SotKZara: storyboard.sotk.co.uk is now using the production db from earlier in the week :)14:28
SotKhowever, it currently is a mish-mash of patches14:28
SotKand not called storyboard-dev.openstack.org14:28
Zaraheheh, yaeh, I wasn't sure if it counted, yet14:29
Zaraguess not14:30
SotKgetting closer though :)14:30
SotKpedroalvarez: does https://review.openstack.org/253526 fix the add items thing for you?14:30
pedroalvarezSotK: that indeed works14:46
pedroalvarezbtw, I tried yesterday to look at how to add a checkbox to the preferences for tag events, but failed to understand how it works :S14:55
pedroalvarez(which is my main problem with angular :)14:55
Zarawelcome to the club! :D14:56
pedroalvareztoo much magic14:57
pedroalvarezbut I see the point, I've done JS in the past without using any framework14:57
Zarayeah, the thing I find trickiest with angular is the naming of the different parts-- you have services, and resources, and factories, and modules, and controllers, and none of the terms are used in a standard way.  So currently I roughly understand how controllers and modules work with the templates, but once it gets deeper into the services and resource stuff, I have to look at help guides every time.15:00
Zarahelp guides and the existing code, that is, and move things around until they work, then try to puzzle out why. :/15:00
ZaraI daresay that's normal in software, but it makes me feel slow.15:01
pedroalvarezthe tricky for me is when you try to grep for a string that you think it's useful, and you can't find it anywhere else15:02
pedroalvarez:)15:02
pedroalvarezs/useful/useful to understand what's going on in the code/15:03
Zaraheh15:03
Zarathere's also something where variable names between two files can be subtly different, but I can't remember exactly what it was now (something to do with dots or underscores or something swapping around)15:09
Zarawhich makes grepping a pain15:09
* pedroalvarez finishes reviewing easy patches15:12
Zara(aha, I'm not imagining things; it's mentioned here: https://egghead.io/lessons/angularjs-isolate-scope-two-way-binding#/tab-discuss . Conversion of camelCase to dashes.)15:16
* SotK likes that we have loads of variables called `currentUser` and also a service (I think its a service) called `CurrentUser`15:17
SotKfsvo likes15:17
Zaraahaha yeah15:17
SotKpedroalvarez: what didn't you understand about them?15:17
Zaraalso in general things are getting unwieldy in the controllers15:18
Zarawe're importing lots of thigns15:18
Zara(I'm pretty sure there's one somewhere that has 'Stories, Story and story' or something like that15:19
Zaraah, yeah, the story detail controller. not quite as I remembered, but:15:23
Zara    function ($log, $rootScope, $scope, $state, $stateParams, $modal, Session,15:23
Zara              Preference, TimelineEvent, Comment, TimelineEventTypes, story,15:23
Zara              Story, creator, tasks, Task, DSCacheFactory, User,15:24
Zara              storyboardApiBase, SubscriptionList, CurrentUser,15:24
Zara              SessionModalService) {15:24
Zaramaybe 'importing' isn't quite the right word since it implies dependencies or something, rather than just existing services and things, but yeahhhh15:25
SotKI think 'injecting' is the word15:27
Zarahah, I considered saying 'injecting' and then thought that might be confusing for people used to anything other than angular (and I wasn't 100% sure I'd be right to use it). good to know I've not got it confused, anyway.15:29
Zarabtw, search dropdown for worklists probably needs to hide previous searches and only show the dropdown of items found15:34
Zaraatm I get a dropdown of previous searches obscuring the first couple of results15:34
SotKyeah, I noticed that today15:34
SotKdamn web browsers being clever15:35
Zaraiirc I noticed it a few days ago but had already lumped about 5 more important bugs on you or something15:35
Zarahm, doesn't seem to be a way to save changes to a worklist (eg: the title). might have mentioned it.15:36
SotKjust click the pencil again :)15:37
* SotK is aware that that UI is horrible15:37
Zaraahhh, a secret save button15:37
Zarasecret save pencil works15:38
* SotK tries to remember the magic that was required to set up rabbitmq15:39
ZaraI hope it's clear when CI comes back16:26
* SotK too16:26
Zarathe notice saying it was down would have been easy to miss over a weekend etc, since it's not in the topic16:26
pedroalvarez<yolanda> ttx, fungi, can you send a notice to status, telling that everything should be back again?¿16:30
SotK\o/16:31
pedroalvarezmerge all the things :D16:31
ZaraI'm still half waiting for someone to say 'WAIT, DON'T MERGE ANYTHING YET'16:36
pedroalvarezhehe, yolanda is waiting for this patch to be merged (https://review.openstack.org/#/c/253586/) to be able to announce it :)16:37
Zara:D16:37
Zarashould we aim to get a storyboard release ready for the next milestone? I'm not sure how all this works. ( ones from this milestone: http://docs.openstack.org/releases/releases/mitaka.html )16:38
ZaraJan 19th-21st is the next milestone date.16:38
openstackgerritAdam Coldrick proposed openstack-infra/storyboard: Document manually setting up notifications  https://review.openstack.org/25359116:39
* SotK suspects Zara may find https://review.openstack.org/253591 useful16:40
Zaraway ahead of ya16:43
Zarawell I wrote that afterwards16:43
Zarabut only because I was already looking at it16:43
Zarahonest16:43
SotK:)16:43
Zaranot sure I'll have time for it tonight (if something acts weirdly I won't have a good chunk of time to debug) but should be able to look at it early next week16:43
SotKthere is no rush, but I figured it would be useful to document it16:44
Zarayeah, agreed16:44
Zaraespecially since we reckon the vagrant up steps aren't sufficient yet16:45
SotKI think they are, but just unclear16:45
SotK(source: I span up a vagrant machine to run unit tests in)16:45
Zaraah, okay. hadn't used them myself. either way, I'm hoping betherly can help with that side a bit when she has time to set up a dev vm :)16:46
-openstackstatus- NOTICE: The earlier JJB bug which disrupted tox-based job configurations has been reverted and applied; jobs seem to be running successfully for the past two hours.16:55
pedroalvarezthere you go16:55
Zara:P16:55
SotK\o/16:59
* Zara merges all the things17:00
ZaraI daresay, in practise, one will merge and all the others will need rebasing17:00
Zarabut hey17:00
* SotK adds a little to https://wiki.openstack.org/wiki/StoryBoard/Notifications17:00
Zaraooh, thanks17:01
ZaraI hope the general ordering of things made sense so it was straightforward to edit17:01
Zaraevery time I look at it I seem to shuffle everything around ^^'17:01
openstackgerritMerged openstack-infra/storyboard: Work around "duplicate preferences" issue  https://review.openstack.org/25197017:02
SotK\o/17:03
Zaranow we wait for everything to break... :S17:03
SotKI don't know if I added in the right place, but I think I did :)17:03
SotKeverything to work great again you mean! :P17:03
Zaraoh, sorry, that17:03
Zaraeasy mistake17:03
Zarabtw, any conversations on the email patches? afaik they're blocked in review, in much the same place as last week17:05
SotKnot yet, sorry17:07
Zaraare you okay with chasing that up either tonight or early next week? I'm wary of them hanging around for ages, and a bit worried we'll get too caught up in smaller things and forget about them (not that the preferences stuff is smaller, but the project group ux and things like that).17:09
SotKyeah, I'll chase it on Monday :)17:10
Zaracool, thanks! :)17:12
Zarayou've patched it all so fast, so it's a shame that's it's getting held up.17:12
openstackgerritMerged openstack-infra/storyboard-webclient: Make the recent events list collapsible  https://review.openstack.org/25349717:18
openstackgerritMerged openstack-infra/storyboard-webclient: Don't close the "add item" modal until the items are added  https://review.openstack.org/25352617:18
openstackgerritMerged openstack-infra/storyboard-webclient: Update $resource wrappers to use new permissions API  https://review.openstack.org/23547517:19
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Tidy up project groups states  https://review.openstack.org/25304918:12
*** openstack has joined #storyboard23:38

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