Thursday, 2016-03-10

*** openstack has joined #storyboard00:09
*** openstackgerrit has quit IRC00:17
*** openstackgerrit has joined #storyboard00:18
*** thrace_ has joined #storyboard00:48
*** thrace has quit IRC00:49
*** persia has quit IRC01:35
*** persia has joined #storyboard01:38
*** NikitaKonovalov has quit IRC02:56
*** NikitaKonovalov has joined #storyboard03:03
*** thrace_ has quit IRC05:40
*** thrace_ has joined #storyboard05:46
*** jtomasek has joined #storyboard05:53
*** thrace_ has quit IRC06:02
*** thrace_ has joined #storyboard06:08
*** jtomasek has quit IRC06:53
*** mrmartin has joined #storyboard07:54
*** jjardon has quit IRC08:35
*** betherly has quit IRC08:36
*** betherly has joined #storyboard08:40
*** jjardon has joined #storyboard08:42
*** openstackgerrit has quit IRC09:30
*** openstackgerrit_ has joined #storyboard09:30
*** openstackgerrit_ is now known as openstackgerrit09:31
*** openstackgerrit has quit IRC09:31
*** openstackgerrit_ has joined #storyboard09:31
*** openstackgerrit_ is now known as openstackgerrit09:32
*** openstackgerrit has quit IRC09:32
*** openstackgerrit_ has joined #storyboard09:33
*** openstackgerrit_ is now known as openstackgerrit09:33
*** openstackgerrit has quit IRC09:33
*** openstackgerrit_ has joined #storyboard09:34
*** openstackgerrit_ is now known as openstackgerrit09:34
*** jtomasek has joined #storyboard10:16
SotKgood morning storyboard!10:41
Zaramorning!10:42
Zarahow are the boards doing?10:42
SotKI remembered I need to make the function which updates criteria do more than return the worklist it was passed10:43
Zara=D10:43
Zarathat sounds like a big chunk of work10:44
SotKmayyyyybe, we'll see10:45
Zaraluckily, I guess you're working 'til midnight or whatever it is anyway10:45
SotK:D10:46
SotKnot quite midnight :D10:46
Zaradon't be so sure10:47
* Zara gives charlotte £7510:47
ZaraI'm going to look at the task links modal today, anyway. maybe if I say that enough times, I'll actually get to it10:48
Zaramy concentration has been awful this week, sorry10:48
* SotK has had the same problem :)11:02
Zarao/11:04
Zara\o11:05
* SotK missed this and now feels bad11:14
Zaraahahaha11:14
SotK\o11:15
Zarao/11:15
SotK\o/11:15
Zara\o/11:15
openstackgerritAdam Coldrick proposed openstack-infra/storyboard: Fix removing due dates from boards  https://review.openstack.org/29112111:39
Zaradouble \o/11:41
openstackgerritMerged openstack-infra/storyboard: Fix removing due dates from boards  https://review.openstack.org/29112112:20
SotKthanks for the quick reviews!13:00
Zara:) yw13:00
ZaraI tried putting $modalInstance in the story detail controller function (basically nabbing things from the card modal) but it didn't like it13:02
* SotK wonders what went wrong13:03
Zaraon a separate note, we should split up the story detail controller sometime, but I'm procrastinating from that one13:03
ZaraSotK: the story doesn't load and I get "Error: [$injector:unpr] Unknown provider: $modalInstanceProvider <- $modalInstance <- StoryDetailController13:04
Zarain the web console13:04
Zaraso might be something missing from the module?13:04
Zarabut the story controller also already has a few modal things in there so i'm also wary of duplicating13:05
SotKo.O13:05
SotKcan you paste the changes you've made somewhere?13:05
SotK(`git diff src/app/stories/controller/story_detail_controller.js`)13:06
Zarayeah, I'm pretty sure it's just from editing the function, gimme a sec13:08
Zara(that is, putting $modalInstance as a parameter)13:08
Zarathere's other wip frankenstein stuff nicked from the card modal here-- but I tried it without and it was the same: http://paste.openstack.org/show/489990/13:09
Zaraso I'd guess it's to do with how $modalInstance in the function is talking to other things in the detail controller for stories, that aren't present in the card detail controller13:10
Zaraoh, I also did something weird when testing and the other stuff is even more wrong than it was13:11
SotKaha, I seem to inject `$modal` into the controllers which cause modals to open, and `$modalInstance` into controllers which are used in the modal13:11
Zaraah, in this case I was trying to do it all from the story detail controller13:12
Zarabecause it wasn't going to be a very elaborate modal13:12
Zarabut maybe it's better doing it in a different one13:12
SotKI think the only way to do it is in a different one13:13
SotKcertainly the only not-really-confusing-in-6-months-time way :)13:13
ZaraxD yeah, I saw some tutorials for the same one, earlier, but they were pretty hacky13:13
ZaraI'm up for whatever way is not really confusing right now.13:14
ZaraI'd imagine there is no such way13:14
* SotK recommends calling $modal.open() in the story detail controller passing it a separate controller (which might only need to be tiny), so we are consistent across StoryBoard13:15
Zaraokay, wfm.13:15
ZaraI think I had a draft that did things that way earlier13:16
Zarathen got to the poitn where I wasw going to make the controller and got tired or distracted or something13:16
Zarahm, moved to anotehr controller (currently a bare husk that bears a suspicious resemblence to delete controller, now I get "Error: [$injector:unpr] Unknown provider: paramsProvider <- params <- StoryTaskDetailController13:25
Zaraoh nvm13:27
ZaraI was being silly13:27
Zarahadn't passed it any params, but had effectively copied the delete controller, which was expecting some13:27
ZaraI can now open and delete an empty modal by clicking on a word, it's sad that that's progress but I suppose I did some review earlier.13:28
Zaraalso this keeps coming up in my console and I blame you: "angular-moment: timezone specified but moment.tz() is undefined. Did you forget to include moment-timezone.js?"13:29
ZaraDID YOU13:29
SotKI didn't do it on purpose13:29
Zara:P13:29
SotKI guess I must have needed to13:29
Zarathe messages are annoying but I trust you.13:30
SotK:D13:30
SotKI'll send a patch to include it at some point13:31
Zara:) I'd ask for a time but I'd have no way of knowing what timezone that applies to.13:32
* persia wishes everything could just be UTC13:34
* SotK would like that13:35
*** openstackgerrit has quit IRC14:03
*** openstackgerrit_ has joined #storyboard14:03
*** openstackgerrit_ is now known as openstackgerrit14:04
*** openstackgerrit has quit IRC14:04
*** openstackgerrit_ has joined #storyboard14:05
*** openstackgerrit_ is now known as openstackgerrit14:05
*** openstackgerrit has quit IRC14:05
*** openstackgerrit_ has joined #storyboard14:06
*** openstackgerrit_ is now known as openstackgerrit14:06
*** openstackgerrit has quit IRC14:07
*** openstackgerrit_ has joined #storyboard14:07
*** openstackgerrit_ is now known as openstackgerrit14:08
*** openstackgerrit has quit IRC14:08
*** openstackgerrit_ has joined #storyboard14:08
*** openstackgerrit_ is now known as openstackgerrit14:09
*** openstackgerrit has quit IRC14:09
*** openstackgerrit_ has joined #storyboard14:09
*** openstackgerrit_ is now known as openstackgerrit14:10
*** Guest41345 has joined #storyboard14:10
Zaraargh14:11
ZaraI just spent a while trying to work out why my modal wasn't getting the right data14:11
Zaraturns out it was14:11
Zarathere just wasn't any yet14:11
Zaraargh14:11
SotK:D14:12
* SotK is familiar with that realisation14:12
Zarahahaha14:12
Zarathat sinking feeling when you're like, "hang on, what if I hardcode task.link as 'cat', juuust to check "14:13
SotK".... oh"14:13
Zara'there's a cat on my screen, dammit'14:13
Zarame today: https://www.youtube.com/watch?v=PKg2ZzPKl2M14:16
*** b3rnard0_away is now known as b3rnard014:32
Zararant part 2: when you forget you've hardcoded it to cat, and it keeps overwriting your new value14:34
Zaragot a basic task commenting modal working, anyway14:38
Zarait's absolutely horrible at this point14:38
*** mrmartin has quit IRC15:06
*** mrmartin has joined #storyboard15:16
*** mrmartin has quit IRC15:59
openstackgerritZara proposed openstack-infra/storyboard-webclient: WIP task notes  https://review.openstack.org/29126716:00
*** jtomasek has quit IRC16:00
*** mrmartin has joined #storyboard16:02
openstackgerritZara proposed openstack-infra/storyboard-webclient: Update Fontawesome to 4.5.0  https://review.openstack.org/29127416:16
pedroalvarezZara: ooi, anything interesting in the new version?16:17
Zarapedroalvarez: more icons16:19
ZaraI wanted a 'sticky note' icon to use when attaching notes to tasks16:19
Zaraand there wasn't a good one16:19
pedroalvarezthat's exactly the reason I expected :)16:19
pedroalvarezmoar icons!16:20
Zara\o/16:21
* Zara wants to replace every icon with fa-bed16:21
Zaraoh wow, there's a fa-linux16:22
Zarahttp://fontawesome.bootstrapcheatsheets.com/ (our current version)16:23
Zaraanother thing to bear in mind with task notes: it currently updates the events timeline16:24
Zaraso if people edit a lot, there will be a lot of noise, and there's not yet a preference for turning those updates off16:24
Zaraso we either need to turn notifications for these off premptively, or put stuff in for preferences before we merge16:26
Zarapreferences and templates, that is16:26
SotKthe "task details changed" preference seems to hide them16:28
*** b3rnard0 has left #storyboard16:28
* Zara smacks forehead16:29
Zarait's still a PUT16:29
Zaragah, I knew that, which is why I nkew it would notify16:29
Zarabut forgot that the thing is for all PUTS16:29
Zarathough still16:29
Zarathat might mean people will get some useless emails16:30
* Zara checks16:30
SotKI think emails when the notes change are useful, to people who want to be emailed about tasks16:30
Zarayeah, what I mean there is that there isn't a template for them16:31
Zaraso they might get an email with no info in it16:31
SotKif there isn't a template it should just fail to send the email16:31
Zarano, there's a template for task details changed16:32
Zarabuuut there's no bit of that template16:32
Zaraunique to comments16:32
* SotK sees16:32
Zarait might still display the change, I'm nooot sure16:32
SotKyeah, might be annoying16:32
Zarabeen ages since I looked at it16:32
Zaraso long, in fact16:33
Zarathat I16:33
Zarahave lost16:33
Zarathe command16:33
Zarato16:33
Zararestart the worker16:33
*** mrmartin has quit IRC16:34
* SotK was going to look at what it was but accidentally obliterated the screen session it was running in16:34
Zara:) it's fine, I went to the docs16:35
Zaraooh, lots of errors16:36
Zaraooookay16:36
Zaraso when you start it again after a while16:36
Zarait will send you all the emails16:36
Zarajust as a warning16:37
Zarapresumably so it doesn't lose them16:37
Zaraif it went down for a bit16:37
SotK:D16:37
ZaraI currently have 116 emails from storyboard, and counting16:37
Zara12616:37
SotKI guess all the messages were stuck in rabbitmq16:37
Zarayes16:37
ZaraI guess they were16:37
Zara14416:38
Zaraour ops team are going to kill me16:38
Zara16516:38
Zara17116:38
Zara18916:38
* Zara buries head in hands16:39
Zaragah, I was hoping it would hit 20016:40
Zarait's stopped on 19916:41
Zaraabout 20 of those were old unread ones, so storyboard just sent me 170 emails16:41
Zarais it likely to do this to everyone when infra set up the config for s.o.o?16:42
SotKnah, its sending them but exim is swallowing them I think16:42
Zaraahh, okay16:42
Zarait's nice that it keeps them, really16:42
Zarathough ouch, I stopped running it early feb16:43
Zaraso apparently I test enough to generate 170 emails a month16:44
Zaraokay, tested task links templates, this is what it'll look like:16:47
Zarahttp://paste.openstack.org/show/490031/16:47
Zaraso not really much worse than the others. though I wish I'd just called 'link' 'notes' all along.16:48
* SotK wonders if we can print the changes dict more prettily16:48
Zara(Are there any objections to shifting toward 'notes'?)16:49
Zaraprobably16:49
Zarathat was written before the timeline events bug was fixed16:49
Zaraso there's a chance we can get the changes more directly now16:49
ZaraI'm not sure16:49
SotKeven just getting rid of the quotes and braces would be a good start xD16:49
Zarayeah yeah yea16:50
Zaraeven just getting automatic boards and worklists would be a good start :P16:50
Zarain seriousness, I'll have a look16:50
Zaraonce I've tried to tidy up this modal code a bit16:50
Zarait's been on a backburner for literally months.16:51
SotKthanks :D16:51
pedroalvarezI wonder if emails are also being kept in production rabbitmq16:54
SotKthey were being sent but swallowed by exim iirc16:55
Zara:) right, so what I propose to do first, is use 'notes' in the front end, where the back end currently says 'link'16:57
Zarathen update the back end to match16:57
SotK+116:58
Zaraso this will be mismatched for a bit, but better then some strange hybrid. though it does need to say 'link' in the front end in one place... but anything called 'task details' will become 'task notes'16:58
openstackgerritMerged openstack-infra/storyboard-webclient: Update Fontawesome to 4.5.0  https://review.openstack.org/29127417:06
Zara\o/17:08
openstackgerritZara proposed openstack-infra/storyboard-webclient: WIP task notes  https://review.openstack.org/29126717:09
Zaravariable names should now be consistent with that plan17:09
Zarathere may be some odd alignment and missing licensing, though17:11
openstackgerritZara proposed openstack-infra/storyboard-webclient: Let Users Add Notes to Tasks  https://review.openstack.org/29126717:18
Zaraokay, I thiiink that's ready for reviews now17:19
Zarathere's still gonna be weird stuff in it but I won't spot it17:19
* Zara notices commit message is in a weird tense17:32
Zarahuh, hang on, no it isn't17:33
Zaramy mind is playing tricks17:33
* SotK reviews17:38
openstackgerritZara proposed openstack-infra/storyboard-webclient: Let Users Add Notes to Tasks  https://review.openstack.org/29126717:44
Zarathanks17:45
*** jtomasek has joined #storyboard17:51
openstackgerritZara proposed openstack-infra/storyboard-webclient: Let Users Add Notes to Tasks  https://review.openstack.org/29126717:57
ZaraI need to head off soon, can take laptop if it would be useful for me to look at things later this evening18:22
* SotK doesn't know if he'll send patches today, after remembering I hadn't thought about updates18:23
Zaraokay, how likely do you think it is that you'll send them tomorrow?18:24
SotKpretty likely unless I remember/find something else18:24
Zarahah18:24
* Zara keeps estimate at two weeks18:24
Zara:P18:24
SotK(you can say "I told you so) :P18:24
SotK+"18:24
Zara:D I love doing that!18:25
Zaramakes up for the vast discrepancy in coding ability18:25
openstackgerritMerged openstack-infra/storyboard-webclient: Let Users Add Notes to Tasks  https://review.openstack.org/29126718:25
Zara\o/18:25
*** openstackgerrit_ has joined #storyboard18:30
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Add a tooltip when hovering on the "Task notes" button  https://review.openstack.org/29139119:50
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Highlight the notes button if a task has notes  https://review.openstack.org/29140420:09
*** mrmartin has joined #storyboard20:13
*** b3rnard0 has joined #storyboard20:35
*** mrmartin has quit IRC21:33
*** openstackstatus has quit IRC21:42
*** openstackstatus has joined #storyboard21:45
*** ChanServ sets mode: +v openstackstatus21:45
*** jtomasek has quit IRC22:18

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