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

hazmatg'morning12:15
mattuk1972g'day12:40
bachi gary_poster 13:29
gary_posterhey bac13:30
bacgary_poster, got a second to g+?13:30
gary_postersure bac13:30
bacgary_poster, invited13:32
gary_postertveronezi, fwiw filed bug 1078722 and bug 1078723 per discussion with bac.13:41
_mup_Bug #1078722: "make debug" should not minimize third party javascript <juju-ui:Triaged> < https://launchpad.net/bugs/1078722 >13:41
_mup_Bug #1078723: changes to third party files and bin/merge-files do not cause regeneration of combined files <juju-ui:Triaged> < https://launchpad.net/bugs/1078723 >13:41
tveronezigary_poster: ok13:42
tveronezigary_poster: I am curious to know why do we need to change third-party files.13:45
gary_postertveronezi, two reasons.  First is that we are the author of some of them (like the svg package).  Second is that we may need to be the maintainer of some of them (bac is trying to fix a YUI ellipsis package that last worked in YUI 3.3)13:46
gary_postertveronezi, also fwiw stepping through them means we don't want them minimized13:55
benjigrr, my networking continues to flake out on occasion, some twisted app crashes on login, and my key bindings keep getting forgotten14:03
teknicosounds familiar :-)14:07
teknicobenji, good morning, would you still be available for some pairing? sorry for the on and off, I'm not doing this right14:08
benjiteknico: umm, sure; I am working on my own card now, but if you're stuck I would certainly help14:09
teknicobenji, great, thanks, hangout at emily's?14:11
benjiteknico: sure14:11
=== mattuk1972__ is now known as mattuk1972
benjigary_poster: do you have a second?14:31
benjiEmily would like to talk to you: https://tinyurl.com/see-emily-code14:31
gary_poster:-) coming14:32
frankbanEmily tries... but misunderstands, ah ooh15:01
gary_posterheh15:01
gary_posterspotify in US has virtually no pink floyd :-/15:04
gary_posterno beatles either but I already knew/expected that15:04
gary_postertveronezi, I think Makyo mentioned that he thought that the aggregated files should be served from juju-ui/assets/ in order to support integration in other environments.  I think he is right.  This is another example of where the increasing intelligence of the server script is biting us.  We intend to serve things from a static file15:06
tveronezigary_poster: this is fixed by another branch.15:07
gary_posterah, excellent tveronezi 15:07
gary_posterI think I'm inclined to raise that as a bigger problem, fwiw: we should make the server as much like serving static files as humanly possible if that is really our gioal15:07
gary_postergoal15:07
gary_posterI will make a weekly card15:08
gary_postertveronezi, why do you include files like svg-layouts.js in all-third-min.js but exclude them from all-third.js, to be loaded via modules.js?15:21
frankbanmattuk1972: re growl notifications, in the case of multiple notifications, do we want new ones on top or on bottom?15:21
gary_posterI mean, I guess that is good...15:21
gary_posterBut it seems inconsistent15:21
gary_posterand therefore prone to surprising problems15:21
gary_poster(it surprised me--I had to dig to find what was going on)15:22
mattuk1972frankban, i would say top is newest15:23
frankbanmattuk1972: cool, thanks15:23
gary_postertveronezi, ISTM we should either always have them in "app" (via modules or minimized in all-app.js)15:23
gary_posteror have them always in third party15:23
* tveronezi back.15:25
tveronezigary_poster: yes... they are loaded by the modules.js15:26
gary_posterWas just making those comments in review, but faster in IRC15:26
gary_posteryeah, I know15:26
gary_posterthe question is about consistency15:26
gary_posterin debug mode, they are effectively part of the app15:26
gary_posterand in production they are part of third party15:26
gary_posterI think they should be consistently one or the other15:27
gary_posterI can see arguments for either direction15:27
gary_posterBut consistency and least surprise is what I am looking for15:27
tveroneziit depends how we want to debug those files. Do we want to debug then in a single big file or in multiple smaller ones, like yui modules.15:28
gary_postersmaller is nicer15:29
gary_posterbut then what does "third party" mean?15:29
tveronezithird-party means, "third-party non yui module."15:29
gary_posterTo call a spade a spade, a simpler name for that is "d3"?15:31
gary_posterif we ever have another we can revisit?15:31
gary_posterthat might mean we could be more automated in what we do in marge-files15:31
gary_postermerge15:31
gary_posteryui should contain yui from npm15:32
gary_posterd3 should contain d3 from npm15:32
gary_posterapp files should contain all other js in app.  Possible spelling:15:33
tveronezigary_poster: I didnt get the idea. Why to change the import from all-third.js to d3.v2.js now to change it back to all-third.js when we add another library? We could simply add the new library to the merge-files script.15:35
gary_poster$ bzr ls -R app/ | grep -E '\.js$' | grep -vE -e '\Wd3\W' -e '\Wmodules\W'15:37
gary_posterthat excludes the compiled handlebars output; would have to be added manually15:37
gary_posterMaybe better 15:39
gary_poster$ bzr ls -k file -R app/ | grep -E '\.js$' | grep -vE -e '\Wmodules\W'15:39
gary_posterincludes d3-components, which I guess is correct?15:39
gary_posterthat's what we are doing now15:39
gary_postertveronezi, let's hang out15:40
gary_posterjuju-ui15:40
gary_posterbac bcsaller benji frankban hazmat jovan2 Makyo mattuk1972 teknico tveronezi call in 215:58
mattuk1972thanks gary_poster but i have to run out of the office early today - jovan2 let me know anything that comes up?16:00
gary_postercool mattuk1972 16:00
benjiteknico: I am going to take a short break and then we'll talk to Emily about what we should do next.16:26
teknicobenji, ok16:27
frankbangary_poster: do you have a min?17:04
gary_posterfrankban, I will in maybe 5? 10 max?17:05
gary_posteris that ok?17:05
frankbangary_poster: sure17:05
gary_posterthanks17:05
gary_posterfrankban, juju-ui?17:16
gary_poster11 minutes :-P17:16
frankbangary_poster: joining17:16
gary_posterbac, you around?17:49
bacyep17:52
bacgary_poster: ^17:52
gary_posterbac, thanks.  quick juju-ui call?17:53
* tveronezi lunch time.17:53
bacgary_poster: ok17:53
gary_posterthx17:54
bacgary_poster: in the normal spot17:54
gary_posterbac, yes17:54
gary_posterbenji, you around?18:08
benjigary_poster: yep18:08
gary_posteryou probably need to get lunch, benji?18:08
benjigary_poster: no rush18:09
gary_posterbenji, if you are not on a call and don't feel a lunch rush, I'd like to run something past you in juju-ui18:09
benjigary_poster: I'll be there in a sec18:10
gary_posterthx18:10
gary_posterbcsaller, do you think that bug 1078827 that I just filed is more a UX issue or more a technical issue?18:11
_mup_Bug #1078827: You can never mark a notification as seen <juju-ui:Triaged> < https://launchpad.net/bugs/1078827 >18:12
gary_poster"As far as Francesco and I can tell, there is no longer any way to mark a notification as seen. It would be nice to be able to make them go away."18:12
bcsallergary_poster: UX, there is a method to control that, I think we don't bind it per an old discussion with Kapil. I think clicking them on the view all page highlights them but doesn't remove them, it would just be different handler code or adding an explicit delete button which would remove the model and it would work18:13
gary_posterack thanks bcsaller, I'll bring it up with jovan18:15
* tveronezi back18:23
bacgary_poster: swap day added to canonicaladmin for your approving pleasure18:41
gary_posterthx approved bac18:42
gary_postertveronezi, hey.  I plan to write up what we talked about so we have it in writing and agree on it.  I'll make a card and all that.  I'll do it after lunch18:46
tveronezigary_poster: ok tkx.18:47
bactveronezi: 2nd approve for your 'make debug' card.  thanks.18:55
tveronezithanks bac.18:56
bacbenji: what's the status of your and nicola's branch in review?  is it really up for review?20:04
benjibac: I'm trying to get it up for review now.  If you're interested in reviewing it, I will let you know when I succeed.20:05
* tveronezi brb 15 mins20:05
bacbenji: please do.  i'm waiting on reviews for my branch (hint, hint) so i'd be happy to look20:05
benji:)20:05
bacthanks Makyo20:07
MakyoCheers.20:14
* tveronezi back.20:19
* bac dog walk before the rain20:29
gary_postertveronezi, please review https://bugs.launchpad.net/juju-gui/+bug/1078898 and give me feedback.  I'm going to file related follow-on bugs meanwhile20:58
_mup_Bug #1078898: Makefile does not support static file deployment <juju-ui:Triaged> < https://launchpad.net/bugs/1078898 >20:59
tveroneziok.20:59
benjibac: I finally figured it out: https://codereview.appspot.com/685005221:04
gary_postertveronezi, what did you think?21:28
gary_posterbenji, any thoughts on my last para of https://bugs.launchpad.net/juju-gui/+bug/1078910 ?21:28
_mup_Bug #1078910: development server is unnecessarily complicated and different from production delivery <juju-ui:Triaged> < https://launchpad.net/bugs/1078910 >21:28
benjilooking21:28
gary_posterthx21:28
tveronezigary_poster: looks good... the only problem i see is the css stuff... check the solution I had for my current review... https://codereview.appspot.com/6853044/diff/9001/lib/server.js  21:30
tveronezigary_poster: I realize that this is not the best solution. Probably we will need to skip the css minification.21:31
benjigary_poster: right, we will have to start two processes if the watcher is seperate from the server; I would start each as daemons and add a "stop" make target that kills them21:32
tveronezigary_poster: long story short, yui was not designed to be used this way. It is designed to use a combo loader.21:32
gary_postertveronezi, I believe that :-)21:32
tveronezigary_poster, that means that we need to have a smart server, or that we should use yui combo loader from the Internet.21:33
gary_posterbenji ack, that sounds good.  I was trying to have the watcher be a daemon and the server stay in fg.  I'll update with your suggestion.  thank you21:34
benjimy pleasure21:34
gary_postertveronezi, I have an idea.  You available for hopefully :-) quick G+ in juju-ui?21:38
tveroneziok...21:38
* Makyo dogwalkinates.22:09
* Makyo dedogwalkinates.22:37

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