/srv/irclogs.ubuntu.com/2013/04/17/#juju-gui.txt

Makyogary_poster, Proposed, added note in cr.  Can add comment about our internal QA with LGTM if you think that would help00:03
gary_posterMakyo +100:03
gary_posterand thank you00:03
hatchrick_h_: what is a helper? handlebars helper?00:26
gary_posterMakyo hi.  We have permission to land from dfc if you can make some small changes00:26
rick_h_hatch: nvm, I'm going a diff route00:29
rick_h_hatch: I meant like a Y.Object.areEqual()00:29
hatchalrighty00:29
hatchoh that's kind of tough00:29
hatchbecause how many levels deep do you go00:29
rick_h_I'm trying a diff approach. I got everything working but the double routing causes things to get redrawn over and over. 00:29
hatcheverything in js is an object :)00:29
rick_h_so back to trying to check against state to see if it should redraw/load or what00:30
rick_h_hatch: yea, I've got a small state object of just 5 fields00:30
hatchwould instanceof work?00:30
rick_h_hatch: no, I wanted to basically check if the 5 state fields are the same/diff00:30
rick_h_hatch: but all good, that won't work anyway since I need to know on a field by field basis00:31
Makyogary_poster, working on it, not sure what the ResolvedResults was about, but I'll roll it back.00:41
gary_posterMakyo, great, thank you!  I have some progress on the other bug; can share when you are ready if you want (but if it is time for EoD at any point then take it!)00:42
hatchrick_h_: ahh ok00:45
huwshimirick_h_: Has the sidebar content been broken. It won't load for me with: "XMLHttpRequest cannot load http://staging.jujucharms.com/api/0/sidebar_editorial. Origin http://uistage.jujucharms.com:8080 is not allowed by Access-Control-Allow-Origin. "00:46
hatchhuwshimi: yes something about an endpoint being changed00:49
hatch he told me to just ignore it00:49
hatchnot sure if that's reasonable for you00:49
hatch:)00:49
huwshimihatch: Yeah, not so helpful if the content doesn't show up for me to style :)00:50
rick_h_huwshimi: I've got a fix in this branch. sec I'll get you a diff00:53
rick_h_huwshimi: diff is loading: https://code.launchpad.net/~rharding/juju-gui/browser_links/+merge/15921500:53
rick_h_huwshimi: look for the changes from sidebar_editorial/interesting00:53
rick_h_huwshimi: in store.js and then in the sidebarEditorial.js calling it00:54
Makyogary_poster, submitted.  Would be glad to look at changes on the other bug for a bit.00:57
Makyos/submitted/submitting.00:57
huwshimirick_h_: Will you be landing this tonight?00:58
gary_posterMakyo, awesome thanks for submitting.  I'm quite confused.  What I found was that .x and .y were actually set on the service00:58
gary_posterbut then00:58
rick_h_huwshimi: no, I would like to but still working out the double reloading and will need to get 2 reviews and everyone is going to be EOD any minute now00:58
gary_posterI tried to make a setter00:58
gary_posterbut that didn't repeat00:58
rick_h_huwshimi: diff is done loading. Looks like the big part is at the top of the page00:59
gary_posterhowever, now *all* services seem to exhibit crazy dragging behavior Makyo.  I think the only difference is the array.length change I made, which does not make a lot of sense.  My current plan is to try and get things to where they were, get it proposed and maybe landed, and hand it to your able hands.01:00
huwshimirick_h_: What should I do? Branch from yours today?01:00
rick_h_huwshimi: so you can dupe the changes to app/store/charm.js in your branch and I'm getting you the other section you need. 01:01
rick_h_huwshimi: should be like 10 line diff to fix you up01:01
rick_h_huwshimi: line 503 of the diff01:01
huwshimirick_h_: Can't we just land that if trunk is broken?01:01
rick_h_so the first file + line 503 should make it work for you01:01
rick_h_huwshimi: yea, I can get it in a sec. Just have my branch in the middle of a mess and didn't take the time to split off a new thread of work to fix it. 01:02
rick_h_huwshimi: give me 20 and I'll get an update with just that to trunk. 01:02
huwshimirick_h_: OK, that sounds best. Thanks for that.01:02
rick_h_the one downside of colo :)01:02
huwshimi:)01:03
gary_posterMakyo, wow, yeah, fixing that .length thing breaks any service you add01:03
Makyogary_poster, hmm.. Maybe it was doing something right, but it'd be nice to figure out what.01:04
Makyogary_poster, Does this only happen with sandbox, or does it happen with improv too?01:04
gary_posterMakyo, have not tried with improv.  I'm proposing previous fixes, then need to EoD01:05
Makyogary_poster, sounds good.  I'll take a look at proposal, then.01:05
gary_posterthank you01:05
huwshimirick_h_: Also, did you remove the <a> from the changelog toggle?01:08
rick_h_huwshimi: yes, back to using a click event on the whole div01:08
rick_h_huwshimi: so that click-space should fix up peachy back the way it was01:08
huwshimirick_h_: Click-space?01:08
rick_h_huwshimi: the clickable area of the charm-token01:08
huwshimirick_h_: I'm not sure what you mean. It's not inside a charm-token (charm-tokens are only in the sidebar right?)01:10
rick_h_huwshimi: oh sorry, misread. changelog toggle. /me didn't think he touched that01:10
rick_h_huwshimi: oh right. That was the other day. It was a hack because of some debugging that afterwards looked like it did no damage/simpler01:11
rick_h_huwshimi: dealing with bugs where events get bound twice and such so didn't realize what the issue was and was tinkering with the event binding on the changelog stuff to test/fix it01:12
huwshimirick_h_: Want me to replace it then?01:12
rick_h_huwshimi: whatever you think is best. I really didn't care but afterwards initially missed it in cleaning up my debug code01:12
gary_posterMakyo, hatch, quick review? https://codereview.appspot.com/881204301:12
hatchOhhhhhh if you incist01:14
hatch:)01:14
gary_poster:-) thank you01:14
huwshimirick_h_: OK will do. It's more browser friendly so worth doing. I'll get to it when I'm fixing up the changelog today.01:15
rick_h_huwshimi: just remember this is an all JS app. No fallback required. No link handling of <a> really works without JS anyway 01:15
rick_h_huwshimi: can you sanity check https://codereview.appspot.com/8783044 please?01:15
rick_h_huwshimi: it's simple, but I've crossed 12hrs and stoped trusting myself01:16
huwshimirick_h_: Sure, but it's nice to have proper browser handling of links (being able to tab to the link etc.)01:17
rick_h_huwshimi: ah, gotcha you're right there. 01:17
rick_h_huwshimi: so I stand corrected then. :)01:17
gary_posterMakyo, hatch, thank you for reviews!  Makyo, I filed #1169782 and put it on board in Maintenance01:22
gary_posterlanding code now01:23
huwshimirick_h_: Looks ok to me and runs fine here.01:23
rick_h_huwshimi: ok, self-reviewing and landing. Sec to get through lbox01:23
gary_poster_mup_ is sad01:23
rick_h_huwshimi: note that there's no featured atm. They're working on that feature on the backend at the moment01:24
rick_h_huwshimi: but the new/popular are pulled from the live data now woot!01:24
gary_posterrick_h_, huwshimi, looking nice :-)01:24
rick_h_gary_poster: _mup_?01:24
gary_posterrick_h_, _mup_ is the irc bot that is supposed to translate bug numbers to LP links01:25
rick_h_ah, right. I knew it sounded familiar but a company directory came up empty lol01:25
gary_poster:-)01:25
rick_h_huwshimi: ok, should be merging now so check for that update01:25
huwshimirick_h_: Thanks a lot.01:25
* rick_h_ goes back to fighting stupid loading/caching/screw it all issues01:26
rick_h_actually I'm going to give up the fight and carry this card another day. Check you all tomorrow. 01:28
huwshimirick_h_: Night Rick. Thanks for your help01:34
huwshimihttp://staging.jujucharms.com/ has gone down a little while, but I don't suppose anyone is awake to deal with it?07:22
=== rogpeppe2 is now known as rogpeppe
frankbanhi rogpeppe: I've seen --fake-series precise no longer work. How to obtain the same result?10:25
rogpeppefrankban: i think it happens automatically now.10:26
frankbanrogpeppe: cool, trying. at what revision was juju-core frozen?10:27
rogpeppefrankban: i don't think it's frozen yet!10:29
gary_posterMy wife has a dr visit this morning, so I will be unavailable starting in about an hour12:09
gary_posterto take care of our 2-yr-old while she is gone12:09
bacgary_poster: can't you just give her the ipad and have her do QA?12:11
gary_posterbac, heh, I feel more comfortable giving her the ipad when wifi is turned off12:12
gary_posterteknico LGTM with a bug fix and test12:19
* gary_poster is starting the qa for frankban's branch, so other reviewer can just look at code12:23
gary_posterguihelp, someone please remind me what I need to do fully refresh a juju core, including dependencies, please?12:34
gary_postergoogle drive appears to be down for the count12:34
bacgary_poster: if you have no changes to juju-core you can do a 'get get -v launchpad.net/juju-core/...'12:35
gary_posterbac, thanks.  that includes building?12:35
bacrecall it does a 'bzr pull --overwrite'12:35
gary_posterok12:35
bacgary_poster: i don't think so12:35
bacyou'll need a 'go install launchpad.net/jujuj-core/...' too.  that does a build, i think12:36
gary_posterack ok thank you bac, trying12:36
gary_posterworked12:37
frankbangary_poster: thanks for QAing my branch! my own QA showed a behavior we might avoid: if you try to destroy a service in an error state, you hit the known bug of the service not being really detroyed. But, in that case, juju sends a Life: dying message, so the service disappears from the GUI, even if it's still there. One possible solution is a branch (that continues the work of my current one) that only hides the se12:47
frankbanrvices if they are not alive AND not in an error state.12:47
gary_posterfrankban, ugh for the situation, and +1 for the solution.12:47
frankbangary_poster: cool, I will do that after this one lands. 12:49
gary_posterthank you12:49
frankbanbac: could you please review https://codereview.appspot.com/8824044 ? no qa required, Gary is already doing that12:49
bacfrankban: ok12:50
frankbanbac: thanks12:50
gary_posterfrankban, bac, I think benji already reviewed fwiw12:52
benjiyep; I tagged it and everything12:52
bacgary_poster: yep, i just noted that12:52
benjiyay for coordination12:52
frankbanah! didn't see the tag, and now the board is not loading. anyway, thank you benji. juju-core already sends the Life field as part of the ServiceInfo delta12:55
benjifrankban: ah, that makes sense; thanks12:55
gary_posterfrankban, qa went well.  LGTM.  thank you13:10
* gary_poster goes to babysit13:10
frankbangary_poster: great13:10
rick_h_bcsaller: when you get rolling today wonder if I can steal some time to chat about routing please. 13:52
hatchthey see me routin......they hatin.....dispatchin.....tryin to catch me ridin recursive......tryin to catch me ridin recursive...14:06
rick_h_hatch: :P14:06
hatchgeek hop mc here14:07
hatchthere was a hilarious tweet the other day  "Bitcoin won't be huge until some rapper claims to have a lot of it"14:08
hatchanyone else find it odd that there is no link to ubuntu one from ubuntu.com?14:31
hatchespecially considering it's a subdomain :)14:32
teknicohatch, sure there is, you just have to dig a little :-P http://www.ubuntu.com/desktop/features/personal-cloud14:34
hatchoh jeeze lol14:35
teknicoand those guys complaining (rightly so, in my opinion) that the community has been demoted to the footer, they had it good14:35
teknicoas the saying goes, there are apps, there are more apps, and there's ubuntu one14:36
hatchsetConfig and setConstraints are undocumented in fakebackend.js14:40
hatchanyone know what the deal is with those methods? I can throw the comments in the branch I'm about to propose14:41
gary_posterhey hatch, thanks.  you mean, can someone give you an idea of what they do so you can write the docstrings?14:42
hatchthat that :)14:42
hatchyeah that*14:42
hatch:)14:42
gary_posterheh14:42
hatchthey are pretty self explanetory I guess but I don't really want to get it wrong :)14:43
gary_posterhatch, yeah, serviceName is a string that is a service id14:43
gary_posterconfig is a an object/hash of values that are set.  Values already existing in the configuration settings are left alone if they are not in the given config14:44
gary_posterThe configuration is a set of values that the charm author has established, and the meaning of each value is defined by the charm14:45
gary_posterconstraints are a way of specifying what kind of machine should be used for a service14:46
gary_posterpyjuju and go juju have different values here, and IIRC this should really come from the provider.  We hard code them now in the GUI, because I guess there is not a better way to get them from juju (we ought to add this to juju core's EnvironmentInfo call)14:47
hatchahh14:48
hatchand `data` is either an array or object of constraint data14:48
gary_posterhatch, I hink it has to be a hash of constraint values.  not sure what else it would be; looking at code14:48
gary_posteroh yeah14:49
gary_posterweird14:49
gary_posterso either an array of strings "foo=bar" or an object {foo: 'bar'}14:49
hatchgreat done14:50
gary_posterthanks again hatch14:50
gary_posterhey rogpeppe1 .  How are things looking on the juju core side for you?  things look good afaict.  question about constraints: right now the GUI hard codes them as ['cpu-power', 'cpu-cores', 'mem', 'arch'].  Can that change for different providers?  If so, could we include schema information in EnvironmentInfo?14:52
gary_posterconstraint schema, I should say14:52
rogpeppe1gary_poster: that can't currently change - it's defined independently of providers14:53
gary_posterrogpeppe1, ok cool for now.  thanks.14:53
rogpeppe1gary_poster: things looking ok i think14:53
gary_postergreat :-)14:53
rogpeppe1gary_poster: i proposed a patch which only starts the allManager when it first gets touched, BTW14:53
rogpeppe1gary_poster: that means that every single agent isn't sucking down all changes to anything...14:54
gary_posterI saw that rogpeppe1.  Cool. Have you done any profiling to see what kind of effect the allwatcher has on the system yet?14:54
* gary_poster is curious about Go profiling tools14:54
rogpeppe1gary_poster: profiling a distributed environment isn't that easy :-)14:55
gary_posterrogpeppe1, true.  However, in this case it would seem that we would want to look at the mongo traffic, at the network traffic, and at the machine usage where the allwatcher is running, yeah?  seems like a pretty good start, at least14:56
rogpeppe1yeah, that would be good to do14:56
hatchLF two reviews please https://codereview.appspot.com/8830043/14:57
rogpeppe1gary_poster: they had 220 odd machines running with it yesterday14:57
gary_posteron it, after tagging board, hatch14:57
rogpeppe1gary_poster: all running the allWatcher...14:57
gary_posterrogpeppe1, cool :-) worked fine?14:57
hatchthanks14:57
hatchteknico: reviewing your branch14:57
rogpeppe1gary_poster: apparently14:57
rogpeppe1:-)14:57
gary_posterrogpeppe1, heh great :-)14:58
gary_posterafter this review will go to Ben's14:59
teknicohatch, thanks, I think frankban is reviewing it too, but be my guest if you wish :-)15:05
hatchthanks for that fix teknico, review all done15:07
hatchgary_poster: any preferred task for me to move to next?15:09
teknicohatch, thanks! please tag yourself on my card :-)15:09
hatchI did!15:10
hatchyou might need to refresh, I have noticed the kanban isn't updating today15:10
hatch(could be just me though)15:10
gary_posterhatch, often that way for me. :-/15:10
hatchahh darn15:10
hatchoh gary_poster I see you created a npm pack ticket in high maintenance - I created one in slack :)15:11
gary_posterhatch, I suggest one of the two available cards from rick_h_ in the Maintenance lane: integrate browser add button in to environment  (I can give background if it is not clear already fwiw), or move default environment content right to account for sidebar being open15:11
rick_h_gary_poster: hatch double route issue! I've got it close!15:12
hatchrick_h_: yeah? you're removing the double dispatching?15:12
gary_posterrick_h_, great!  benji, is that something you are looking at too?15:12
rick_h_hatch: no, but I narrowed a location but don't know where to go frmo there15:12
gary_postermaybe coordination/pairing would be good if so15:12
benjigary_poster/rick_h_: yeah, I'm looking at it15:13
* benji teleport's in.15:13
gary_poster:-)15:13
rick_h_benji: hatch guichat?15:14
gary_posterhatch, those tasks make sense? (fwiw, if you see a ready-to-code critical or high card that you think you can do, you are always welcome to go for it)15:14
benjirick_h_: sure15:15
gary_posterhatch, re npm pack card, I am happy to have it in the "real work" lane :-) I'll look collapse the two cards into one after merging descriptions15:16
hatchsure one min15:16
gary_posterhatch otoh, if you have slack time and want to look at something like that card, you are also welcome to do so.15:16
gary_posterhatch, LGTM with some small fixups15:22
gary_posterbenji, did you see my homage to potpourri?15:25
gary_postergallimaufry was favorite synonym in the thesaurus15:25
benjigary_poster: I did.  That was a new word to me.15:26
gary_posterI might have heard it before, but essentially new to me too.  A fun one though15:27
jcsackettrick_h_: is there any reason that the CharmView doesn't extend MainView rather than Y.View?15:34
jcsackettis MainView meant to *just* be for Fullscreen and Sidebar?15:34
rick_h_jcsackett: yes, just for those two15:38
rick_h_charmview is shared15:38
rick_h_between teh two15:38
jcsackettrick_h_: yeah, i was just noticing that apiFailure thing was in Mainview, so if all views extended that they would have it.15:39
rick_h_jcsackett: right, but that's why the goal was to move it to a view utils15:39
jcsackettrick_h_: right, this was an alternative to that.15:39
rick_h_so that the views can get it frmo utils vs requiring an inheritance chain15:39
jcsackettthus my curiosity about mainview.15:39
jcsackettmy concern with apiFailure wasn't inheritance--it's that we have it defined multiple places. one place via inheritance would be fine with me.15:40
jcsackettbut i can see that mainview shouldn't be the parent for everything.15:40
rick_h_jcsackett: right, but not everyone is meant to inherit from mainview. Naming fail on my part 15:40
rick_h_it was an early refactor to pull same code from Sidebar/Fullscreen views15:41
bcsallerrick_h_: If you still want to talk routing let me know15:49
gary_posterjujugui please update kanban15:53
* gary_poster reloads kanban15:57
gary_posterjujugui call in 215:58
hazmatods keynote live stream fwiw http://openstackportland2013livestream.eventbrite.com/16:04
hazmatsorry bad link.. this one is beter http://www.openstack.org/16:07
hazmatmark's keynote is in +1hr 15m16:08
BradCrittendenhazmat: our ad slide is not too compelling...16:09
=== BradCrittenden is now known as bac
hatchoh woops I forgot to mention I'm taking lunch at 12:15 today16:10
hatchjust fyi16:10
bachatch: 私は日本のロボットではないです、どうもありがとうございました。16:11
hatchbac: lol16:11
* bac -> ceviche16:12
gary_posterbac, lol16:12
benjigary_poster: I marked https://bugs.launchpad.net/juju-gui/+bug/1170031 as "high" but it could go either way; feel free to change as you see fit.16:16
teknicogary_poster, maybe you want to rebalance the WIP limits of the different stories :-)16:17
gary_posterteknico, good call thanks16:17
teknicoMakyo, I need your help, hangout when you can?16:17
Makyoteknico, now's good.16:17
gary_posterbenji, is there a user-facing problem that this raises, or is it just about being confusing to developers?16:17
teknicoMakyo, great, thanks: https://plus.google.com/hangouts/_/02bb45411739e441fe107c9f66e2a8cc36ba4ba7?authuser=0&hl=en#16:17
hatchstill looking for one more review https://codereview.appspot.com/8830043/16:18
benjigary_poster: the only user-facing effects are that you will sometimes see a "flash of topology" before you see the final screen you were navigating to, and it does quite a bit more work than it needs to so, slowness16:20
gary_posterbenji, ok.  please add that to description and we'll leave it at high16:20
benjigary_poster: done16:22
gary_posterthanks benji16:22
benjirick_h_: when you get a minute, will you explain "Integrate browser add button in to environment" to me?16:24
frankbangary_poster: when a service is destroyed and you are in that service detail page (or in one of its units detail pages), the GUI hangs ("loading"). Also reproduced in uistage. Filing a bug: does this belong to "maintenance"?16:24
gary_posterfrankban, yes16:25
gary_posterand high, frankban 16:26
gary_postereven on kanban16:26
gary_posterthank you16:26
frankbangary_poster: ok16:26
rick_h_benji: http://uistage.jujucharms.com:8080/bws/sidebar/precise/apache2-6/ has an add button in the upper right. Clicking no that has an event that needs to get apache2 into the ghost environment. 16:28
rick_h_benji: the trick is that in that we've got an instance of BrowserCharm, which I've tried to make backward compatible with the Charm model, but not really tested so the idea is click the button, take our BrowserCharm, turn it into a Charm, and then feed it to whatever needs it to add it to the environment16:29
rick_h_benji: this is in app/subapp/views/charm.js16:30
rick_h_benji: _addCharmEnvironment callback16:30
benjirick_h_: is "add" like the previous "deploy" button?16:30
rick_h_benji: correct16:30
benjiok, I think I understand; I'll work on that16:30
rick_h_benji: but it's all in the fake environment? since you can do this without setting up an environment or what not/16:30
rick_h_/\/? that is16:31
rick_h_benji: cool, thanks16:31
frankbangary_poster: https://bugs.launchpad.net/juju-gui/+bug/117003716:32
benjirick_h_: I don't understand that last bit.  We do set up a "ghost" service for a second while we wait on the back-end to really start the service.16:32
rick_h_benji: well that's the part I'm confused about. SO if a user clicks the "Try out juju" link they land here, have no environment setup yet. So they're working in the 'ghost' one? 16:32
rick_h_benji: or maybe I'm mixing up the 13.10 goal where the charm is 'ghosted' while the right sidebar comes up to provide config and such?16:33
benjioh, that's a different thing, no ghosts there; currently uistage uses the "improv" back-end which is mock juju server16:34
rick_h_benji: so yea, for 13.04 I guess it's just a new 'deploy' button16:34
benjisounds good16:34
rick_h_ok, lunch break!16:35
gary_posterperfect thanks frankban 16:37
frankbannp16:37
* hatch lays a test trap16:51
hatchhttps://codereview.appspot.com/8830043/16:51
* hatch puts a SSD in the trap hoping to catch an unsuspecting reviewer16:52
bcsallerhatch: I'll do it17:00
hatch*snap*17:00
hatchheh sucker....the SSD was fake17:00
hatchhaha :)17:00
bcsallerthe cake was a lie?17:01
hatchlol exactly17:01
teknicothe SSD was OCZ17:01
hatchrofl17:01
* hatch has an OCZ SSD17:01
rick_h_nooooooooo17:01
rick_h_no wonder hatch's test runs take so long :P17:02
hatchhahaha17:02
teknicohatch has temporary data ;-)17:02
teknicono no, the tests run fast, they're just wrong ;-)17:02
hatchlol!17:02
hatchI have timemachine set up so I'm not worried :)17:04
rick_h_heh, /me goes to pull up twitter history of people that have thought that before17:04
hatchassuming of course the backups aren't corrupt - cuz ya know - i've never tested it17:04
teknico*that*'s what I was going to ask:17:05
teknicohow often do you test the restore procedure? :-P17:05
hatchI also have a NAS which everything backs up to, which is also backed up17:06
hatchso while loosing a drive would suck I shouldn't lose any data that's important17:07
hatchshouldn't being the key word17:07
hatchhttp://www.engadget.com/2013/04/17/researchers-devise-fast-and-powerful-microbattery/17:12
hatchremoved 1/4 dispatches17:19
hatchhmm17:29
hatchthis multi dispatch was kind of written right into the core flow of the application17:30
gary_posterGUI is live at ODS17:32
rick_h_woot17:32
hatchyay!17:33
hatchbcsaller: in service.js:1047 there is a `nsRouter.url({gui: getModelURL(service)})` which is generating '/:gui:/:gui:/service/haproxy/ '17:39
bcsallerhatch: because getModelURL includes the NS now?17:40
hatchcorrect17:40
hatchsorry got sidetracked :)17:40
hatchso is that intenttional17:40
hatchor a bug?17:40
hatchahhh17:41
bcsallerI think its the correct behavior, but we might want to add a flag so it returns an object with the namespace and omit the object in service.js17:41
hatchfinalPath = this.nsRouter.url({ gui: matches[idx].path });17:41
hatchok fixing that in service.js17:42
hatchbcsaller: in the request object in show_service there is a param called 'src' which is 'add' or 'replace' any insight?17:52
bcsallerhatch: that sounds like its coming from the history change event maybe. add or replace the url is history state17:53
hatchahh that makes sense ok I'll investigate that17:54
hatchsomehow it's being called twice for a single navigate event17:54
hatchonce with add and once with replace17:54
bcsallerhatch: _navigate is explicitly replacing it looks like17:59
hatchyeah by removing the Y.App.prototype._navigate.call() and just adding it to the queue it only hits the route once18:01
hatchnot sure of the side effects of that decision18:02
bcsalleryeah, its very easy to regress there with back button handling and so on18:02
hatchyeah commenting that out breaks the back button18:04
hatchalright well I think I have found enough18:04
hatchI have to take off for lunc in 10 but when I return bcsaller do you want to chat about this?18:05
hatchsay 1.5h ish?18:05
bcsallersounds good18:08
benjihatch: re. bug 1169638: if I start the server with "make debug" and then enter the URL "http://localhost:8888/:gui:/service/wordpress/" I get a 404.  Is that the sequence of steps that works for you?18:26
gary_posterbcsaller, finally reviewed.  Not having openstack videos open helped :-P18:42
bcsallergary_poster: thanks, looking it over now18:42
rick_h_hah, juju-gui as a "new charm" from the api now18:49
gary_poster:-)18:51
rick_h_hey, 3 days of crazy hacking on only 5 lint errors. It must be sinking in18:52
gary_posterheh18:52
bcsallerrick_h_: unless the lint error, is "cannot continue parse"18:53
rick_h_bcsaller: hah! no, but I know it'll fuss about undocumented functions once I fix the spacing complaints18:53
rick_h_and only one of those. Maybe today *is* looking up.18:55
gary_posterhey rick_h_, if we wanted to add a charm icon, where would we read about what we need to do, do you know?18:56
rick_h_gary_poster: yep, there's a doc in process. Let me get the link18:56
gary_posterthx18:56
rick_h_https://docs.google.com/a/canonical.com/document/d/1hBTH_7RLUYMV-VhZOGxb-bFHICXyVRU4t8L79Dlea80/edit gary_poster 18:56
rick_h_gary_poster: and then save the .svg into the charm as icon.svg18:56
rick_h_gary_poster: and we'll take care of the rest18:56
* rick_h_ crosses fingers that works like it's supposed to. :)18:57
gary_postercool thank you rick_h_!18:57
rick_h_gary_poster: but UX was supposed to be working on one for the gui. Did they get you guys one? 18:57
rick_h_it's on my list to ask about tomorrow as they owe us a new default icon as well.18:57
gary_posterrick_h_, no, but good to know.  when they get it to us it should be easy to add18:57
* rick_h_ double checks the assets folder18:57
benjirick_h_: when the user clicks "Add" should they be taken away from the charm browser, left where they are (with "Add" becoming disabled perhaps) or do you want door number three?18:58
gary_posterA monkey appears...18:58
rick_h_benji: so if you're in sidebar mode I'd imagine you'd stay where you were?18:58
benjiheh18:58
rick_h_benji: but if in fullscreen then maybe the answer is to move to the sidebar view so you can see it, but still have your notes/details up?18:58
gary_poster+1 on both of those, I think that is intent18:59
rick_h_benji: and doing that url handling is in the branch I'm trying to lbox right now18:59
rick_h_gary_poster: coming up empty in the current assets directory so yea, note for tomorrow19:00
benjirick_h_: is the "Add" button even on the sidebar? I only see it full-screen (e.g., on this page http://uistage.jujucharms.com:8080/bws/sidebar/precise/apache2-6/)19:00
gary_postercool thanks rogpeppe1 19:00
gary_posteroops sorry rogpeppe1 , tab handling went crazy19:00
gary_poster:-P19:00
gary_posterthanks rick_h_ 19:01
rick_h_benji: http://uistage.jujucharms.com:8080/bws/sidebar/precise/apache2-1 has add in the upper right. sidebar and fullscreen share the same CharmDetails Y.View19:01
* gary_poster had important idea of Thing We Need To Do and can't remember it now... :-/19:01
rick_h_benji: and it has a isFullscreen ATTR for telling the diff19:01
benjirick_h_: I don't understand something.  Is http://uistage.jujucharms.com:8080/bws/sidebar/precise/apache2-1 "fullscreen" or "sidebar"?19:02
rick_h_benji: sidebar19:02
rick_h_http://uistage.jujucharms.com:8080/bws/fullscreen/precise/apache2-1 is fullscreen19:02
benji(I know it says "sidebar" in the URL, but sure looks like it covers the whole screen)19:02
rick_h_benji: right, but you see the sidebar control and in design it wasn't supposed to fill the whole screen, but it was a 13.04 compromise19:02
rick_h_it'll change19:02
benjiah19:03
rick_h_benji: ah, right. So I guess going to sidebar and showing the environment is going to fail due to the 13.04 negotiations with UX19:03
rick_h_benji: so we'll have to bring that up and adjust that sooner vs later. 19:03
benjiI'll do whatever is simplest for the time being and we can tweak from there19:03
rick_h_benji: yea, so the url handling isn't available yet anyway. So I'd file a bug/card and we'll have to work from there. 19:04
benjiok19:04
* gary_poster remembered! "remove Firefox from warning list now that we have CI"19:05
rick_h_hmm, maybe they'll let me go back to only covering part of the environment in sidebar mode like I started out19:05
rick_h_gary_poster: woot!19:05
gary_poster:-)19:05
* rick_h_ grumbles about not having setup proper email groups for the various groups of people to send stuff about gui related stuff.19:07
rick_h_oh hatch ... :)19:23
benjirick_h_: is it a known thing that simply deploying a service without configuring it might not be all that useful?19:24
rick_h_benji: hmm, I don't know. Up to the charms I guess. Most things aren't useful until you expose something I guess. 19:24
rick_h_benji: but most things should run with sane defaults right? 19:24
rick_h_If I deploy mysql and wordpress and link them and expose wordpress I get a working blog right? /me hasn't tried it out19:25
benjithey should, but I am not aware of a way to change a service's name (with the GUI) after deploying it, and since names have to be unique, that means you can only deploy one of any particular service19:25
rick_h_benji: ok, got me that. I'm not aware of how that part works at all. 19:26
rick_h_/that/there19:26
rick_h_benji: I assumed the -2 -3 and such came out of the environemtn19:26
benjithose are version identifiers19:27
rick_h_well when you juju deploy something and create multiple the local juju commands add a number to the end or do you mean some other name?19:27
benji(or more precisely, uniquifiers)19:27
benjithat's not historically the way the gui has worked19:28
hatchrick_h_: what what?19:28
rick_h_hatch: sec, otp and following benji sorry19:29
hatchok np19:29
hatchbcsaller: you around?19:29
benji(if I were a user I would be pretty irritated if all my web services were named things like "apache2-47")19:29
bcsallerhatch: I am, responding to a review though, maybe 5 minutes?19:29
hatchsur enp19:29
gary_posterbenji you can change the name of the service as you deploy it in the old method.  is this the new method you are talking about?19:30
rick_h_benji: so which name are we talking? 19:30
benjigary_poster: yep19:30
gary_posterah, k,.thanks benji19:31
benjirick_h_: the name of the service19:31
rick_h_'wordpress'19:31
gary_posterrick_h_, benji, when the user clicks add on the left19:31
gary_posterthen the right hand side configuration must appear with a ghost19:31
gary_posteror else we need to go back to UX19:31
gary_poster(when the ghost shows up you can change the name)19:32
* gary_poster has call with deryck19:32
benjibeing able to change a ghost's name is new to me, looking into that19:33
benjioh, right, I can make it do that, but I strongly suspect that's not what the UX thinkers had in mind19:33
gary_posterbenji the ghost name is just a temporary thing.  Even in the default story it is replaced with the service name.19:33
benjiyep19:34
gary_posterbenji, it is/was in the designers minds, or at least the version of this that is in my head is :-)19:34
benjiheh19:34
benjiI'm always happy to do something that will work but will irritate the people who didn't realize that it would be neccesary.19:35
bcsallerhatch: ok, have  a charm deploy test running now, I have some time19:35
hatchok guichat19:35
gary_posterbenji, you are supposed to click add in the browser thing on the left, and then the ghost would appear, along with the right hand config panel that exists now after you click deploy (that has the cancel/confirm buttons on it)19:36
benjiwhich means that the "sidepanel" will have to dissapear because it was decided that it has to be full screen (for the time being)19:36
gary_posterbenji, so after the full change to the left hand browser thing for 13.04, the right hand area will only have one view: the config page.19:37
benjithat makes sense19:37
gary_posterbenji, right.  the fullscreen sidepanel can't work with the plan that we had.19:37
rick_h_benji: well we can undo the fullscreen. That's a one css class name fix19:37
rick_h_benji: and we can just push back to UX on it19:37
gary_posterbenji, rick_h_ also when you are in full screen and click add, you will have to switch to sidebar, assuming sidebar actually makes everything visible19:38
rick_h_gary_poster: right, so if we move back the sidebar charm details back to a smaller size it's golden19:38
rick_h_just need to push UX on it19:38
gary_posterrick_h_, golden-ish.  will chat after call with deryck19:39
rick_h_gary_poster: cool19:39
benjiI propose we make it work (sidebar dissapears when you click "Add") and we make it better later.19:39
benjirick_h_: ^^19:40
rick_h_benji: sure19:40
benjicool19:40
rick_h_benji: works for me, it's just a matter of the url you choose to fire the event for19:40
rick_h_so we can switch it later to suppport /sidebar/*id vs just /sidebar19:41
benjirick_h_: I don't understand that comment and suspect it is important.  Will you elaborate?19:41
rick_h_benji: sec, otp 19:41
benjik19:42
rick_h_jcsackett: https://codereview.appspot.com/8726048/19:47
rick_h_jcsackett: http://uistage.jujucharms.com:8080/bws/sidebar/precise/cassandra-219:53
hatchgary_poster: so I spent some time investigating the ticket in Maintenace "subapp will double dispatch..." but it looks like it's going to take a while, is there something more pressing you would like me on?19:53
rick_h_benji: https://codereview.appspot.com/8726048/patch/3001/4005 shows the upcoming way to change the route when you click add and redo teh screen19:58
gary_posterhatch, it is blocking Rick, right?19:59
hatchI think he worked around it19:59
rick_h_benji: so if we click add, and then hide the browser details, we need to change the url 19:59
hatchby reverting to old code19:59
rick_h_gary_poster: hatch yes19:59
hatchoh...19:59
rick_h_hatch: I've got a branch that now works...but it's sans tests19:59
rick_h_hatch: https://codereview.appspot.com/872604819:59
rick_h_sorry, I meant 'yes' rick has a work around20:00
gary_posterok rick_h_, hatch.  hatch will think after call20:00
hatchrick_h_: oh ok so you're not removing the dispatch just creating a workaround20:00
hatchI was working on removing the dispatches20:00
hatch(quite a ways from being successfull)20:00
rick_h_hatch: right, cheating like a mofo, but it freaking works20:00
hatchhaha20:00
rick_h_so happy happy me20:00
rick_h_hatch: please give it a look over if you get a sec and let me know if I'm mad 20:01
hatchsure one moment20:01
benjirick_h_: so I need to fire a viewNavigate event?  What URL will I navigate to?20:01
rick_h_benji: so what you'd be doing is viewNavigate with a {change: {charmID: undefined}}20:01
hatchrick_h_: holy that's a lot of code20:02
rick_h_benji: sorry, wrong, two changes {viewmode: 'sidebar', charmID: undefined}20:02
rick_h_hatch: but it works!!! bwuhahahahahahaha20:02
hatchlol well atm that's the important part20:02
rick_h_benji: that will tell the subapp to take the current state, change the viewmode from fullscreen to sidebar and unset teh charmID and re-render20:02
rick_h_benji: the example in the link is for the close button to go from /bws/sidebar/precise/charmname to /bws/sidebar20:03
benjirick_h_: so that will show just the "Charm Browser" but take a way the actual details about the charm the user is adding, right?20:03
rick_h_benji: right, it'll show the sidebar component with no details selected for viewing20:03
rick_h_benji: dependant on this branch getting tests and reviewed and all that tomorrow :/20:04
benjigothca20:04
benjirick_h_: I suppose I should start over, basing my branch on yours then20:04
rick_h_benji: sure. Otherwise you can make it a todo/bug and I can follow up after it goes through. It's just that one event firing that needs to be added 20:05
rick_h_benji: whatever works for you20:05
benjiok20:05
rick_h_this dippy branch touches everything so much it's annoying. Who knew how broken an app is without routing urls :)20:06
hatchyusssss one more dispatch down20:09
hatchthese are all huge hacks though, not comittable code20:09
* rick_h_ goes to hatch's machine and types bzr xa "REMOVE ALL THE DISPATCHES"20:10
hatchlol20:10
hatchremove all but one you mean20:10
hatchwe still need one :)20:10
rick_h_psh, prove it :P20:10
hatchI have to say it actually feels faster20:12
rick_h_it should, more control of the single thread to the user is good 20:12
hatchonly rendering everything once probably helps20:12
hatchhaha20:12
rick_h_lol20:12
jcsackettrick_h_: fyi, this is going to take me quite some time to review.20:17
rick_h_jcsackett: well, I'll work on tests tomorrow. Did you want me to walk through the browser.js changes for your needs/interest as far as search goes?20:17
rick_h_as long as hatch doesn't tell me I'm off my rocker and need to rethink it again20:17
jcsackettrick_h_: be honest, i'm sort of wondering if your rocker might be broken. :-P20:18
bcsallerjujugui: The charm could use one more review at https://codereview.appspot.com/8727047/ if anyone is free20:18
Makyobcsaller, on it.20:18
bcsallerMakyo: thanks20:18
jcsackettrick_h_: i think i get how it impacts search, since i see viewState etc handling the search part of the url.20:18
rick_h_jcsackett: right, but it's not doing query string atm, that needs to get added into the viewstate20:19
hatchrick_h_: quite honestly I'm sure it's fine if it works but I'm just starting to look now20:19
rick_h_and become part of the if state checks in sidebar and fullscreen20:19
jcsackettrick_h_: i though querystrings were generated outside of the routing mechanisms/20:19
rick_h_jcsackett: right, but if the query string changes, it'll need to tell sidebar/fullscreen to re-render search results20:20
rick_h_just as right now if the charmID changes, the state will be marked as changed and it'll re-render the charm details view20:20
jcsackettrick_h_: ...aren't you overthinking this? searchbox needs to be made a form, right? with get using the search text...that should append querystring stuff to the url.20:21
rick_h_jcsackett: right, but once you hit submit and it's GET's the new url, it goes back and gets rerouted20:21
jcsackettoh, and this rerouting will eat the querystring.20:22
rick_h_jcsackett: so when it's rerouted it checks "did the viewmode change? If so, re-render the whole thing. Did the charmID change? If so, re-render the charmID"20:22
rick_h_jcsackett: the page doesn't reload, it goes through routing. And it hits either fullscreen() or sidebar() and then the page is re-constructed based on the new page state20:22
jcsackettrick_h_: right. but i already had to have the browser get the querystring and pass that to the searchview, and the searchview already re-renders on that changing (per our talk yesterday or the day before), so this state stuff shouldn't need to change it.20:24
rick_h_jcsackett: but fullscreen or sidebar need to know to call searchview20:25
rick_h_all decisions are made by those two methods20:25
jcsackettrick_h_: right, that's what i meant. i think we're talking circles round each other.20:26
jcsacketti'll finish my day out by reviewing your branch/getting my current branch landed, let's talk more about this tomorrow.20:26
rick_h_jcsackett: rgr20:26
hatchrick_h_: as far as the code is concerned it looks good20:28
hatchveryunfortunate that it's required20:28
rick_h_hatch: ok. If I have to rewrite it again I'm going to quit and work for Oracle or something :P20:30
hatchlol - yeah...go write Java....no bugs to fix there...20:30
rick_h_so I'm giong to quit close to on time. Come back tomorrow to write tests and try to get it up for formal review. 20:30
rick_h_hatch: bcsaller thanks for the calls/help today20:31
bcsaller:)20:31
gary_posterok whatchamagoinon20:32
gary_posterok so hatch...guichat for an update on the double dispatch thing?20:33
gary_posterand talk about what next20:33
hatchoops sorry i didn't get the ding20:37
hatchsure lemme get my dogs in20:37
hatchgary_poster: ok ready when you are20:38
gary_posterhatch come on by guichat20:39
gary_posterhey Makyo, any juicy details from investigation today?  I'm fascinated by that.  Were you ever able to dupe?21:01
Makyogary_poster, No, Haven't been able to dupe yet :/  Have been adding a lot of docs around that to make sure what's going on is understandable, though.21:02
gary_posterOK cool Makyo.  Lemme see if I can dupe on trunk...21:02
hatch*ring*, "hello", "CONGRATULATIONS!!!!", *click*21:03
gary_posterheh, I assume that just happened.  weird21:03
hatchyeah stupid auto dialers21:04
hatch:)21:04
hatchI'd really like to know how they got my cell #21:04
* gary_poster just now realized the *click* came from your end. It was much more mysterious to imagine someone calling you, yelling "congratulations," and hanging up.21:05
gary_posterweird prank call21:05
Makyo...I totally want to do that now.21:05
hatchlol21:06
gary_poster:-)21:06
gary_posterMakyo, can't dupe now. :-P  I guess that's good? Maybe just land your branch when it looks nicely documented?21:08
gary_posterI will mark bug as invalid21:09
Makyogary_poster, sure.  That's really weird behavior, but to be fair, there is some weird code back there.21:09
gary_posterMakyo, :-)21:09
gary_posterMakyo, i removed bug from card, changed title to be about docs, and dragged it to active slack.21:11
Makyogary_poster, sounds good.  Will be ready by EoD for sure; dogwalk for now.21:11
gary_postercool21:11
* gary_poster goes to get son from ACTING! class. May be done for day...21:19
gary_posterbye21:19
bacgary_poster: update: i've made good progress and found some integration problems where juju-core was not sending what we expected, a different name and content packaging.  still trying to work out what's going on.22:09
hatchI think we need to do a release there are too many cards on the kanban it's slowing the site down haha22:17
hatchhmm I was sure I changed the code in the browser check to support FF and IE1022:20
hatchbut trunk doesn't have that22:20
hatchwas that reverted?22:20
hatchthat's so odd, I know I wrote that code22:28
hatchcould I get a quick review on a trivial 2ln commit? https://codereview.appspot.com/8796046/22:41
hatchjujugui ^22:43
MakyoOn it22:44
hatchthanks22:44
bcsallerhatch: when did that change?22:46
hatchI just did it22:46
hatchalthough I was 100% sure I already did22:46
bcsallerI mean the requirement, last I knew FF didn't accel the svg canvas very well and had some other minors22:47
bcsallermaybe thats changed though22:47
hatchoh - not sure, Gary just told me to do it22:47
hatch:)22:47
bcsallergood enough 22:47
hatcham I nuts? Did I really dream that I wrote IE10 and FF/Chrome support into that?22:48
hatchI was sure I did that around sprint time22:48
hatchbcsaller: I have been messing with it in FF and it's definitely not as fluid as chrome but I haven't found any errors/bugs yet22:49
hatchthe fadein for the charm list is a lot nicer in FF than chrome22:50
hatch:)22:50
MakyoAttribute access sped up quite a bit with a recent version.22:51
hatchYUI 3.10?22:52
MakyoFirefox.22:54
hatchohh22:54
hatchthere are pretty big speed improvements with yui 3.10 as well - I want to compare the time it takes to run the tests22:58
hatchsee how much the improvements relate to in real world tests22:59
gary_posterbac, thanks for update.  doesn't sound good: do we need juju core changes?23:02
hatchgary_poster: if you send your kid to acting class how are you going to know when he is lying about his homework being done ;)23:05
hatchhe could just be 'acting' and telling you it's done hehe23:05
hatchhe/she :)23:06
hatchoh u said son23:06
hatchhe23:06
hatchgary_poster: when you return - what is the expected functionality here https://bugs.launchpad.net/juju-gui/+bug/1170037 should we show a popup 'service go bye bye!' should we auto close the detail view? do nothing?23:13

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