Wednesday, 2016-02-24

*** openstack has joined #storyboard13:21
Zarahello openstack13:21
*** openstackstatus has joined #storyboard13:22
*** ChanServ sets mode: +v openstackstatus13:22
Zara(this is the emails patch, btw: https://review.openstack.org/#/c/270331/ . it's reporting a syntax error for an extra opening brace, but I think it's the right number of braces and the line-splitting is confusing things somehow. but I could be wrong on that.)13:31
pedroalvarezyeah, I counted also the braces, and they were ok, but I assumed the syntax error is somewhere else13:33
Zarathat patch depends on: https://review.openstack.org/#/c/270329/ which has been hanging around for a while13:34
ZaraI thought it had been merged by now, hm.13:35
*** mrmartin has quit IRC13:55
Zarameeting in 50 mins or so!14:11
persiaAbout 270331: can this be replicated running `puppet parser validate` locally?  Does puppet provide useful output to explain this sort of failure?14:19
* SotK expects so (trying to run puppet with an old version of that patch gave some similar errors)14:21
SotKI don't remember the errors being any more useful that what is in the test log though14:21
SotK(it might be useful if I had an adequate understanding of puppet syntax, but I don't)14:22
persiaIrritating.  They seem matched when I count also.14:30
persiaI wonder if the backslash is applying to a } instead of whitespace14:30
SotKcould be... does puppet ignore whitespace or something?14:31
Zarahm, but the placement of the backslash would only escape an opening brace if that were the case (unless I've missed one)14:31
persiaAccording to https://docs.puppetlabs.com/puppet/latest/reference/lang_data_string.html#escape-sequences, backslash-newline doesn't seem to cause the newline to be ignored.14:33
persiaI don't know if I'm understanding that correctly though, as backslash-newline is a common pairing to indicate line continuation, and there are apparent examples in the code.14:33
persiaRather, in the docs (including the "Heredocs" section immediately below the escape sequences discussion)14:34
SotKthat's about as far as I got to figuring it out when I looked too14:38
persiahttp://projects.puppetlabs.com/issues/502214:50
persiaNot that I expect we're really running that old a puppet...14:51
Zara(meeting in 8!)14:52
SotK:O14:53
*** mrmartin has joined #storyboard15:05
*** betherly_ is now known as betherly15:06
persiaNot important for the meeting, but on 279753: do I read correctly that there is a view for boards, but none for worklists?15:17
pedroalvarezI think this new View is to be able to explore all boards and worklists present in StoryBoard15:20
pedroalvarezso you can go there, and even search boards you might be interested on15:20
pedroalvarezBecause  now, you only can play with the URL to discover new boards/worklists15:21
persiaRight, but when I looked at the code, I saw boards, but not worklists, so I'm hoping I'm not seeing something.15:22
persiaOr rather, I'm not seeing it because I'm incompetent, rather than not seeing it because it isn't there.15:22
pedroalvarezI think it was mentioned in the meetup, that's why I think it implements that functionality15:24
Zarait's not there because it's wip. it does currently display them, it's largely cut 'n' paste fro mdashboard stuff15:25
Zaraso the name of the page is 'boards' but it displays both15:25
Zara(sorry, realised that was ambiguous)15:25
Zarasimilarly, it currently says 'my boards'/'my worklists' because it was a quick patch and it got lost in a bunch of others15:26
ZaraI'll improve it iff people care enough xD15:26
persiaIt's mostly that I was confused reading the code.  No worries.15:28
Zarayeah, a bit chicken-and-egg, I don't like to tidy up a patch beyond the bare minimum if I'm not convinced anybody wants it at all. I agree with SotK that a good enough search should make this kind of thing obsolete.16:07
Zarajust that right now, we don't have that, and I can't give an estimate on when we will, because I'm still learning about the current behaviour and implementation.16:08
persiaRight.  My main objection is that it's entirely useless for all the use cases I can imagine.  That said, it helps demo stuff, and helps people understand things are there, such that the educational value prevents me from -1ing it.16:10
* krotscheck cracks knuckles16:12
krotscheckOk.16:12
krotscheck40116:12
krotscheckWorking on angular has made me learn things that will make this awesome.16:12
Zaraoooooooh16:13
krotscheckIt turns out that responseError interceptors can recover a request.16:13
* krotscheck thinks.16:13
* krotscheck is going to test that16:13
krotscheckAlso, for the time being, I don't see sotryboard acessing more than one API.16:14
krotscheckSo using the $http level interceptors to handle token refresh will be way more reliable than the timer.16:14
*** mrmartin has quit IRC16:17
persiakrotscheck: What do you mean "accessing more than one API"?16:17
krotscheckpersia: Is the webclient making HTTP requests to something other than its own API?16:18
persiaNo, but I could imagine it doing so.16:18
persiaOr, more particularly, I can imagine a dashboard that wants to use components from the Storyboard app as well as other things.16:19
krotscheckpersia: Yes. But not yet. And until it does, we don't have to worry about it. And once it does, hopefully angular 1.6 will have been released with this change: https://github.com/angular/angular.js/pull/1327316:19
persiaheh.  Please ignore me :)16:21
Zara16:21 < persia> heh.  Please ignore me :)16:21
ZaraTEACH ME YOUR POWERS, KROTSCHECK16:21
Zaraahem16:21
krotscheckZara: Go study the Tao of Logical Fallacies https://yourlogicalfallacyis.com/16:22
persiaZara: The secret is to have already done all the work before I notice that someone could do it and develop an opinion :)16:22
Zarahehe16:23
ZaraI'm excited about this, anyway! :)16:24
* SotK is too16:24
pedroalvarezI am too16:25
*** faybrocklebank has quit IRC16:56
Zarahm, if I have a patch depending on other things in review, and for that reason it's multiple commits, how do I update the commits to match the latest versions of those? eg: in http://paste.openstack.org/show/488056/ , say 'move search icon' has been updated17:12
Zaraor am I better off just removing them from the patch?17:13
pedroalvarezZara: I normally go to the web ui, and click the rebase button in "make header ...." and in "WIP for ...."17:14
Zaraoh hey, there's a rebase button. TIL17:15
Zaraso I should push it with old versions and then rebase them from the UI once it's in review?17:16
pedroalvarezhm.. I don't know if I understand everything..17:17
pedroalvarezso, the new change to "move search icons" in this example, isn't done using the web ui?17:18
Zaraoh, no, sorry17:18
pedroalvareznormally, when I'm in that situation you are explaining, when I `git review -R` it updates all of them17:18
Zaraahh, okay, I haven't been using the -R flag17:19
pedroalvarezwell, let me check what it does,  might not be relevant17:19
Zaraand normally I'd just rebase on the relevant branch, but it's a bit awkward17:19
Zarabecause there are three commits, and the second depends on the first17:20
Zaraand then the third depends on the second... so maybe I should just rebase on the right branch for the second, and then rebase the result on the right branch for the fist17:20
Zara*first17:20
* pedroalvarez is confused17:21
pedroalvarez:)17:21
Zara:) I am never doing anything with multiple commits ever ever ever again17:21
pedroalvarezI'm not a good teacher on IRC, sorry :(17:21
Zaras'fine, I'm not explaining it well anyway17:21
krotscheckWEll that's annoying17:23
krotscheckCircular dependency17:23
SotK:(17:23
krotscheckThis implementation is way too complicated.17:26
krotscheckWhoever originally wrote this should get fired.17:26
* krotscheck carefully doesn't look at who wrote it.17:26
krotscheck;)17:26
pedroalvarezheh :)17:27
Zara:) aw, looking at the original implementation with hindsight is punishment enough17:27
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Add a calendar directive  https://review.openstack.org/27850817:28
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Make the time-moment directive use moment.js  https://review.openstack.org/28427517:28
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Add onBlur and onFocus callbacks to user-typeahead  https://review.openstack.org/28427617:28
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Improve the board CSS a little  https://review.openstack.org/28427717:28
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Add a $resource wrapper for Due Dates  https://review.openstack.org/28427817:28
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Add Due Dates to boards  https://review.openstack.org/28427917:28
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Display a modal when a card is clicked on  https://review.openstack.org/28428017:28
Zara¬_¬ SOTK DO YOU MIND17:28
anteayaSotK: thanks, yes I was looking to add that task as a card to the infra cloud board (board number 8)17:28
anteayaI was unsuccessful trying to add that card17:29
anteayaand anytime in may works for me personally17:30
openstackgerritZara proposed openstack-infra/storyboard-webclient: Make header 'quick navigate' and 'search' clearer  https://review.openstack.org/27898717:32
openstackgerritZara proposed openstack-infra/storyboard-webclient: Move search icon  https://review.openstack.org/27920417:32
openstackgerritZara proposed openstack-infra/storyboard-webclient: WIP for boards and worklists page  https://review.openstack.org/27975317:32
Zara(for some reason that rebased everything, but it seems to have rebased them all to the right thing, at least)17:36
Zarathe commit message now makes it a bit clearer why the patch exists, and some things have been changed so the comments make a bit more sense (since they were originally cut and pasted from the boards/worklists dashboard page)17:38
Zaraas it scales, it probably makes more sense to have a controller for all boards, and a controller for all worklists, and then access them both through the same template... but I couldn't justify splitting it at this stage.17:39
Zaranow to review the world17:39
Zaraooh, can't yet, yay17:40
SotKyou can review the first 4! :P17:41
krotscheckOk, so I can create an interceptor, but that interceptor cannot depend on anything that requires HTTP.17:45
krotscheckSo you can't build a promise dependent on another request inside an interceptor :/17:45
krotscheckUnless you do raw XMLHttpRequest17:45
krotscheckWHich, well, we can do.17:45
persiaIs the you of 2018 going to want to torture the you of now for having done it that way?17:46
*** faybrocklebank has joined #storyboard17:49
openstackgerritAdam Coldrick proposed openstack-infra/storyboard: Fix permissions being able to be set by any authenticated user  https://review.openstack.org/28431317:56
openstackgerritAdam Coldrick proposed openstack-infra/storyboard: Add Due Dates to the API  https://review.openstack.org/28431417:56
openstackgerritAdam Coldrick proposed openstack-infra/storyboard: Add Due Dates to the WSME models for boards, worklists, tasks, and stories  https://review.openstack.org/28431517:56
openstackgerritAdam Coldrick proposed openstack-infra/storyboard: Update `PUT /v1/worklists/:id/items/:id` to allow assigning a due date  https://review.openstack.org/28431617:56
* SotK apologises if the commit messages are scatterbrained17:57
* SotK will also fix the tests not working for the js stuff tomorrow17:58
* SotK shoots off17:58
Zaranp17:58
ZaraI'll just be over here17:58
Zaracrying17:58
Zaraat my review workload17:58
Zaraforever17:58
*** faybrocklebank has quit IRC18:02
Zara(heading home nowish anyway, will look at those tomorrow. reviewing is now my top priority; I doubt I will be able to look any more at search this week.)18:02
Zara'night!18:03
* krotscheck is cautiously otpimistic18:13
krotscheckpersia: The 2018 me will laugh at how obsessed I was with JavaScript18:13
* Zara is cautiously optimistic about krotscheck's cautious optimism18:15
Zaraand I am actually going home this time!18:15
Zaranight for real! :D18:15
*** jtomasek has quit IRC18:21
krotscheckAnd now, i dig through all the auth code and try to figure out where all the redundant "is this a valid session" checks are...18:22
krotscheckOn an unrelated note, I'm seeing a _lot_ of errros in the javascript console?18:30
krotscheckTypeError: Cannot read property '$promise' of undefined18:30
krotscheck    at link (http://localhost:9000/js/storyboard.js:9228:3718:30
krotscheckTypeError: Cannot set property offsetWidth of #<HTMLElement> which has only a getter18:32
*** mrmartin has joined #storyboard18:48
openstackgerritMichael Krotscheck proposed openstack-infra/storyboard-webclient: Logging in no longer causes page refresh.  https://review.openstack.org/27088219:09
openstackgerritMichael Krotscheck proposed openstack-infra/storyboard-webclient: Access tokens are now refreshed in preflight promises.  https://review.openstack.org/28435619:09
*** mrmartin has quit IRC19:14
pedroalvarezwooooo!21:07
pedroalvarezThis is just  great :)21:07
*** b3rnard0 is now known as b3rnard0_away22:37
* SotK will review it first thing tomorrow!22:45
krotscheckpedroalvarez: Does the logic make sense? I tried to make the interceptor bits as clear as posisble23:44

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