Thursday, 2015-09-24

*** lifeless has quit IRC08:49
*** lifeless has joined #storyboard09:03
*** jtomasek has quit IRC11:46
*** jtomasek has joined #storyboard11:47
SotKI'm looking at solving the "lanes bigger than the window" issue at the moment, and was wondering what people would prefer lanes to do.13:26
SotKDo you like your lanes to start small and grow to some set size (relative to window size) and then scroll when overflowing, or start at some set size (relative to window size) and fill up, then scroll when overflowing?13:27
ZaraI like ones that start small, but it's such a small preference that I'd say go for whatever's easier to implement.13:29
SotKBoth are equally easy, that's why I decided to search for opinions :D13:31
Zarahahaha13:31
ZaraI think ones that start small might give an instant visual hint of where a project is at, but tbh I'd expect there to soon be so many items in each that they'd all be the same length anyway13:32
Zarawhich is fewer lines of code/less time to process?13:33
persiaSome folk manage to keep lanes small, but it seems to me that lots of folk end up just stuffing lots of things into lists.13:34
Zarahmm, looks like subscribing to projects from their project detail pages was never a thing14:08
Zaraor project groups, come to that14:08
Zaragot a bit tangled up in services and things; for now have added the code to the bottom of the story_detail_controller and the project_story_list controller14:11
Zaranoticed in the process that the story detail controller was already enormous and could probably do with a tidy at some point14:11
Zaraaaaand there seems to be a controller for projects in project groups...14:12
* Zara goes on a hunt14:12
Zaragah, it displays both projects and stories from the same controller.14:15
Zaraso you can't just pass on a 'subscriptions' object on to the view like you normally would; you'd need a separate one for projects and stories14:16
Zaraleading to more code in the directive14:16
Zaraurgh.14:20
Zara(hm, though because it seemed to work before, so presumably it passed different resourceIds and so on. time to look at template...)14:23
Zaraahh, okay, it's not as bad as I thought14:33
ZaraIt just means I can't pass 'subscriptions="subscriptions"' to the template14:33
Zarait has to be 'subscriptions="storysubscriptions" or subscriptions="projectsubscriptions"'14:33
Zara(I tried a quick test with 'stbscriptions' and 'prbscriptions' and it made my eyes bleed but it worked)14:35
SotKah, yeah, I ended up doing a similar thing for paging those lists14:35
ZaraI want to go back at some point and see if I can tidy the controller.14:37
Zarabut for now, I want everything working by the end of the week.14:37
*** mrmartin has joined #storyboard14:47
openstackgerritZara proposed openstack-infra/storyboard-webclient: Subscriptions WIP  https://review.openstack.org/22356215:37
Zarasubscriptions on story detail page should work15:38
SotK\o/15:39
Zaraalong with subscriptions for projects and stories listed on project group page15:39
Zaraand other places, since there's both story/project *list* and story/project *search*15:39
Zarathere's currently a lot of duplicated (or near-duplicated) code15:39
ZaraI looked into abstracting with a service, got confused, decided to do it this way first and learned that the added projectgroups complexity would have probably foiled my attempt at that point.15:40
Zaraanyway, please take a look in case there are bugs on the user side. at this point I'm tempted to remove the WIP label and go for a 'try to merge first so users get the speed asap, tackle tidying the controllers as a separate patch', but that might set a bad precedent.15:48
SotKI will have a look soon15:49
SotKI don't mind merging it sooner and tidying later if it works15:50
SotK(as long as tidying actually gets done)15:50
Zara:) yeah, I worry that it'll be delayed for a long time given that I got perplexed trying to make it work from a service today; I think I'd need a better grasp of angular. otoh, the danger is that it gets forgotten about and the controllers bloat.15:52
Zaraand of course there's also a chance I think it works and it turns out not to. :D15:53
openstackgerritZara proposed openstack-infra/storyboard-webclient: Move project group admin and streamline list page  https://review.openstack.org/20610816:42
*** mrmartin has quit IRC18:01
*** davidlenwell has quit IRC23:57
*** davidlenwell has joined #storyboard23:58

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