fluid-work IRC Logs-2013-11-26

fluid-work IRC Logs-2013-11-26

[09:15:54 CST(-0600)] <jhung> anastasiac: Regarding a11y Metadata - can "highContrast" and "largePrint" be used to describe video?

[09:16:29 CST(-0600)] <anastasiac> hm… jhung, I don't see why not, if it actually happens to be the case

[09:16:35 CST(-0600)] <anastasiac> we shouldn't preclude it

[09:19:36 CST(-0600)] * clown waves at jhernandez

[09:30:04 CST(-0600)] <yzen> Justin_o: hi

[09:30:22 CST(-0600)] <Justin_o> yzen: didn't get a notification (sad)

[09:38:52 CST(-0600)] <jhernandez> clown: ^

[09:39:33 CST(-0600)] * jhernandez around .. but mostly coding java source code

[09:39:35 CST(-0600)] <jhernandez> ¬¬

[09:39:38 CST(-0600)] <jhernandez> xDD

[09:40:00 CST(-0600)] <clown> better than codin jave byte code, I guess, jhernandez

[09:40:05 CST(-0600)] <clown> *coding java

[09:40:37 CST(-0600)] <clown> jhernandez: Just checking to see if you got my email about what I 've been up to. No pressure...

[09:42:45 CST(-0600)] <jhernandez> clown: got it

[09:43:23 CST(-0600)] <clown> jhernandez, cool. thanks.

[09:43:38 CST(-0600)] <jhernandez> we're focused on pilots, but i should take a rest from it and take a look at it

[09:45:08 CST(-0600)] <clown> jhernandez, interesting definition of "rest". (smile)

[09:46:02 CST(-0600)] <jhernandez> xDDD

[09:46:46 CST(-0600)] <jhernandez> well

[09:46:47 CST(-0600)] <jhernandez> in fact

[09:47:05 CST(-0600)] <jhernandez> lately, all my rests are like these

[09:47:24 CST(-0600)] <Justin_o> cindyli: how do we replace the use of demands for contexts.. basically i want to set a listener on the subPanel only when there is a prefsEditor as an ancestor

[09:48:13 CST(-0600)] <jhernandez> clown: in real life, take a rest is something like "let's walk for three hours through the forest", "let's build this thing from Ikea", etc ... xDDD

[09:49:11 CST(-0600)] <cindyli> good question, Justin_o, my first thought was dynamic grades. but how can we detect a prefsEditor as an ancestor in the dynamic grade function?

[09:49:25 CST(-0600)] <clown> jhernandez, speaking from experience, building things from Ikea is not restful at all. Quite the opposite, in fact.

[09:50:08 CST(-0600)] <Justin_o> cindyli: hmm.. maybe

[09:50:43 CST(-0600)] <cindyli> Justin_o: ah ha, another solution is to use the distribute option in the prefsEditor

[09:51:02 CST(-0600)] <Justin_o> cindyli: i was looking at that but it didn't work

[09:51:20 CST(-0600)] <Justin_o> cindyli: did you want to pair up with me on that?

[09:51:28 CST(-0600)] <cindyli> sure

[10:08:00 CST(-0600)] <anastasiac> Justin_o, I've pushed a version of the 5220 branch to my repo with a fix to the instr. demo logging: https://github.com/acheetham/infusion/tree/FLUID-5220

[10:09:43 CST(-0600)] <Justin_o> anastasiac: thanks

[10:46:37 CST(-0600)] <Justin_o> Bosmon: are you there?

[10:50:53 CST(-0600)] <Bosmon> Hi Justin_o

[10:51:01 CST(-0600)] <Bosmon> How is the EVENT MANGLING going?

[10:53:51 CST(-0600)] <Justin_o> Bosmon: hello.. i think i've gotten something sorted out for that.. trying to use a dynamic grade

[10:54:06 CST(-0600)] <Justin_o> Bosmon: i'm having problems with refactoring that bindEvent function though

[10:54:51 CST(-0600)] <Bosmon> ok

[10:59:23 CST(-0600)] <Justin_o> Bosmon: i ran into a strange issue where the IoC reference in a listener that used a "this" with a reference to a parents dom element wouldn't resolve the context

[10:59:56 CST(-0600)] <Bosmon> Justin_o

[11:00:00 CST(-0600)] <Bosmon> Can you show more detail on the problem

[11:00:43 CST(-0600)] <Justin_o> Bosmon: i cleared out the code to work on a different part, but i can tell you how to recreate it if you like

[11:00:53 CST(-0600)] <Bosmon> Juston: ....

[11:03:04 CST(-0600)] <Justin_o> Bosmon: for example try to move line 266 of SeparatedPanelPrefsEditor.js to be declarative by putting it in the prefsEditors options block on line 133 of the same file

[11:04:27 CST(-0600)] <Bosmon> Justin_o - could you show me how you would do this?

[11:04:43 CST(-0600)] <Justin_o> Bosmon: sure just be a couple of minutes

[11:27:42 CST(-0600)] <Justin_o> Bosmon: sorry the information i gave you was a bit wrong. It should go into the slidingPanel..

[11:28:02 CST(-0600)] <Justin_o> Bosmon: i'm wondering if it is a problem with the tests though, anastasiac's demo is still working

