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

gary_posterhatch, hi.  if unit destroyed but service is there, go to service view. if service destroyed, go to environment view in all cases.  notification would be nice-to-have addition, maybe.00:02
hatchalright - yeah I figure that a notification would be less jarring if you're looking at it and all of a sudden 'boom'....where did it go00:03
gary_posteryeah00:03
hatchfyi - I just triggered a new run on the CI as I coudln't reproduce the failure locally00:04
gary_posterugh, not that00:07
gary_poster2 failure(s) running 80 tests.  Retrying.00:07
gary_poster2 failure(s) running 74 tests.  Retrying.00:07
gary_poster2 failure(s) running 72 tests.  Retrying.00:07
gary_poster2 failure(s) running 72 tests.  Retrying.00:07
gary_posternot working tonight, hatch.  might check in later.00:08
hatchyeah no problem :)00:08
hatchhave a good night00:08
hatchugh now 179 tests are failing in chrome :/00:10
gary_posterI'm guessing someone introduced another bad cleanup :-/00:27
hatchI thought you weren't working tonight ;)00:27
gary_posterbac, hi.  does the config issue you were mentioning last night possibly mean necessary changes in juju core?12:26
bacgary_poster: no, i can deal with it on the gui sie12:27
bacside12:27
bacit is just a matter of the juju-core developer (me) not communicating with the juju-gui implementer (me)12:27
gary_posterbac, lol ok cool12:28
gary_posterthanks12:28
bacsending Config expecting Settings12:28
gary_posterah gotcha12:28
gary_posterbenji, I ran out of time yesterday evening in the add button conversation.  I'm concerned that the visual approach is going to be untenable for full screen and problematic for side screen unless it is *truly* side screen12:30
gary_posterbenji, do you know if that's resolved, or is rick going to take that to UX?  I think it needs to go to Jovan12:31
rick_h_gary_poster: so for now it ditches the details part of the UX and I've got on my list of items for our standup to bring it up with jovan12:32
rick_h_gary_poster: or actually, because my branch hasn't landed it can't redirect anyway. So I recall saying it could be left alone and I can follow up 12:33
rick_h_gary_poster: I've got a fix for the UX from Huw. I'm pulling it down and giong to get it into lbox and qa in a sec12:35
gary_postergreat thanks rick_h_ 12:35
* gary_poster remembers to turn the volume back up from zero :-P12:35
gary_posterrick_h_, I'd like to be part of that jovan call please--the interaction with charmbrowser and rest of UX is something I want to make sure is clean, since the two have been separate for so long12:38
rick_h_gary_poster: k, I figured to bring it up on our stand up 9:30am est but can see if something seperate works better?12:39
gary_posterrick_h_, I am happy to show up then if I have a link12:39
rick_h_gary_poster: sure thing12:40
gary_postercool thanks12:40
rick_h_heh, sorry no good reason to /msg that. Anyway12:40
benjirick_h_: is staging.jujucharms.com being down a known thing?12:45
rick_h_gary_poster: have a sec to peek at https://codereview.appspot.com/8853043/ then? qa's ok here12:45
rick_h_benji: yes, it's gone down the last two nights. I want to leave it to allow abentley and sinzui to debug12:46
gary_posterrick_h_, looking thanks12:46
rick_h_benji: they should be up/at it in the next 30min or so12:46
benjirick_h_: is there a way to develop the sidebar without it?12:46
rick_h_benji: run a local charmworld instance and change the url in the config12:47
rick_h_benji: you might try using the manage.jujucharms.com 'production' site12:47
rick_h_benji: mthaddon is working on it. Up at the moment, but only has around 50 charms 12:47
benjiok12:47
rick_h_http://manage.jujucharms.com/12:47
benjithanks12:48
gary_posterrick_h_, huw's branch breaks resizing windows while charmbrowser is open12:59
* gary_poster checks uistage12:59
rick_h_gary_poster: looking12:59
rick_h_gary_poster: yea, see that it overlaps the bottom nav. Looks like it only does it on window shrink, but on grow it works again. It's on uistage and this branch so don't think it causes it. 13:01
gary_posterrick_h_, ack agree.  I'll give it a LGTM, thanks to Huw and you. 13:02
rick_h_gary_poster: thanks for looking it over13:02
rick_h_jovan2: standup?13:31
hatchthe two failures coming from CI are real failures unfortunately I can't reproduce them locally - I get a number of failures locally in FF13:32
hatchannnnnd now I get no failures lol13:44
hatchFF takes 334s to run through the tests13:44
hatchif I have FF minimized while the tests are running I get 6 failures13:47
hatchif it's focued I get 013:47
gary_posteroh hey hatch13:59
gary_posterI just sent an analysis to the list as well13:59
gary_posterI've seen these two errors before but they were very rare.  They happen all the time now on CI.14:00
gary_posterI can dupe them, with effort, as I said.14:00
gary_posteroh, rick_h_, are you going to clarify with benji about the behavior we heard from jovan?14:00
rick_h_gary_poster: sure thing, sec14:01
benjiI can always use a good clarification.14:01
gary_posterthanks rick_h_ .14:06
hatchgary_poster: ahh ok I see the email - do the tests also run 3x slower in FF than Chrome for you?14:09
gary_posterjovan2, are you available for a quick call?14:09
gary_posterhatch, 19 seconds chrome vs 33 seconds FF14:10
hatch38s chrome vs 334 ff ....ok so 9x slower14:16
hatch:)14:16
bacgary_poster: so the updating of service settings doesn't seem to work in pyjuju or juju-core.  this is expected?14:39
gary_posterbac, uh?14:39
gary_posterbac, I would guess that's a no.14:40
rick_h_benji: howdy14:40
bacgary_poster: give it a try on uistage if you have a moment14:41
gary_posterok14:41
rick_h_benji: so after talking with UX they say: "In the fullscreen mode, you click add, the browser goes away entirely"14:41
rick_h_benji: "If sidebar mode, you click a charm, the charm detawils closes and the sidebar stays open14:41
benjiok14:41
rick_h_"14:41
benjik14:41
* benji will include the string "detawils" in the code.14:41
rick_h_benji: however, all the url changes stuff is in the branch I've got now I need to get tests finished for so I'm still thinking 'leave it' and we'll add the url updates once I can get this through14:42
benjisounds good14:42
gary_posterbac, you click update and nothing ever happens?14:43
bacgary_poster: yes14:44
bacunclear to tell whether there is activity or if nothing happens.  haven't looked at the server side yet.14:44
gary_posterbac, did you investigate?  I'm happy for you to divide this up into "fix bug" and "integrate go" if that makes sense14:44
bacgary_poster: i'll make a card to investigate.  it is outside the scope of my current task, which i'm about to wrap14:45
gary_posterbac, cool.  on improv, the message is sent to improv and a reply is returned14:46
bacgtk14:46
gary_posterugh, CI errors are painful to watch15:02
hatchagreed15:02
frankbanguihelp: is there an YUI event that is fired when a node is removed using node.remove()?15:16
hatchfrankban: negative15:18
frankbanhatch: as I supposed15:18
hatcha guy I know is building a ~2000sq/ft house here and his quotes to do the plumbing are between $60-70,000!!!15:37
hatchI think trades are a little out of hand here lol15:38
gary_postereek15:44
bacyowzer15:49
baci'll bet it is all of the insulation for the pipes15:49
hatchlol15:49
hatchbcsaller: is there a way I can get the url from a specific namespace from an nsRouter instance?15:55
bcsallerhatch: we could add a method, but nsRouter.parse(Y.Location()) or similar should do it15:55
hatchok that's kind of what I was thinking15:56
bcsalleris that for testing?15:56
bcsallerthinking normally we shouldn't need that 15:56
hatchmy issue is that when you destroy a unit you need to return to the service view, but there is no data anymore so I need to parse the url for the service name15:56
hatchsorry...when a unit you're viewing is destroyed15:57
bacgary_poster: you missed your ten minute warning!15:58
gary_posterbac, sorry :-)15:59
bcsallersounds like a one-off fix though, this is the kind of thing we should have a pattern for, a kind of 404 handler in the client, at min could take you back to '/'15:59
gary_posterjujugui call now, please get kanban up to date asap15:59
gary_posterbenji starting16:01
gary_posterjovan2, ping?16:06
jovan2gary_poster hi, on my way...16:06
Makyoteknico, let me see what I can do about network.16:07
gary_posterjovan2, you missed, but would like to talk16:07
teknicoMakyo, maybe you can try the low bandwidth hangout settings?16:07
jovan2gary_poster you're so efficient with stand ups !16:07
Makyoteknico, Can try, though that turns off video for screen sharing. If you're fine with just voice, that's okay.16:08
gary_posterjovan2, getting better :-) guichat now?  maybe quick question16:08
jovan2gar_poster: sure16:08
gary_posterty16:08
teknicoMakyo, oh right. ok, let's try: https://plus.google.com/hangouts/_/02bb45411739e441fe107c9f66e2a8cc36ba4ba716:08
rick_h_jovan2: gary_poster I got the icon for the browser, but not the gui charm. Thanks jovan2. 16:08
rogpeppe3gary_poster: just FYI we have cut the "final" release (1.10.0)16:08
gary_posterack rick_h_ cool16:08
rogpeppe3gary_poster: just waiting for someone to turn it into a package16:08
rogpeppe3gary_poster: i hope it's got the stuff in it that you guys need16:09
gary_posterrogpeppe3, awesome! congrats.  Yes, I thinnk we are golden.  Everything seems to be working well.  I'll make a release of GUI once you all make a release and we can announce16:09
rogpeppe3gary_poster: wonderful16:10
=== rogpeppe3 is now known as rogpeppe
rogpeppegary_poster: now for a beer!16:10
gary_posterrogpeppe, lol, yes I figure we deserve a break.  I'm not sure what you plan to do for the next couple of weeks while we prepare for oakland.  I'd like to do polish and revisit some topics, which would include being able to set a service's units directly, rather than add/remove; and investigating what kind of debug log story we can get over the API.  Maybe we can do both, maybe neither, but now would be a nice time t16:12
gary_postero investigate those sorts things, I think.16:12
gary_posterAnyway, rogpeppe topics for next week perhaps16:12
rogpeppegary_poster: sounds good16:12
rogpeppegary_poster: yeah16:12
gary_postercool thanks16:12
rogpeppegary_poster: or even tomorrow if you want16:12
gary_posterrogpeppe, cool :-)16:13
rogpeppegary_poster: except my broadband is down currently and i'm connecting through my phone16:13
gary_posterjovan2, I'm all lonely in guichat16:13
rogpeppegary_poster: which is actually surprisingly ok16:13
rogpeppegary_poster: but costs16:13
gary_posterrogpeppe, lol yeah I bet16:13
gary_posterwhen is your broadband supposed to be back, rogpeppe ?16:13
rogpeppegary_poster: yesterday :-)16:14
gary_posterheh16:14
rogpeppegary_poster: seriously, i have no idea16:14
rogpeppegary_poster: the phone co knows16:14
jovan2gary_poster: sorry, be there i16:14
rogpeppegary_poster: and i know no more than that16:14
gary_posterrogpeppe, I hear you, similar over here for these sorts of things16:14
gary_posterteknico, rick_h_, Makyo: I just talked to jovan2 about the placement of the environment and new charms and so on.  His preference is that we ake *no change* to the current behavior until we have more information from users about their expectations.  So, my take is that we move that card to trash and pick a new one, with apologies to teknico and Makyo.16:22
gary_posters/we ake/we make/16:22
teknicogary_poster, oh well, ok :-)16:23
gary_posterrick_h_, ack?16:23
jovan2rick_h_, gary_poster, Juju GUI charm should be ready for tomorrow - Friday16:24
gary_posterthanks jovan2 16:24
hatchhmm darn my approach won't work for the redirects :/16:25
rick_h_gary_poster: defintiely, sorry about the wasted time 16:30
gary_postercool rick_h_. I think everything else you gave us clearly needs to be done.16:30
rick_h_http://uistage.jujucharms.com:8080/bws/sidebar does fix gettnig at the env now though so yay 16:31
frankbangary_poster: what happens when you log out from uistage? the login screen no longer shows here, could anyone confirm?16:35
gary_posterfrankban, :-( confirmed16:36
gary_posterI'll make another card16:36
frankbangary_poster: also in trunk, it doesn't show up if you run make prod16:36
gary_posterthat's critical regression16:37
frankbanyes :-/16:38
hatchgary_poster: it doesn't look like there is any way I can reliably check if the view is waiting for service data, or if it has been deleted :/16:39
gary_posterhatch, hm.  guichat?16:42
hatchyup16:42
bacbcsaller: did you watch the keynote yesterday?17:34
bcsallerbac: I skimmed it, did I miss something?17:37
bacbcsaller: no, i forgot to watch.  was wondering if it was good.17:37
bcsallerbac: I think it was less compelling that previous ODS demos, but thats just me17:38
rick_h_bcsaller: +1 was more business-y kind of presentation it felt like17:38
bcsalleryeah, the tech part was small. there was only a small bit with the GUI, the tech part was more focused on landscape. The part with the GUI looked rather chaotic  to me, it was a cluttered layout.17:40
gary_posteragree, not ideal presentation of it17:43
hatchhe is a good presenter17:53
hatchmaybe we need an 'organize gui' button which will align everything nicely :)17:54
hatchannnnnd Ben can write it17:54
hatch:P17:55
bcsallerhatch: we did depend more on automatic layout in the past, it makes less sense to invest in that since we have persistent shared positions now17:56
hatchI can see it now - one of the techs will stack all of the icons ontop of eachother just to irritate his coworkers17:56
hatchhaha17:56
bacfrankban still needs a review.  i need two.</hint>17:57
bcsallerhatch: at one point we were going to write automatic layout with relationship routing that curved lines around elements on the page 17:58
hatchOoooo fancy17:58
hatchhmm I need lunch18:00
benjirick_h_: how do you search the charm store by charm URL (e.g., cs:precise/apache2-6)?18:02
rick_h_benji: not following, You want to search the charmworld manage.jujucharms.com?18:03
rick_h_benji: or do you mean the search UX that's getting worked on for the browser?18:04
benjirick_h_: for example http://jujucharms.com/search/json?search_text=provides:http returns all charms that provide HTTP, I want to search for a charm with a particular URL18:04
benjiI've tried things like http://jujucharms.com/search/json?search_text=url:cs:precise/kusabax-0 but haven't found a form that works.18:04
rick_h_benji: hmm, yea not sure we have that. 18:05
rick_h_benji: you can load a charm via the id of the charm http://staging.jujucharms.com/api/0/charm/precise/couchdb-918:05
rick_h_but that's not the whole url18:05
benjithat may work, thanks18:05
rick_h_benji: what are you doing? The charm data/model should be there for you already. The Charmworld0 store has the charm method that takes the id to load from the new api as well18:06
benjiok, I'll take a look there18:07
rick_h_benji: but the CharmView has a ATTR charm that's a BrowserCharm that the plan was to do send to the environemnt with a new Charm(view.get('charm').getAttrs())18:08
rick_h_so it implements turning the new api data into the format for the old Charm model18:08
benjithat sounds good18:09
=== deryck is now known as deryck[lunch]
bacgary_poster: chat?18:31
gary_posterbac, I is there18:31
bacokey doke18:31
hatchooo boy I like these changes18:33
hatchnow to lunch18:33
hatchding if ya need18:33
hatchhas anyone ever seen this error before.... Uncaught Error: InvalidStateError: DOM Exception 1119:13
hatchit's throwing it on ws,send(data) in reconnecting-websocket.js19:14
rick_h_hatch: I've seen that. It was trying to append to itself or something19:14
rick_h_well, it was something liket hat19:14
rick_h_hatch: http://stackoverflow.com/questions/3488698/invalid-state-err-dom-exception-11-webkit comes up in a quick search. traceback?19:15
rick_h_hatch: but when I got something like that I was trying to append dom to something that could not happen 19:15
hatchalright19:16
hatchthe traceback is pretty much useless but maybe I'll have to step through it19:16
rick_h_:(19:16
hatchright now it doesn't appear to be having any issues19:29
bacgary_poster: the terrible deed is done.  el raton has gone to a better place.19:45
gary_posterbac, heh, good work19:45
=== deryck[lunch] is now known as deryck
hatchdoes the python/go backends have a way to receive a unit from the environemtn?20:00
hatchI can't find anything20:00
hatchhe he heeee20:31
bacguihelp: why does the first exception test work but the second (clearer) one not?  http://paste.ubuntu.com/5719840/  Other tests using assert.throws do work.20:36
bacthe second test fails with: Error: the string "Exactly one of config and data must be provided" was thrown, throw an Error :)20:36
bactest failures should not have smiley faces20:37
hatchno idea, I've never used assert.throw20:37
hatchwhen you say doesn't work do you mean it never fails?20:38
bachatch: no, i mean the test fails, as shown in the second message above, the one with the smiley face20:39
hatchhow are you throwing the error?20:40
bachatch: the code is throwing the error.  the assert is not recognizing it for some reason.20:40
bactest_sandbox.js uses assert.throws()20:40
bacthrow '...'20:41
hatchin the nodejs doc examples assert.throws() always throws a new Error()20:41
hatchso it could be that it's not expecting only a string?20:42
gary_posterbac I think you need to pass a callable20:42
hatchI am not sure - I can't remember the last time I intentionally wanted to throw an error in js20:42
bcsallerlooks like you need throw new Error('string') and its passing a string directly?20:43
gary_posterbac, you are passing the called result20:43
bacgary_poster: ahhhhh20:43
* hatch confused20:43
hatchso I was right?20:43
hatchlol20:43
gary_posteryou can throw a string20:44
gary_posterbut I'm 80% sure that assert.throws wants a callable20:44
gary_posterso IOW20:44
gary_posterassert.throws(function() {DO STUFF THAT THROWS AN ERROR}, 'Error object20:45
gary_poster')20:45
hatchahh ok20:45
bcsallerright, can't catch it otherwise20:45
bacgary_poster: is test_sandbox passing a callable?20:45
gary_posterhatch, you want to receive a unit from an environment?20:45
* gary_poster looks20:46
hatchgary_poster: well I did a workaround but20:46
hatcham running into another issue20:46
gary_posterbac, yes20:46
gary_posterbac, bind is a JS thing.  so...20:47
hatchmy issue now is that if you're viewing a unit and someone deletes the service....then it's totally baffled20:47
gary_posterbac, "client.open.bind(client)" == "function() {return client.open.apply(client, arguments);}"20:48
gary_posterhatch, well, beat some sense into it! :-)20:48
bacgotcha20:48
bacthanks for the eyeballs20:48
gary_posterwelcome20:48
hatchgary_poster: got a couple minutes to walk through this code?20:49
gary_posterhatch want to guichat?  sure20:49
hatchsure20:49
huwshimirick_h_: Any idea what keeps bringing the staging server down? Anything I can do to fix it in my timezone?22:22
hatchit's scared of your huge bugs22:26
huwshimi:)22:30
rick_h_huwshimi: is it down again? It seems zookeeper went boom. To fix it they've had to rebuild it22:39
rick_h_huwshimi: what I'd do is change the charmworld url in the config to manage.jujucharms.com22:39
huwshimirick_h_: No, it's up now, it's just that it has gone down two days in a row :)22:39
huwshimirick_h_: Ah, that's good to know, at least I can get stuff to show up then :)22:40
rick_h_huwshimi: rgr22:40
huwshimirick_h_: Thanks :)22:40
rick_h_huwshimi: yea, I'm not sure what they figured out yet22:40
rick_h_huwshimi: cool, landed your branches, tweaked the loop stuff in the charm.js 22:41
huwshimirick_h_: Ah I see.22:42
huwshimirick_h_: Thanks for landing everything22:42
rick_h_huwshimi: also added a card about the sidebar. It's adverse to window sizes < 120022:43
rick_h_huwshimi: and jovan warned they'd have some font changes coming. They think the font size is a bit small22:44
huwshimirick_h_: Yeah, I made a regression when I was fixing the sidebar overlay div issue22:44
huwshimirick_h_: OK, fun, fun.22:44
rick_h_huwshimi: cool, yea figured now that it 'works' can work on making it nice. So just added a card and can go from there. Thanks for the updates!22:45
huwshimirick_h_: No problems, I'm fixing that bug now22:45
rick_h_awesome22:45
huwshimirick_h_: Any update on the search or homepage?22:46
rick_h_huwshimi: no, jcsackett is rebasing off my branch. I didn't get all my tests done so still working on my branch. It's holding everything up. 22:48
rick_h_huwshimi: won't have it tonight. So it'll have to be a next week thing. 22:48
huwshimirick_h_: Yep, sure. I'll style from your branch today.22:48
rick_h_huwshimi: cool, sorry to hold up. 22:49
huwshimirick_h_: It's all good, it's such a rush :)22:49
rick_h_huwshimi: if you need anything on my branch let me know. It's a bit complicated but should work out to do /bws/fullscreen with the editorialview22:51
rick_h_huwshimi: and abentley landed the code to mark 'featured' but don't think it's on production :(22:51
huwshimirick_h_: OK, I'll take a look after this.22:51
huwshimirick_h_: Is there anything else pressing for me to take a look at today?22:52
huwshimi(that you know of)22:53
rick_h_huwshimi: just take a peek through the cards for anything that jumps out. Otherwise nothing I know of. 22:53
huwshimirick_h_: No problems. Thanks22:54
rick_h_huwshimi: the fullscreen landing is really next with the category icons and such22:54
hatchgreat....success22:54
rick_h_hatch: woot22:54
hatchthe code is ugly as sin but the proof of concept works22:55
hatchso now that means I can convert to promises22:55
hatch(this section)22:55
hatchand we have removed reliance entirely on one dispatch call22:55
hatchone small step for devs, one giant leap for dispatch destruction22:56
rick_h_huwshimi: there's also some work to update the sidebar editorial to match the design. Under the three charm containers. 22:56
huwshimirick_h_: Oh right, what needs to be done?22:57
rick_h_huwshimi: I'd have to check the UX assets. Sorry, on my tablet so don't have easy access. 22:58
rick_h_huwshimi: I thought there was some stuff under those first charm containers, but can't recall what was there. 22:58
rick_h_huwshimi: then there's also still the toggle to show/hide the sidebar. 22:58
huwshimirick_h_: Oh well we don't have any of the charm icons being set yet...22:59
rick_h_huwshimi: sorry, just trying to think off the top of my head since you'll be coming back monday during my sunday. 22:59
rick_h_huwshimi: so but we do have the default svg now in the assets directory.22:59
rick_h_huwshimi: and we've got the category icons in there22:59
rick_h_huwshimi: so we'll default to the charm store one unless they have a category, then we'll use that22:59
huwshimirick_h_: Ah I see, OK, I'll do that.23:00
rick_h_huwshimi: cool, hope that helps while jcsackett and I work on getting things caught up. 23:01
rick_h_huwshimi: anyway, I'm off. Have a good day!23:01
huwshimirick_h_: Yep, thanks. I have a list of little things to get to as well. Thanks.23:01
huwshimirick_h_: Have a nice night23:01
hatchanyone need any reviews before I EOD it?23:10

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