/srv/irclogs.ubuntu.com/2010/10/20/#launchpad-reviews.txt

thumpermwhudson: ping02:22
mwhudsonthumper: pong02:22
thumperhttps://code.edge.launchpad.net/~thumper/launchpad/defer-wip-email/+merge/38791 ?02:22
lifelesshenninge: I've done config.isTestRunner - there was another site that needed updating, so refactor + JFDI02:23
mwhudsonthumper: looking02:27
mwhudsonthumper: i was sure i reviewed that yesterday :/02:28
marsStevenK, online?03:26
=== jtv changed the topic of #launchpad-reviews to: On call: jtv || Reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
marsjtv, was just going to point out to StevenK that I saved a bunch of reviews for him in the +activereviews queue03:26
jtvmars: I get a vague sense that you're hinting at something03:27
jtvIt must be lack of coffee.03:27
marsjtv, well, if he is an OCR mentee today, then perhaps you and he can work out some way to split the workload so that he can gain more experience, but not be overwhelmed with the volume03:28
jtvmars: I don't see anything of yours under Launchpad's "requested reviews I can do"…03:28
marsjtv, I was OCR last shift - I left the reviews on the +activereviews queue so StevenK could pick some of them up03:29
jtvah so03:29
=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Ursinha-afk
thumperjtv: hi03:57
jtvhi thumper03:58
jtvis this about reviews?03:58
thumperjtv: trivial one for you: https://code.edge.launchpad.net/~thumper/launchpad/kill-bad-form-preloads/+merge/3880003:58
thumperjtv: yes... yes it is03:58
jtvI hate that word: "trivial"03:58
jtvbecause it never is.03:58
thumpersure it is03:58
jtvGrowing JS in the TAL, I see.04:00
jtvthumper: is the LP.client.links['me'] !== undefined check something standardized?04:03
thumperjtv: used elsewhere04:03
thumperI'm just using it again04:03
thumperstandardized? prolly not04:04
jtvThis is something I don't like about "undefined": what if someday it becomes a null?  Will we notice that this code breaks?04:04
thumperjtv: only with a shed load more 404s :)04:05
thumperjtv: like we get now04:05
jtv:/04:06
jtvI know our coding guidelines like explicit comparisons, but it'd be so much more robust to test if (!foo)…04:06
jtvAnd adding 2 windmill tests for this is a hefty price to pay as well.  Crap.04:09
jtvthumper: have you considered solving the problem in TAL?04:11
thumperwhich problem?04:12
thumperthe logged in one?04:12
thumperno, not really considered it at all04:12
jtvI was wondering if we could have a marker class on #portlet-subscribers, so that there's simply nothing to hook the lazr widget into if it's not appropriate to show it.04:15
jtvThe marker class would appear only if it's appropriate to show the widget.04:16
jtvWhen the marker class is absent, installing the widget AIUI should do nothing because it won't find the bit of HTML that it's trying to hook into.04:16
wgrantStevenK: Is there an existing constant for that?04:25
wgrantI couldn't find one.04:25
StevenKwgrant: There could be, I meant to add "i'm not certain"04:29
StevenKPerhaps move the constant to same places as the others?04:29
wgrantStevenK: Ah. I guess the "It's" could have been "Is" or "Isn't", and I read it as the latter.04:29
wgrantI could.04:29
wgrantIMHO it belongs next to the publisher.04:30
wgrantBut I could be wrong.04:30
jtvthumper: I think my modem wanted to be alone for a while.  What was the last you saw of me?04:30
thumper<jtv> When the marker class is absent, installing the widget AIUI should do nothing because it won't find the bit of HTML that it's trying to hook into.04:42
thumperbut I wasn't listening :)04:42
jtvthumper: that's a shame, because leaving this free to regress untested isn't great either, and two windmill tests would be overkill.04:43
StevenKthumper: I've got two mentor reviews I've just subscribed you too if you have a few seconds.04:43
thumperStevenK: ack04:43
thumperjtv: I'll think on it and discuss with my JS expert, rockstar04:44
* rockstar huhs04:44
jtvthumper: sure.  What I'm suggesting is not going to be as pretty as it sounds, because pure TAL won't help you inject conditional classes.  So a bit of help from the view would probably be needed.04:45
jtvrockstar: hi04:45
rockstarhi jtv.  Am I up that late?04:45
jtvrockstar: yup.  :)04:45
jtvWe're just talking about this MP: https://code.edge.launchpad.net/~thumper/launchpad/kill-bad-form-preloads/+merge/3880004:45
rockstarOoh, I hope this is what I think it is.04:45
jtvIt conditionally disables subscription widgets if the user is not logged in.04:45
jtvBut that's awkward to test (windmill!  I'm Dutch and I don't even like to work with it)04:46
jtvand currently untested, which I don't care much for either.04:46
rockstarjtv, that's okay, since the subscription widget works without javascript.04:46
rockstarSo it only disables the progressive enhancement.04:46
jtvYes.04:47
rockstarAlthough I guess we could teach the widget to look for lp.me, and if it doesn't exist, don't create the activator for the form overlay.04:47
jtvThat'd be good too.  After all, nobody who isn't logged in has any business editing anything at all in LP.04:48
jtvIs this an LP widget or a lazr widget?04:48
rockstarjtv, it's an LP widget that inherits from a lazr widget.04:53
jtvrockstar: then what you say would be ideal04:54
rockstarjtv, yeah, as I look at this patch, I wonder if it's fair to kill all/most javascript for those not logged in.04:54
jtvThat's a good question.04:55
rockstarMost of our javascript is for editing anyway.04:55
jtvDefinitely not all JS, but the only thing you could sensibly do with the API in JS is log in.04:56
rockstarjtv, thumper's change here is good, methinks.  The subscription portlet's progressive enhancement is specifically for handling inline subscriptions.  If you're not logged in, why bother with the javascript?04:56
jtvrockstar: I agree with that part.  What bothers me is leaving it untested.04:57
jtvBut I don't see a justification for several additional windmill tests either.04:57
rockstarjtv, I don't think they're necessary.04:57
rockstarjtv, also, windmill is at the top of my shit list right now.04:57
jtvI hear you.04:58
* StevenK points at his thread on -dev about windmill's other problem04:59
jtvStevenK: which thread is that?05:02
StevenKjtv: 'Failures in Hudson'05:03
StevenKon, even05:03
jtvNo wonder I didn't recognize it.  :)05:03
jtvI thought it was just people complaining about Michael.  :-)05:03
StevenKBwahaha05:03
StevenKIt couldn't be that, mwhudson didn't reply with "How dare you!?"05:04
jtvOh well, I don't suppose windmill's individual failings are relevant here—we'd probably never finish.05:06
StevenKjtv: And see -dev, since lifeless rocks05:06
jtvrockstar: one final attempt at getting this testable _without windmill_ though.05:07
jtvI was thinking we could add a marker class to the subscription portlet that only shows up if it's appropriate for the user to have the subscription editing widget.05:08
rockstarjtv, that seems to be a hack to get around the fact that our tools are stupid.05:08
jtvMore a hack to get around the fact that JS will let you get away with anything and in this case, potentially produce a regression that lots of users will notice but we may not.05:09
rockstarjtv, what's the regression potential here?05:11
jtvIt keeps most of the logic in slightly more tightly controlled areas.05:11
jtvThe "me" check goes wrong.05:11
rockstarjtv, there's a windmill test already that makes sure that you have the JS when you are logged in.05:12
jtvrockstar: eparse05:12
jtvWhat does "have the JS" mean?05:13
rockstarjtv, the progressive enhancement has tests for logged in users already.05:13
rockstarSo the test you're proposing is merely "create a windmill test that makes sure there ISN'T javascript executed."05:14
jtvAs I've been saying again and again, I'm not proposing a windmill test.  I hate windmill tests!05:16
jtvI'm saying I don't like logic in places where only windmill can cover it.05:17
jtvThe reason being that it can fail visibly without us ever noticing.05:18
jtvDon't we have a plain "user is logged in" function or variable somewhere?05:19
jtvThat would address the same problem.05:20
rockstarjtv, yeah, but I don't think the test is going to do any good at all without testing the client (where the fix is occurring)05:27
jtvTrue.05:27
jtvA "user is logged in" function could at least be unit-tested instead of integration-tested though; if we had one, it'd take just that bit more risk out of the JS.05:28
jtvI'm approving as-is, but it's clear that we have some desirable improvements to the JS infrastructure.05:29
rockstarjtv, considering that this bug only manifests itself as an error in a javascript console that most users won't look at, and that if we find an issue in it, we've still got a test to assert the progressive enhancement works when a user is logged in, I think the risk is pretty small.05:30
jtvI wasn't aware that it wasn't user-visible.05:30
rockstarjtv, yeah, it sounds like the rest of Canonical has jumped the windmill ship already.  We're a bit behind on the times.  :)05:31
jtvJumping the windmill ship okay, but where to?  We always knew windmill sucked, but at the time there was simply no alternative.05:32
rockstarjtv, landscape is using jstestdriver, and u1 has set a course to jstestdriverland as well.05:33
rockstarAnd lazr-js already uses jstestdriver05:34
jtvThat looks nice.05:34
jtvthumper: I approved your branch but I'm thoroughly disoriented by the UI.05:36
jtvI give an Approved vote for "js."  Now I can't add an Approved vote for "code."05:37
jtvSo I request another review, from myself, for "code."05:37
jtvNow my js approval shows up as a code approval.05:37
bacyeah, you need to combine them "code js"05:38
jtvGah.05:38
bacdouble gah05:38
jtvSo now I change the type again by requesting yet another review from myself.05:38
bacyou can just add another comment to the review05:39
bacwith 'approve' / 'code js'05:39
rockstarbac, do you still need me to chair the meetings tomorrow?05:42
bacyes, rockstar.  and i thank you.05:42
baci meant to remind you but forgot05:42
rockstarbac, do you have a wiki page to point mo to with old bidness?05:42
bachope the 8am meeting isn't too too early for you05:42
bacrockstar: just the ReviewerMeetingAgenda05:43
bacon dev05:43
bacrockstar: i'll update it this afternoon05:43
rockstarbac, no, I have a 8:10 class every weekday now.05:43
bacin person?05:44
baccan you do your class and the meeting?05:44
rockstarbac, no, but I can miss it.  I'm pretty ahead in that class.05:44
* bac contributes to truantism05:45
rockstarIt's the Tues/Thurs PM class that I can't miss much more of.05:45
bacyou can tell i used to watch "Little Rascals"05:45
* bac pedals off in search of lunch05:46
rockstarSet up canonical.testing.layers.AppServerLayer in 3 minutes 11.145 seconds.06:12
rockstarWhat. The. Hell.06:12
=== jtv is now known as jtv-eat
=== jtv-eat is now known as jtv
=== jtv changed the topic of #launchpad-reviews to: On call: jtv || Reviewing: mvogt || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
bachenninge: i've made changes to my branch and need a UI review.  can you give it a look?  screenshots are attached.  https://code.edge.launchpad.net/~bac/launchpad/bug-652149/+merge/3870509:05
bachenninge: also, you mentioned the edit icon being misplace, but i'm rendering that link as done elsewhere09:05
henningebac: otp now but will look at it later.09:06
bachenninge: thanks!09:06
thumperStevenK: ping09:14
thumperStevenK: I'll go over https://code.edge.launchpad.net/~wgrant/launchpad/no-lucilleconfig-directories/+merge/38650 once wgrant has got back to you and you've approved the review09:17
jtvbigjools: I'm looking at mvogt's branch from a code-review perspective.  Have you looked at the design and if so, any problems with it from that angle?09:21
StevenKthumper: Sorry, I was out walking. I've commented on it.09:21
bigjoolsjtv: what branch?  (can you tell I know nothing? :))09:22
jtvbigjools: https://code.edge.launchpad.net/~mvo/launchpad/support-timeframe-fix-660433/+merge/3850309:22
bigjoolsjtv: that is not ready for review, I need to evaluate it first09:22
thumperStevenK: but you haven't approved it, I'll look then09:23
thumperStevenK: it seems to be good for now09:23
thumperI've got nothing extra to add09:23
StevenKthumper: Sorry, let me do so.09:23
thumperStevenK: are you happy with it now?09:23
bigjoolsjtv: I told him I'd need to test it on dogfood before it got further, I didn't know there was an MP because it's not linked to the bug09:24
jtvbigjools: I'll fix that09:24
jtvbigjools: if convenient, I'd be grateful if you could have a look so that I'll be free vote Approved if appropriate.09:25
bigjoolsjtv: sure thing, after my standup in 30 mins09:25
jtvcool09:26
jtvlinked.09:26
StevenKthumper: I've approved it09:27
bigjoolsjtv: FWIW I don't like the mocks that live in files all over the place09:27
jtvbigjools: I noticed somebody moved some of our test-only objects into main code...09:27
bigjoolsjtv: ?09:27
StevenKbigjools: 25 minutes until the stand-up?09:29
bigjoolsStevenK: no :)09:29
thumperStevenK: approved too09:29
StevenKthumper: Danke09:29
thumpernp09:29
jtvbigjools: I thought that was what you meant with "mocks that live in files all over the place."09:30
bigjoolsjtv: no, he's created a ton of new directories with weird stuff (TM)09:30
* jtv likes Weird Stuff09:30
bigjoolscronscripts/publishing/tests/mock-data/mock-bin/germinate for example09:30
jtvAnd by the way, <compose>tm09:31
bigjoolsthat does nothing here09:31
jtvIsn't that the part where he also noted this himself, and cleaned it up later?09:31
bigjoolsjtv: it's in the current diff09:31
* bigjools -> standup09:31
bigjoolsback in a bit09:31
jtvAh there09:31
jtvOK09:31
bigjoolsjtv: I asked cjwatson to take al ook10:23
bigjoolsa look, too10:23
jtvWell a good Al Ook is nice too.10:23
=== jelmer changed the topic of #launchpad-reviews to: On call: jtv, jelmer || Reviewing: mvogt || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== jtv changed the topic of #launchpad-reviews to: On call: jtv, jelmer || Reviewing: -, - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
jtvjelmer: we've got 2 more on the queue, but I'm having a call soon followed by EOD.11:16
jelmerjtv: Ah, ok11:18
jelmerjtv: I'll have a call soon as well, but I'll take a look at wgrants branch first.11:18
jtvjelmer: great, thanks11:18
jtvI'll see if I can squeeze in Ian's.11:18
wgrantjelmer: Thanks.11:18
=== jtv changed the topic of #launchpad-reviews to: On call: jelmer || Reviewing: wgrant || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
jtvjelmer: I'll still try to review that other branch, just not open for OCR business any more for the day.11:26
jtvjelmer: I'm afraid I won't be able to review Ian's branch tonight, sorry!12:06
henningebac: ui review done. Sorry for the delay, I was hunting misalignments ...12:06
jelmerjtv: No worries; I'll have a look after I finish reviewing William's branch.12:07
=== matsubara-afk is now known as matsubara
=== Ursinha-afk is now known as Ursinha
* jelmer lunches13:15
deryckhi allenap.  wb!14:08
deryckallenap, can we get qa done for bug 655567?14:08
_mup_Bug #655567: Wire up getSubscriptionsForBug() into the notifications machinery <qa-needstesting> <story-subscribe-to-search> <Launchpad Bugs:Fix Committed by allenap> <https://launchpad.net/bugs/655567>14:08
allenapderyck: Sure.14:09
deryckallenap, thanks.  I meant to ask on #launchpad-dev.  irc client tab fail. :-)14:09
deryckjelmer, hi.  I have one for review.  Can I get in line on the queue?14:10
jelmerderyck: yes, of course14:10
=== jelmer changed the topic of #launchpad-reviews to: On call: jelmer || Reviewing: wgrant || queue: [deryck] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
deryckjelmer, thanks!  https://code.edge.launchpad.net/~deryck/launchpad/lock-fix-released-status-126516/+merge/3893114:10
leonardrjelmer, i request a review of https://code.edge.launchpad.net/~leonardr/launchpadlib/remove-broken-code/+merge/3893514:45
jelmerleonardr: Wow, that removes a lot of code.. I'll have a look after Deryck's branch.14:46
* leonardr regrets ever writing that code in the first place... should have stuck to my guns14:47
=== leonardr changed the topic of #launchpad-reviews to: On call: jelmer || Reviewing: wgrant || queue: [deryck,leonardr] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== adeuring1 is now known as adeuring
=== abentley_ is now known as not-abentley
=== matsubara is now known as matsubara-lunch
=== jelmer changed the topic of #launchpad-reviews to: On call: jelmer || Reviewing: deryck || queue: [leonardr] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== salgado is now known as salgado-lunch
jelmerderyck: Hi15:56
deryckhi jelmer15:56
jelmerderyck: Is your MP linked to the right bug? As I read it the bug report asks for disallowing unprivileged users to not be allowed to set the bugstatus to FIXRELEASED, whereas the branch (as I understand it) disallows them from moving away from FIXRELEASED.15:58
deryckjelmer, well, it's the bug I claimed as being for my work, understanding it wasn't a perfect fit.  See my last comment on the bug.  but I certainly could have misread the bug.15:59
* jelmer apologizes for his bad English.. there's an unnecessary use of the word allow in that senstence15:59
* deryck looks closer15:59
deryckjelmer, yes, that bug is not really related as my fix stands now.  I was originally going to go the full route of making fix released a bug supervisor status, but then changed my mind.16:03
deryckjelmer, I'd like to land this as an incremental fix then, and think further about allowing FIXRELEASED as a fully limited bug supervisor status.16:03
deryckor I can just unlink the branch and file a new bug.16:03
jelmerderyck: Either seems reasonable, just making sure that bug wouldn't be closed accidentally when this branch lands.16:04
deryckjelmer, yes, thanks.  I'll follow up and make sure about that.  good catch.16:06
abentleybdmurray: ISTM that NominateBugForProductSeries and NominateBugForDistroSeries vary only in their usedfor attribute.  Correct?16:08
jelmerderyck: r=me16:08
deryckjelmer, thanks!16:08
=== jelmer changed the topic of #launchpad-reviews to: On call: jelmer || Reviewing: leonardr || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== Ursinha is now known as Ursinha-lunch
leonardrsalgado, would appreciate your help on https://code.edge.launchpad.net/~leonardr/launchpad/temporary-integration/+merge/3883616:12
bdmurrayabentley: yes, that's correct.  is there another way to do that?16:14
abentleybdmurray: You could have a base class that didn't have a usedfor attribute, and provide  NominateBugForDistroSeries and NominateBugForProductSeries as subclasses.16:15
=== matsubara-lunch is now known as matsubara
bdmurrayabentley: I think there are some other places I could use that base class too so maybe that'd be better for a separate branch?16:16
abentleybdmurray: Sure.16:17
abentleybdmurray: Around line 45, did you consider using "if check_permission() or check_permission()" instead of if/elif?  That would avoid repeating the Link code.16:18
rockstarjelmer, hi. I'd like to hop on your queue.  Do you have time?16:18
abentleybdmurray: Oh, I see that the actual text of the link varies.16:18
jelmerrockstar: yep, go ahead16:19
=== rockstar changed the topic of #launchpad-reviews to: On call: jelmer || Reviewing: leonardr || queue: [rockstar] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
bdmurrayabentley: right, I consolidated it as best I could16:19
abentleybdmurray: the text variation is because the bug driver's "nomination" is automatically approved?16:20
bdmurrayabentley: yes, that is correct16:20
abentleybdmurray: Your change introducing LinkNotFound reminds me that we do not normally disable links for anonymous users, on the assumption that they can log in if they get an Unauthorized error.16:22
abentleybdmurray: around 217, why have you changed specific imports to imports from canonical.launchpad.interfaces?16:24
bdmurrayabentley: That might have been from a merge conflict I had.  It is better to have the specific imports then?16:25
abentleybdmurray: yes, it is.  It reduces the chance of circular import problems, and it reduces our dependence on the deprecated canonical.launchpad namespace.16:26
bdmurrayabentley: okay, fixing16:26
abentleybdmurray: I also see that around 6816:28
abentleybdmurray: sinzui is working to eliminate use of canonical.launchpad: https://code.edge.launchpad.net/~sinzui/launchpad/apocalypse-interface-imports-7/+merge/3872716:30
jelmerleonardr: r=me16:34
leonardryay16:34
=== jelmer changed the topic of #launchpad-reviews to: On call: jelmer || Reviewing: rockstar || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
abentleyderyck: our usual pattern is to show all links to anonymous users, and if they get Unauthorized, they can log in.  Are you wanting to change that for this branch? https://code.edge.launchpad.net/~brian-murray/launchpad/bug-supervisor-nominate-for-release/+merge/3873316:37
deryckabentley, hmmm, my instinct is to say show the link, though I did say don't show it initially.  I was thinking of how we do milestones.  but that is different, given it's an edit item in the bugtask table.16:39
abentleyderyck: thanks.16:40
abentleybdmurray: please change it so that a link is shown for anonymous users.16:40
bdmurrayabentley: will do16:40
=== EdwinGrubbs changed the topic of #launchpad-reviews to: On call: jelmer, Edwin || Reviewing: rockstar || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
bdmurrayabentley: okay changes made and pushed16:56
abentleybdmurray: looking.16:57
abentleybdmurray: don't logged-in users have launchpad.View?16:59
=== jcsackett changed the topic of #launchpad-reviews to: On call: jelmer, Edwin || Reviewing: rockstar || queue: [jcsackett] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
jcsackettjelmer, EdwinGrubbs: mp when you have time is here: https://code.edge.launchpad.net/~jcsackett/launchpad/join-not-allowed-244527/+merge/3894917:11
rockstarjelmer, did you find my mp?17:15
jelmerrockstar: yep - it's the merge-queues-api one, right?17:15
rockstarjelmer, yup17:15
jelmerEdwinGrubbs: Can you review jcsackett's branch? I will probably not have time for another review after rockstars.17:17
EdwinGrubbsjelmer: I'll do it.17:19
=== benji is now known as benji-lunch
=== Ursinha-lunch is now known as Ursinha
=== deryck is now known as deryck[lunch]
bdmurrayabentley: right.  okay, fix pushed.  I was on a call.17:30
abentleybdmurray: r=me17:33
=== salgado-lunch is now known as salgado
salgadoleonardr, do you still need help with that branch or did sinzui's reply clarify things?18:01
leonardrsalgado: i'm working on it now, i'll ask you if i have questions18:01
salgadook, cool18:02
=== deryck[lunch] is now known as deryck
=== benji-lunch is now known as benji
=== jelmer changed the topic of #launchpad-reviews to: On call: Edwin || Reviewing: - || queue: [jcsackett] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
leonardrsalgado, any ideas how to word the first sentence so that it mentions "all applications"? would it be enough to put that information in the header?18:42
salgadoleonardr, well, the first sentence I suggested already mentions "all applications"18:45
leonardrsalgado: that's in the second sentence18:45
leonardrfirst sentence is "the (whatever) called (whatever) wants access to your launchpad account"18:45
bdmurrayEdwinGrubbs: could I get https://code.edge.launchpad.net/~brian-murray/launchpad/bug-supervisor-bug-expiry/+merge/38958 added to the queue?18:46
EdwinGrubbsbdmurray: sure18:46
salgadoleonardr, sorry if I wasn't clear, but I meant to drop that18:46
salgadoI don't think it's of any help18:47
leonardrsalgado: now i'm quite confused. you suggest "Would you like to give all applications running18:48
leonardr  on <mycomputer> full access (including making changes) to your Launchpad18:48
leonardr account?"18:48
leonardrbut now you don't think that's helpful? i think it is18:48
leonardrotherwise it's not clear to a naive user exactly what it means to give "your computer" access, is it something on the kernel or hardware or what18:49
salgadoleonardr, I meant that that should be the first sentence18:49
leonardrah, the current first sentence should be removed18:49
salgadoyes18:49
leonardri respectfully disagree--i think the wording is fine now (although the heading could be changed), and that part of the ui was already reviewed by someone else. how can we resolve this?18:50
leonardrsalgado -^18:51
salgadoleonardr, well, I don't think there's much value in reviewing parts (in this case, one or more sentences) of a UI -- they ought to be reviewed as a whole.  I suggested you drop it because it doesn't (IMHO) help the user in deciding what to do, but if you disagree that's fine, although it's good to state your rationale in the MP for further reviewers to know18:57
leonardrsalgado: ok. my rationale is that "this computer wants access to your launchpad account" is very vague, especially to a naive user18:58
leonardrand even to a knowledgeable user, because it's not technically accurate. your *desktop session* wants access to your launchpad account18:59
leonardrbut explaining that will confuse naive users even more18:59
salgadois that why you want to keep the vague first sentence?19:02
leonardrsalgado: yes. the vague first sentence makes a naive user say 'oh, ok', and the second sentence makes an experienced user say 'oh, that's what they mean by 'my computer''19:04
salgadoleonardr, I buy that19:07
=== gary_poster_ is now known as gary_poster
salgadoleonardr, I can't think of a way to include "all applications" in the first sentence, though, but maybe sinzui or mrevell can?19:09
=== bdmurray changed the topic of #launchpad-reviews to: On call: Edwin || Reviewing: - || queue: [jcsackett, bdmurray] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
lifelessEdwinGrubbs: https://code.edge.launchpad.net/~lifeless/launchpad/bug-663828/+merge/3896719:46
=== lifeless changed the topic of #launchpad-reviews to: On call: Edwin || Reviewing: - || queue: [jcsackett, bdmurray, lifeless] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
leonardrsalgado, sinzui, now i have a real ui question19:47
leonardri'm repeating all the "allow access" buttons as per your suggestion, and grouping them separately from the "deny access"19:47
* sinzui channels beuno19:48
leonardri need to do two things: 1) indent those buttons with respect to the text they're grouped under19:49
leonardr2) put some vertical space between those buttons19:49
leonardri have no idea how to do 1)19:49
leonardrfor 2), putting each button in its own paragraph gives the right amount of space, but that seems weird. sinzui's suggestions were to use a <div> (which doesn't add vertical space) or a <br /> (which doesn't add enough)19:49
sinzuiI anticipated 2 and wrote the css for 119:49
leonardrany ideas?19:49
* sinzui looks as CSS19:49
leonardrsinzui: the only css you have is class='actions', and that's not doing anything for me19:50
sinzuileonardr,  the class .subordinate to indent them 2em. we have forms that are generating <ol class="subordinate"> that do extra indentation19:52
leonardrall right19:52
sinzuileonardr, there is a ul.buttons class. That sounds like you want, but i cannot think about where it is used. It ensures padding around them19:53
lifelessEdwinGrubbs: are you still ocr?19:53
sinzuileonardr, so maybe <ul class="buttons subordinate"> and a li around each button19:54
EdwinGrubbslifeless: yes19:55
leonardrsinzui: class="buttons subordinate" presents all the buttons on one line with no indentation...19:55
=== EdwinGrubbs changed the topic of #launchpad-reviews to: On call: Edwin || Reviewing: jcsacket || queue: [jbdmurray, lifeless] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
lifelessEdwinGrubbs: ok cool19:56
leonardras does "buttons" on its own. so maybe "buttons" is not what we want19:56
sinzuileonardr, sorry, I see the li rule for button is causing that19:59
sinzuileonardr, try subordinate by itself20:00
leonardrsinzui: looks great20:04
leonardrthanks20:04
leonardrsinzui, salgado: one more idea. i could change [allow foo to access my launchpad account] "Permanently" to "Until I Disable It". good idea?20:05
sinzui+120:05
salgado+120:06
=== EdwinGrubbs changed the topic of #launchpad-reviews to: On call: Edwin || Reviewing: bdmurray || queue: [lifeless] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
leonardrsalgado, sinzui, if you refresh the screenshot on my personal site it should be more to your liking now20:23
salgadoleonardr, what's the url again?20:24
leonardrsalgado: let me just attach it to the bug20:24
leonardrsalgado, sinzui: https://bugs.edge.launchpad.net/launchpad-foundations/+bug/663436/+attachment/1703638/+files/Screenshot-1.png20:26
_mup_Bug #663436: Allow temporary integration of desktops into the Launchpad web service <Launchpad Foundations:Triaged> <https://launchpad.net/bugs/663436>20:26
leonardrs/Permanently/Until I Disable it/20:26
sinzuileonardr, have you seen what the first four buttons look like horizontally? I wonder if allow on one line and disallow on another line is easier to read20:29
leonardrsinzui: i can show it to you and you can decide. i think separate lines work better20:30
salgadoyeah, I was thinking about that: [Permanently], [For One Hour], [For One Day], [For One Week]\n or [Do not Allow...]20:30
sinzuileonardr, I need to pickup my children.20:30
leonardrok20:30
leonardrsinzui, salgado: https://bugs.edge.launchpad.net/launchpad-foundations/+bug/663436/+attachment/1703651/+files/Screenshot-2.png20:38
_mup_Bug #663436: Allow temporary integration of desktops into the Launchpad web service <Launchpad Foundations:Triaged> <https://launchpad.net/bugs/663436>20:38
salgadoleonardr, maybe with the commas and the "or" before the [Do not Allow]  button, as I suggested?20:39
salgadoleonardr, maybe also placing the "accept" buttons on the same line as the sentence?20:40
leonardrsalgado: https://bugs.edge.launchpad.net/launchpad-foundations/+bug/663436/+attachment/1703661/+files/Screenshot-3.png20:42
_mup_Bug #663436: Allow temporary integration of desktops into the Launchpad web service <Launchpad Foundations:Triaged> <https://launchpad.net/bugs/663436>20:42
leonardrlooks weird to me20:42
salgadoleonardr, indeed.  can you try just on the same line as the sentence, without commas?20:45
leonardrsalgado: https://bugs.edge.launchpad.net/launchpad-foundations/+bug/663436/+attachment/1703663/+files/Screenshot-4.png20:49
_mup_Bug #663436: Allow temporary integration of desktops into the Launchpad web service <Launchpad Foundations:Triaged> <https://launchpad.net/bugs/663436>20:49
salgadoleonardr, I think that looks nicer; just need some more vertical space between the buttons20:51
leonardrsalgado: how can i do that? even <br> isn't helping20:52
leonardrok, got it20:54
leonardrhowever, you should know that the "For One Week" button is wrapping around to the next line20:55
leonardris that ok with you?20:55
salgadooh, in that case it's probably better to leave them all on a separate line20:55
salgadois it wrapping after your change?  maybe we can do something else that adds the v spacing but don't cause the wrapping20:56
leonardrsalgado: https://bugs.edge.launchpad.net/launchpad-foundations/+bug/663436/+attachment/1703675/+files/Screenshot-5.png20:58
_mup_Bug #663436: Allow temporary integration of desktops into the Launchpad web service <Launchpad Foundations:Triaged> <https://launchpad.net/bugs/663436>20:58
leonardrsalgado: even if we do something fancy, a long computer name like "Salgado's Computer" might make it wrap20:58
salgadogood point; it doesn't even need to be that long20:59
salgadoI like the -5 screenshot best, I think20:59
leonardrok20:59
=== matsubara is now known as matsubara-afk
leonardri will run that through ec2 and land tomorrow21:00
salgadoleonardr, cool, but I'm still not a graduated UI reviewer, so sinzui must give another thumbs up21:07
leonardrok, put a comment in the review and ask sinzui to weigh in when he comes back21:08
sinzuileonardr, salgadoI like ...-5 too21:09
sinzuileonardr, If I was mocking this page in text I would have typed...21:09
leonardrsinzui: i pushed my revisions to achieve screenshot #521:12
sinzuileonardr, http://pastebin.ubuntu.com/517028/21:12
sinzuileonardr, I would have used "or" to introduce the other kind of decision21:12
bdmurrayEdwinGrubbs: the configure-bugtracker link does appear on launchpad.net21:12
bdmurrayEdwinGrubbs: in the "Configuration Progress" portlet area - https://staging.launchpad.net/bughelper21:13
salgadosinzui, as in http://launchpadlibrarian.net/57938554/Screenshot-3.png?21:14
sinzuileonardr, also, check capitalisation. Button are title case so i think "It" and "Not" are preferred21:14
sinzuisalgado, I see. I do think or on the same line as the button looks odd21:14
sinzuiTrying to make the options into a sentence look odd in itself21:15
sinzui5 is definitely easier to read than 321:16
leonardrsinzui: "it" is an article. i think https://dev.launchpad.net/UserInterfaceWording is wrong in saying you have to capitalize the last word (i think it means the first word?) but i'd just as soon capitalize everything21:17
leonardrbut /me is far beyond the point of caring and will do whatever will get this thing approved21:18
sinzuileonardr, I think it is a pronoun21:20
leonardryeah, you're right21:21
leonardrsinzui, salgado: http://launchpadlibrarian.net/57940682/Screenshot-6.png21:21
salgadolooks good to me21:22
leonardractually, /me no longer clear why "Allow foo to Access my Launchpad Account" is the case it is21:22
sinzuiI like 6 best, but I do not want to fight anyone over it21:22
salgadoleonardr, it shouldn't21:22
salgadothat's from when it was a button21:23
salgado"Allos foo to access my Launchpad account:"21:23
sinzuisalgado, ? 'Until I Disable "foo"'21:24
salgadosinzui, the capitalization of the sentence preceding the buttons is wrong.  it should be "Allow foo to access my Launchpad account:"21:25
sinzuiokay21:25
sinzuisalgado, leonardr which layout do you like best, 5 or 621:27
salgadoI prefer 621:27
leonardreither is fine w/me21:27
EdwinGrubbsbdmurray: but the configure-bugtracker link only shows up on the lp.net/$project page if the user has launchpad.Edit permission. It does not show up if the user has launchpad.BugSupervisor permission.21:28
sinzuileonardr, salgado, okay 6 is the layout. Thanks you both for taking time to do this extra work.21:31
bdmurrayEdwinGrubbs: ah, okay then21:31
leonardrsinzui, salgado, i have pushed final version21:33
sinzuileonardr, I approved your branch. land away21:38
leonardrok21:38
leonardrthanks21:38
=== EdwinGrubbs changed the topic of #launchpad-reviews to: On call: Edwin || Reviewing: lifeless || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews
=== Ursinha is now known as Ursinha-afk
jcsackettback22:14
lifelessEdwinGrubbs: so that branch is entirely mechanical22:38
lifelessEdwinGrubbs: I'd hope you don't need to spend much time on it22:39
EdwinGrubbslifeless: I just started on it a little while ago.22:39
lifelesskk22:44
=== Ursinha-afk is now known as Ursinha
=== EdwinGrubbs changed the topic of #launchpad-reviews to: On call: - || Reviewing: - || queue: [] || This channel is logged: http://irclogs.ubuntu.com/ || https://code.launchpad.net/launchpad/+activereviews

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