[11:28:07 CST(-0600)]

<Justin_o> Bosmon: this is the error i get "Failed to resolve reference

Unknown macro: {iframeRenderer}

.iframe - could not match context with name iframeRenderer from component

Unknown macro: { typeName}

[object Object]"

[11:28:44 CST(-0600)] <Justin_o> Bosmon: this is the configuration i use in the slidingPanel subcomponent http://pastie.org/private/8snt4hb3zgcnvmdpelcnia

[11:36:47 CST(-0600)] <Bosmon> Justin_o - this is most likely because, as we discussed yesterday, the iFrameRenderer is createOnEvent for an event which has not occurred yet

[11:39:56 CST(-0600)] <anastasiac> Justin_o, can I use the new fluid.prefs.create() function to create a full-page editor?

[11:41:51 CST(-0600)] <michelled> hi Bosmon - yzen mentioned that he needs one of your pull requests to go in so he can complete his work. is it for 5212?

[11:42:50 CST(-0600)] <Bosmon> 5212, yes

[11:42:57 CST(-0600)] <Bosmon> Let me just add a tiny adjustment to it

[11:43:02 CST(-0600)] <Bosmon> Although you can start reading it if you want

[11:43:02 CST(-0600)] <michelled> ok, thx

[11:45:38 CST(-0600)] <Justin_o> Bosmon: but the iframeRenderer doesn't have a createOnEvent option

[11:46:04 CST(-0600)] <Justin_o> anastasiac: yes.. you'd have to pass in prefsEditor options to change the type though

[11:46:20 CST(-0600)] <Justin_o> anastasiac: you can see this in the fullPage manual tests

[11:46:29 CST(-0600)] <anastasiac> thanks, Justin_o, I actually figured that out a few minutes ago

[11:46:44 CST(-0600)] <Justin_o> anastasiac: sorry i took a while to reply

[11:46:55 CST(-0600)] <anastasiac> np (smile)

[11:51:20 CST(-0600)] <Justin_o> fluid-everyone: the community meeting this week is happening at a special time. Which is 10 minutes from now. If you'd like to join remotely please let me know. The topic is on CSS frameworks, and FSS.

[11:51:41 CST(-0600)] <Bosmon> Justin_o - could you check in a revision of the failing code so I can take a look at it?

[11:51:49 CST(-0600)] <Bosmon> Justin_o - I'll be able to attend a part of the meeting but I'll need to leave early

[11:52:14 CST(-0600)] <Justin_o> Bosmon: okay.. and thanks for letting me know about the meeting..

[11:54:55 CST(-0600)] <Justin_o> Bosmon: you can take a look at this branch https://github.com/jobara/infusion/tree/FLUID-5220-failing

[11:58:03 CST(-0600)] <Bosmon> Justin_o - which file should I run?

[12:00:50 CST(-0600)] <Justin_o> Bosmon: the separatedPanel unit tests

[12:01:05 CST(-0600)] <Bosmon> thanks

[12:10:52 CST(-0600)] <jhung> http://wiki.fluidproject.org/pages/viewpage.action?pageId=37850771

[12:12:53 CST(-0600)] <jhung> YAML example: https://dl.dropboxusercontent.com/u/11522887/site/yaml/index.html

[12:16:07 CST(-0600)] <jhung> Bootstrap: https://dl.dropboxusercontent.com/u/11522887/site/bootstrap/index.html

[12:16:16 CST(-0600)] <jhung> Foundation: https://dl.dropboxusercontent.com/u/11522887/site/foundation/index.html

[12:18:25 CST(-0600)] <jhung> Original content: http://build.fluidproject.org/prefsEditors/demos/explorationTool/

[12:30:47 CST(-0600)] <Bosmon> Hi Justin_o - I need to shoot out now, but your issue is caused by the fact that your slidingPanel component has already been destroyed at the point the listener fires

[12:30:59 CST(-0600)] <Bosmon> That is, when the afterPanelShow event fires

[12:31:21 CST(-0600)] <Justin_o> Bosmon: thanks.. so it is an issue with the test then

[12:31:44 CST(-0600)] <Bosmon> When I get back I'll put in a proper implementation for http://issues.fluidproject.org/browse/FLUID-4890 so that we get better diagnostics in these cases

[12:32:47 CST(-0600)] <Bosmon> Justin_o - actually once I put this detection in, your test case fails much earlier than this point

[12:32:51 CST(-0600)] <Bosmon> So it appears it is already using a destroyed component during a refreshView method

[12:33:00 CST(-0600)] <Bosmon> It looks like this will be a very helpful diagnostic : P

[12:33:07 CST(-0600)] <Bosmon> It may be that this test has always been invalid somehow

[12:33:24 CST(-0600)] <Bosmon> But that "enough" of the component survived destruction before to responsd to the events well enough

[12:33:46 CST(-0600)] <Justin_o> Bosmon: oh no.. that's scary.. yes.. better diagnostics would be great (smile)

[12:48:31 CST(-0600)] <michelled> http://piratepad.net/Jd9A9tpwRQ

[14:31:06 CST(-0600)] <Justin_o> Bosmon: i'm heading out now.. i didn't make any more headway with the tests issue. let me know if you happen to find anything out.

[14:31:08 CST(-0600)] <Justin_o> thanks