Thursday, 2015-11-12

persiaI think you want latest :)00:04
pedroalvarezhehe, yes :)00:11
pedroalvarezI was wondering why the UI was totally different00:11
SotKpedroalvarez: I think the recommended approach for production deployment is to use the puppet stuff in http://git.openstack.org/cgit/openstack-infra/puppet-storyboard/tree/README.md00:21
SotKI've not tried to use that yet myself though00:23
*** openstackgerrit has quit IRC09:46
*** openstackgerrit has joined #storyboard09:47
*** openstackgerrit has quit IRC10:16
*** openstackgerrit has joined #storyboard10:17
pedroalvareznever used puppet, but yes, it looks like those scripts install storyboard10:58
pedroalvarezI wonder what zuul does for upgrading to a newer version10:58
pedroalvarezmy guess is that it runs those puppet scripts10:59
SotKI guess that is what happens too11:24
SotKthe answer is probably somewhere in project-config, but i cant look right now11:24
pedroalvarezno worries :)11:26
pedroalvarezSotK: go away and enjoy the holidays!11:26
ZaraDO I SEE A SOTK HERE?11:28
ZaraYOU HAVE BEEN WARNED11:29
ZaraAWAY WITH YOU11:29
Zara... I think that worked.11:32
Zarasomething that puzzles me about 'StoryBoard': why is the B capitalised? is it just so it looks like 'OpenStack'?12:13
Zaradoesn't particularly matter, just bothers me whenever I write it down in a setting where I'm meant to capitalise it properly12:15
* Zara goes to garden some more stories12:29
*** mrmartin has joined #storyboard12:42
Zarasome of SotK's quick UX fixes from yesterday that could do with some reviews: https://review.openstack.org/#/c/243705/ , https://review.openstack.org/#/c/244099/ and https://review.openstack.org/#/c/244218/13:17
Zara(there are others here, those are just the ones I've already had a chance to look at. https://review.openstack.org/#/q/owner:adam.coldrick%2540codethink.co.uk+status:open,n,z )13:18
Zarathe 'browsing by creator ID' patch has now been merged, which means this one is no longer blocked: https://review.openstack.org/#/c/212105/ . I think we just need SotK to remove the workflow -1 .13:25
pedroalvarezZara: have you tested this one: https://review.openstack.org/#/c/244218/ ?13:27
pedroalvarezI wonder how exactly it works13:27
Zarayeah, I tested it13:28
Zarahow it works is a bit of a mystery to me, but it's really cool and didn't seem to break anything13:28
ZaraI think it just makes a bit of the template display the text after it's been markdownified, but doesn't save the result.13:29
pedroalvarezafter looking the code I understand how it should work13:31
pedroalvarezI like the idea13:31
Zarathe inner workings of <insert-markdown> are still a bit magical to me, but I get the process in theory :)13:31
Zarathe service is in src/app/services/directive/markdown.js ; it gets the function from marked in bower_components13:36
Zaraand all the other mysterious things that it needs13:36
ZaraI think that the description in this story is being wrongly interpreted as markdown... https://storyboard.openstack.org/#!/story/200006113:47
Zarayeah, it's converting a quoted '<a></a>' into formatting for the description itself13:49
* Zara wonders how you quote tags in markdown without using them13:50
openstackgerritMerged openstack-infra/storyboard-webclient: Add a preview button when adding a comment  https://review.openstack.org/24421813:50
pedroalvarezZara: I reviewed this too just in case you missed it: https://review.openstack.org/#/c/244099/13:55
Zara\o/13:56
Zaraah, okay, tpollard's story should work if I just indent the <a> tag so it's interpreted as a codeblock13:56
* Zara updates it13:56
Zarathanks, I did miss that13:57
Zaraso fast, thank you! :)13:58
* pedroalvarez fails to find that story13:58
Zaraoh, it was just this: https://storyboard.openstack.org/#!/story/200006113:59
Zarait was displaying a bit strangely13:59
Zarashould be fine now13:59
Zaralooks a bit odd with the '<a>' as a code block but I didn't know an alternative way to display it13:59
Zarabit messy but it's clear what's going on. if anyone knows markdown better, s'fine to edit the description. :)14:00
pedroalvarez`<a>`  ?14:00
pedroalvarezmay I?14:01
Zaraheh, it works14:01
Zarago for it14:01
Zara:)14:02
pedroalvarezbetter14:02
Zara\o/14:02
ZaraI suspect there are going to be other stories like that; good to know for the future14:02
pedroalvarezwould be good to have the preview feature when creating the story itself, and not only the comments?14:04
Zarayeah, since both use markdown14:05
* Zara makes story for it...14:05
Zarahttps://storyboard.openstack.org/#!/story/200041014:07
openstackgerritMerged openstack-infra/storyboard-webclient: Make timestamps more readable  https://review.openstack.org/24409914:09
Zaragardening old stories is revealing how important it is that stories update with reviews etc14:12
Zarathere are old stories with patches in 'review' that have probably been merged, but there's no link to the story, and sometimes they're titled a little differently, so they can be hard to track down14:13
pedroalvarezyes, I was thinking about that14:13
pedroalvarezwould be good to link tasks to patches whenever possible14:13
Zarayeah, I want it to be automated in time; in the meantime I'm just going through manually and changing statuses/adding links in comments where I can :/14:15
SotKdescriptions could use a preview too, I just didn't have time to implement it yesterday14:15
Zarawill look into it14:20
Zarashould be easier to do now there's a precedent14:20
Zaraalso shoo :)14:20
SotKindeed, you can probably just do a similar kind of thing14:20
Zarayeah. :) (I guess this shows that working on storyboard is just as fun as going on holiday, yay)14:22
Zarahow many projects can make that claim? B)14:22
SotKthe insert-markdown directive takes the thing given to its content attribute and renders it as markdown using https://github.com/chjj/marked14:22
SotKit uses https://highlightjs.org/ for syntax highlighting14:23
Zaraah, okay. I'd worked out the first bit after wandering back through the code. probably did that a few weeks ago and then forgot...14:24
SotKit works by setting the insert-markdown element's contained html to the result of the rendering (after passing it through angular's sanitisation function), contained in a div for reasons I forget14:25
SotKit updates that html each time the thing passed in the content attribute changes14:26
* SotK goes to do other things14:26
Zarathanks for the explanation :)14:27
SotKI also removed my workflow -1 on https://review.openstack.org/#/c/212105/14:28
Zara\o/14:28
Zarayay :)14:30
Zaraoh I thought sam had +1'd but he hadn't14:30
ZaraI hadn't merged it yet, luckily14:30
pedroalvarezI'm looking at it right now14:30
pedroalvarezlooks good14:34
pedroalvarezgerrit diff is a mess though14:34
Zarahow come? maybe I've just got used to it...14:35
pedroalvarezit's comparing "Recent Events" table with the new "Stories created by me" table14:39
pedroalvarezhttps://review.openstack.org/#/c/212105/1/src/app/dashboard/template/dashboard.html14:39
Zaraso it is o.O14:41
Zaramy guess is that the file was edited that way14:42
Zarabut it's a shame that gerrit can't pick it up14:42
ZaraI think sometimes I end up switching the order of things around in files to make sure the right things will be compared, but it's a hassle :(14:43
openstackgerritZara proposed openstack-infra/storyboard-webclient: Change Gruntfile Connect Default Hostname Value to '0.0.0.0'  https://review.openstack.org/24470615:24
ZaraI thought we'd done that ages ago15:26
Zara(submitted the patch, though not merged it) oh well15:27
*** mrmartin has quit IRC15:32
pedroalvarezI remember  a patch from tpollard for the same15:35
pedroalvarezhttps://review.openstack.org/#/c/138053/4/Gruntfile.js15:35
SotKoh, I forgot to mention that I'd discovered that!15:38
SotKZara: doing `tox -e grunt_no_api -- serve --hostname $IP` works I think15:39
Zaraahh, we might want to update the docs then15:41
ZaraI was just doing tox -egrunt_no_api serve , so that'd explain it, hahaha15:41
ZaraI'll abandon mine, then, since it's a bit too much brute-force....15:42
Zaraah, yup, that works15:47
Zarahah, it's in the docs already (well, with hostname 0.0.0.0)15:48
ZaraI have no idea why my saved command was different, strange.15:49
Zaraoh, I know. I was using option 3, not option 415:50
Zarafrom 'installing the webclient' here: http://docs.openstack.org/infra/storyboard/install/development.html15:50
Zaraprobably didn't understand it at the time of reading, ended up with it saved and worked around it... whereas now I do understand it, so it's just funny.15:52
* Zara leaves a not on the old story and marks it merged15:54
Zara*note15:54
ZaraI'm now wondering if that means this story also applies to an old version, since links seem to behave as expected these days: https://storyboard.openstack.org/#!/story/200006116:02
Zarathe only buttons I can find that don't seem to are 'created', 'updated' and their ilk16:03
Zaraah, no, there's the odd other button, so I think it's still an issue16:05
Zara(eg: adding tags or removing tasks)16:05
Zaracurrently wondering how many things marked 'invalid' are actually invalid16:11
Zarabe helpful if they had been edited to explain before being marked invalid...16:11
Zarahow have I spent all today gardening old stories, hooooow16:21
Zaraokay, review time.16:22
* Zara ended up reviewing something from baserock, had forgotten how much nicer the gerrit interface was around those parts16:33
Zarathere's even an 'up to change' button16:34
Zaraoh actualy there's one on the openstack gerrit, it's just away from all the other buttons16:34
ZaraTIL!16:35
Zaraand you can hilight text for a comment, oh the memories16:39
*** mrmartin has joined #storyboard16:49
pedroalvareztoogle preview button works nicely:)16:54
Zarayeah, it's a majestic patch!16:56
Zarait's a little odd that it's only interactive when something is typed in the box16:56
Zarabut I only just noticed that now16:56
Zaraif it confuses people I guess we'll see a story and we'll know to patch it. otherwise I won't worry about it16:57
*** mrmartin has quit IRC16:59
Zarahm, for some reason I thought there was also a patch to redirect new users to the about page (as well as the button replace patch) but I think I just imagined it17:10
* Zara adjusts story accordingly https://storyboard.openstack.org/#!/story/200039917:13
* Zara shakes fist at jenkins https://review.openstack.org/#/c/212105/17:16
*** mrmartin has joined #storyboard17:19
ZaraI'm not even sure if you're able to recheck someone else's patch17:20
Zarathis is the patch to hide all the 'not updated's, since having no text at all conveys the same info, and is prettier + makes other things easier to read: https://review.openstack.org/#/c/243705/17:27
Zaralinking here because I already tested and reviewed that one, so can immediately +1 workflow it once it gets more review17:28
*** mrmartin has quit IRC17:48
Zara'night, storyboard!17:58
*** mrmartin has joined #storyboard18:10
*** mrmartin has quit IRC18:37
openstackgerritMerged openstack-infra/storyboard-webclient: Show stories created by the current user on the dashboard  https://review.openstack.org/21210519:16

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