/srv/irclogs.ubuntu.com/2012/11/07/#juju-gui.txt

mattuk1972hey frankban:11:35
mattuk1972Ive got a fair bit of feedback -all small little details - would you like me to talk you through it or make a document?11:35
frankbanmattuk1972: some notes would be great11:36
mattuk1972okily11:36
frankbanmattuk1972: thanks11:36
bacfrankban: regarding colors, I used a color picker to look at the colors on the assets referenced on the visual design11:58
bacthey are similar but a bit different, which is why i mentioned it11:59
frankbanbac: ah! i have to re-check then... however, I am also waiting for the UX review, so I will fix things up all together. thanks Brad.12:01
bacfrankban: we've got too many specs to reference!12:01
frankbanbac: heh... and the borders in charm-store_detailview_preview.png are shadowed, that can explain the color picking mismatches.12:10
hazmatfrankban, pushed test fixes for rapi fwiw12:56
frankbanhazmat: cool12:58
mattuk1972Frankban: bac: was just going to work though the screen grab and mark out the difference in colour,font weight size and colour and cell size - theres quite a lot of difference 12:59
bachazmat: welcome back.  you here for real?13:00
frankbanmattuk1972: thanks13:00
hazmatbac, not yet, just dropping by, and going through emails13:01
hazmatbac, back for real next week13:01
=== gary_poster|away is now known as gary_poster
gary_posterThere is WIP room13:19
gary_posterlooking to give reviews...13:19
frankbanmattuk1972: awesome review, thanks!13:42
gary_posterfrankban, approved your branch with chatty comments13:59
frankbancool gary_poster, thanks.14:04
gary_posternp14:15
gary_posterMakyo, hey.  Should I mark https://code.launchpad.net/~makyo/juju-gui/replace-service-module/+merge/132938 as rejected so we get it out of the review list?14:19
gary_posterAlso, I think you said you had tests fixed for https://codereview.appspot.com/6782063/ .  If you push those then I can review.  I'm OK with separating out the subordinate creation problems into a separate card14:21
gary_posterbac, I dunno why LP didn't recognize https://code.launchpad.net/~bac/juju-gui/trunk/+merge/133060 as merged, but it is, so I am marking it as such14:22
BradCrittendenthanks gary14:23
=== BradCrittenden is now known as bac
gary_posterbenji, tveronezi I will be reviewing your branches.  Could you also do some work to rustle up a second reviewer for your branches so we can move things along?14:31
gary_posterI am working on benji's now then will move to tveronezi's two14:31
gary_posterif anyone beats me to it that's fine by me ;-)14:31
benjitveronezi: I'll review yours if you review mine14:31
gary_poster:-)14:32
benji(Is this some sort of iterated prisoner's dilemma?)14:32
gary_posterheh14:33
tveronezihahah.14:44
tveronezi:) ok.14:44
tveronezibenji ^14:45
benji:)14:45
Makyogary_poster, Sorry I left myself online last night!  Sounds good for rejecting that mp.  Let me make sure I'm good to push, I agree about the separate card for subordinate issues.14:52
gary_postercool thanks Makyo (and np, I do that all the time for better or worse)14:53
gary_posterbenji, approved your branch with comments & small requests15:11
benjigary_poster: thanks15:11
gary_posterwelcome, thank you15:11
benjiafter my upgrade to 12.10, when I visit some sites in Firefox asks me if I want to install NAME-OF-SITE.  I have said yes to some but I can't find anything in addons or anywhere else.15:15
bacbenji: i've seen that and said no.  wonder what it does15:20
bachi mattuk1972, can i ask you about charm search results styling?15:21
bacnamely the intent of list_one_div and list_two_div15:21
benjion a positive note, I figured out how to kill the persistent tooltips of death15:21
frankbanmattuk1972: so, the border between elements in the charm panel is no longer one line dark gray and one line white. But it's one line dark gray and one line gray, right? With the exception of the first one after the "<- back" section15:22
gary_posterI think the browser thing has different integration depending on the site.  The browser menu may get special options (which can be accessed with the HUD) in some cases; in other cases the site may install controls within the top-right sound menu, for instance, or other existing action menus15:22
benjiinteresting; it would be nice if I could figure out what each site's special features are15:25
gary_posterdunno, but yeah agreed15:31
Makyogary_poster, tveronezi: Events are bound in attachSceneEvents, line 338 of environment.js.  Since each event is bound in the same way with the same signature, we have to call them in the same way if we're to call them from other closures.  I don't know if this is something that might change with refactoring, though.15:45
MakyoNot sure if that helps explain the pattern or not, bcsaller would probably be better at explaining :)15:47
gary_posterMakyo, but foo.bar() is identical to bar.call(foo)15:48
gary_posterso that at least can be simplified, right?15:48
gary_poster(from the latter to the former)15:49
bcsaller.call() supports chaining, foo.bar() doesn't by default15:49
gary_posterbcsaller, that's good to remember, but irrelevant unless we are chaining, yeah?15:51
bcsallerits useful in the sense that we say "if () {one line expression} because you'll often need it later and the cost is low15:52
bcsallerthe braces I mean15:52
* gary_poster not sold on this as a pattern we should therefore follow :-) (YAGNI in the small comes to mind) but maybe we ought to talk about it Friday15:53
MakyoI have no stake in either.  If it changes, it changes :)15:54
gary_poster:-)15:54
mattuk1972frankban: the default divider is one grey one white - except on the ones I've marked - where there is suppose to be in inset shadow effect for example15:55
tveroneziMakyo, gary_poster, bcsaller: It just seems strange to see "this.myFunction.call(this)" but does not break the application. I am good having it if you agree. But don't make it as standard. It should be used only if really need it.15:55
bcsallerits not Method.call or Method.apply, its d3Selection.call() -> selection15:56
bcsallerI don't feel strongly either, but the d3 style is chaining15:57
bcsallerand remembering that something *doesn't* chain is more complex to me15:57
gary_posterbac bcsaller benji frankban jovan2 Makyo teknico tveronezi call in 215:58
frankbanmattuk1972: ok, so, e.g. between description and interfaces, and between interfaces and changelog, it's gray-white. and for all: can you suggest a nice ruler to use with chromium?15:58
bacfrankban: matt has left the building15:58
bacjust as i was about to ask something15:58
frankbanbac: yes... the ruler question is still valid15:59
gary_posterbcsaller, ack.  maybe I don't know enough about context.  Good friday conversation maybe15:59
bacfrankban: yes, that would be handy15:59
* frankban stops counting pixels and joins the hangout16:00
gary_posterjovan2, starting16:01
jovan2gary_poster on my way16:03
hazmatbac, jovan2 thanks, email sent16:29
* bac -> lunch16:37
benjiMakyo: to kill the tooltips you: launch the CompizConfig Settings Manager, enable the Opacity, Brightness, and Saturation plugin, open that plugin, under "Windows specific settings" click the "New" button and enter "type=tooltip" (no quotes) and a value of 0.16:44
Makyobenji, does that kill all tooltips?16:45
benjiMakyo: yep16:45
benjiyou can make the selector more specific to only kill some16:46
Makyobenji, Cool, thanks.  Will try for a while, see if I miss anything16:46
benjior you can make the opacity very low instead of zero so they will still be there, but be less bothersome16:46
* gary_poster lunches16:57
tveronezilunch...17:05
bacgary_poster: the cursor in the charm search box is inially red.  mind if i make that gray?17:37
gary_posterbac +1 thanks17:37
bac s/inially/initially17:37
gary_posterit's the valid thing17:37
gary_posteryou probably know that already17:37
bacgary_poster: it changes as soon as you type17:37
gary_posterbac, right it is a bootstrap valid thing17:37
gary_posterI17:37
bacrighto17:37
gary_postercool17:37
bacjovan2:  can i ask you about charm search results styling?  namely the intent of list_one_div and list_two_div17:40
jovan2bac: I'll take a look...17:40
jovan2bac: are you referring to visual design files?17:41
bacjovan2: yes17:41
Makyogary_poster, do you have time for a quick call in a bit?  I have a question re: this test.17:42
jovan2bac: which zip or pdf file should I be looking at?17:42
bacjovan2: trying to find it on g+17:43
gary_posterMakyo, happy to do it.  IRC/email might be better in the short term, over next hour or two; after that call would be fine17:43
MakyoIRC's fine.17:43
gary_postercool17:43
bacjovan2: https://docs.google.com/a/canonical.com/file/d/0B6l8lFdCRvtqNEZ4bElfVjF0Tjg/edit17:43
bacand the png files in charm_store_assets_1.zip17:44
jovan2bac: it looks like a difference in background colour - white or grey17:45
bacjovan2: right, so there are three backgrounds then.  one for selected and these other two17:45
bacis list_one_div really to be applied to the first in the list and the other non-hovered ones to be different colors?  that is odd to me.17:46
bcsallerHas anyone else seen a problem with `make lint` running on recent branches (or maybe since the upgrade to Q)?17:46
jovan2bac: yes it looks a bit odd to me too. Matt has left already, so will ask him to clarify tomorrow if that's ok?17:47
bacjovan2: sure.  for now i'm going to proceed ignoring list_two_div17:48
jovan2bac: ok17:48
bacfrankban: is your charm panel description branch going to land today?  i need your orange scrollbar18:02
frankbanbac: yes, going to land asap18:03
bacyay18:03
bachey gary, got a second for some pixel counting on stagin?18:39
bacg18:39
frankbanbac: branch landed18:41
baccool, thanks18:41
tveronezibenji: merge-files.js is entirely ours.  :)18:48
benjitveronezi: ok, thanks; I'll finish the review here in a bit, then18:50
=== rog is now known as Guest70098
bacgary_poster, has anyone noted the extra width on the content div, making it hang off 1 px to the right.  most visible when the charm panel is extended19:37
gary_posterI have but I think it is intermittent :-/19:37
baci see it with my branch but noted it is also on trunk.  could not easily figure it out.19:37
gary_posterbac if you resize http://uistage.jujucharms.com:8080/ oevr and over again sometimes it will be just right and sometimes not.  I was the last one to touch this code, and I made it  a lot more reliable (IMO) but there's still this issue19:39
bacok19:39
baci'll make a card19:39
gary_posterok thx19:39
gary_postertveronezi, your Makefile has the same kind of problem that I talked with you about before, with the sprite generation: it runs the compression every time.  This is one way to address it: http://pastebin.ubuntu.com/1340722/19:50
tveronezigary_poster: sweet... tkx. 19:51
gary_posterwelcome19:51
tveronezigary_poster: we dont want to use $(NODE_TARGETS) instead of the node_modules/yui and node_modules/d3/d3.v2.min.js modules. Sure we will download unnecessary stuff, but it would be just once. 19:55
gary_postertveronezi, that's a question?19:55
gary_posteror a statement? :-)19:55
tveronezigary_poster: yeap... question. :)19:55
gary_posterheh ok19:55
gary_posterI originally used $(NODE_TARGETS).  I then wanted to be more specific about what this depends on.  The most proper approach IMO would be to add app/assets/javascripts/d3.v2.min.js and *all* of app/assets/javascripts/yui/* (recursive) to $(NODE_TARGETS) (which is true--we're making those too) and then depending on the d3 and the yui in app/assets/javascripts19:58
gary_posterListing yui was annoying19:59
gary_posterSo but it would be good because that's what the script *actually* depends on19:59
gary_posterthe combinejs script I mean19:59
gary_posterSo then I compromised and said I only depended on nodejs and d2319:59
gary_posterd319:59
gary_posterit will still build *all* of the node_modeules20:00
gary_posterthere's no target for "only build these parts of node_modules"20:00
gary_posterso it is really just documentation20:00
gary_posterSpecifying $(NODE_TARGETS) is *practically* exactly equivalent20:01
gary_postertveronezi, ^^20:01
tveroneziok.20:02
gary_posterIn sum, what I did was a documentation compromise.  What you propose would be acceptable, and practically equivalent, but not in my picture of how things are really supposed to work with a Makefile.  Since I'm only compromising, do whichever you prefer,.20:02
gary_posterIf I were *really* doing it right, I'd feel stronger about it :-)20:02
tveronezigary_poster: for some reason, using the $(NODE_TARGETS) does not work. The combinejs always runs three times if I use it. :/ I think I will stick with your first solution.20:05
gary_postertveronezi, that suggests to me that the files listed in NODE_TARGETS are not quite right20:06
gary_posterso you could also try to to tackle it from that perspective20:06
gary_posterbut do what you wish20:06
tveronezigary_poster: thanks for your solution for the make files. I was struggling to get it working when I started the branch. I forgot to ask your help before submitting the branch. It works like a charm.20:08
gary_postercool tveronezi 20:08
tveronezigary_poster: do you mind if I create another card for the  $(NODE_TARGETS) issue? I mean, another card to pinpoint what is not supposed to be there?20:10
gary_postertveronezi, if you wish.  to be perfectly honest, I'd plan on forgetting about it until it bit me later :-P  Certainly you don't need to address it in this branch IMO20:11
tveronezigary_poster: ok... tkx.20:12
* bac being summoned to the fort. bbiab.20:32
gary_postertveronezi, I submitted a preliminary review for the file aggregation branch; I'll have more later 20:50
tveronezigary_poster: ok... tkx.20:50
gary_posterbac, if you are available to review https://codereview.appspot.com/6819104/ then maybe tveronezi and I can review https://codereview.appspot.com/6817101/20:53
MakyoWoo, have FF almost as fast as Chrome now.21:36
gary_posterWow, Makyo cool21:37
bacgary_poster: ok.21:39
bactveronezi: 2nd review done.  thanks.21:46
tveronezibac: tkx.21:46
bacthanks for the review gary21:48
gary_posterwelcome21:48
baci set the spacing to 10px as stated.  perhaps something else is making it more.21:48
bacas to the different backgrounds, I asked jovan about it and he was going to check with matt.  it didn't occur to either of us that it was alternating a la green-line21:49
bacif that is their intent, i think they didn't get it quite right on the vis design.  makes sense, though.21:50
gary_posterbac 10px: oh ok.  I didn't see the 10px directive, but agreed that this is what you have21:51
gary_posterso nm21:51
baci wish the inspector gave a better way to measure21:51
gary_posterMakyo, I gave your branch a +1.  You still need another look though21:57
Makyogary_poster, Why thank ya21:57
gary_poster:-)21:57
gary_posterjbye22:14

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