Tuesday, 2015-11-24

*** openstackgerrit has quit IRC00:16
*** openstackgerrit has joined #storyboard00:17
*** mrmartin has joined #storyboard06:31
*** mrmartin has quit IRC06:35
*** wuhg has joined #storyboard08:13
*** mrmartin has joined #storyboard08:25
*** openstackgerrit has quit IRC09:16
*** openstackgerrit has joined #storyboard09:17
Zaramorning, storyboard!10:22
SotKmorning!10:24
* pedroalvarez waves10:24
SotKI can finally speak without being chased away10:25
SotK:)10:25
Zara\o/10:27
Zaradepends on what you say :P10:27
* SotK only ever says nice things!10:28
Zarathat's because StoryBoard is a mythical utopia.10:30
SotKComment event notifications need to link to the comment10:45
SotKor at least to the story the comment is on10:45
ZaraMaybe we should start by putting together a list of events? (I'm not sure how much of that is already done) I started a spec plan thing for notifications in general here, though it's still very woolly: https://wiki.openstack.org/wiki/StoryBoard/Notifications10:49
ZaraIf it's the same as the options in 'timeline events' in user preferences, is that a sufficient list?10:49
SotKthere might be more for subscriptions to projects/project groups10:50
* SotK isn't sure though10:51
ZaraI think there should be if there aren't, though it might not be the highest priority. I'm also not sure what 'user comment' means in that list atm.10:52
Zaraie: update timeline when the user comments? or when another user comments in their thread? or when a story they've commented on updates?10:53
SotKthe "timeline" being referred to is the "comments section" bit of a story10:54
Zaraoh, I thought it corresponded to 'recent events' on the dashboard?10:56
Zara(I may need more tea before I can type in a readable way. :P)10:56
SotKnope, they come from the "subscription_events" table in the database10:57
SotKwhich is populated by the subscription worker iirc10:57
SotKthat works by each time there is a PUT POST or DELETE running a function that creates records in that table for people who are subscribed to the object referred to by the PUT, POST or DELETE10:58
SotKwhere "subscribed to" == "subscribed to the thing or a thing containing the thing"10:59
Zaraah, I was talking about how they're displayed rather than how they're decided; we might be taking about two halves of the same thing?10:59
SotKperhaps, but I don't know if any filtering based on those preferences is done11:00
SotK(for recent events, it is done in the story detail page)11:00
* SotK checks11:00
Zaraohhh, I see what you mean11:01
ZaraI never noticed that was called 'events timeline'11:01
Zaraso I was thoroughly confused, that makes sense. though that does make me wonder how far 'recent events' corresponds to a combination of 'user preferences' and the various 'events timelines'11:02
* SotK unchecks everything and still sees all of the recent events11:02
Zarahm, is that past recent events or new ones?11:03
Zaramaybe unchecking can't delete things from the list but can stop things being added?11:03
SotKpast ones11:03
Zarawhew.11:04
SotKI'll see if it does anything for new ones11:04
* SotK finds a bug on the preferences page11:04
Zara\o/11:05
* SotK finds another bug, his preferences aren't being updated11:06
Zara\o/ \o/11:07
SotKpedroalvarez: did you ever have any luck getting openstackid working with storyboard?11:39
* Zara updates spec page thing with new knowledge.11:51
pedroalvarezSotK: nope, I guess I didn't configure it properly.11:53
pedroalvarezstoryboard failed with that openid because it wasn't giving some information that storyboard needs (full name in my case)11:53
Zaragoing back through reviews now. other patches depend on these: https://review.openstack.org/#/c/222268/4 and https://review.openstack.org/#/c/231971/ , which are awaiting further review. I've tested them and they don't seem to break anything, but would be good to get another pair of eyes when someone has a minute.12:11
SotKrelating to discussion elsewhere, I think that I want to assert that migrations 022 and 042 are broken12:32
pedroalvarez\o/12:32
SotKeither that or searching needs to work without fulltext indexes12:32
pedroalvarez\o/ for that too12:33
SotK022 is idempotent if the database's reported version is less than 5.6 (which assumes it is using mysql instead of checking)12:34
pedroalvarezthat's true, my suggestion was to check for the feature instead of checking for a version number12:34
SotKthat also means that 022 leaves behind a database that raises errors when used by the API if the database !mysql with version >= 5.612:34
pedroalvarezgiven that mariadb will report different version numbers and will have the features needed12:34
pedroalvarezindeed12:35
pedroalvarezawfull errors12:35
pedroalvarez-;12:35
pedroalvarez-l12:35
SotKchecking for the feature would be much better than the current state12:37
SotKI don't know what should happen if the feature isn't present though12:37
SotKI don't like just "do nothing" very much, since that leads to confusing error messages caused by a seemingly successful migration12:37
pedroalvarezI agree, some kind of fallback in the searches would be good too12:38
pedroalvarez(do you have these fulltext indexes? no? then something else)12:39
pedroalvarezwe have been living without them for a long time, something else should be possible12:39
* SotK creates a story for search fallback12:43
SotKI'm not entirely sure how to go about changing old migrations12:43
pedroalvarezI'm not a database guy, so my suggestions may be wrong :)12:45
persiaMaybe ask in -infra for advice on dealing with old migrations.12:47
openstackgerritAdam Coldrick proposed openstack-infra/storyboard: Fix tags causing 500 error when editing stories  https://review.openstack.org/24920813:30
* SotK unbreaks tags13:30
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Don't add unexpected `story_id` attribute to Comment  https://review.openstack.org/24921913:49
pedroalvarezgreat!13:52
SotKI haven't actually tested that with an updated version of WSME but it no longer adds the offending attribute so it should work I think13:52
pedroalvarezI was having a look at the tags bugfix13:57
SotKah, thanks :)14:01
SotKpedroalvarez: thanks for testing :)14:26
pedroalvarezI tried that fix, and failed...14:31
pedroalvarezwell, I also removed the "{}"14:31
pedroalvarez:)14:31
pedroalvarezi don't know what i did, but I didn't manage14:31
SotKI find that angular's $resource stuff can be very weird sometimes14:34
pedroalvarezthe tags bugfix also works14:36
SotK\o/14:36
* SotK tries to remember if he has said he'll do anything else today14:39
pedroalvarezyou need worklists and boards to remember what you are going to do :)14:42
Zarathere are updates to the email patches, though idk if you had that planned for today14:44
Zara(am now testing 500 bugfix m'self)14:46
SotKah yes, I should probably get round to changing that patch I said I'd change14:47
Zarayeah, I think monty put a -1 on it so it was easier to find/remember14:47
Zaraheh, thought there was a bug in the tags fix but there's not. is a different bug. sometimes stories don't update until they're refreshed (eg: edit a story's detail page, go back to stories page, then click on the story. change detail won't display until refresh.)14:51
Zara*changed detail14:51
SotKoh huh, that is weird14:54
* SotK suspects caching14:55
Zarayeah, same behaviour on storyboard.openstack.org so definitely nothing strangely unique to my instance14:56
Zaragah, wish it were simpler to reply to review comments in gerrit.15:06
SotKme too15:07
pedroalvarezas in new versions?15:07
SotKyeah, its nice in newer versions (the reply button that is added15:08
pedroalvarezbtw, I've put an screenshot in https://review.openstack.org/#/c/231972/15:08
Zarawe should get some common terminology; I was using 'navbar on the left' to refer to the black navbar (that's on the right in that screenshot xD)15:12
ZaraI forgot that it flips on smaller screens....15:13
* SotK goes for "sidebar" for that and "top bar" for the green bit in the picture15:13
pedroalvarez"sidebar" can be also "menu" with "submenus"15:14
ZaraI think I referred to it as navbar because that was the word used in the code, I'm not fussed about how we do it but we should probably pick and then have a screenshot on the wiki labelling the different bits.15:20
Zaraif the sidebar's always at the side and the topbar's always at the top, that wfm15:21
ZaraI could imagine both bars having submenus someday, so I think we should steer away from that.15:21
Zara(naming them that way, I mean)15:21
* persia likes "sidebar" and "topbar", and suggests it may be worth a code adjustment to conform to the selected nomenclature15:22
SotKoh, the lack of link to comments on the dashboard isn't as simple as expected :(15:23
ZaraI seem to remember there were a lot of overrides and things that would make it complicated.15:23
Zarafor nomeclature, I mean15:23
* SotK wonders if Zara is thinking of the bootstrap nav classes here?15:24
SotKthe templates themselves are called "header_menu.html" and "side_menu.html"15:24
Zarayeah, sorry, I think I'm thinking of the classes15:25
SotKoh, its not unsimple, its just a typo causing it to not work15:26
SotKheh15:26
Zara\o/15:28
pedroalvarezI prefer sidebar without specifying side, given that in small screens it goes to the right :)15:29
openstackgerritAdam Coldrick proposed openstack-infra/storyboard-webclient: Link to the relevant story in comment notifications  https://review.openstack.org/24927315:30
* SotK fixes all the small things!15:32
pedroalvarezhm.. I don't know what bug is that fixing :/15:35
pedroalvarezI think I've only ever seen one of those notifications15:35
pedroalvarez2h ago15:35
pedroalvarezand it says "Adam Coldrick updated Fix API for commenting on stories."15:35
pedroalvarezbeing "Fix API....." a link to the story, and it was working15:36
SotKits only broken in notifications of comments15:36
SotK(eg I have one saying "Zara left a comment 2015-11-13 at 15:26:18 :")15:37
SotKwith no context or hint as to where I can find it15:37
pedroalvarezI see, I didn't get any notification for that15:38
SotKyou should get them for anything you're subscribed to15:38
pedroalvarezalso, the other notification is notifying me of something that happend 5h ago15:38
pedroalvarezsaying that it was 5h ago15:38
pedroalvarezsorry15:38
pedroalvarezsaying that it was 2h ago15:38
pedroalvarezmaybe the notification will arrive in 1h :)15:39
* SotK suspects the notifications aren't quite working properly on storyboard.openstack.org15:39
SotKgiven I found the story with Zara's comment, and there were more recent comments that I didn't have notifications for15:40
persiaJust out of curiosity: if I am subscribed to a project, is there a way to unsubscribe from a specific story therein?15:41
SotKnot yet :)15:43
* SotK has yet to figure out a neat way of representing that15:43
persiaYou might ask the #launchpad team, as they have some way to represent that content.15:45
* Zara dunks a pedro's screencap on the wiki with handy labels. feel free to replace wtih something that looks better. :P https://wiki.openstack.org/wiki/StoryBoard15:50
Zara'a pedro's?'15:50
Zara"a pedro's" ?15:50
ZaraI can't type. best ignore me.15:51
pedroalvarezheh, good15:55
Zarait was meant to be a three second job, but it took longer than expected to find out how to upload + embed a picture. (I thought I could upload it from the edit window, turned out I had to do it from the 'tools' menu at the top of the page, then embed it from the edit window after that.)15:57
Zaraso TIL.15:57
*** mrmartin has quit IRC18:34
*** b3rnard0 has joined #storyboard18:56
*** wuhg has quit IRC19:01
*** mrmartin has joined #storyboard19:35
*** mrmartin has quit IRC19:47
*** mrmartin has joined #storyboard19:55
*** b3rnard0 is now known as b3rnard0_away20:53
*** mrmartin has quit IRC21:01
*** SotK has quit IRC22:16
*** SotK has joined #storyboard22:17
*** b3rnard0_away is now known as b3rnard022:56
*** wuhg has joined #storyboard22:57

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