/srv/irclogs.ubuntu.com/2014/05/30/#juju-gui.txt

hatchhuwshimi I replied to your comments01:05
huwshimiI'll take a look01:05
kadams54hatch: Thanks for the heads up on my card. I got it to happen once or twice but then had a hell of a time reproducing. Now I know why :-) I suspect the first few times were due to cached JS.01:06
hatchkadams54 yeah :) 01:08
hatchhuwshimi thanks, so pending that other issue it qa'd ok?01:09
hatchI'll take a look into it, but because it's pre-existing I might push it to a follow-up01:09
huwshimihatch: Yep.01:10
hatchthanks, can you +1 it :)01:10
huwshimihatch: Done.01:11
hatchthanks!01:11
hatchkadams54 I don't suppose you're up for some late night reviewing? :D01:11
kadams54hatch: sure!01:11
hatchsweet https://github.com/juju/juju-gui/pull/35301:12
hatchthanks01:12
hatchit's big....:)01:12
hatchhuwshimi I made a card for the double render issue, fyi01:14
kadams54hatch: so why the extension for the search widget?01:14
hatchkadams54 because the charmbrowser view was getting too big01:15
hatchand all of those methods were directly related to the widget01:15
hatchso it was a nice place to split it up01:15
kadams54Why go with plain prototypical object in the extension, instead of Y.Base.create()?01:16
hatchthat's all extensions are01:16
hatchthey are simply a collection of methods which get mixed in01:16
hatchanything that's Y.Base.create'd is actually a subclass01:17
hatchthink of extensions as mixins01:17
kadams54(y)01:17
hatchit's a really confusing name, extension01:18
kadams54I like what I see so far01:18
hatcheggcellent01:18
kadams54Much cleaner01:18
hatchgood thing I've used skype so I know what (y) is :D01:18
hatchyeah I think this refactoring turned out pretty well01:19
kadams54Review looks good. I'm assuming you also want the snot QA'd out of it?01:21
hatchthat would be nice :) huwshimi found an issue but it was pre-existing so keep that one in mind01:21
hatchI've got to run for supper, I'll bbl, thanks again for the reviews01:22
kadams54np01:23
rogpeppemornin' all07:10
=== lazyPower is now known as lazypower-travel
frankbanmorning fwereade and rogpeppe: I updated https://codereview.appspot.com/92700044, do you want to take another quick look before I approve the branch?09:18
rogpeppefrankban: looking09:18
frankbanthanks09:18
rogpeppefrankban: couldn't echoCommand and echoScript still be constants?09:22
frankbanrogpeppe: like const echoCommand = "/bin/echo"09:25
frankbans.echoCommand = echoCommand09:25
frankban?09:25
rogpeppefrankban: is there a need for SSHCommandSuite to have either of those fields?09:25
rogpeppefrankban: i'm thinking: const (echoCommand = "/bin/echo"; echoScript = "#!/bin/sh\n"+echoCommand+" $0 \"$@\" | /usr/bin/tee $0.args")09:27
rogpeppefrankban: it's pretty trivial, but i had to look to see if the fields were variable (included a c.MkDir for example) or not.09:28
fwereadefrankban, rogpeppe: yeah, global constants don't bother me the way global vars do09:28
frankbanrogpeppe: ok09:28
fwereadefrankban, LGTM anyway09:28
rogpeppefrankban: LGTM too. feel free to change that or not.09:29
frankbanrogpeppe: updated. rogpeppe, fwereade: thank you both for the reviews09:34
frankbanfwereade: filed 132484109:42
frankbanbug 132484109:42
_mup_Bug #1324841: Improve isolation in utils/file_test.go <juju-core:Triaged> <https://launchpad.net/bugs/1324841>09:42
* frankban lunches11:15
rogpeppeafk11:15
rogpeppeback11:31
=== jcastro_ is now known as jcastro
kadams54Morning all. guihelp: Need a review and QA on https://github.com/juju/juju-gui/pull/35413:48
frankbankadams54: on it13:50
kadams54frankban: Thanks!13:50
frankbankadams54: is it expected that each time I close the inspector the search results are reloaded?14:11
kadams54Right now it gets destroyed and re-rendered, so yes.14:12
kadams54Might be worth talking about whether to just hide/re-show it.14:12
frankbankadams54: uhm, is it difficult to do that? reloading remote contents does not seem so good to me, also from a UX perspective14:16
kadams54Not sure how easy/hard, but it seems like a new card to me, since it would be a significant change to the current behavior. This card is just about fixing the current behavior.14:19
kadams54The behavior around these will change significantly once hatch's branch lands, so I'm trying to avoid changing too much in this card.14:21
frankbankadams54: +114:22
kadams54I'll circle back after hatch's branch is merged and if the content is still re-loading I'll make a card to be more efficient.14:23
frankbankadams54: sounds good, review done, could you please create a bug/card for this issue?14:23
kadams54Will do.14:23
frankbanthanks14:23
kadams54Thanks!14:23
kadams54hatch: when you get a chance, I'd like to chat quickly about stubbed methods in PR#352…14:29
hatchfrankban kadams54 The caching branch that Makyo  is working on right now fixes that issue14:30
hatchright now there is 0 caching14:30
kadams54hatch: good to hear :-)14:30
hatchkadams54 replied to comments in #35314:31
hatchlet me know if I cna land it14:31
hatchlooking at #35214:32
kadams54hatch: go ahead and land it. If you want, I can look into the CSS issue so you can focus on removing the il flag.14:33
hatchsounds good, I need a +1 and a QA OK in the PR :)14:33
kadams54Yup, it's in there.14:34
kadams54Though I just noticed that the merge build is failing?14:34
hatchreplied to #35214:35
hatchlooking14:35
hatchlooks like an IE10 failure, I'll have to pop into that14:36
* kadams54 sees much pain in hatch's future.14:39
hatchwe'll see, we'll see14:40
hatchugh it's a dependency issue.....stupid YUI14:48
bacjujugui stand up in 8:1614:51
kadams54hah14:51
jcsackett:1414:51
jcsackett:1214:52
jcsackett...we need a really annoying IRC bot that does a countdown in the last 10 seconds.14:52
jcsackett"need" may be the wrong word there. :p14:52
MakyoHahah14:53
Makyojujugui call in 214:58
hatchjujugui call now15:00
hatchfrankban rogpeppe 15:01
rogpeppehmm, i seem to be in the wrong hangout15:02
frankbanrogpeppe: https://plus.google.com/hangouts/_/calendar/cmljay5oYXJkaW5nQGNhbm9uaWNhbC5jb20.t3m5giuddiv9epub48d9skdaso15:02
rogpeppei'm here: https://plus.google.com/hangouts/_/canonical.com/daily-standup?authuser=115:02
rogpeppefrankban: ok15:02
bacjcsacket: can you not bookmark https://plus.google.com/hangouts/_/canonical.com/daily-standup ?  (not trying to beat this to death, just curious what you meant.)15:17
bacjcsackett: ^^ oops i somehow misspelled your nick15:18
bacMakyo: did the candidate submit the homework in advance?  i don't see it.15:19
hatchyay no failures in IE10 locally15:20
hatchbrb going to get coffee15:20
Makyobac, not that I can see.  I'm assuming we'll get that first thing.15:20
* bac wants to ask him Big Green Egg bbq questions15:21
frankbanrogpeppe: could you please merge trunk and repropose? https://codereview.appspot.com/99670045/diff/20001/testing/testbase/log.go?context=10&column_width=80 imports from github testing/logging which is confusing now15:27
rogpeppefrankban: ah, ok, will do15:27
frankbanthanks15:28
hatchbak15:33
rogpeppeonce upon a time, i had a computer that was able to multi-task without preventing me from using the mouse15:34
hatchrogpeppe haha15:35
hatchwhen launchpad sends updates from bugs I wish it included a link to the bug15:42
rogpeppeit's aaaalll brooken15:44
hatchwell I hope those IE failures in the CI don't show up again because I coudln't reproduce them locally15:47
hatchkadams54 you can't work on your current card until my branch lands :D15:51
hatchsorry I forgot to put the blocked symbol on it :)15:52
hatchand the IE tests are starting15:58
* hatch crosses fingers15:58
hatchlooks like it passed them16:04
jcsackettbac: if i bookmark it, and then go to it, it won't let me in.16:08
jcsacketteven if i switch authuser16:08
hatchI -always- have to click the link in the calendar16:10
hatchelse it won't let me in16:10
hatchso it's been 45 minutes since I bought my coffee and I can finally drink it....I think they make it too hot16:12
rogpeppedoh! loggo doesn't print anything below warning level by default16:14
frankbanrogpeppe: review done16:15
rogpeppefrankban: thanks!16:15
rogpeppehmm, what's the equivalent of "bzr revert" in git?16:22
rogpeppehatch: %16:22
rogpeppe^16:22
* hatch looks up bzr revert16:23
rogpeppehmm, i guess "git stash; git drop" will do it16:23
hatchwell, do you want to keep the changes?16:23
hatchor throw them away16:23
rogpeppehatch: throw 'em away16:23
hatch`git reset --hard HEAD`16:23
kadams54I'm guessing: "git reset --soft HEAD^" if you want to keep the changes, "git reset --hard HEAD^"16:23
hatch:)16:23
kadams54HEAD goes the latest16:23
kadams54HEAD^ goes back one commit16:23
hatchI never thought of using stash though...that's a cool technique 16:23
kadams54HEAD^^ back two commits16:24
hatchI prefer the ~ syntax :)16:24
rogpeppehatch: it's less characters to type :-)16:24
hatchhaha16:24
kadams54out for a bit16:25
Makyojujugui Those participating in the Thibaut Colar interview call in 516:26
Makyo416:26
hatch321 go16:26
hatch!16:26
bacMakyo: attempting to join.16:30
hatchil runs deep with this one17:10
Makyojujugui https://github.com/juju/juju-gui/pull/355 quick review, but would like two QAs just to be sure.17:36
hatchMakyo did you forget a file or something?17:40
hatchI don't see it cancelling the in flight request17:40
Makyohatch, the problem was that even though it was calling the success callback with the cached data, it was still returning a new request, which was then failing.  Returning undefined got rid of that problem.17:41
hatchohh ok17:41
MakyoSo, not seeing a request to cancel, that becomes a noop.17:41
hatchsounds good17:42
hatchMakyo couple qa issues https://github.com/juju/juju-gui/pull/35517:50
MakyoCool, thanks, will take a look.17:50
* rogpeppe is done for the week17:56
rogpeppehappy weekends all17:57
hatchenjoy!17:59
hatchI should have known that after deleting all those loc's the app wouldn't run18:04
hatch:P18:04
hatchone line fix18:05
hatchawww yeah18:05
hatchgo url flags!18:05
hatchoh boo, we were relying on old code and didn't know it18:07
hatchdown with url flags!18:07
hatchjujugui anyone available to help me qa this remove il branch before I spend 100h fixing the tests :)19:20
hatchkadams54 my branch landed so you can style away20:16
hatchalso I noticed the category listing also looks 'off'20:16
kadams54I noticed, thanks :-)20:16
hatchkadams54 I've removed/modified some css in my il branch https://github.com/hatched/juju-gui/commit/1ffead59a0eea58f915f3a6e3b8b6629752e807c just so we can try and avoid conflicts, (if there are going to be any)20:27
kadams54OK20:27
kadams54Good to know. Still tracking down the problem on my side, so not sure yet what I'll need to change.20:27
hatchcss is such a mess of a language20:29
hatchI hope one of these days we can switch to sass from less 20:30
hatchit'll help a bit I think20:30
kadams54hatch: how do you think it'll help?20:46
kadams54guihelp: Very small, CSS-only PR that needs review/QA: https://github.com/juju/juju-gui/pull/35620:46
hatchwell first, I think the less syntax is a little ridiculous so it'll be nicer to read20:46
hatchsass also provides much nicer functions and the like to work with20:47
hatchwhich will help with some of our nested modules stuff20:47
kadams54We used sass on my previous job; my experience with less started on my first day here :-)20:47
hatchon the top level it's pretty much identical, it's when you really get into it that sass starts to shine20:48
hatchI'll review/qa your branch20:48
hatchkadams54 review and qa done20:50
kadams54hatch: FYI, I tried to create a higher specific rule, but !important worked out to be the simpler solution.20:54
kadams54I can switch back if that's the standard.20:54
kadams54I changed the padding because it broke the inside of the list + I don't see the same breakage that you're seeing.20:54
hatchkadams54 well !important is considered bad practice because it's a smell that the specificity of something else is incorrect20:55
kadams54Yeah, I understand that20:55
kadams54I just take what I consider to be a pragmatic approach20:55
kadams54I'll try to fix specificity as a first resort, but I'm not a zealot about avoiding !important either.20:55
hatchI am because it's almost impossible to override later, you end up with higher specific !importants hah20:56
hatchhmm you're not seeing that spacing issue....what browser are you in?20:56
kadams54Chrome Canary20:57
kadams54This is what I see: http://cl.ly/image/0I2K3Y1s0r1i20:57
hatchok can you try stable?20:57
hatchinteresting, even in FF I get the spacing issue20:58
hatchsafari too20:58
kadams54Spacing looks good to me in all browsers20:58
kadams54FF, Safari, Chrome20:58
hatchweird....20:58
hatchand the bottom border is across the whole sidebar?20:59
hatchdoesn't stop 30px away?20:59
kadams54Yes, bottom border is across the whole thing and the searchbox is nicely centered in the column21:01
hatchwell then....21:01
kadams54That's in private mode across all those browsers, which should eliminate caching as a suspect.21:01
hatchlemme check in Ubuntu21:01
hatchand IE21:01
hatchgimme a few21:02
kadams54Yup21:02
kadams54FYI, I pushed a switch to a higher specificity rule, so you may want to re-pull21:02
kadams54Not a force push yet21:02
hatchchecks out in Ubuntu, checking IE21:05
hatchI can't believe I need whole separate vm's to try different versions of IE lol21:05
kadams54It's integrated with the OS!21:06
kadams54:-)21:06
hatchok so it's showing off for me in Win 8 IE 10, OSX Chrome 35.0, OSX Safari 7.0.4, OSX FF 29.0.1 (only the bottom border)21:09
hatchhmm21:09
hatchkadams54 do you have an ubuntu or windows vm?21:11
kadams54Yes21:11
hatchmind giving those a check21:11
hatchI can't seem to figure out why we would be getting different results from the same codebase heh21:11
kadams54Looks fine to me in all.21:18
kadams54Tried FF and Chrome in Ubuntu, FF, Chrome, and IE in Win721:19
hatchhmm ok we need a tie breaker21:19
hatchjujugui anyone else in atm?21:19
kadams54FYI, I'm going to be traveling in 10.21:19
hatchyeah np - I'm assuming you're working off the latest develop as well?21:20
kadams54My vote is shipit21:20
kadams54Even if it is broken, it's less broken than it currently is :-)21:20
kadams54Yup21:20
kadams54Just double checked21:20
kadams54Also a make clean21:20
hatchok I'm trying from a fresh clone - will see if it gets better21:22
hatchkadams54 ok question, what is the width of the #bws-sidebar element? and the input[name=bws-input][type=search]21:23
kadams54198 for the input21:24
kadams54290 for the sidebar21:25
hatchinput: 233px sidebar: 291px 21:25
hatch:/21:25
hatchwth is going on!!!!!21:25
hatchlol21:25
kadams54<div class="search-widget"> is 250px with 20px padding all around, which is what the total width of the search widget needs to be. It's what the padding was in the old world.21:26
hatchyeah it's 233px wide here21:27
hatcher no21:27
hatchit's 273px here21:27
hatchincluding the padding21:27
hatch233px is the 'computed' width21:27
hatchif I set the width on .search-widget to 250px then it looks good 21:29
hatchbut why....21:29
hatchwhyyyyyyyy21:29
kadams54There should be no width set on it at all21:29
hatchyeah and there isn't21:29
kadams54Or rather, width: auto21:29
kadams54Your sidebar width is 1px off, but that's not enough to worry about21:29
hatchahh I think I found it21:30
kadams54Do you have the mv flag enabled?21:30
hatchnope21:30
kadams54Hmm, doesn't seem to make a diff for me.21:30
hatchthe search result list has an inline style on it for 233px21:30
kadams54Seems like you're triggering some logic that sets that, while I'm not.21:31
hatchyeah - I don't even know what that could be21:31
hatchwell lets wait for a third party here - if that comes back ok then we will just shippit21:32
hatchit's entirely possible my clone is borked somehow21:32
hatchI'm going to try once more21:33
hatchfor good luck21:33
kadams54Heh21:33
hatchnothin21:34
hatchdamn21:34
hatchFOUND IT21:35
hatchWOOOO21:35
kadams54What was it?21:36
hatchdeleting this rule fixes it https://github.com/juju/juju-gui/blob/develop/lib/views/browser/main.less#L5921:37
hatchit overrides https://github.com/juju/juju-gui/blob/develop/lib/views/browser/bws-searchbox.less#L6 which must have been put there for a reason21:38
kadams54That makes me very nervous21:38
hatchyeah, right?  why would the width be specified in two different places, one of which works.....the other doesn't (for me anyways)21:38
kadams54Giving it (deleting) a whirl to see how it works for me21:39
kadams54Looks good.21:39
kadams54Let's roll with it and hold our breath ;-)21:39
hatchhaha sounds good, want to push it, I'll qa it again and then shippit21:40
hatchthis is why I hate css21:40
hatch:P21:40
hatchI suppose it's not entirely the languages fault21:40
hatchhaha21:40
kadams54It's pushed21:40
kadams54Once you +1, I'll rebase and squash21:40
hatch+1'd!21:41
kadams54OK, shipped21:43
bachave a good weekend jujugui-peeps21:43
kadams54bac: you too21:43
kadams54And with that, I'm out21:43
kadams54I'll be back on tonight21:44
hatchcyall21:44
=== hatch__ is now known as hatch

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