fluid-work IRC Logs-2012-07-17

[08:35:21 CDT(-0500)] <jhung> justin_o: I'm going to start looking at styling this morning. Also going to file jiras for some UI tasks we may not get to this iteration (i.e. colour swatch icons, unit selector)

[08:41:56 CDT(-0500)] <Justin_o> jhung: thanks..

[09:30:05 CDT(-0500)] <Justin_o> jhung: what will the default dpi, height, and width be when someone clicks custom

[09:32:46 CDT(-0500)] <jhung> Initially the same defaults as genpdf. A4 dimensions and 200DPI (I think genpdf defaults to 200DPI, no?)

[09:33:07 CDT(-0500)] <Justin_o> jhung: that's what i thought too.. thanks

[09:46:55 CDT(-0500)] <logiclord> how to push in an array in model using change applier APIs ?

[09:55:16 CDT(-0500)] <anastasiac> michelled, I'm looking into https://www.assembla.com/spaces/iskme/tickets/635 Alex recalls that you might have done some technical investigation, and determined it not feasible. Do you recall this?

[09:56:37 CDT(-0500)] <alexn> michelled, anastasiac: I just heard you michelled talking to James after one of the standups (smile)

[10:03:42 CDT(-0500)] <michelled> anastasiac: I think the issue is that we can't tell why something loses focus. I think we need to do a little more exploration with modern browsers to see what happens these days when switching windows

[10:03:55 CDT(-0500)] <michelled> anastasiac: but don't forget that this has to work with IE8 too (smile)

[10:04:18 CDT(-0500)] <anastasiac> ok, thanks michelled

[10:12:33 CDT(-0500)] <logiclord> fluid-everyone: anyone used change applier with models having arrays ?

[10:26:36 CDT(-0500)] <logiclord> Justin_o: Can you point me to some sample code using change applier for deleting ?

[10:27:22 CDT(-0500)] <Justin_o> logiclord: what would you like to do exactly?

[10:28:18 CDT(-0500)] <logiclord> I have an array in model and I want to delete ith element of that array in model and refreshView

[10:28:58 CDT(-0500)] <logiclord> Justin_o: ^

[10:30:00 CDT(-0500)] <Justin_o> logiclord: okay.. if you are doing this programatically you'll need to request a change

[10:30:00 CDT(-0500)] <Justin_o> http://wiki.fluidproject.org/display/fluid/ChangeApplier+API#ChangeApplierAPI-FiringachangeusingaChangeApplier

[10:30:34 CDT(-0500)] <logiclord> Justin_o: Alreay tried

[10:30:36 CDT(-0500)] <logiclord> that.applier.requestChange('repeatingData.' + i, that.model.repeatingData[i], 'DELETE');

[10:30:45 CDT(-0500)] <logiclord> It seems to delete entire array

[10:31:32 CDT(-0500)] <Justin_o> logiclord: yes.. it removes based on path

[10:31:59 CDT(-0500)] <Justin_o> logiclord: can you just pass in the updated array to requestChange instead

[10:32:26 CDT(-0500)] <logiclord> Justin_o: You mean to say update entire array ?

[10:32:56 CDT(-0500)] <michelled> fluid-everyone: I can't get into the connect room. I'm working on OER Commons fixes - spent a long time yesterday getting a merge of the master into our uio branch done.

[10:34:42 CDT(-0500)] <jessm> fluid-everyone: I too am not able to get in: i'm working on the NSF grant and trying to get on top of contracts today

[10:48:56 CDT(-0500)] <Justin_o> logiclord: i guess so, i mean pass in the updated array.. with the value removed

[10:51:25 CDT(-0500)] <logiclord> Justin_o: Thanks, It worked (smile)

[10:52:45 CDT(-0500)] <Justin_o> logiclord: cool.. glad that worked.. if you still want to try it the other way, i guess test that your path is correct by trying to set the value to something else, and from there you'd probably need to check with Bosmon to see if the Deletion is actually possible

[10:53:50 CDT(-0500)] <logiclord> Justin_o: I was able to add element in array with same path.. but couldn't find any deletion related example

[10:54:59 CDT(-0500)] <Justin_o> logiclord: okay.. i'm not sure it's possible to delete items from an array with the change applier like that.. I don't see Bosmon around to confirm though.. sorry...

[10:55:57 CDT(-0500)] <logiclord> Justin_o: I will try to confirm when I see him around

[10:56:18 CDT(-0500)] <Justin_o> logiclord: okay thanks.. if i see him, i'll check too

[12:40:33 CDT(-0500)] <michelled> anastasiac: I just updated the a11y-uio branch again

[12:40:43 CDT(-0500)] <anastasiac> ok, michelled

[13:20:46 CDT(-0500)] <jhung_away> justin_o: I just pushed up some changes to decapod ui to by bitbucket repo. Just some styling changes.

[13:21:51 CDT(-0500)] <Justin_o> jhung_away: thanks.. i'll pull them down after my next push.. should be soon.. just adding some tests

[13:22:48 CDT(-0500)] <jhung_away> ok

[13:40:37 CDT(-0500)] <Justin_o> jhung: merge conflict (sad)

[13:52:03 CDT(-0500)] <jhung> doh

[14:32:32 CDT(-0500)] <jhung> justin_o: just pushed up changes to me repo that fixes the conflict. It was actually straight forward, not sure why Mercurial had problems with it. :/

[14:33:51 CDT(-0500)] <Justin_o> jhung: i don't know either.. merge conflicts in hg are just such a nightmare.. i'm also using a new vm image now so don't have any of the merge tools set up

[14:33:52 CDT(-0500)] <Justin_o> (sad)