Friday, 2016-02-26

*** jtomasek has joined #storyboard07:52
*** jtomasek_ has joined #storyboard07:59
*** jtomasek_ has quit IRC08:48
SotKI should really make the PUT endpoint for "worklist items"/cards less dumb10:46
Zaraoff you go then, I'll just wait here10:47
Zara:P10:47
openstackgerritMerged openstack-infra/storyboard: Move permissions checks into storyboard.db.api  https://review.openstack.org/28431210:58
openstackgerritMerged openstack-infra/storyboard: Fix permissions being able to be set by any authenticated user  https://review.openstack.org/28431310:58
Zaraso, trying to add a task to a board in my test instance; it's not showing up. queried the api directly for the task, and this is what I got: http://paste.openstack.org/show/488337/11:37
Zarafor some reason it has no story id11:37
Zaraalso, this is the request and response, which differ: http://paste.openstack.org/show/488338/11:38
Zarapresumably it's somehow  because the task has no story id11:39
Zarathe request is asking for the right thing. the response is talking about a different task, so that's strange11:39
ZaraI don't know how long this has been an issue, if it's just a problem with my db, or what11:40
Zarajust flagging it up in case anyone else sees something similar11:40
Zarait's possible I just deleted a story in my test instance, and boards have a bug where they show tasks from deleted stories in the search, so I'm going to try that now11:42
Zaraokay, so that's part of what's going on11:45
Zarathough I don't know why the request and response bodies differ in the above case11:46
Zarabut I tried removing a story and then adding a task from it; sb lets you click on the task and then click 'add items' in a board, but that task won't display in the lane11:46
Zaraso that's part of what's going on, anyway. :)11:47
SotKhmm, can you paste the log of your API by any chance?11:47
Zarasure, though I restarted it between the first weird one and that one11:50
Zarawell, I can just try to add teh weird one again, hang on11:51
Zarahttp://paste.openstack.org/show/488341/11:53
Zaraso that's got me deleting a task from the board, then deleting the story it belonged to, going back to the board, trying to readd that task (now it has no story), and then trying to add the weird task from earlier for good measure11:53
ZaraI can post logs earlier than that but I don't think it's much help11:54
* SotK decides the POST endpoint needs to be less dumb too11:57
SotKcan you do `select * from worklist_items where list_id = 122;` on your database and see if there is an entry for the task you tried to add?11:58
Zaralooks like there are two! :D12:00
ZaraI think I tried to add it twice, so that makes sense12:00
Zarahttp://paste.openstack.org/show/488343/12:01
Zarathey are both in the 4th position on the list xD12:01
Zaraalso, for the weird one:12:03
Zarahttp://paste.openstack.org/show/488345/12:03
SotKoh dear12:04
SotKand none of them show up on the web ui?12:04
Zaratasks 50 and 92 don't, no12:04
Zarahm, I should find out what task 18 is12:04
Zarahahaha I was looking at the db in the tab which was running the server, hang on...12:05
Zaraahaha, that was the other one I tried to add which didn't appear12:06
Zarabut I couldn't find it with search and then forgot about it12:06
Zarathis one also says it has no story ID12:06
SotKhm, can you paste the response body for the board GET request?12:07
Zarahttp://paste.openstack.org/show/488348/12:09
Zarahang on12:09
Zarathat formatted weird12:09
Zaraoh... it always puts it on one line :/12:11
Zarathat might be a bit old, too12:12
*** krotscheck_dcm is now known as krotscheck12:13
Zarahttp://pastebin.com/4cYcjytV12:13
Zarathat's a newer one and is more readable12:13
SotKthis is really weird12:20
ZaraI have to continue my tradition of finding the best bugs12:20
Zaraoh! something I noticed at home ysterday and forgot until now13:45
Zarahttps://storyboard.openstack.org/#!/project/839 takes much longer than other projects to load13:45
ZaraI'm wondering if it's a bit like the strange marked thing before, and the length of the project title is affecting the loading speed13:46
Zarastill just speculation at this point.13:46
persiaSeems to be about the same time for my browser, when I'm not logged in, but my browser has issues as previously discussed.13:47
persiaAlso seems to be the highest-numbered story, if that might be relevant13:48
ZaraI wondered about that, but I don't think it was a problem with the previous highest-numbered project13:48
ZaraI also notice s.o.o projects contain slashes and underscores, which storyboard doesn't permit a user to put in a title manually13:49
Zara(I think projects are currently created in s.o.o automatically when a new project is created, somehow)13:49
Zaraoooh, interesting, after trying to load the page a few times it froze for a while and came up with the 'want to stop a script?' dialog13:51
Zara(screenshot for the intersted: http://imgur.com/DnzFduS )13:52
Zara(I check new stories/projects every so often to catch this sort of thing, because I'm boring)13:54
persiaIt probably makes sense to fix the project naming model to allow anything that can be a git repo, really.13:56
ZaraI don't yet know if that is what's causing the problem; other projects also seem to have characters that sb doesn't allow, and they may not have the same problems loading (I don't disagree, just talking relevant to this bug)13:58
Zarathe function starts `function(window,document,undefined` so it could be to do with the offsetWidth directive (iirc that's the one that causes some undefined errors) or the marked stuff.14:01
* Zara makes story https://storyboard.openstack.org/#!/story/200049614:03
Zarait may even be another 'this thing is too long' bug14:06
Zara(project titles also have a length limit by default14:06
ZaraI think it's the title length14:07
ZaraI found something with a 27 character title and it behaved similarly14:07
Zaraactually, I can't count at all, because it's 26 characters *after* `openstack-infra/`14:12
Zarathings that are around 20ish characters after `openstack-infra` seem to behave sensibly; it seems to freak out around the 25character mark (so actually 25 +16 so 41 characters)14:13
Zaranot the most scientific investigation, but there we go14:14
Zara(was the other longish title: https://storyboard.openstack.org/#!/project/805)14:14
ZaraI'm not sure how the clauses of that sentence ended up that way round, oh well14:14
* Zara updates story and goes back to reviewing14:16
persiaThe colon makes up for the delayed subject14:17
* SotK wonders why we have both https://storyboard.openstack.org/#!/project/836 and https://storyboard.openstack.org/#!/project/83014:19
Zaramy guess is it was renamed and it doesn't automatically delete old projects? I don't know.14:19
SotKincidentally, the one with the underscore seems to take much longer to render14:20
Zaraooh14:21
Zaramaybe it's a combination of length and underscores... or maybe longer titles are likely to contain more underscores14:22
Zarathough it's best checking a few times in case one is cached and the other isn't or something14:22
Zarabut I'm finding hte smae thing14:23
Zaraer, just rearrange all the letters in that sentence14:23
Zarauntil it makes sense14:23
SotKGET request takes ~150ms for each of them, it looks like its the rendering of the result that is slow to me14:24
Zaraquick, make a title that's nothing but underscores :P14:26
*** faybrocklebank has quit IRC14:36
Zarahm, card movement seems a little less smooth with https://review.openstack.org/#/c/284316/ , but I'm not sure if I'm imagining it14:36
* Zara goes back to master to compare14:36
ZaraI think I'm imagining things.14:38
* SotK would expect so14:39
Zara:)14:41
ZaraI *think* what happened was that I made a new board for testing with slightly smaller cards, so they were more fiddly to move14:41
Zarabut we may never know for sure14:41
Zaraall seems fine, anyway14:41
*** faybrocklebank has joined #storyboard14:50
Zaraokay, I think I've reached the end of my API reviewing, at least. all seems fine; any bugs I've found have been problems that already existed. https://review.openstack.org/#/c/284314/ and https://review.openstack.org/#/c/284315/4 are in need of +1s. I've tested the behaviour, but my python is a bit rubbish, so the code-checking will have been less thorough.14:54
Zara(though that said, my migration was a bit of an odd custom job, so it'd be good if someone could check the behaviour there.)14:54
SotKthanks Zara :)14:58
Zarayw :)15:04
Zarajust thinking, last time a detail page was slow to display, it had a knockon-effect on the list page15:05
Zaraso we might find the projects list page displays faster if we can get to the bottom of the weird thing.15:05
Zara(and maybe project groups list, too)15:05
Zarathough at this point I think storyboard's perceived speed is lagging behind its actual speed. looked around at some UX research last night, which suggested it was better to avoid a spinner for things that loaded in under a second (or maybe even two).15:06
Zarawell, it didn't specify spinner, it was talking more generally about loading progress displays15:07
Zarathe other thing is that our spinner turns reeeeeally slowly, and is a bit stop-start, which makes things seem to load more slowly than they load.15:09
pedroalvarezany 400 or 401 so far? :)15:49
* SotK hasn't seen any that he remembers today15:49
ZaraI had a couple this morning, but they might have been leftovers from before the patches were merged15:50
ZaraI haven't had any others today15:50
ZaraSo I should update that story...15:50
openstackgerritAdam Coldrick proposed openstack-infra/storyboard: Archive cards instead of deleting them  https://review.openstack.org/28539216:00
Zara\o/16:01
openstackgerritMerged openstack-infra/storyboard: Add Due Dates to the API  https://review.openstack.org/28431416:17
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Show a modal to confirm archiving cards  https://review.openstack.org/28541716:41
SotKmight be more annoying than useful, idk16:41
Zarayeah, I think it will be, but I'll test!16:42
ZaraI think cards should be pretty lightweight and wanting to unarchive them will be pretty rare16:43
Zara(but should still be possible for those rare cases)16:43
Zarabut I'm saying this without testing the modal; maybe I'll love it.16:43
* SotK expects you won't :P16:45
SotKI was only worried about people accidentally clicking the archive button, but in that situation I expect most people will just re-add the card16:45
pedroalvarezwhat if you didn't read the card before clicking?16:46
SotKheh, that is a good point16:47
pedroalvarez:)16:47
SotK(when we have an events timeline for boards it won't matter, but until then that would be bad)16:47
ZaraI think (un)archiving is only useful in the case where the card has a due-date and the user has accidentally clicked 'delete'. which is important enough to account for, but we shouldn't assume it's the default.16:48
Zaraif it's really crucial then I'd imagine people would be aware of it anyway.16:49
Zaraunless it's a really far off deadline and/or nobody is assigned to it yet16:49
Zarawhich I think is probably rare16:49
persiaMy thought was the deprioritisation - reprioritisation cycle.16:50
persiaWhere something is given a date, and nobody can do it, and it gets dropped, and then later it gets to be important again: it's handy to be reminded of the old date.16:50
persiaOther than that, I don't think anyone will notice the difference between deletion/archiving except if they are looking at card ID numbers.16:51
* SotK also thinks nobody will notice the difference, until they suddenly want a card back16:53
SotKat which point its nice to be able to bring it back16:53
SotKaaaaaaalso it means we don't need to worry about adding more metadata to cards if necessary (I can't think of any examples)16:54
*** pleia2_ has joined #storyboard17:15
*** colettecello has joined #storyboard17:15
*** anteaya has quit IRC17:20
*** krotscheck has quit IRC17:20
*** gothicmindfood has quit IRC17:20
*** pleia2 has quit IRC17:20
*** krotscheck has joined #storyboard17:20
*** anteaya has joined #storyboard17:28
*** mrmartin has joined #storyboard17:36
ZaraI'm going to hold off workflow +1 because it's friday night, but testing api stuff seems fine so far18:00
Zara(I feel a bit mean doing that, buuut nobody will be able to see it until UI stuff is merged, and I've yet to test that, so I imagine the time we'll lose on Monday won't be more time than it takes to test)18:13
SotKheh, the ui stuff was more of a bonus :)18:37
*** yarkot_ has joined #storyboard20:22
*** mrmartin has quit IRC20:23
*** yarkot_ has quit IRC20:26
*** yarkot_ has joined #storyboard21:13
*** yarkot_ has quit IRC21:29
*** colettecello has quit IRC22:50
*** gothicmindfood has joined #storyboard22:50
*** jtomasek has quit IRC22:54

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