Wednesday, 2015-11-25

*** mrmartin has joined #storyboard06:49
*** mrmartin has quit IRC07:29
*** mrmartin has joined #storyboard09:15
SotKgood morning storyboard!10:42
Zaramorning!10:42
ZaraI can't wake up in the winter, zzzzzzzz10:53
pedroalvarezo/10:56
Zarahey, pedro! :)10:56
Zaraokay, so my rough plan today is to go through that spec draft thing and flesh it out a bit (ie: where I've asked questions, come up with some possible answers), so that we get closer to a roadmap. I also need to do some review...10:58
Zaraanything else I need to be thinking about?10:59
pedroalvarezI can help you reviewing https://review.openstack.org/#/c/249219/ :)10:59
pedroalvarez(I want that merged :P)10:59
Zarahah, I think I was checking that yesterday and forgot to actually comment on it, whoops.11:00
Zarawill double-triple check but expect review on that very shortly11:00
SotK\o/11:00
pedroalvareznice :)11:03
pedroalvarezupgrading WSME in the vm that you have storyboard api installed will be enough to make it break11:04
pedroalvarezand then apply that patch to fix it11:04
ZaraI was a little lazy and didn't check it fixed it, since you'd already tested that; it was enough for me that it didn't break anything I could find on my instance and had fixed the issue for you.11:05
pedroalvarezgood11:08
Zaratrying to strike a balance between being thorough and getting things merged reasonably quickly; hope it's working out!11:10
pedroalvarezI think it's fair if you trust the reviewer that has done the testing11:10
Zara:)11:11
openstackgerritMerged openstack-infra/storyboard-webclient: Don't add unexpected `story_id` attribute to Comment  https://review.openstack.org/24921911:13
*** wuhg has quit IRC11:31
SotKI'm not actually sure that shoving the subject in the template is going to be any neater now I'm doing it11:37
Zara:S11:38
SotKit means that the plain text template is special, when the current implementation treats all templates as equal (although only adds a plain text one at the moment)11:39
ZaraI don't follow, sorry (I think I need more context, since I'm only going from the review comments atm). In my head there are three steps: plain text template, which is rendered, then subject taken out of the rendered one. so I think there are some (ie: lots of) gaps in my mind about the implementation.11:46
Zara(am looking at the code now to see if that helps; I'd imagine it would)11:47
*** mrmartin has quit IRC12:01
SotKthe implementation also allows an arbitrary set of other templates to be rendered (eg an html template), but doesn't actually use that functionality anywhere (yet?)12:28
SotKs/templates/content templates/12:28
SotKat the moment it just adds one (the text/plain template) and renders that, with the subject in a different file12:29
SotKbut if for example the old plan was for something like "if user wants html emails, add html template, else add plain template", its going to get messy having the subject in the content template12:30
Zaraah, if I've followed then it seems like you'd have to have a field for the subject in both templates? (and those templates might be used for things other than emails?)12:33
persiaI think HTML email is uninteresting, but it might be interesting to have other sorts of subscription feeds to drive various types of automation.12:33
persia(and some of those may wish to consume HTML content)12:34
SotKZara: potentially the subject might need to be in both, it depends on what further development is done12:34
SotKbut I like that it is currently nicely separated and the code is general12:34
Zarayeah, maybe I'm leaping ahead there by jumping to possible ways around it12:35
Zarafrom what you've said it sounds like it makes sense to keep the subjects separate; what are the pros/cons of each approach? is there some way subjects and bodies might get mismatched if they're in seaprate templates? more things that could end up being incompatible with each other?12:36
Zara*separate12:36
SotKcons: changing the look of an email could mean editing two files rather than one12:37
Zaramaybe users should edit one file that then gets split into two and recombined later, just for the fun of it xD12:38
Zarahow often are people likely to change templates? I'd've thought it wasn't something people would do very frequently12:39
SotKpros: not trying to parse a rendered template as if its an email, code without a special case for one template (or alternatively, subject duplicated across all templates), already implemented and known to work12:39
SotKI doubt it will be very frequent, and its easy to document12:39
SotKalso the subject is in `templates/stories/PUT_subject.txt`, with the content in `templates/stories/PUT.txt`, so it shouldn't be too confusing12:40
Zaraokay, in that case, to me it looks like you should argue it and see if people are thinking of any other cons that we've not thought of. :)12:41
ZaraI prefer modular code, too12:41
Zara(I think PUT_subject.txt and PUT_body.txt would be clearer, if that does accurately capture the whole difference between the two)12:45
Zaraargh, project group subscriptions aren't displaying properly with the new layout. how didn't I notice this?!12:52
Zaragah12:52
Zarafixed on my instance, ugh, that was stressful.13:12
openstackgerritZara proposed openstack-infra/storyboard-webclient: Fix subscription display for project groups  https://review.openstack.org/24977613:18
Zarathis also reminds me that at some point those templates need pruning. I'm not convinced they're all needed anymore.13:19
* SotK remembers its the storyboard meeting this afternoon13:21
Zara(controllers too, for that matter. I think there are some weird relics.)13:21
Zaraack13:21
ZaraI should get on with fleshing out that spec...13:22
* Zara hides under her desk instead.13:22
Zaraclose enough.13:22
SotKwhy does adding a new story/project group open a modal, but adding a new project goes to a special page?13:53
*** mrmartin has joined #storyboard13:57
Zaraoh, it's different in the different controllers? I don't know.14:05
*** openstackgerrit has quit IRC14:06
*** openstackgerrit has joined #storyboard14:07
SotKmeeting in 45 minutes in #openstack-meeting, feel free to edit the agenda at https://wiki.openstack.org/wiki/Meetings/StoryBoard14:16
Zarahow is it already 2:30?14:24
SotKI have no idea14:24
* persia blames the rotation of the planet14:32
Zarainteresting hypothesis; how should we test it?14:36
SotKwe could try getting off the world and measuring if time still passes14:47
Zaraah, so I'm guessing we need some kind of extension to storyboard that will remove us from the planet.14:55
* SotK updates http://storyboard.sotk.co.uk/14:56
SotKany opinions on that dropdown vs. the old button approach?14:57
SotKoh, I forgot to handle logged-out people, oops14:58
ZaraI prefer it aesthetically, though I can't test it on a mobile or tablet screen14:58
Zaraalso hahaha I forgot my demo worklist went 'get good wifi, give up, go home'14:58
Zara-> meeting15:00
pedroalvarezas I said already in the meeting, is nicer now15:04
*** mrmartin has quit IRC15:23
pedroalvarezbtw: https://galaxy.ansible.com/detail#/role/618715:49
pedroalvarezansible role to install storyboard15:49
pedroalvarezI found that openstack-ansible only has roles to install components of openstack itself, nothing to do with infra15:50
pedroalvarezSo I decided to publish it here15:50
pedroalvarezI'll create some documentation for it, I promise :)15:50
pedroalvarezSo SotK.. to be honest, I don't really understand worklists :/15:51
SotKpedroalvarez: which bit?15:52
SotKthat ansible role looks shiny :)15:52
pedroalvarezwell, and boards...15:53
pedroalvarezI don't know how it's supposed to be the workflow15:53
pedroalvarezso is something that you have to create "manually" for yourself, to track your work, right?15:56
persiaOr to track desired work15:57
SotKindeed15:57
persiaSet your opinion of priorities, etc.15:57
persiaOr a list of stories required to implement a spec.15:58
pedroalvarezI see, so one board or one worklist is not for one user. It might be for a team15:59
SotKyep, it can be for as many or as few people as the owner(s) of the board desire15:59
pedroalvarezI see16:00
pedroalvarezalright, I think I understand16:00
pedroalvarezSo for example, a team can have a worklist of bugs, so that they are prioritized16:01
SotKyep16:02
pedroalvarezor for example, a team can share a board to track what is needed for the next release16:02
SotKthat is the plan16:03
persiaOr one team can see what another team is doing on the same project, to coordinate.16:03
SotKusing them for priorities means that there is no "global" priority needed, and so other people can prioritise the same thing according to their work16:04
persiaThe idea being to remove the need for those massive multiparty prioritisation meetings where someone claims X is high priority, and someone else claims they don7t care about X, and the first person shuold work on Y, etc.16:04
pedroalvarezwell, there will be meetings to discuss where to put the task in the worklist16:05
persiaOnly within a team.16:05
pedroalvarezbtw SotK, in your instance I can create worklists with the same task several times16:06
persiaSo, for example, if a project has three organisations funding development, each organisation can have a separate priority list, and they can avoid the arguments.16:06
SotKpedroalvarez: that is expected, I'm not sure if we want to limit the contents of worklists or not16:09
SotKI guess it is probably sensible to do so16:09
pedroalvarezjust raising the point, given that it's a bit confusing16:13
persiaI agree it is sensible to force worklists to have a unique set of stories.16:14
pedroalvarezIt would be good to have a board and a worklist for storyboard when we merge these patches :)16:22
SotKI agree16:23
* SotK is looking forward to getting them merged so we can have one16:23
Zaraargh did someone say something relevant to me no im not here nothing to see here nope16:24
Zaraerm, I mean, I'm slowly working through them! ^^'16:25
ZaraI've actually reviewed this one, waiting on other reviewers: https://review.openstack.org/#/c/231971/16:26
Zarasame with https://review.openstack.org/#/c/222268/16:27
pedroalvarezhm...16:38
pedroalvarezjust tested the UI from phone16:38
* pedroalvarez is known as the-phone-reviewer16:38
pedroalvarezbit weird, but I guess it can be polished later16:39
SotKpedroalvarez: which bit is weird?16:41
pedroalvarezwell, all the lanes in the board are one next to the other16:41
pedroalvarezin horizontal16:41
pedroalvarezso you have to scroll to the sides16:41
pedroalvarezand is  a bit odd16:41
pedroalvarezbut as I said, we shouldn't be focusing in phone users, although it might be nice to have in the future16:42
persia"phone users" is a tricky segment.16:42
persiaBut some laptop users are still 1366x768, and some phone users well above 1920x1080, so resolution/size issues matter beyond "phone" vs. "laptop"16:43
SotKoh yeah, I just went for the same approach as Trello uses there in the end16:43
pedroalvarezright, trello approach looks good16:45
pedroalvarezok I'm ok with it :)16:51
pedroalvarezpersia: yes, resolution *and* size16:54
*** mrmartin has joined #storyboard16:56
ZaraI've updated https://wiki.openstack.org/wiki/StoryBoard/Notifications with a list of things that can update. in the process found a few odd general things, but hopefully that helps people visualise how elements relate in the current implementation.17:00
ZaraI suspect things may not be nested atm; that is, if you subscribe to a project group, the dashboard (etc) updates when its title or description is changed, but not when a project within the group is changed.17:03
Zarabut could be wrong on that. looks like 'find out how far things are nested currently' would be a useful early task on the roadmap for notifications, anyway.17:04
SotKZara: https://git.openstack.org/cgit/openstack-infra/storyboard/tree/storyboard/db/api/subscriptions.py#n6717:06
SotKIIRC that is how the set of people to create a SubscriptionEvent (notification) for is decided17:06
Zaraheh, that's reassuring17:08
SotKwhat is the "(why is this currently editable at this level?)" asking?17:09
Zarawhy you can change a task's project on the task page. seemed weird since you couldn't change a story's project on the story's page.17:09
SotKbecause stories don't have projects :)17:10
SotKsince they are supposed to be able to handle a cross-project bug17:10
SotK(or feature)17:10
Zaraah, it's b/c in practice they're filed under projects and can't be made without a task that comes under a project. I'm guessing changing the task's project would automatically change the story's project17:11
Zarabut haven't actually tested that.17:11
Zaraah yeah, seems to work, just a bit weird since in practice you can't have a projectless story, but stories aren't meant to have projects.17:13
SotKyep, a story appears in a project iff it contains a task assigned to that project17:13
SotKits more you can't have a projectless task, and can't have a taskless story17:13
* SotK agrees its confusing17:13
Zarayeah, I get it, w17:14
Zara*dw17:14
Zaraedited it17:15
Zarahaha, the limits of <pre> tags are showing17:15
*** b3rnard0 is now known as b3rnard0_away17:25
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Add a dashboard page for boards and worklists  https://review.openstack.org/23197317:36
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Add buttons for creating new boards and worklists  https://review.openstack.org/23197217:36
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Update $resource wrappers to use new permissions API  https://review.openstack.org/23547517:36
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Add UI for complex permissions on boards and worklists  https://review.openstack.org/23547617:36
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Add a page to view a board  https://review.openstack.org/23197117:36
pedroalvarezoh17:39
pedroalvarezwhat really changed? is it just a rebase?17:39
SotKoops, I should have changed the commit message in one of those17:40
SotKa rebase to fix merge conflicts, plus I changed https://review.openstack.org/231972 to use dropdowns instead of loads of buttons17:40
Zara\o/17:48
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Replace "New Story" button in the top bar with a dropdown menu  https://review.openstack.org/23197217:52
Zarahm, creating a board is weird on my instance18:01
SotK:'(18:01
Zarait might not be anything to do with that patch, actually18:01
ZaraI think it's b/c the api endpoint one hasn't been merged and I'm rebasing on master.18:02
Zarawill check now...18:02
SotKworks fine here18:02
ZaraI need to get rid of some git branches; I wonder if api-boards or api-endpoint-boards was the most recent one on my machine...18:03
Zarayeah, works fine now, that was the issue18:04
* SotK is glad18:04
SotKI also have a tangle of branches and was worried I'd messed something up in the rebase18:04
Zaraglad it wasn't that :)18:06
* pedroalvarez ponders adding some variables to the ansible role so that is easier to test these patches18:06
pedroalvarezstoryboard_api_changeid18:07
pedroalvarezidk18:07
pedroalvarezso you `vagrant up` and you are in your testing environment :)18:08
SotKsounds like it would be pretty handy18:11
persia+118:21
Zaraweird, why is api endpoint for boards behaving differently18:28
SotKwhat is it doing?18:28
ZaraJenkins has submitted this change and it FAILED to merge.18:28
ZaraChange subject: Add an API endpoint for boards18:28
Zara......................................................................18:28
ZaraThe change requires a local merge to resolve.18:28
ZaraPlease merge (or rebase) the change locally and upload the resolution for review.18:28
Zarathis is after jenkins said it was fine18:29
SotKo.O18:29
* SotK rebases18:29
ZaraI have ticks from jenkins on my screen, oh well18:29
*** b3rnard0_away is now known as b3rnard018:40
ZaraI like that it put FAILED in allcaps18:43
openstackgerritAdam Coldrick proposed openstack-infra/storyboard: Add an API endpoint for boards  https://review.openstack.org/22226818:49
* SotK tries again18:50
SotKhttps://storyboard.openstack.org/#!/story/2000430 is definitely because we cache GETs by default19:00
SotKIt is fixed inadvertently by https://review.openstack.org/23547619:01
openstackgerritMerged openstack-infra/storyboard: Add an API endpoint for boards  https://review.openstack.org/22226819:06
SotK\o/19:07
SotKfun fact: there was no merge conflict19:07
SotKmore merge conflicts now, yay19:07
openstackgerritAdam Coldrick proposed openstack-infra/storyboard: Implement complex permissions for worklists and boards  https://review.openstack.org/23547219:09
Zaraack19:14
SotKI also am wanting more and more to encode the search filters on list pages in the url19:16
SotKthere is no way to currently refresh a search19:17
* SotK wonders if anyone actually uses https://storyboard.openstack.org/#!/search19:21
persiaSotK: I think some people try, because of the large button on the left.  It seems pointlessly duplicate to the search on top, or the search on any of the detail pages.20:42
persias/detail/list/20:42
SotKI was writing a thing to try to figure out the differences between the 3 different search places earlier, but didn't put it anywhere before I left the office :)21:08
SotKhttps://storyboard.openstack.org/#!/search seems to be a combination of the various list pages (eg stories/projects)21:08
SotKand the top search doesn't allow "filtering with criteria", instead it just shows the top 5 matches for each of stories, projects, and project groups based on the string you are typing21:09
SotKthen the search bars on the list pages just show results for the thing they list, and also allow criteria to set up a filtered list21:10
SotKhowever, there is no way to share those criteria easily, so its not as useful as it could be21:10
*** openstackgerrit has quit IRC21:36
*** openstackgerrit has joined #storyboard21:37
persiaIt is good to expose functionality, but only insofar as the result does not confuse the user.22:30
persiaI realise that isn't actually that helpful, but I offer it mostly in the hopes that someone with an eye towards UX can come up with a sensible representation :)22:31

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