fluid-work IRC Logs-2012-08-14

fluid-work IRC Logs-2012-08-14

[09:21:20 CDT(-0500)] <michelled> cindyli: when you are free, can we have a Floe planning meeting?

[09:22:53 CDT(-0500)] <michelled> alexn1: this is the wiki page I was referring to: http://wiki.fluidproject.org/display/fluid/Floe+Iteration+Plan

[09:23:41 CDT(-0500)] <alexn1> michelled: thanks for the link. (I found and was looking at page as well)

[09:30:53 CDT(-0500)] <cindyli> anytime, michelled

[09:31:54 CDT(-0500)] <michelled> now's good - anastasiac, alexn1 - good for you too?

[09:32:05 CDT(-0500)] <alexn1> michelled: yes !

[10:05:50 CDT(-0500)] <colinclark> kasper: http://issues.gpii.net/browse/GPII-29?focusedCommentId=10014#comment-10014

[10:20:57 CDT(-0500)] <thealphanerd> colinclark: you got a minute?

[10:21:02 CDT(-0500)] <colinclark> thealphanerd: yes

[10:21:10 CDT(-0500)] <thealphanerd> so I got basic aria working now

[10:21:22 CDT(-0500)] <colinclark> especially if you can point me to a TextMate 2 dark theme that doesn't totally suck

[10:21:32 CDT(-0500)] <thealphanerd> indeed I can

[10:21:51 CDT(-0500)] <thealphanerd> http://www.monokai.nl/blog/2006/07/15/textmate-color-theme/

[10:22:29 CDT(-0500)] <thealphanerd> keep in mind that you need to manually install the themes for textmate 2

[10:23:07 CDT(-0500)] <thealphanerd> ~/Library/Application Support/Avian/Pristine Copy/Themes

[10:25:15 CDT(-0500)] <thealphanerd> so is there an event for an aria button press/

[10:25:52 CDT(-0500)] <colinclark> thealphanerd: No. Why do you ask?

[10:25:57 CDT(-0500)] <colinclark> Remember, ARIA doesn't do anything

[10:26:01 CDT(-0500)] <colinclark> it just describes things

[10:26:11 CDT(-0500)] <thealphanerd> so you can move around the piano using aria now

[10:26:17 CDT(-0500)] <thealphanerd> and everything is labelled

[10:26:29 CDT(-0500)] <thealphanerd> BUTโ€ฆ there is no way to play the notes

[10:26:53 CDT(-0500)] <thealphanerd> you can "press" the button, but I have no idea how to make that do anything

[10:27:43 CDT(-0500)] <thealphanerd> the only solution I could think of would be to listen to keydown of space barโ€ฆ and check what dom element is currently selectedโ€ฆ but that seems hacky

[10:32:26 CDT(-0500)] <colinclark> I told you about that part

[10:32:43 CDT(-0500)] <colinclark> You need to use our jQuery keyboard accessibility plugin

[10:32:45 CDT(-0500)] <colinclark> remember?

[10:32:54 CDT(-0500)] <colinclark> fluid.activatable()?

[10:33:19 CDT(-0500)] <colinclark> then you just bind it up to whatever methods your click events are bound to

[10:33:51 CDT(-0500)] <thealphanerd> ahhhh

[10:33:55 CDT(-0500)] <thealphanerd> didn't remember

[10:34:04 CDT(-0500)] <thealphanerd> ok so then that brinds me to the next question

[10:34:19 CDT(-0500)] <thealphanerd> I've got fluid.tabbable working

[10:34:39 CDT(-0500)] <thealphanerd> but I'm having no luck with fluid.selectable

[10:35:31 CDT(-0500)] <thealphanerd> I'm able to traverse the application with voiceover without itโ€ฆ but I couldn't get it to work last night.

[10:38:02 CDT(-0500)] <thealphanerd> I just pushed the latest changes to the aria branch

[10:40:24 CDT(-0500)] <colinclark> sorry, that sounded crankier than I had intended, thealphanerd

[10:40:29 CDT(-0500)] <colinclark> one of those days

[10:40:41 CDT(-0500)] <colinclark> So what's the problem with fluid.selectable()?

[10:45:04 CDT(-0500)] <colinclark> thealphanerd: This might be my favourite commit log yet: "silly me'"

[10:46:07 CDT(-0500)] <colinclark> thealphanerd: couple of comments

[10:46:09 CDT(-0500)] <colinclark> https://github.com/TheAlphaNerd/Piano/blob/aria/js/aria.js#L78

[10:46:29 CDT(-0500)] <colinclark> If you want to get an item from a jQuery, but continue to use it as a jQuery, you want the method .eq()

[10:46:41 CDT(-0500)] <colinclark> rather than unwrapping it and rewrapping it like you are doing here

[10:46:49 CDT(-0500)] <colinclark> So this line would read:

[10:47:01 CDT(-0500)] <colinclark> var instrumentType = that.container.children().eq(0);

[10:47:18 CDT(-0500)] <colinclark> So, what is this instrumentType variable, anyway?

[10:48:41 CDT(-0500)] <thealphanerd> colinclark: I purposely had it not being a jquery

[10:48:52 CDT(-0500)] <colinclark> but it is a jQuery

[10:48:55 CDT(-0500)] <thealphanerd> as I just want to grab the first div within

[10:49:01 CDT(-0500)] <colinclark> you unwrap it and then wrap it back up, all in one line

[10:49:24 CDT(-0500)] <thealphanerd> oh yeah...

[10:49:40 CDT(-0500)] <thealphanerd> so I wanted to make a query that could grab the first divโ€ฆ wether it be piano or grid

[10:49:46 CDT(-0500)] <thealphanerd> but just the first div

[10:49:53 CDT(-0500)] <thealphanerd> children return all of them though

[10:49:56 CDT(-0500)] <colinclark> children().eq(0) will get you the first child

[10:49:57 CDT(-0500)] <colinclark> as a jQuery

[10:50:19 CDT(-0500)] <thealphanerd> cool!

[10:50:34 CDT(-0500)] <thealphanerd> got it

[10:50:36 CDT(-0500)] <jessm> i missed standup and didn't login to IRC โ€“ slacker! here's what i'm up to: did a draft of the IDI equipment loan, spoke with James about a Floe preso we're scheduling, talked to Iris about some HR-related items

[10:50:42 CDT(-0500)] <colinclark> So, my sense is that you need to include a "selectablesSelector"

[10:51:05 CDT(-0500)] <colinclark> the Infusion demo has the case where all the children of the container are selectable

[10:51:18 CDT(-0500)] <colinclark> but, if I remember your markup correctly, you've actually got sub-children that should be selectable