huwshimi | hatch: Are you gone for the day? | 00:00 |
---|---|---|
huwshimi | hatch: Are you gone for the day? | 00:04 |
huwshimi | something's not right | 00:04 |
hatch | im still here | 00:05 |
huwshimi | hatch: If I override the init method on the tokens then it won't render the tokens again when I close and open the machine view | 00:06 |
hatch | ok looking at the code | 00:07 |
hatch | when you close and open the machine view does it destroy all the tokens? | 00:09 |
hatch | it looks like it | 00:09 |
huwshimi | yeah | 00:10 |
hatch | so that doesn't make any sense | 00:10 |
hatch | so it only works once? | 00:10 |
huwshimi | hatch: Actually, that might not be entirely correct. | 00:11 |
huwshimi | hatch: If you drag a charm to the canvas, deploy and then open the machine view they don't appear | 00:11 |
huwshimi | hatch: Even though the machine token's render function is called. | 00:12 |
hatch | not sure | 00:14 |
hatch | I can look at it later on | 00:14 |
hatch | but atm I've got a bunch of stuff to do heh | 00:14 |
huwshimi | no problems | 00:20 |
kadams54 | hatch: it does pass! Woot woot! | 00:28 |
kadams54 | I'm going to squash again, but I fully expect that to pass as well. | 00:28 |
kadams54 | Oh, heh, the version that passed doesn't have the async fix yet. Never mind. | 00:34 |
kadams54 | huwshimi: I'm knocking off for the night, but if you want to QA my PR, it's ready to be broken :-) https://github.com/juju/juju-gui/pull/393 | 01:15 |
huwshimi | kadams54: No problems, I'll take a look! | 01:16 |
kadams54 | Have a good one… | 01:16 |
huwshimi | kadams54: Night | 01:16 |
rick_h_ | evening | 01:38 |
hatch | huwshimi hey how goes it? | 02:46 |
huwshimi | hatch: ugh | 02:46 |
hatch | that good eh? anything I can help with? | 02:48 |
huwshimi | hatch: Well, I think I know that the container is not being set correctly, I just don't know why | 02:49 |
huwshimi | although now it's not working at all, even if I don't overwrite the init | 02:50 |
rogpeppe1 | mornin' all | 07:06 |
huwshimi | rogpeppe1: Morning | 07:11 |
rogpeppe1 | huwshimi: hiya | 07:13 |
frankban | rogpeppe1: morning | 08:34 |
rogpeppe1 | frankban: hiya | 08:34 |
rogpeppe1 | frankban: hangout? | 08:34 |
frankban | rogpeppe1: yes | 08:34 |
rick_h_ | morning all | 11:09 |
jcsackett | morning, all. | 12:26 |
jcsackett | rick_h_: you back today? | 12:27 |
rick_h_ | jcsackett: yep, back and emailing wheee | 12:28 |
jcsackett | ah, the email excavation, always fun. | 12:28 |
* frankban lunches | 12:31 | |
bac | rick_h_: thanks for your email to ben. i was left scratching my head too. | 12:39 |
rick_h_ | bac: heh, maybe I was just tired. We'll see | 12:43 |
rick_h_ | rogpeppe1: https://github.com/juju/juju/pull/124 is part of what I was talking about stealing from core. I'm not sure if we can use it but just something to be aware of | 12:43 |
rogpeppe1 | rick_h_: that seems largely overkill for what we need to do, i think (though i reserve the right to change my mind later :-]) | 13:01 |
rogpeppe1 | rick_h_: in particular i hope that we can avoid using the txn package in store | 13:01 |
rick_h_ | rogpeppe1: ok, cool. Just want to make sure we don't reinvent the wheela a couple times | 13:02 |
rogpeppe1 | rick_h_: i suspect this wheel will be a different enough shape that there wouldn't be much saved by trying to reuse the code. | 13:03 |
rick_h_ | rogpeppe1: sounds good thanks | 13:03 |
rick_h_ | rogpeppe1: you also see the point on the individual file blogs inside the charms/bundles? | 13:04 |
rogpeppe1 | rick_h_: i'm not sure. we definitely want to expose *some* data/metadata from bundles, but i don't know about individual file extraction. | 13:04 |
rick_h_ | rogpeppe1: well during publish time we want to store then apart | 13:05 |
rick_h_ | we need this for things like icons and such, without extraction on demand | 13:05 |
rogpeppe1 | rick_h_: because you can't create zip files in JS? | 13:05 |
rogpeppe1 | rick_h_: icons, certainly | 13:06 |
rick_h_ | rogpeppe1: no, more because when we load api results we need to shot icons, allow readmes, etc | 13:06 |
rick_h_ | s/shot/show | 13:06 |
rogpeppe1 | rick_h_: anything else? | 13:06 |
rick_h_ | and we allow things like browser the hooks and such | 13:06 |
rick_h_ | rogpeppe1: the list of whitelisted files are in charmworld second | 13:07 |
rick_h_ | rogpeppe1: http://bazaar.launchpad.net/~juju-gui-bot/charmworld/trunk/view/head:/charmworld/models.py#L914 | 13:08 |
rick_h_ | are what we currently load/allow. I suspect we'll want to add actions to that soon | 13:08 |
rogpeppe1 | rick_h_: yeah, actions should definitely be there | 13:09 |
rick_h_ | rogpeppe1: and we expose those whitelisted files over http://charmworld.readthedocs.org/en/latest/api.html#retrieving-the-files-that-make-up-a-charm | 13:10 |
rogpeppe1 | rick_h_: does the GUI know how to parse those files? or does it just show the raw data? | 13:11 |
rick_h_ | rogpeppe1: raw data but it needs to know how to parse the actions to build the UI for them | 13:11 |
rick_h_ | so that's not always going to be true (that it doesn't need to parse) | 13:11 |
rick_h_ | rogpeppe1: oh, well I guess it renders .md file for README so it parses some, plain dumps others | 13:11 |
rogpeppe1 | rick_h_: so you've got a decent YAML parser in JS? | 13:11 |
rick_h_ | rogpeppe1: nope, we get json :) | 13:12 |
rick_h_ | rogpeppe1: that's why we've pushed so hard for jsonschema and limiting the yaml in there to stuff that's valid json as well | 13:12 |
rogpeppe1 | rick_h_: how will you get json from a YAML file? (i think the actions file is yaml) | 13:12 |
rick_h_ | the api will save us? :) | 13:12 |
rick_h_ | it's what we've been working on with the actions guys from the start. Making sure it's targeted to json/gui use | 13:12 |
rogpeppe1 | rick_h_: so that means it's not just extracting files from the zip, but applying appropriate transformations to them too? | 13:12 |
rick_h_ | but that will come from core, not from the store | 13:13 |
rick_h_ | from the store we just want to be able to show users what's in the charm | 13:13 |
rogpeppe1 | rick_h_: so you won't be able to parse actions unless you've got a live environment? | 13:13 |
rick_h_ | rogpeppe1: hmm, not sure. On the one hand we NEED parsed for a live env so we can show you the UI generated based on the actions file | 13:14 |
rogpeppe1 | rick_h_: BTW i'm not necessarily opposed to doing some store-side transformations - i'm just trying to work out whether we're talking about a general file retrieval mechanism or tailored metadata | 13:14 |
rick_h_ | rogpeppe1: but in the store side, we want to show users 'this charm supports these actions with these docs/notes' | 13:14 |
rick_h_ | rogpeppe1: to date, it's just been file retrieval | 13:14 |
rick_h_ | rogpeppe1: with the only store side transformations being around icons so that we don't show icons for non-recommended charms | 13:15 |
rogpeppe1 | rick_h_: from what i can see, it'd be quite straightforward to provide access to individual files from the zip if necessary, while still storing the files in zip format in the db | 13:15 |
rogpeppe1 | rick_h_: writing is a bit different though | 13:16 |
rogpeppe1 | rick_h_: and if you can't create zip files client-side, that may be awkward | 13:16 |
rick_h_ | rogpeppe1: yea we can't do that reliably | 13:16 |
rick_h_ | rogpeppe1: otp can chat about it in a bit | 13:17 |
rogpeppe1 | rick_h_: a mime multipart archive might be possible | 13:17 |
rogpeppe1 | rick_h_: ok, enjoy! | 13:17 |
jcsackett | juju-gui: anyone have the story on the "activeID in charm results" card in Project 1? i'd like to start in on it, but i need more context, like what part of charm results? (and is that 'precice' a typo or something we're meant to support) | 13:23 |
jcsackett | oops. jujugui^ | 13:29 |
rick_h_ | jcsackett: I can fill you in after the call if no one else gets to you | 13:33 |
frankban | rogpeppe1: I am back in the hangout | 13:34 |
jcsackett | rick_h_: after the call i'll have ~40min of work left. might as well leave it till monday. | 13:34 |
rick_h_ | jcsackett: I mean my current call sorry | 13:38 |
rick_h_ | 30ish min | 13:38 |
jcsackett | rick_h_: oh, ok. | 13:38 |
bac | hi rick_h_ -- i've tried quickstart on utopic with mixed results. it works great against ec2 but on local provider i cannot get services to fully start. | 13:46 |
bac | rick_h_: so there may be a juju issue there but not a quickstart one, afaict | 13:46 |
rick_h_ | bac: yea, we're waiting on the upcoming release | 13:48 |
bac | rick_h_: i've got 1.19.3. the fix for bug 1314686 was targeted to 1.19.2 so i thought it would be in | 13:50 |
_mup_ | Bug #1314686: Please add support for utopic <packaging> <juju-core:Fix Released by wallyworld> <juju-core 1.18:Fix Released by wallyworld> <juju-core (Ubuntu):Fix Committed by racb> <https://launchpad.net/bugs/1314686> | 13:50 |
rick_h_ | jcsackett: free | 14:03 |
rick_h_ | jcastro: do you know who works with sputnick stuff on our end? | 14:03 |
jcastro | yeah | 14:04 |
rick_h_ | bac: there was some mongo issue that I think needs the upcoming 1.19.4 | 14:04 |
rick_h_ | jcastro: I wanted to buy one but they won't let me and say stuff changing and want to make sure if I wait there is a new one vs it's ended or something | 14:04 |
jcastro | rick_h_, it was kamal mostafa, no idea if he still does it | 14:04 |
rick_h_ | jcastro: cool thanks | 14:04 |
jcastro | oh you mean business wise | 14:04 |
rick_h_ | jcsackett: meet you in the standup hangout | 14:04 |
jcsackett | rick_h_: dig. | 14:07 |
jcsackett | rick_h_: be a moment. it's doing the "you don't have the plugin installed" nonsense. | 14:08 |
jcsackett | rick_h_: today's standup hangout? b/c i'm there, but you're not. and i can't imagine i beat you. | 14:09 |
bac | rick_h_: any suggestions on what i should do next? | 14:12 |
rick_h_ | bac: sec, after this call can chat. | 14:14 |
kadams54 | hatch: I'm not seeing any changes on develop - did huw's branches not land yet? | 14:16 |
hatch | kadams54 nope https://github.com/juju/juju-gui/pull/391 | 14:16 |
hatch | I'm doing another review and qa atm | 14:17 |
hatch | then it will | 14:17 |
hatch | if all goes well | 14:17 |
kadams54 | I can review and QA as well | 14:17 |
kadams54 | It seems like there are quite a few things coming out of the machine view work that warrant further discussion with the design team. | 14:18 |
hatch | oh? | 14:18 |
kadams54 | There are consistency issues with the create container form, such as the "Move/Create/Add" label on the same button. Ditto for some labels within the form. | 14:19 |
hatch | kadams54 ok if you could do the QA then I could keep going on my remove relation stuff | 14:19 |
hatch | be very thorough there was a lot of hidden bugs the last time heh | 14:20 |
rick_h_ | jcsackett: frozen fail | 14:20 |
kadams54 | There are questions about how to handle situations like dropping a unit on one machine while you have another machine selected | 14:20 |
jcsackett | rick_h_: i've been knocked off hangouts; google claims i have no internet, which is funny b/c other things open. | 14:20 |
rick_h_ | lol | 14:20 |
rick_h_ | it hates you man. You've got more hangout issues than anyone I know | 14:20 |
jcsackett | i know dude. | 14:21 |
jcsackett | and i'm not doing anything unusual. | 14:21 |
jcsackett | i have three google accounts--i know people with 5 or 6 who have fewer issues. | 14:21 |
jcsackett | rick_h_: ok, it's loading again. | 14:21 |
kadams54 | Now that machine view is really starting to shape up, we're driving out all the normal UX issues that happen when you take static visuals and turn them into a working, changing app. | 14:21 |
jcsackett | should be there in a second. | 14:21 |
rick_h_ | kadams54: wheeeeee | 14:22 |
rick_h_ | antdillon: jcsackett hatch http://techcrunch.com/2014/06/19/google-launches-web-starter-kit-a-boilerplate-for-multi-screen-web-development/ kind of cool | 14:25 |
hatch | yeah I've got it open in a tab | 14:25 |
hatch | heh | 14:25 |
hatch | haven't tried it yet | 14:25 |
rick_h_ | bac: ok got a sec? | 14:26 |
bac | rick_h_: sure | 14:26 |
rick_h_ | bac: @ standup hangout? | 14:26 |
bac | yep, joining | 14:27 |
bac | rick_h_: looks like it is occupied | 14:27 |
rick_h_ | bac: it should be free | 14:27 |
rick_h_ | I'm in it | 14:27 |
bac | rick_h_: url? normal daily standup has fb and rp in it | 14:28 |
rick_h_ | https://plus.google.com/hangouts/_/calendar/cmljay5oYXJkaW5nQGNhbm9uaWNhbC5jb20.t3m5giuddiv9epub48d9skdaso?authuser=1 | 14:28 |
rick_h_ | bac: ah I'm in the friday url | 14:28 |
bac | blast the friday url | 14:29 |
hatch | makyo_ is there a secret 'get relation by endpoints' method hidden somewhere? | 14:32 |
hatch | ahah I found it... | 14:34 |
hatch | rick_h_ whenever you get a second we should chat about the ghost inspector and the ecs change stuff | 14:37 |
jcsackett | rick_h_: that is pretty cool. | 14:41 |
rick_h_ | hatch: sure thing, sec | 14:41 |
antdillon | rick_h_, Looks good, I've been using browsersync.io, but will give it ago | 14:43 |
rick_h_ | antdillon: yea, all good. Just something to keep an eye on | 14:43 |
jcsackett | jujugui: is /charmName a valid url? I thought we only wanted /series/charmName and /series/charmName-version | 14:44 |
hatch | jcsackett it is | 14:44 |
hatch | at least it used to be | 14:44 |
jcsackett | hatch: i mean, it's allowed by the app. it's the reason we're having the login weirdness. | 14:44 |
hatch | deal with it | 14:44 |
hatch | ..... | 14:44 |
* hatch snickers | 14:45 | |
jcsackett | and, if anyone creates a charm named login, is going to be an issue. | 14:45 |
rick_h_ | jcsackett: yea, it defaults to latest series | 14:45 |
jcsackett | i mean, that's an *unlikley* charm name. | 14:45 |
jcsackett | how about moving /login and /logout to a /somenamespace/loging etc | 14:45 |
hatch | jcsackett I'm not sure I understand the problem...can't you just check if it's login/logout and call it a day? | 14:45 |
jcsackett | hatch: what if someone makes a charm for a single sign on service and names it login? | 14:46 |
jcsackett | i'm not saying it's likely, but it's possible. | 14:46 |
hatch | we tell them in review that they can't | 14:46 |
hatch | :) | 14:46 |
hatch | it'll only matter on promoted charms | 14:46 |
hatch | promulgated? | 14:46 |
rick_h_ | yea, only promulgated charms get that | 14:46 |
hatch | approved | 14:46 |
hatch | yeah....approved | 14:46 |
hatch | :D | 14:46 |
rick_h_ | so it's a list we control | 14:46 |
jcsackett | ok, if people are comfortable with that being a review req, i'm fine with it. just wanted to raise it as an issue. | 14:47 |
rick_h_ | hatch: ok, give me 2 and we can standup? | 14:47 |
hatch | rick_h_ yep no rush | 14:47 |
hatch | I'm reading some old code that has no comments and illegible var names | 14:47 |
hatch | I feel like I'm reading some third party node.js code | 14:47 |
hatch | rofl | 14:47 |
hatch | ahh I crack myself up.... | 14:48 |
rick_h_ | hatch: k, loading | 14:48 |
hatch | umm it's being broken... | 14:48 |
hatch | just a sec, switching networks... | 14:49 |
rick_h_ | jujugui call in 5 | 14:55 |
=== tvansteenburgh1 is now known as tvansteenburgh | ||
rick_h_ | jujugui call in 1 | 14:59 |
bac | jujugui: also, trusty->utopic via 'update-manager -d' hangs. 'do-release-upgrade' is the way to go. | 15:01 |
=== hatch__ is now known as hatch | ||
bac | hi hazmat, i see you're out next week. could you have a look at my merge proposal for jujuclient before you head out? | 15:17 |
bac | jujugui: US-based people, reminder there is a 401-K meeting at 12EDT | 15:19 |
hazmat | bac, yes, there another on the same topic | 15:19 |
hazmat | there is | 15:19 |
hatch | Oooo I'll take some 401K's | 15:19 |
bac | by noon i mean 1pm sorry | 15:19 |
hazmat | yeah.. curious what that's about re 401k | 15:19 |
hazmat | are plan options kinda blow | 15:19 |
hazmat | our | 15:20 |
bac | hazmat: yeah, i think they are looking at new selections. i've been pressing for some ETFs or similar | 15:20 |
jcsackett | juju-gui: i could use a review on https://github.com/juju/juju-gui/pull/397 | 15:21 |
rick_h_ | bac: thanks for the reminder | 15:28 |
rogpeppe1 | that was such a dumb thing to do! | 15:31 |
hatch | rogpeppe1 lol | 15:31 |
rogpeppe1 | keybd now sigificantly broken | 15:31 |
hatch | uh oh, well now you have the weekend to take it apart and clean it | 15:32 |
kadams54 | Way to keep on the sunny side hatch | 15:32 |
hatch | well it's been pouring here for a week | 15:38 |
hatch | so something's gota be sunny! | 15:39 |
hatch | just in case everyone misses GOTO https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/label :P | 15:48 |
=== makyo_ is now known as Makyo | ||
rogpeppe1 | hatch: i've just cleaned it ok, but problem is that in taking some of the keys off, some of the little plastic pieces under the keys have broken | 15:59 |
hatch | damn lenovo junk :P | 15:59 |
rogpeppe1 | hatch: so now i'm missing an x, an r and half the space bar | 15:59 |
hatch | I'm going to bet you can buy those parts....I hope at least | 15:59 |
rogpeppe1 | hatch: when the fan broke, they replaced the keyboard and i'm sure it wasn't so vulnerable before | 16:00 |
rogpeppe1 | hatch: i hope so too | 16:00 |
hatch | I bet that plastic gets fatigued over time | 16:00 |
hatch | being banged on day-in-day-out | 16:00 |
rogpeppe1 | hatch: it's less than 6 mo old | 16:00 |
hatch | well what the heck... | 16:01 |
rogpeppe1 | IMO, keys should not break if you pull them off | 16:01 |
hatch | I'm with you on that one | 16:02 |
hatch | when I moved some keys around on my MBP they flew apart but didn't break | 16:02 |
rogpeppe1 | hatch: i spilled a glass of gin & tonic all over the old keyboard on the plane once, and it ended up fine | 16:02 |
hatch | clearly it can hold its booze | 16:03 |
hatch | ... | 16:03 |
hatch | :D | 16:03 |
jcsackett | have a good weekend all. | 16:09 |
rogpeppe1 | good. laptopkey.com seems to be the biz | 16:09 |
kadams54 | hatch: Finished QAing huw's branch and left a comment. I really only found one problem and that might be better to address in a separate branch. | 16:11 |
hatch | looking | 16:12 |
hatch | rogpeppe1 great! | 16:12 |
rogpeppe1 | three new keys ordered... | 16:12 |
rogpeppe1 | $17.60 | 16:12 |
hatch | ahh I love the internet, obscure businesses for everything :D | 16:12 |
rogpeppe1 | they even had pictures of the three possible keyboards this laptop could have | 16:13 |
rogpeppe1 | anyway, time for me to vamos | 16:13 |
rogpeppe1 | happy weekends all! | 16:13 |
hatch | cya rogpeppe1 have a good one | 16:14 |
hatch | kadams54 thanks for the qa - I agree, follow-up card | 16:14 |
hatch | I only had one small note which maybe you can address in your branch | 16:14 |
hatch | I'll shipit | 16:14 |
kadams54 | No. | 16:15 |
hatch | no don't shipit? | 16:15 |
kadams54 | I categorically refuse to address anything else in my branch. | 16:15 |
hatch | oh lol | 16:15 |
kadams54 | ;-) | 16:15 |
kadams54 | Alright, let's land this puppy so I can move from test hell to merge heaven… | 16:15 |
hatch | ok shippppped - so kadams54 there is the one trivial comment I made | 16:15 |
kadams54 | Oh, wait. | 16:15 |
hatch | too late | 16:15 |
hatch | :P well not really, but what's up? | 16:16 |
kadams54 | OK, I need to quit making jokes that can be misinterpreted as "stop what you're doing" | 16:16 |
hatch | can you create a bug for your first qa comment | 16:16 |
hatch | lol | 16:16 |
kadams54 | My "oh wait" was a follow up to my comment about "merge heaven" | 16:16 |
hatch | ohhhh I get it | 16:16 |
hatch | maybe it won't be so bad | 16:17 |
kadams54 | hatch: will do on the bug | 16:17 |
hatch | kadams54 so it's still going to be a good 30mins until it's merged just fyi | 16:17 |
kadams54 | Yeah, I'm going to grab lunch | 16:18 |
hatch | *sigh* turns out the method I thought we had, doesn't work like I thought it did | 16:28 |
* rick_h_ runs to get lunch | 16:38 | |
hatch | rick_h_ saw your tweet, what are you getting? | 16:39 |
rick_h_ | hatch: ordered the xps13 developer edition with ubuntu on it | 16:39 |
rick_h_ | need a laptop with working mic/camera for all my darn calls | 16:40 |
hatch | woah..... | 16:40 |
hatch | don't those run 12.04? | 16:40 |
rick_h_ | yea, but not like I'd ever run the OS delivered anyway | 16:41 |
rick_h_ | ok, off to lunch now biaf | 16:42 |
bac | joining that conference call is the hardest thing i've done today | 17:04 |
hatch | lol | 17:06 |
hatch | rick_h_ heh true - so does 14.04 have all the drivers necessary? | 17:40 |
rick_h_ | hatch: I assume, we'll find out | 17:41 |
rick_h_ | at least the camera should work :) | 17:41 |
hatch | haha - you hope... | 17:41 |
hatch | :P | 17:41 |
rick_h_ | others have them in the company so I feel pretty good | 17:41 |
rick_h_ | I'm not going to love it, but there's such a lack of 'good' laptops out there right now | 17:41 |
hatch | it's true | 17:46 |
hatch | I'm digging this MBP but I really need to get some support from someone who knows how to write drivers :) | 17:47 |
rick_h_ | yea, the camera not working is a killer for me. | 17:47 |
rick_h_ | too many calls to have to do | 17:47 |
rick_h_ | and rebooting into osx to do calls is a pita | 17:47 |
rick_h_ | and using osx is an even bigger pita | 17:48 |
hatch | yop! | 17:48 |
rick_h_ | Makyo: you're going off of https://drive.google.com/a/canonical.com/?pli=1#folders/0B7XG_QBXNwY1cWQ4TmRmRXJBc0E for the change version? | 17:53 |
Makyo | rick_h_, https://drive.google.com/a/canonical.com/#folders/0B7XG_QBXNwY1Vmowb25PejhJOTg | 17:57 |
Makyo | Which looks similar. | 17:58 |
rick_h_ | Makyo: oh cool I missed it on there when I loaded it up :/ | 17:58 |
rick_h_ | blindy friday | 17:58 |
hatch | rick_h_ so on sprints are you going to bring three laptops now? lol | 17:59 |
rick_h_ | hatch: no, I'll be down to one | 17:59 |
rick_h_ | I'm tired of carrying two | 17:59 |
rick_h_ | and two power cords etc | 18:00 |
hatch | This weekend I think I'll hop back into Ubuntu and see if I can get the issues fixed up | 18:00 |
hatch | would really love to run it on metal | 18:01 |
rick_h_ | I'm going to run. Everyone have a good weekend. | 18:40 |
hatch | cya rick_h_ enjoy! | 18:40 |
hatch | kadams54 hey did the rebase go ok? | 20:47 |
kadams54 | Yeah, it's pushed and the CI build is churning away on it right now. | 20:48 |
hatch | oh cool, so it's ready for a review? | 20:48 |
kadams54 | Yup. | 20:48 |
bac | bye jujugui. have a nice weekend everyone. | 20:56 |
kadams54 | You too bac | 20:56 |
hatch | you too, cya bac | 20:56 |
hatch | kadams54 in the _displayCreateMachine method you're grabbing either the create-machine or create-container element for the container....but won't there also be a create-xxx in the unplaced units column when the user clicks the little button? | 21:02 |
kadams54 | serviceunit-token.js handles its form a little differently | 21:03 |
kadams54 | Since it needs to populate the dropdowns dynamically, including existing machines and containers | 21:03 |
hatch | so we have two identical forms with two different code bases? :) | 21:03 |
kadams54 | Fortunately no | 21:04 |
hatch | oh ok good :) | 21:04 |
kadams54 | It grabs the existing form and manipulates it into what it needs | 21:04 |
hatch | I don't understand the comment about the kludge | 21:05 |
kadams54 | Huw took the approach of showing/hiding various sections in the form by placing a "state class" at the form level… so if <form class="state-new-lxc">, hide the constraints. If <form class="state-new-kvm">, show constraints. | 21:06 |
kadams54 | I only discovered that after using the "hidden" class directly on the various sections within the form | 21:06 |
kadams54 | In the other places the form is used | 21:07 |
kadams54 | So in that bit of code we're both setting the state class AND having to remove the "hidden" class | 21:07 |
kadams54 | It should only be one or the other and the approach needs to be consistent throughout the code | 21:07 |
hatch | hmm ok thx | 21:08 |
kadams54 | TBH, I meant to revisit that once everything was working and happy, but before it went out for review | 21:08 |
kadams54 | Sorry. | 21:08 |
hatch | np, we should get this landed | 21:08 |
hatch | almost done review | 21:08 |
hatch | kadams54 ok review is done | 21:13 |
hatch | I'll do qa no | 21:14 |
hatch | q | 21:14 |
hatch | now | 21:14 |
kadams54 | Ah yes… the async issue in the tests… | 21:16 |
kadams54 | I tried wrapping them in after | 21:16 |
kadams54 | And failed miserably. | 21:16 |
kadams54 | Having chunks of the code executed as callbacks messed up stubbed methods | 21:16 |
kadams54 | env.createMachine.lastArguments() was undefined | 21:16 |
hatch | ok after QA I'll show you a diff | 21:17 |
kadams54 | Here's what I tried… https://gist.github.com/kadams54/bc7cfc5ddb722bd42cc8 | 21:19 |
hatch | and env was undefined? | 21:19 |
kadams54 | One moment, let me check… | 21:24 |
kadams54 | No, env is not undefined | 21:28 |
kadams54 | And addMachines is still a stub method | 21:28 |
kadams54 | It's just that lastArguments() now returns undefined | 21:28 |
kadams54 | Something (f._allArguments?) seems to be dropping out of scope once the assertion happens in a closure | 21:29 |
hatch | ok sorry I can look now, I was just sending an email re a qa issue | 21:30 |
hatch | ok looking at the code | 21:30 |
hatch | hmm that's very odd | 21:31 |
hatch | kadams54 I"m ok with leaving it I suppose, it looks like it's causing more issues than it's solving....no idea why those issues are happening though | 21:32 |
kadams54 | hatch: OK. FYI, I found a problem when QAing… now that I have Huw's stuff, the dropAction is not bubbling up through the events properly. | 21:33 |
hatch | really? It's working here | 21:33 |
hatch | what's your issue? | 21:33 |
hatch | I'll try and repro it | 21:34 |
kadams54 | When I drop an unplaced unit on the "Create Container" target in the container column header, the form shows up over in the machine column | 21:34 |
kadams54 | The action === 'container' conditional is failing, so the container gets set to the form in the machine column. | 21:35 |
kadams54 | OK, gotta run | 21:35 |
hatch | ok be sure to add that comment to the PR so noone lands with it | 21:36 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!