/srv/irclogs.ubuntu.com/2014/05/21/#launchpad-dev.txt

wgrantcprov, cjohnston: people.canonical.com/~wgrant/launchpad/almost-final‽.png01:21
cprovwgrant: hey hey01:22
cprovit is coming up very nicely and since the new layout is more flexible (div) it will be easier to increment.01:24
wgrantI hope so.01:24
cprovwgrant: I've just opened an asana task about finding a way to materialise the IC threads, specially in emails01:25
wgrantI've also dropped the "draft" and "publish" terminology. It nows says "Unsaved comment", and then "Include X inline comments" next to the "Save Comment" button.01:25
wgrantYeah, I've been wondering about how to do that.01:25
wgrantIt's a bit awkward, as they're all at different depths potentially.01:25
cprovwgrant: it's annoying to to read the reviews right now01:25
cjohnstonlooks good wgrant01:27
wgrantSomeone want to review? https://code.launchpad.net/~wgrant/launchpad/ic-js-cleanup/+merge/21953101:27
cprovwgrant: I will01:28
cprovwgrant: can you review https://code.launchpad.net/~cprov/launchpad/delete-branches-with-ics ?01:29
wgrantHm01:30
wgrantWhat do you guys think about renaming "inline" to "diff"?01:30
wgrantThat pretty much just affects the "Include X inline comments" checkbox01:30
wgrantMakes it clearer what it refers to.01:31
cprovwgrant: I wonder if I can just add few other 'ouch' in your MP and let you figure them out ;-)01:31
wgrantHeh01:31
cjohnston+1, more ouch01:31
cprovwgrant: +1 on "diff comments"01:31
cjohnstonif you do that you should probably do the same in the email01:32
cjohnstonwhat about 'View inline comments'01:32
wgrantOh yeah, email and link too, forgot those.01:32
cjohnstonI would argue that 'regular' comments are diff comments too..01:33
cjohnstonIC is actually inline01:33
cprovwgrant: table-layout: fixed, not only predictable but also faster/easier for browsers. Nice one!01:34
cprovhad to look it up ...01:35
wgrantIt's pretty useful here, since divs expand to fill their container, and tds expand to fit their contents.01:36
cprovwgrant: what about the TextWidget for review_type ? what does it bring ?01:38
wgrantcprov: I narrowed it from 20 characters to 15, to ensure that the widgets all fit on one line.01:38
cprovah, cool01:39
wgrantcprov: The rename is pushed.01:45
cprovwgrant: what does the CSS added in the BMP template do ?01:54
wgrantcprov: That's a variation on cjohnston's. It adds a bit of space before the publish checkbox.01:55
wgrantAlso, I've just pushed a regression fix for something that seems to have broken a few days ago: the publish checkbox was being added unconditionally, so inline comments crashed and failed to load for anonymous users.01:55
cprovI think I had fixed that in 17011, on top of cjohnston fixes ...01:57
wgrantOh, so you did01:57
wgrantI'll uncommit and merge01:58
wgrantcprov: Have you seen any more issues on (qa)staging since those firewall fixes a few hours ago?02:02
cprovwgrant: wait, there were 2 problems, you have to manually merge the conflicting hunks. I've only fixed the checkbox being rendered multiple times (in tests, essentially) and you have fixed the not-logged-in issue.02:02
wgrantAlso, you added a tab!02:03
wgrantDie02:03
cprovI must, I don't know why the emacs in my vm is allowing this shit ... I will review my config02:08
cprovjslint should have exploded in my face when I try to commit, that's how we should setup project for dummies (like me)02:09
wgrantHeh02:10
wgrantcprov: The line-no col is wide enough to contain five digits plus the add sprite.02:15
cprovup to 99999 lines diffs then, not at problem02:17
wgrantWell, if you go back to your old days... :P02:17
cprovwgrant: so, you really want new methods on CRICSet ...02:17
wgrantcprov: All the other manipulation code (apart from person merge) is in codereviewinlinecomment.py02:18
wgrantI really don't want it to get like various other LP model classes, where there are ten different modules that alter them.02:18
wgrantMakes it very difficult to change anything.02:19
cprovright, you think I should implement also the removal on CRICSet methods, or should I return ResultSet to be removed on the callsite ?02:20
wgrantI think you should just implement a remove method. We don't expose any ResultSets from CRICS at the moment, and I can't really see any valid reason for someone to want one.02:21
cprovwgrant: agreed, also the removal() should really consider both CRIC and CRICD as it is implemented in BMP, right ? they are likely to be removed together every time.02:23
wgrantcprov: Right, that might well be a good thing to do.02:25
wgrantI can't see much of a reason to split them.02:25
cprovwgrant: code moved and pushed02:32
wgrantcprov: I'd rename the method to removeFromDiffs or similar, but that looks great otherwise. Thanks.02:39
cprovwgrant: no problemo, renamed version pushed02:41
wgrantcprov: How much longer are you likely to be around? I think I might implement a quick fix to only include commented files (not just hunks, at least not yet) in emails.02:42
cprovlonger enough.02:42
cprovwgrant: http://lpbuildbot.canonical.com/builders/lucid_lp_lxc/builds/1172/steps/shell_9/logs/summary is that old spurious failure, right ?04:36
wgrantcprov: Yup, already forced.04:36
cprovwgrant: thanks04:36
cprovwgrant: how is the ic-email improvement ?04:37
cjwatsonwgrant: Any luck with the livefs reviews?  I know there's been the whole pg9.3 thing, and lots of work on IC ...08:20
cjwatsonI've put the remaining things people are asking for on the shelf for now, since I reached the point where I could do a touch image build with an added PPA08:20
wgrantcjwatson: Sorry, busy with staging and postgres and inline comments and PPA microservice and ephemeral PPAs and Malta... Three of those are coming to a close tomorrow, so I might actually have some time.08:22
cjwatsonOK, thanks08:24
wgrantcjwatson: Is Laney's cron.germinate change sane? I saw some debate over what the name should be.08:26
cjwatsonOh, that bit of the naming is fine.  I was meaning to review and land that for him today.08:57
cjwatsonIt will cause tasks to appear for sdk-libs or something like that, but they were actually wondering why they weren't there anyway08:58
cjwatsonAnd it will cause cron.germinate to take that bit longer, of course, but I've been looking at parallelising it ...08:58
cjwatsonLaney: Could you please set a commit message for https://code.launchpad.net/~laney/launchpad/germinate-ubuntu-touch/+merge/220233 ?09:14
Laneycjwatson: Oh right, yes09:14
Laneytry that09:15
cjwatsonLaney: Thanks, landing09:17
Laneycheers09:17
cjohnstonwgrant: have the new IC changes been released?12:05
cjohnstonI guess maybe it's DC changes now? ;-)12:05
wgrantcjohnston: In progress.12:06
cjohnstoncool12:06
cjohnstonHow'd the DB stuff go?12:06
wgrantNot quite uneventful, but eventually successful.12:06
cjohnstoncool12:06
wgrantThe master is now 9.3, and the slaves are rebuilding on 9.3.12:06
cjohnstonoh nice.. so the upgrade was done..12:07
wgrantYep12:10
wgrantI poked the comments stuff pretty thoroughly this evening, and fixed a few bugs12:10
wgrantIncluding a hilarious off-by-one error in the email formatter, where comments were showing up a line later, and the first line of the diff was always missing.12:11
jelmerwgrant: is launchpad really going to do inline comments on code reviews?12:16
wgrantjelmer: On Monday, with a bit of luck.12:17
jelmerwgrant: good stuff12:17
cjohnstonby "with a bit of luck" he means pencil and paper12:20
cjohnstonwgrant: take a look at https://code.launchpad.net/~ursinha/uci-engine/ts-add-mp-support/+merge/220275  I think we may need to rethink the design of my "comment" a little... cjohnston a moment ago: (and then nothing)12:21
cjohnstonthe way it is it looks really odd without any sort of review or comments or anything12:21
wgrantcjohnston: Yeah, I think we probably want to move the "Show diff comments" link into the body somewhere. We really need space on the bottom of each comment to have links12:21
wgrantShow diff comments, Reply, and Save/Cancel in the case of the inline editor.12:22
wgrantThere's no way to have actions today.12:22
wgrantAlso the Delete button, and possibly a future Edit feature12:22
cjohnstonedit!12:22
wgrantIt's all really awful atm, no consistency. And the inconsistent bits are dreadful anyway.12:22
wgrantcjohnston: prod's all up to date now, if you want to prepare that email.12:58
cjohnstonack. thanks12:58
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== cprov_ is now known as cprov
=== _mup__ is now known as _mup_
cjohnstonwgrant: cprov, what do you think about moving the 'Add comment' stuff to below the diff...23:02
cjohnstonI think it would improve workflow23:02
cjohnstonIf you are replying to a comment you may not need to see the diff, but otherwise, your probably going to be adding a comment after reading the diff23:02
cjohnstonso instead of having to click a link to go back up, why not just have the box below23:02
wgrantcjohnston: The problem is that the diff is enormous.23:46
wgrantThis is why other sites have it on a separate tab.23:46
cjohnstonit apparently isn't completely discoverable That you have to click save comment23:47
wgrantYeah, that's one of the big remaining issues.23:49
wgrantBut moving the comment form below the diff would make it very difficult to find.23:49
wgrantEven for MP-wide comments.23:49
cjohnstonpersonally i would expect it to be at the bottom and not Where it is23:50
cjohnstonit seems odd to have to scroll back up after scrolling to the bottom23:50
wgrantSure, but then you have to scroll through 5000 lines of diff.23:51
wgrantJust to find the comment form23:51
wgrant+ it separates the comment form from the comment thread23:51
wgrantWhich is weird23:51
cjohnstonor scroll 10k lines to read the diff and then go back up23:51
cjohnstonwhat do you think about changing the new bottom link to be either 'return to add comment' or 'return to save comments' depending on if drafts are present or not23:53
cjohnstonthat may help discoverability slightly23:54

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