Monday, 2015-10-12

*** cody-somerville has joined #storyboard02:27
*** phschwartz has quit IRC02:33
*** cody-somerville has quit IRC02:43
*** mrmartin has joined #storyboard03:21
*** mrmartin has quit IRC04:53
*** mrmartin has joined #storyboard05:31
*** jtomasek has joined #storyboard05:50
*** jcoufal has joined #storyboard06:43
*** ttx_ is now known as ttx06:56
*** mrmartin has quit IRC06:57
* Zara considers just making page refresh automatically after that 401. will still be irritating but maybe less irritating than having to manually refresh.09:13
Zaracould be a problem if I get it wrong and it gets stuck in a loop of refreshes, though.09:13
SotKcan you make it just refresh the token rather than the whole page somehow?09:14
ZaraI think it already does that, but then it doesn't refresh the page automatically so it still displays as though the token hasn't refreshed. I'm not totally sure because 1) I might have misunderstood it and 2) I thought I'd found the relevant code, but changing it didn't do anything, so maybe it's controlled from something else.09:16
SotKah, sounds like causing a refresh might make it less annoying then09:17
SotKcertainly for the "not touched it for an hour or so, suddenly 401!" occurences09:18
Zarayeah. I think, when it hasn't refreshed the page, you can click all over storyboard and it won't display anything until you manually refresh it.09:18
Zaraand yeah, I was thinking that it kinda sucks if every time you're like 'I'VE MADE A COOL NEW THING!', people click on it and just get a 40109:19
Zarakragniz has the right idea: https://wiki.openstack.org/wiki/Successes09:52
*** mrmartin has joined #storyboard10:08
Zarahm, seems that, if you select a project group, then try to change the total number of projects shown, the view doesn't always update. it does all the GETs for the relevant subscriptions, so I think it's just a display thing.10:12
Zaraalso seems that storyboard.openstack.org hasn't yet changed in line with the subscriptions patch10:12
SotKoh hm, so it doesn't10:13
ZaraI only just noticed, anyway, so I doubt it's life or death. but it's there if you need a distraction! :P10:14
SotKthere's another bug on that page where your changes to the pagination limit are lost on refresh for some reason10:15
* SotK intends to give the pagination a bugfix look once he's sent patches for multi-user boards and worklists10:15
Zaraah, I didn't realise that wasn't the default behaviour10:15
Zara(default = desired) I thought it was permanently changeable in 'profile' or something10:16
Zaracool, if I notice anything else I'll let you know for then.10:16
SotK(I also want to allow an "unlimited" option, which doesn't paginate at all)10:17
* Zara goes back to the 401 of doom10:17
SotKwoo, multi-leveled permissions on boards appear to be working!11:42
SotKnow to actually provide a way to use them in the UI11:42
Zara=D11:43
Zaranice work!11:43
ZaraI've been looking around for a place to put a refresh in that won't disrupt a bunch of things from returning.11:44
* SotK notices that its impossible to highlight text by click+drag when editing a lane title11:45
* Zara gets page to refresh endlessly, decides that's probably not the right place for the refresh. xD11:47
SotK:D11:47
ZaraI see infra has gone from the official project groups... though looks like it's just hidden, since there's still an entry for it (with no title)12:27
ZaraI found a place to put the refresh that seems to work. worried it's not ideal and could cause other problems14:32
Zarahttp://pastebin.com/UuVfBUmC (see the location.reload() under handle_401() )14:33
Zaraworks to make things a bit nicer for the user; am concerned about it being a horrible hack14:34
Zaraah, actually, I think it stops the user being automatically logged in, too.14:34
SotKhmm, could you put it underneath line 7 instead?14:35
SotKso it only refreshes if it successfully refreshes the token14:35
Zaraheh, that might work14:36
Zarahahaha that's what I intended to do in the first place, oops.14:37
* Zara double-facepalms14:37
*** cody-somerville has joined #storyboard14:38
ZaraI'm a bit concerned because I'm guessing that means that 'false' won't return, though maybe it won't matter14:38
SotKI'm hoping it won't xD14:40
*** MarkAtwood_ has joined #storyboard14:55
*** MarkAtwood_ has quit IRC16:02
Zaraseems to work there, and keeps user logged in16:47
Zarayou do still see the 401s, but it then refreshes the page, so the user gets the content they want after a short pause16:47
ZaraI think it's preferable UX but really not ideal, and I'm wary of other problems16:48
Zaraanyway, I'm off to fail to learn some Japanese in preparation for the summit; night!16:48
*** MarkAtwood_ has joined #storyboard17:24
*** jcoufal has quit IRC17:32
*** MarkAtwood_ has quit IRC18:07
*** mrmartin has quit IRC20:00
*** jtomasek has quit IRC20:04

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