*** cody-somerville has joined #storyboard | 02:27 | |
*** phschwartz has quit IRC | 02:33 | |
*** cody-somerville has quit IRC | 02:43 | |
*** mrmartin has joined #storyboard | 03:21 | |
*** mrmartin has quit IRC | 04:53 | |
*** mrmartin has joined #storyboard | 05:31 | |
*** jtomasek has joined #storyboard | 05:50 | |
*** jcoufal has joined #storyboard | 06:43 | |
*** ttx_ is now known as ttx | 06:56 | |
*** mrmartin has quit IRC | 06: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 | |
Zara | could be a problem if I get it wrong and it gets stuck in a loop of refreshes, though. | 09:13 |
---|---|---|
SotK | can you make it just refresh the token rather than the whole page somehow? | 09:14 |
Zara | I 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 |
SotK | ah, sounds like causing a refresh might make it less annoying then | 09:17 |
SotK | certainly for the "not touched it for an hour or so, suddenly 401!" occurences | 09:18 |
Zara | yeah. 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 |
Zara | and 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 401 | 09:19 |
Zara | kragniz has the right idea: https://wiki.openstack.org/wiki/Successes | 09:52 |
*** mrmartin has joined #storyboard | 10:08 | |
Zara | hm, 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 |
Zara | also seems that storyboard.openstack.org hasn't yet changed in line with the subscriptions patch | 10:12 |
SotK | oh hm, so it doesn't | 10:13 |
Zara | I only just noticed, anyway, so I doubt it's life or death. but it's there if you need a distraction! :P | 10:14 |
SotK | there's another bug on that page where your changes to the pagination limit are lost on refresh for some reason | 10:15 |
* SotK intends to give the pagination a bugfix look once he's sent patches for multi-user boards and worklists | 10:15 | |
Zara | ah, I didn't realise that wasn't the default behaviour | 10:15 |
Zara | (default = desired) I thought it was permanently changeable in 'profile' or something | 10:16 |
Zara | cool, 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 doom | 10:17 | |
SotK | woo, multi-leveled permissions on boards appear to be working! | 11:42 |
SotK | now to actually provide a way to use them in the UI | 11:42 |
Zara | =D | 11:43 |
Zara | nice work! | 11:43 |
Zara | I'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 title | 11:45 | |
* Zara gets page to refresh endlessly, decides that's probably not the right place for the refresh. xD | 11:47 | |
SotK | :D | 11:47 |
Zara | I 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 |
Zara | I found a place to put the refresh that seems to work. worried it's not ideal and could cause other problems | 14:32 |
Zara | http://pastebin.com/UuVfBUmC (see the location.reload() under handle_401() ) | 14:33 |
Zara | works to make things a bit nicer for the user; am concerned about it being a horrible hack | 14:34 |
Zara | ah, actually, I think it stops the user being automatically logged in, too. | 14:34 |
SotK | hmm, could you put it underneath line 7 instead? | 14:35 |
SotK | so it only refreshes if it successfully refreshes the token | 14:35 |
Zara | heh, that might work | 14:36 |
Zara | hahaha that's what I intended to do in the first place, oops. | 14:37 |
* Zara double-facepalms | 14:37 | |
*** cody-somerville has joined #storyboard | 14:38 | |
Zara | I'm a bit concerned because I'm guessing that means that 'false' won't return, though maybe it won't matter | 14:38 |
SotK | I'm hoping it won't xD | 14:40 |
*** MarkAtwood_ has joined #storyboard | 14:55 | |
*** MarkAtwood_ has quit IRC | 16:02 | |
Zara | seems to work there, and keeps user logged in | 16:47 |
Zara | you do still see the 401s, but it then refreshes the page, so the user gets the content they want after a short pause | 16:47 |
Zara | I think it's preferable UX but really not ideal, and I'm wary of other problems | 16:48 |
Zara | anyway, I'm off to fail to learn some Japanese in preparation for the summit; night! | 16:48 |
*** MarkAtwood_ has joined #storyboard | 17:24 | |
*** jcoufal has quit IRC | 17:32 | |
*** MarkAtwood_ has quit IRC | 18:07 | |
*** mrmartin has quit IRC | 20:00 | |
*** jtomasek has quit IRC | 20:04 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!