/srv/irclogs.ubuntu.com/2014/06/19/#juju-gui.txt

huwshimihatch: Is the "Consolidate deployer bar summary generation functions" card something you're doing or did you want me to take that?00:08
hatchhuwshimi it can't start until the branch I'm working on lands because I used the current approach 00:09
hatchso I can leave it for you for tomorrow if you like00:09
hatchI likely wont get time to do it by tomorrow 00:09
huwshimihatch: Ah no problems. I can take a look tomorrow then.00:09
huwshimihatch: I might have to take a card out of the backlog unless you've got anything you need doing?00:12
hatchhmm lemme take a peek00:12
hatchhuwshimi what about https://launchpad.net/bugs/1328981 ?00:13
_mup_Bug #1328981: Reloading the inspector on upgrade of a charm creates blank sidebar <juju-gui:Triaged> <https://launchpad.net/bugs/1328981>00:13
hatchor the card "wire the new container header/actions" I have no idea what that even means lol00:14
huwshimihatch:  That's the link in the containers header column that says "Add container"00:16
hatchohh, do you want to do that?00:16
hatchor is it blocked by something00:16
huwshimihatch: kyle has a card that says "wire up new container (both link and drop target) to work properly"00:16
hatchohh ok00:16
huwshimiso I assume that is covering part of the work, or at least blocking it00:16
hatchok in Maintenance backlog https://bugs.launchpad.net/juju-gui/+bug/133106100:17
_mup_Bug #1331061: bundle deployment delay in drag/dropping a bundle in live environments <juju-gui:Triaged> <https://launchpad.net/bugs/1331061>00:17
hatcher On Deck00:17
hatchshould be really small one heh00:17
hatchbut yeah looks like you can pull something from On Deck00:18
huwshimiugh, my tests failed again00:18
huwshimihatch: Any ideas? http://ci.jujugui.org:8080/job/juju-gui/1253/console00:21
hatchlooking00:26
hatchhuwshimi https://saucelabs.com/jobs/828b4d0f1c7645bfbb79ace92314af50 00:26
huwshimioh so that's the same issue00:27
huwshimiI think00:27
huwshimiuh no00:27
hatchwell it appears to be an IE only issue so you will probably want to view up an IE vm00:28
huwshimihatch: yeah, it's because pointerEvents aren't supported in IE1000:30
hatchwell that sucks00:31
huwshimiI don't know how to do this :(00:51
huwshimiI could do it through CSS instead of JS and not test for it, but that seems less than ideal00:52
huwshimiAnd IE10 would just not have working hovered drop areas00:52
huwshimi(visually, they wouldn't have the background appear)00:52
hatchhuwshimi sorry I had to step away - did you end up figuring out a solution?01:27
huwshimihatch: Yeah, and it fixed an intermittent bug too :)01:27
hatchcoolio, push it up whenever you're all done and I'll review it01:28
huwshimihatch: Thanks, just fighting a really strange css linting bug and then I'll push01:28
hatchno rush I'm going to be having supper soon01:32
huwshimihatch: Apparently we can't use the '*' selector?01:33
hatchoh...it's considered bad practice01:36
huwshimihatch: How would you feel about allowing that in our lint?01:36
hatchbut you should be able to override it 01:36
hatchI'm ok with it01:36
hatchthere -are- valid use cases for it01:36
huwshimihatch: Well, in this case we want to make sure all children get applied the pointer-events: none for our drop targets01:37
hatchyeah sounds god01:38
hatchgood01:38
huwshimihatch: OK, changes up.01:42
huwshimihatch: Oh, just need to fix a little bug01:48
hatchhuwshimi hey I'm back - it's all ready to go?02:58
huwshimihatch: Yeah, it's up, but I got this error from the safari tests: https://saucelabs.com/jobs/72a85e524b55401a82bd55338029394f02:58
hatchlooking02:58
hatchhuwshimi that's the intermittent issue - it can be ignored02:59
huwshimiah ok02:59
hatch...well it shouldn't be02:59
hatchheh02:59
huwshimi:)02:59
hatchbut we have a card to figure out wth is going on02:59
huwshimihatch: Are we having an aus call tomorrow?03:08
hatchwell rick is not around tomorrow but if I hear of anything of interest to you I can fill you in03:09
hatchI suppose I could fill you in on the personas call that we had with design yesterday03:09
hatchyou can probably get most of the information from looking at the slides though03:10
huwshimihatch: Luca actually took me through the slides last night03:12
hatchohh, well then, nope nothing new so far :)03:12
hatchhuwshimi review done, just going to QA now 03:23
huwshimihatch: Thanks!03:23
hatchand qa done03:27
hatchI'm pretty confident that I don't like the jarring UI change when dragging03:27
hatchbut it makes it's intentions known thats for sure03:28
hatchmaybe that's a good thing03:28
hatchhuwshimi ok both PR's reviewed and qa'd so you should be all good to go03:30
huwshimihatch: Thanks!03:31
hatchnp, now I'm going to try and catch up on my blogs03:31
hatchway too much content added to the internet every day for me to keep up with03:32
huwshimihaha03:33
hatchhuwshimi is there any UI for the config changes in the deployer bar? ATM I just say 'configuration values changed in <serviceName>' 03:36
hatchbut I'm wondering if we should show which values somehow...03:36
huwshimihatch: Not that I know of. I think we need an updated set of visuals for the deployer bar03:36
hatchok I'll fire off an email to UX03:37
huwshimihatch: Thanks03:37
hatchemail sent03:39
huwshimihatch: oh, this is broken. When I drop the unit on an existing machine or container it wants to create a new machine04:05
hatchhuwshimi yeah04:06
hatchcan you file a bug for that - I'm pretty sure there already is one, but I can't find it04:06
huwshimihatch: I think that's something I broke in my branch right?04:10
hatchno I'm pretty sure it's broken on trunk04:10
hatchlemme see04:10
huwshimicomingsoon does other weirdness04:11
hatchheh yeah it's broken there too04:12
huwshimihatch: With different results though. I think I have broken something here04:13
hatchI don't think so - I mean, it may be different broken from comingsoon, but it still doesn't work on comingsoon04:14
huwshimihatch: Actually, it appears to be working for me on coming soon now.04:19
hatchyeah? Odd I can't get it to work04:19
huwshimihatch: What happens for you?04:19
hatchit gives me a notification error that it can't find the container that I'm trying to deploy to04:20
huwshimihatch: Oh, that's not what I've been getting04:21
huwshimihatch: On my branch, when I drop a unit onto a container or machine it acts as if I'd dropped it on "Create new machine"04:23
hatchyeah I remember that bug used to happen 04:23
hatchmaybe as early as last week04:23
hatchhuwshimi are you dropping on the machine or on the container on the machine?04:24
huwshimihatch: on the machine04:26
huwshimihatch: The container will sometimes work04:26
huwshimihatch: Not sure why though04:26
hatchok now it's working on comingsoon04:26
hatchlol04:26
hatchmust have had some wako caching here04:27
hatchhuwshimi sorry I've got to run, good luck :) 04:28
huwshimihatch: No problems, have a good one :)04:28
rick_h_hey all04:36
huwshimirick_h_: Morning?04:47
huwshimioh, it's just very late04:47
rick_h_huwshimi: yea, late day04:49
rick_h_finally seeing email for the first time in about 12hrs04:49
huwshimiheh04:49
frankbanmorning rogpeppe1: I have a dentist apt in 50 mins :-/ Do you want to have a chat?08:23
rogpeppe1frankban: sure08:23
frankbanrogpeppe1: back and alive, this dentist was fracking accurate, which is good but also bad...11:04
rogpeppe1frankban: hangout? (or perhaps you can't speak... :-])11:05
frankbanrogpeppe1: joining11:05
rogpeppe1frankban: http://paste.ubuntu.com/7668667/11:55
rogpeppe1frankban: https://docs.google.com/a/canonical.com/document/d/1SF8hTBi6oVbki8V__beNij6wnQU-5cm6PZsy5gf0j_Y/edit?usp=sharing12:01
rogpeppe1rick_h_, bac: ping12:08
bachi rogpeppe112:09
rogpeppe1bac: fancy having a look at our bundles proposal document?12:09
rogpeppe1bac: link just above12:09
bacrogpeppe1: sure12:09
rogpeppe1bac: feel free to join us in the standup hangout if you want to chat about it12:13
bacrogpeppe1: let me read first then i will12:13
rogpeppe1bac: cool12:13
bacrogpeppe1: you still in the hangout?12:38
rogpeppe1bac: yup12:38
bacrogpeppe1: normal daily standup?12:38
rick_h_rogpeppe1: ooh docs thanks. 13:43
rogpeppe1rick_h_: np. would be good to have your feedback.13:43
* bac is utterly utopic13:50
rick_h_bac: whoa, brave man13:51
rick_h_bac: doesn't juju not work right on utopic still?13:51
bacrick_h_: just embarking13:51
bacfwiw, update-manger -d hangs but do-release-upgrade works great13:51
rick_h_rogpeppe1: commented in the doc14:00
rick_h_rogpeppe1: thanks for that, good stuff14:00
rick_h_frankban: bac going to add a card to the backlog for this https://github.com/juju/juju/pull/7714:01
rick_h_just a heads up14:01
bacrick_h_: ok14:02
rogpeppe1rick_h_: i've replied to most of your comments14:29
jcastrorick_h_, thanks for the doc review, I've made and pushed all those changes. <314:31
hatchhehe very cool http://gizmodo.com/this-audio-illusion-will-make-you-never-trust-your-ears-159311332414:43
kadams54hatch: when you get the chance I have more questions about simulate14:46
hatchyeah shoot14:46
kadams54It looks like the second arg for simulate lets you decorate the event object14:47
hatchyep14:47
kadams54But in my case, I want to override the e.target attribute14:48
hatchyou can hang some streamers, and such14:48
hatcharen't you simulating the event on the select which is the target?14:48
kadams54Such that e.target.get('value') returns something14:48
hatchwhy would you want to override it?14:48
hatchoh you want the target to be the option14:48
kadams54Because I want to simulate the select being changed to something other than the default value14:48
hatchwhy not loop through the options to find out which one is selected then get the value from that? 14:49
hatchthat's the 'proper' way to deal with selects cross browser14:49
hatchYUI tries to normalize it but it doesn't always work out as plannd14:49
kadams54Not sure how that would help in the test?14:49
hatchset an option as selected14:49
hatchthen simulate the change event14:50
kadams54Ah, so container.one('option[value=foo]').setAttr('selected')?14:50
hatchwell you'll have to remove any previous selected ones14:50
Makyojujugui call in 614:54
kadams54That audio illusion did not work for me. Not sure what that says about my brain.14:54
hatchuh oh!14:54
rogpeppe1kadams54: worked for me14:54
hatchkadams54 maybe try again14:54
kadams54I listened to the real sentence and the scrambled one three times14:54
kadams54It kinda seemed like the beginning of the scrambled one sounded like the real one, but then it just sounded like r2d2 by the end.14:55
kadams54Nothing ever really "popped" or seemed very different14:55
hatchhmm interesting14:56
hatchworked first try for me14:56
rogpeppe1kadams54: i listened to the real sentence twice14:56
rogpeppe1kadams54: ('cos i didn't understand it first :-])14:56
frankbanmaybe it depends on how much time you spent with 8bit games: https://www.youtube.com/watch?v=i1_fDwX1VVY14:58
hatchfrankban haha14:59
hatchjujugui call now15:00
jcsacketthatch: pushed lint fixes.15:11
hatchcool - could you put your qa instructions in the PR description instead of in a comment from now on :) 15:11
hatchmakes it easier to find :)15:12
bacrogpeppe1: did you send email about the bundles doc? i'm looking but don't see anything.  if so, which list?15:13
rogpeppe1bac: #juju-dev15:13
rogpeppe1bac: juju-dev@lists.ubuntu.com15:14
bacrogpeppe1: thanks.15:14
hatchjcastro so the video is unlisted but not locked so if you have the url you can see the stream 15:18
hatchjust fyi15:18
hatchjcsackett wow this diff is all over the place lol15:22
bacthanks rogpeppe1.  turns out i wasn't subscribed to that one.  am now.15:22
jcsacketthatch: QA in a comment seems better--it's kind of bizarre to have the QA instructions become part of the commit log, don't you think?15:23
bacb/c i need more email15:23
jcsacketthatch: and yeah, for what is actually a simple bit of breaking out logic, git diffed it *really* oddly.15:23
bacjcsackett: i often put QA in with the lbox propose but try to edit them out when i do lbox submit15:23
hatchjcsackett the PR description doesn't get merged into the repo15:24
bacjcsackett: never mind.  you're talking github and i'm just butting in with irrelevant comments.15:24
hatchI suppose it makes it into the merge commit15:24
jcsacketthatch: yup https://github.com/juju/juju-gui/commit/26ecc89e1e34152947d9ea71f12a6cb537a36a7f15:25
jcsackettbac: the same idea could work--just feels weird to edit the PR description after review.15:25
hatchwell then!15:25
jcsacketthatch: i *agree* that the description shouldn't, mind you. :)15:26
hatchGH does some weird stuff15:26
hatchit's almost like they do the absolute minimum amount of work lol15:26
jcsackettyup.15:26
hatchjcsackett damn you updating while I'm still reviewing15:31
hatchlol15:31
jcsacketthatch: i'm not rebasing though.15:31
jcsackettjust addressing your comments as i see them--you want me to hold off altogether?15:32
hatchif you could - it removes the comments associated with any changed lines15:32
hatch(which I just learnt) 15:32
hatch:)15:32
jcsacketthatch: sure, no problem.15:32
jcsackett(as a note, it only removes them if that part of the diff goes away or is altered--which usually means your comment was just addressed)15:33
jcsackettbut i need more coffee anyway, so i'll hold off. :)15:33
jcsacketthatch: re the 500ms, in my testing it needed only one round of 100ms, but i wasn't sure if we wanted to cut it that close. 5 really short retries seemed like a good guess, but i wonder if you have any thoughts?15:50
hatchjcsackett nope I'm good with whatever you found I was just more concerned about a comment to tell future us why the retries were as they were15:50
jcsacketthatch: ok.15:50
hatchjcsackett I've found over the past year we end up going back and are like 'what the....why....huh?....(1h later)...ohhhhhh now I get it'15:52
hatchlol15:52
hatchjcsackett your test failure was the intermittent one15:55
jcsacketthatch: well, i'll be pushing up changes shortly, so we'll get another run.15:56
hatchjcsackett so I get the bug mentioned in your PR when trying to view /inspector/juju-gui 16:35
hatchis it supposed to do that? Or something else?16:35
jcsacketthatch: right. it's a separate issue, as it popped up while i was investigating this.16:35
jcsackettbut "no model" is also "partial model".16:35
hatchok so the 'not an inspector' mode works 16:35
hatchbut I get that bug when trying to view the juju-gui inspector16:35
jcsacketthatch: normally? or after reload?16:36
hatchafter reload16:36
jcsacketthatch: ok, that's expected.16:36
hatchvisiting /inspector/juju-gui gives me the bug mentioned16:36
hatchok cool16:36
jcsacketthatch: that started happening after i rebased develop.16:36
jcsacketti'm actually going to see if i can find the cause and update the bug today.16:36
hatchok qa ok16:36
jcsackettbut our fix doens't fix that, sadly. :(16:36
hatchafter you fix the comments plz rebase :)16:36
jcsacketthatch: will do.16:37
hatchjujugui looking for a review/qa on https://github.com/juju/juju-gui/pull/39617:01
hatchjcsackett re my comment on property vs attribute http://jsperf.com/yui-attribute-vs-property/7 it's a monstrous difference but I figure we are ok with 3.8M ops/s :D17:03
hatchjcsackett you'll also notice I used your approach and put the QA notes in a comment :)17:05
jcsacketthatch: looking.17:14
hatchthanks17:18
hatchkadams54 how goes the battle? Would you like to pair to get that thing landed?17:38
hatchit's blocking Huw so would definitely like to get it landed today17:39
jcsacketthatch: two questions on your PR, just on stuff i'm not following--qa is good, if you can sort me on those i'll +1 now.17:40
hatchyup replied17:40
kadams54hatch: Got it. Let me wrap up work on this test and then I'll be at a good spot for pairing17:41
hatchjcsackett comments replied to17:43
jcsacketthatch: in retrospect, the answer to my second question was obvious. :p17:44
jcsackettthanks, you're good to :shipit: whenevs.17:44
hatchhaha np :)17:45
hatchhmm this ecs ghost config is going to be interesting17:56
hatchMakyo what about things like constraints, unit counts, etc? 17:56
hatchatm you can't deploy more than 1 unit 17:57
MakyoIsn't that part of the deploy args?17:57
hatchright - but there is no way to 'submit' changes to a ghost inspector17:57
hatchthere is no 'save' button 17:57
hatchso you can't actually set anything17:58
MakyoIsn't that in the plans, though?17:58
hatchno idea - I don't recall seeing any mockups with one17:58
hatchthere is an issue here because if we allow the user to increase their units here, and define the constraints then that's going to much with the MV stuff17:59
MakyoMaybe it's purely a mv thing18:00
hatchit's like auto-placing a unit 18:00
MakyoYeah.18:00
MakyoI'd just focus on the current iteration until we get more direction.18:00
hatchyeah there isn't much I can do until we figure this out - because atm I'd have to save on blur in the config or something18:00
hatchwhich is a litle odd18:00
hatchor add a save button18:00
hatchcrud I wish design was still awake18:01
hatch:)18:01
MakyoWe've been talking about a save button for a while now.18:01
MakyoSo whatever.  Can you search for a stopping point that's landable?18:01
MakyoLike, even if it doesn't actually use the ECS config stuff, have that in there, etc.18:02
hatchI'm not sure I should even start on the ghost config ecs stuff until this is ironed out18:02
MakyoSure18:02
hatchthe deployed service ecs is done18:02
hatchbut the ghost stuff just doesn't quite make sense heh18:02
MakyoMy own task is turning out to be impossible without doing the whole thing at once, so I'm doubling or tripling LoC.  If you want to snag another ECS card, no need to wait on me18:03
hatchthe remove relation one?18:03
hatchoh the inspector double call thing18:04
hatchgot it18:04
hatchI'm going to stew on this a bit longer then fire off an email 18:04
kadams54hatch: I may actually be ready to land this sucker. Waiting to see what happens in CI, as well as doing manual testing… I've updated the PR to reflect the not-a-WIP-any-more status.18:42
hatchcool I'll check it out18:43
kadams54hatch: That said, I'm somewhat concerned that my work may conflict with Huw's stuff that's in review.18:43
kadams54hatch: I'd be more comfortable if that stuff was shipped and I could rebase off it.18:43
hatchok that's possible I suppose - he hopefully will solve his bug and get it landed tonight18:44
hatchthen tomorrow you can rebase and go18:44
kadams54hatch: so now that all automated tests pass, I'm running into problems doing manual testing. Time to write more tests.18:46
kadams54hatch: feel free to hold off until I've sorted through these problems.18:46
hatchok will do18:57
hatchkadams54 hthere is a card "wire the new container header/actions" is that taken care of in your branch?19:53
hatchMakyo so it's ok if I hop on the remove relation ecs card?19:55
MakyoSure. 19:56
hatchMakyo any idea why lazyAddMachine and lazyAddUnit aren't private (_) ?20:09
hatchtypos?20:10
Makyohatch, yeah, I think so.20:10
hatchalrighty20:10
kadams54hatch: yes.20:41
hatchkadams54 ok cool, can you look at the ready to code cards and delete the ones which are already done in your branch20:41
kadams54hatch: So I got everything working again, the CI build was passing, life was great. I squashed the commits down to one, pushed, and all hell broke loose.20:41
kadams54hatch: manual testing and test-server still pass just fine. test-prod is totally borked.20:42
kadams54So that's awesome.20:42
hatchAre you missing a dependency? That's usually the cause of test-prod going20:42
kadams54I don't think so20:42
kadams54test-prod passed just fine before I squashed20:42
kadams54Squashing was the only diff between build #1268, which passed, and #1269, which didn't.20:43
hatchok lemme see20:44
hatchkadams54 does test-prod run locally?20:45
kadams54No20:45
kadams54I can dup the same errors I see in CI in local test-prod.20:45
kadams54But test-server runs just fine.20:45
hatchtry test-prod-server20:46
kadams54finished reviewing for dupe cards - only deleted the one you found.20:47
hatchok20:47
kadams54test-prod-server is fine. Just re-ran test-prod, errors galore.20:52
kadams54whee!20:52
hatchlook in the network tab20:52
hatchsee what it's requesting20:52
hatchit is likely making additional requests20:52
kadams54Time for a make clean20:52
hatchwellllll CI runs in a clean env all the time20:55
kadams54So I'm running test-prod-server and I've got the network tab open - what am I looking for?20:56
hatchI'm pulling down your branch to see if I can reproduce20:56
hatchok I can reproduce21:00
hatchwhen you rebased, did you rebase against develop again?21:01
hatchI'm just not sure how flattening could have caused this heh21:01
kadams54I did "git rebase -i develop"21:05
kadams54But there also weren't any changes in develop since the last time I'd rebase'd21:05
kadams54I've narrowed it down to test_machine_view_panel.js, line 37521:06
hatchkadams54 trying a hunch21:06
hatchhunch was not correct21:07
kadams54:-(21:08
kadams54Wow, I really hate this. Now test-prod is failing with out of memory exception before it even gets into the testing… really?!?21:08
hatchkadams54 here http://stackoverflow.com/questions/134882/undoing-a-git-rebase21:11
hatchundo your rebase so we can get it back to a passing state21:11
kadams54I'll give it a whirl in just a moment…21:12
hatchkadams54 yeah I have no idea why lastArguments would return undefined but only in test-prod21:26
hatchI'd have to step through it which would take a while heh21:26
kadams54I'm undoing rebase right now21:27
kadams54Confirmed that skipping that one test fixes things21:27
hatchyeah, the callCount on addMachines is 021:27
hatchbut only in test-prod21:27
hatchI'm guessing it's a race condition because of your simulates21:28
hatchtrying that fix21:28
kadams54Oh hey21:29
kadams54One thing that puzzled me21:29
kadams54When I setup the test to run with .only21:29
kadams54There were two failures in one test21:29
kadams54Which seems like there are extra instances being created and getting into a race condition with each other21:29
hatchyeah so it looks like the simulates are causing the issues21:30
hatchyou're executing this synchronously but it's executing asynchronously 21:30
hatchjust seeing if I can hack it into passing21:31
hatchto confirm21:31
hatchTypeError: 'null' is not an object (evaluating 'e.target.one("option:checked").get') (http://0.0.0.0:8888/juju-ui/assets/modules.js:13)21:31
hatchkadams54 ok I fixed it21:38
hatchbut you'll need to fix it properly heh21:38
kadams54lol21:40
hatchI'm just cleaning it up and getting you the diff21:40
hatchkadams54 https://gist.github.com/d12e15eb80c894d7b2cb here you go21:42
hatchso two issues 21:42
hatchthe option:selected for whatever reason doesn't want to work properly in test-prod21:42
hatchand the simulates need to happen after the previous event is finished21:42
* kadams54 shakes his fist at PhantomJS21:42
hatchI hacked it using some setTimeouts but that's just a hack, you'll need to listen for the events and then simulate the events in the proper order21:43
kadams54Your code doesn't work :-)21:43
hatchwhaaaa21:43
kadams54I tried looping through the options in a similar manner21:43
kadams54Which works for the automated tests21:43
kadams54But doesn't work in real life21:43
hatchwhy not?21:44
kadams54When you select a new item in the browser, it doesn't update the selected attribute in the DOM21:44
kadams54So you end up getting the option that was originally specified as selected, instead of the new one21:44
kadams54That's when I switched to option:checked21:44
kadams54I must not have pushed that change for the build that passed - only got pushed post-squash21:45
hatchohhh 21:45
hatchhmm21:45
* kadams54 has a healthy loathing of dealing with selects in JS21:46
hatchI must have known that at some point haha21:46
kadams54LOL21:46
hatchhmm ok well then21:46
hatchhow r we guna do this!21:47
hatchoh duh21:48
hatchuse selectedIndex21:49
hatchheh man I just failed hard21:49
kadams54And it all comes back.21:55
kadams54OK, selectedIndex fix on the way21:55
kadams54But seriously, why are we still doing this?21:55
kadams54Why oh why can't the pseudo selector just work?!?21:56
hatchstandards bodies are more interested in making 'new' features like arrow functions instead of providing better ones that actually solve problems?21:56
kadams54Well :checked is well supported by all the "real" browsers21:58
hatchtrue true21:58
kadams54Apparently it's just PhantomJS that has issues21:58
kadams54Regardless, I think manipulating selectedIndex will be a better approach for the test21:58
hatchwe are a few releases back on the phantomjs so maybe we should update 21:59
kadams54Hopefully closer to what's happening in the browser, since they don't change the selected attribute.21:59
hatchkadams54 yeah selectedIndex is the 'proper' way21:59
hatchsorry I should have remembered that sooner21:59
kadams54hatch: is there a way to get at selectedIndex on a Node, or do I need to do node.getDOMNode().selectedIndex?22:21
kadams54lazyweb22:21
hatche.currentTarget.get('selectedIndex')22:21
hatchfrom your event handler22:21
kadams54e.currentTarget is a Node instance22:22
kadams54e._currentTarget is the DOM node22:22
hatchsort of22:23
hatchyou want to use currentTarget22:23
hatchit's the Node instance 22:23
hatchwhich normalizes a lot of things cross browser22:23
hatchOOo boy the remove relation dialogue doesn't work22:29
huwshimiMorning22:35
huwshimihatch: Sorry I'm late22:35
hatchhuwshimi YEAH!!22:36
hatch:P22:36
hatchmorning22:36
hatchI'll let it slide...this time...22:37
huwshimi:)22:37
hatchhuwshimi so the only thing on the docket is that kadams54  is going to wait to land his branch until yours lands so that you don't have to deal with any conflicts when everyone is gone22:38
huwshimihatch: OK22:38
huwshimihatch: Did you notice my last change?22:38
hatchyeah I saw that - I meant to ask you how it's supposed to get the drag events if they aren't attached when it's rendered anymore :)22:39
huwshimihatch: Because they're already attached.22:39
huwshimiat init22:39
hatchhuwshimi can you re-add your github avatar? they removed them a while back for some reason....22:40
hatch:)22:40
huwshimihatch: it's showing for me22:41
hatchyeah mine did too22:41
hatchI had to go in, remove it, and re-add it22:41
huwshimioh22:41
hatchok so yes they are being attached in the initializer now22:41
hatchI'm guessing it was done in render because it was only ever supposed to be rendered once22:41
hatchI'm guessing they are no longer only rendered once?22:42
huwshimihatch: That's correct, it renders every time a unit gets added22:42
huwshimi(avatar uploaded)22:42
hatchahh, well then in that case good fix :)22:42
huwshimihatch: OK, well I'll finish the tests and try and get that landed then.22:43
hatchthere's the robot I'm used to seeing!22:43
huwshimihatch: Ah good22:43
huwshimihatch: Anything else?22:43
hatchthere was an extra card in the lane that kadams54  removed because he did it in his branch22:43
hatchmy other branch landed so you can consolidate those methods if you like22:43
hatchand ecs ghost stuff is way blocked behind the new ghost ui changes.....but I have to confirm that with rick first22:44
huwshimihatch: OK22:44
hatchMakyo are you still around?22:47
MakyoBarely, but yeah22:47
huwshimihatch: Thanks for all that. I'm going to move locations. Back in 10.22:47
hatchquickly: the order of the endpoints in a relation is irrelevant right?22:47
hatchMakyo in other words I have to check both endpoint directions 22:47
Makyohatch, I believe so.22:48
hatchmysql:db > wordpress:db === wordpress:db > mysql:db22:48
hatchok thanks 22:48
kadams54hatch: working on the issue of the simulates… not sure exactly how to deal with it though… are you thinking cascading 'after' event handlers like so: http://pastie.org/private/zrebcl2eth9bbmoar6ggfq ?23:07
hatchkadams54 yeah that should work23:07
kadams54The only problem I see is that the code now executing after the event may be happening before or after any other event handlers (including code under test) that are looking at the same events.23:07
hatchbut you'll need to add a done(); in the final callback23:08
hatchdo you have other event handlers listening for the 'after' event in that test? 23:08
hatchI'm not sure I understand23:09
kadams54hatch: I *think* all the event handlers being exercised for the test are "on" and not "after"23:13
kadams54But there's no guarantee23:14
hatchwell does it pass?23:14
hatchholy look at the time23:40

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