**** BEGIN LOGGING AT Mon May 28 02:59:58 2012 May 28 17:13:19 is there a v2 table component/control somewhere? May 28 17:13:40 also, what's the diff between a control and a component? why would I choose one vs the other? May 28 17:13:45 {tag: "table"} May 28 17:13:57 controls render into the DOM, components do not May 28 17:14:16 (very simplistic explanation) May 28 17:14:16 so how do i add thead, tr, th, then tbody tr td etc. May 28 17:15:00 {tag: "table", components: [{tag: "thead}, {...}]} (etc) May 28 17:15:14 each control is a component and components can contain other components May 28 17:15:18 oh. so it's always that verbose? is there any shortcuts? May 28 17:15:28 not for tables (that I'm aware of) May 28 17:16:06 you could have the raw HTML somewhere and read it in via ajax or something and populate a control with that response May 28 17:16:35 so you cound do {content: "..."} May 28 17:19:04 ic. well, i'm generating it from a list of data, so it shouldn't be too bad, i can probably refactor much of it May 28 17:23:58 is the api ref online for v1 or v2? May 28 17:25:04 ezakimak: enyojs.com documentation api May 28 17:25:57 this: http://enyojs.com/api/ May 28 17:25:59 ezakimak: and you can create a kind for table, head and tr. then you could set the default type for the children of table to be tr. and the default type for the children of tr to be td. and there you'd have a way to say something like: May 28 17:26:02 ezakimak: yes May 28 17:26:18 but is it for v1 or v2? May 28 17:26:22 v2 May 28 17:26:26 ok. perfect. May 28 17:27:59 oh yes, defaultKind would be great for table pieces, good call madnificent May 28 17:28:15 { kind : "table" : components : [ { kind : "th" , components : [ { content : "A" } , { content : "B" } ] } , { components : [ { content : "A1" } , { content : "B1 } ] } , { components : [ { content : "A2" } , { content : "B2" } ] } ] } May 28 17:28:44 yay, i got a heads up from sugardave. EYS+1 \o/ May 28 17:28:53 :P May 28 17:29:33 perhaps i could make a table kind and add it to the gallery, that way i'd finally have _something_ in there. May 28 17:30:17 I think I'm the only devrel guy with nothing in the gallery...but that's okay, I've been working on another project with the Enyo team for a few weeks May 28 17:30:57 I WAS working on a Tree kind and then they released one in ares-project May 28 17:31:46 and then I thought it would be cool to make a slidingpanes kind of kind....and then poof, Panels is a wip now ;) May 28 17:31:52 sugardave: i should release my three-pane component ASAP then! May 28 17:31:59 actually no, i'm not happy with it :( May 28 17:32:00 so basically, while they were here, everytime I thought of one, they made it before I could get a chance to try! May 28 17:32:17 i don't have a nice way of getting to the % and px things etc... so... sigh May 28 17:32:45 madnificent: have you looked at Panels? May 28 17:32:52 very slick stuff there May 28 17:33:55 where is the default page layout defined, and where do i start to change it? (by default it's a grey box w/rounded corners an some margin) May 28 17:34:13 is that just css? May 28 17:34:38 ah. found it. May 28 17:35:07 does it add a class w/the same name as the control by default? May 28 17:35:31 hmmm, good question. I know a lot of them do May 28 17:35:36 but maybe not all May 28 17:36:07 what about by heirarchy, class="outer-control next-control inner-control"? May 28 17:36:23 that would be a sane default imo May 28 17:37:17 well, they pick that up naturally, right? May 28 17:37:26 er, sorry, not by visible heirarchy but by inheritance heirarchy May 28 17:38:19 {kind: enyo.Scroller, components: [{kind: enyo.Repeater, components: [{kind: "whatever"}]}]} would at least have classes "enyo-scroller enyo-repeater" May 28 17:38:23 class="object component uicomponent control mycontrol" May 28 17:38:56 oh not inheritance hierarchy, I think May 28 17:38:59 you could probably skip object and component May 28 17:39:06 (I still really suck at advanced CSS stuff) May 28 17:40:24 that way, if you have class="component table usersTable" vs class="component table gamesTable" it's easy to both share css and distinguish it May 28 17:41:42 same as classes="table users" on one and classes="table games" on the other? .table {...} .table.users{...} .table.games{...} May 28 17:41:54 yes May 28 17:41:57 that's cool you can do that stuff in 2.0 May 28 17:42:21 ezakimak: that's how I'd do it, then...just use the classes attribute on your components May 28 17:42:21 i was working w/ 1.0 at internship .. and i made my own table kind that was 100x less flexible May 28 17:42:46 right, but do i have to add the class names myself in the code or will it do it for me? May 28 17:43:08 imo it should be the default May 28 17:43:21 if you make a table kind, specify classes="table" there May 28 17:43:34 when you instantiate a new one as games, add classes="games" to that May 28 17:43:57 right, but can i just make it do that for me based off of name? May 28 17:44:09 I don't think so May 28 17:44:20 you could write a special method to add the class after you make it May 28 17:44:23 based on name May 28 17:44:42 i'm thinking just modifying enyo.js May 28 17:45:17 you are already having to add the table somehow and you have its name, trivial to add the class after that May 28 17:45:34 yes, but if I create 30 of them, i gotta do that 30 times May 28 17:45:51 (lazy == efficient ;) ) May 28 17:45:53 not if you make it a part of your Table kind May 28 17:46:04 it could be part of the create method May 28 17:46:17 this.addClass(this.name); May 28 17:46:23 i'm thinking anything derived from UiComponent May 28 17:47:41 i guess Control then May 28 17:48:42 my way just adds one line of code to your create method of your custom kind rather than mucking with the framework :P May 28 17:49:02 well, i can possibly add a oneliner to the framework and be done :) May 28 17:51:25 but then what happens when you pull a refreshed master? gotta change it again :) May 28 17:51:36 it'll merge May 28 17:51:47 or perhaps not, depending on if it merges correctly May 28 17:51:49 right May 28 17:52:18 what's the simplest way you'd suggest to do a page layout? May 28 17:52:29 just plop out some divs? May 28 17:52:36 (makes a note to delete Control.js, move it, and put it back in its original place just to fuck with your merges);) May 28 17:52:48 :P May 28 17:53:23 early on people were experimenting with Twitter bootstrap for layout May 28 17:53:43 I just use divs and the onyx class on my main rendered control May 28 17:54:05 bbiab May 28 17:54:51 k. thanks for you help so far May 28 18:00:11 oh yeah, take a look at enyo.FittableRows and enyo.FittableColumns to easily fill up huge chunks of space for your layouts May 28 18:01:41 is there a way to set the dom id of a control? it's protected May 28 18:02:12 i just want to make a { tag: "div", id: "header" }, etc. May 28 18:02:26 Enyo really really really wants to control ids in the DOM May 28 18:02:56 so i have to come up w/a unique class name? May 28 18:03:00 the guidance is to use specific classnames May 28 18:03:01 yeah May 28 18:03:11 ok, guess that will work May 28 18:03:42 ought to come up w/a mechanism to request specific ids May 28 18:03:55 it could error if it's not unique May 28 18:09:00 ezakimak: another thing is that the id is generated based on the name you give a control. In the scope of the component that owns it, it's always accessible as this.$.name May 28 18:09:19 but name !== id if you look in the DOM (in most cases) May 28 18:09:45 well, it shouldn't, because you could have more than one instance May 28 18:09:52 exactly May 28 18:10:14 but, in theory you could have a singleton flag or something May 28 18:10:25 then allow you to specify the id May 28 18:12:30 sugardave: yeah, i looked at them. i wanted a sliding pane left and right. (well, i didn't but that was the quickest i could build). and it's really cool to work with in practice, but i have only built it with %... and that's a tad dull May 28 18:12:40 sugardave: it's not much, just making sure they don't overlap and all that May 28 18:13:51 madnificent: it sounds like you can just use Panels with the default CardArranger May 28 18:14:00 er no May 28 18:14:04 that one fades May 28 18:14:13 link me up? May 28 18:14:15 one of the arrangerKinds will do that May 28 18:14:20 sure, hold up May 28 18:14:22 thanks May 28 18:16:08 hmm, looks like they moved it to layout: https://github.com/enyojs/layout/tree/master/panels May 28 18:16:31 there's one that is a carousel type of arranger May 28 18:17:56 imagine that, it's called CarouselArranger :) May 28 18:19:46 madnificent, do you create assets/{images,scripts,css} subdirs and make handlers for each? May 28 18:26:16 sugardave: i can't click and see it move :( will check later :) May 28 18:26:25 ezakimak: IIRC, yes May 28 18:26:46 screw this, i wasn't going to eat until i finished this chapter of my thesis. i'm exhausted and will grab food now May 28 18:28:46 madnificent: hmmm....load up one of the samples and it should let you drag them just fine May 28 18:46:01 is there any way to create an event May 28 18:46:10 like if an element has an ontap, how do i initiate that manually May 28 18:46:10 yes May 28 18:46:17 dispatchEvent() ? May 28 18:46:32 enyo 2? I was told not to do this, but I can't stop you: May 28 18:46:37 yeah enyo 2 May 28 18:46:59 control.bubble("eventname", {event object}); May 28 18:47:08 fxspec06: bubble May 28 18:47:11 bwaha. May 28 18:47:30 if it's your parent (which it probably is) you can just enyo.bubble("ontap"); May 28 18:47:55 oh yeah, enyo.bubble....control.waterfall May 28 18:48:17 i like those May 28 18:48:25 though i wonder what the semantics should be May 28 18:48:33 make sure you return true in the handler else they'll all look for it/fire their handlers May 28 18:48:44 ah, but then .. i need to create an event object .. ? May 28 18:48:57 fxspec06: not necessarily May 28 18:48:59 in the sense of the source. i made a button which consists of multiple elements. should i catch the ontap and then bubble it up so it comes from me instead of from the button... May 28 18:49:06 only if you have data you want to pass in inEvent May 28 18:49:23 the source will be different too, no? May 28 18:49:27 you might have to pass a blacnk {} as the second arg, but maybe not May 28 18:49:56 what an od typo: blacnk May 28 18:50:06 okay, fuck typing today :) May 28 18:54:32 * phil_bw wanders by May 28 18:54:54 whew thanks guys May 28 18:55:13 i was able to backdoor what i needed to do, the horrible way :) May 28 18:56:56 hi phil_bw May 28 18:57:07 hows it going sugardave? May 28 19:00:06 pretty well! A little crazy, but that's my new normal since last August :) May 28 19:00:55 what happened last August? May 28 19:01:07 the Apotheklypse May 28 19:01:20 ah yes May 28 19:01:24 I tend to block that out May 28 19:02:02 if only... ;) May 28 19:02:14 I've since left webOS and went to Android, but it still has a special place in my heart May 28 19:02:36 it's kind of like my cars, I own a 2006 Jetta TDI and a 2011 Kia Sorento May 28 19:02:48 I understand. We will be back, though and in the meantime we have Enyo to keep us all together :) May 28 19:02:53 only have the Sorento for the 7 seats but truely love driving the Jetta more May 28 19:03:16 yep, I am happily writing my newest App (which I will use on Android) using the Enyo framework May 28 19:03:23 nice! May 28 19:04:00 I'm actually working on an x-plat demonstration app right now May 28 19:04:17 yeah, my last app was written using the jQuery Mobile framework and I hate it dearly May 28 19:04:27 nice May 28 19:04:40 I'm working on a todo list (one that doesn't suck) May 28 19:04:47 madnificent: (= May 28 19:05:11 instead of tapping on the circle to select a user, you just tap and hold on the seed. so i can put the colour of the user in the corner May 28 19:05:15 phil_bw: good luck, I'll be looking forward to it May 28 19:06:02 sugardave, thanks. I know there are a *ton* of todo lists out there already, but few of them sync between a phone and a PC and none do it very well. So like any developer I just went and wrote my own :) May 28 19:06:50 best apps come from devs who make stuff because they can't find somethign that does what they want May 28 19:07:03 fxspec06, that is my philosophy entirely May 28 19:07:25 don't write something because you think people will pay well for it, write something because you need it (and it'll prove to be much better) May 28 19:07:55 ++ May 28 19:07:55 though I don't intend on charging anything for mine, probably even opensource the front end and let people pick apart my enyo code and use what they want in their own projects May 28 19:07:59 phil_bw: are you doing local sync or going to be cloud-y? May 28 19:08:14 sugardave, it'll go through my own server, cloud style May 28 19:08:20 sweet May 28 19:08:41 my biggest beef with todo lists is the lack of consistancy across platforms May 28 19:08:54 sweet android app, mediocre web interface, terrible desktop app May 28 19:08:59 or some combination May 28 19:08:59 Enyo ftw! May 28 19:09:33 so with the help of Enyo, phonegap, and probably some custom windows stuff it'll look *exactly* the same across platforms May 28 19:09:46 that's the goal, for sure May 28 19:10:53 anyway, now I'm all fired up May 28 19:11:02 go go go! May 28 19:11:31 I'm stalled at the moment while waiting for the back-end guy to figure out why the hell our server is refusing all connections now :/ May 28 19:12:25 that's sounds like it be a problem May 28 19:12:45 I, however, am dealing with *much* greater problems right now May 28 19:12:52 yep, that's right, my space bar is going out :( May 28 19:12:59 super-lame May 28 19:13:11 yes, just started May 28 19:13:38 you'll have to copy a space into the clipboard ;) May 28 19:13:44 I'm tempted to pop the sucker off and see if I can tweak it but I'm afraid I'd kill it completely (it's a super skim HP keyboard) May 28 19:14:18 oh the left side of the thing still works decent, I just use the right side May 28 19:14:26 *super slim May 28 19:15:09 maybe it just has crumbs under it? May 28 19:15:10 i use a kinesis--even slimmer :) May 28 19:15:37 asdjf ;j j l;kf;lk alskd ;laksdf l;k asdf;lk a;lsdkf ;laksdf ;lk a;lkf ;alksd;flaksd;l lk; May 28 19:15:51 I just blew on it really good and it seems to be working better May 28 19:16:20 never underestimate the power of NES style cleaning techniques May 28 19:16:33 awww yeah May 28 19:16:45 know your roots! :) May 28 19:16:53 * sugardave points and laughs at halfhalo. May 28 19:17:03 * haeffb_ points and laughs at sugardave May 28 19:17:08 what for this time... May 28 19:17:13 haeffb_: !! what's up? May 28 19:17:22 halfhalo: just 'cuz May 28 19:17:28 enjoying the holiday weekend May 28 19:17:31 you? May 28 19:17:41 same, mostly....working, though May 28 19:18:23 mostly working, sounds about like my day May 28 19:18:26 well...some of us enjoy work...? May 28 19:18:39 I'm in SF this week for the Fluent conference and want to get this demo app tighter May 28 19:18:42 * haeffb trying to install some rear surround speakers May 28 19:18:44 sugardave: you bastard. you killed kenny May 28 19:19:00 * haeffb not trying real hard May 28 19:19:14 try to drink more beer instead May 28 19:19:50 no, teacher, but I like the way you think. May 28 19:19:50 haeffb, I don't want t hear about your surround speakers, I've lost my right channel (as in physically lost it) so I'm rocking mono with a sub May 28 19:19:54 1.1 if you will May 28 19:20:11 for true audiophiles only! May 28 19:20:27 * halfhalo has 1.1 speakers May 28 19:20:27 physically lost it? As in you can no longer locate the speaker? May 28 19:20:43 and the wonderful operating system that is Windows 7 doesn't give the option to output mono so I just don't hear the right channel May 28 19:20:49 haeffb, correct May 28 19:21:01 my rear speakers currently sit next to my fronts May 28 19:21:16 at least it's in stereo May 28 19:21:19 I have a couple of extras...I could send you one May 28 19:21:36 but I'm afraid you might lose it, too. May 28 19:21:46 probably May 28 19:22:15 though I must say mono out of decent speakers sounds worlds better than stereo out of my laptop directly May 28 19:22:24 * haeffb is actually kind of surprised it didn't stay where you left it last. Mine don't move much. May 28 19:22:42 haeffb, I blame my last move for it's up and leaving May 28 19:22:52 phil_bw pounds the sound, so it probably vibrated down the street May 28 19:23:03 ah. It probably didn't like the new neighborhood. That can happen. May 28 19:23:16 that'd make sense May 28 19:23:23 my dog did that once May 28 19:23:31 did you look at the old house? May 28 19:24:06 if it's still there it is the property of the new tennant now May 28 19:24:17 not that it'll do a whole lot of good without the sub May 28 19:24:28 who knows, maybe they were in the same situation as me and were missing one too... May 28 19:25:28 so, what's new with Enyo? Besides matts leaving for other colored pastures? May 28 19:25:38 Panels is pretty new May 28 19:25:45 and slick...liking them a lot May 28 19:26:00 oh, and yours truly will be having committer access at some point, I would imagine ;) May 28 19:28:37 static method Panels.isScreenNarrow() is sweeeeet! May 28 19:29:00 is Panels documented somewhere? May 28 19:29:22 ummmm, define "documented" :) May 28 19:29:28 there are some samples on github May 28 19:29:41 I've been just hacking with them and using the samples May 28 19:30:05 sugardave: is Panels committed? May 28 19:30:12 it's in layout, yeah May 28 19:30:20 or have they been committed is proper grammar methinks May 28 19:30:29 still considered wip, but highly useable May 28 19:30:55 were they in b4? May 28 19:31:04 yes May 28 19:31:41 should be, I should say May 28 19:32:09 whoa, the examples are pretty advanced May 28 19:32:12 impressive stuff May 28 19:32:21 yeah, they're pretty awesome May 28 19:33:01 size your browser down to less than 800px wide, they should re-adjust so that only a single view fits (for certain arranger types) May 28 19:33:37 ok, so I'm a github moron, is there any way to actually play with the examples? May 28 19:34:07 steal sugardave's laptop? May 28 19:34:08 phil_bw: I just pull the repo and open up the .html locally for the one I want to look at May 28 19:34:48 sugardave, I don't use github for anything so I'm not really setup for that... guess I could just download them to my local testing server but that seemed like too much work May 28 19:35:24 IF they are in fact in b4, you can just grab that .zip May 28 19:35:25 git works like a champ for that May 28 19:35:53 hm wait, I think I switched to b4 May 28 19:35:56 clone the bootplate, then update the submodules and it grabs them all May 28 19:36:22 bootplate...still haven't dug into that myself, but one of the guys on this project is making my app bootplate-ready May 28 19:37:12 * sugardave has been using enyo-sdk as his bleeding-edge source. May 28 19:37:17 phil_bw: give me your email address, i'll send you tasks@hand May 28 19:37:25 port it to enyo and make me happy May 28 19:37:55 madnificent, what exactly is tasks@hand? May 28 19:38:08 it is /the/ best tasks app for webos May 28 19:38:22 lol May 28 19:38:24 but that might be shameless self promotion May 28 19:38:43 sugardave: they are in b4 May 28 19:38:44 madnificent, see I am really focusing on cloud based and cross platform May 28 19:39:07 sugardave: bootplate is awesome May 28 19:39:22 madnificent, is yours written in Mojo? May 28 19:39:25 the demo we got last week shows that is very awesome, yeah May 28 19:39:26 yup May 28 19:39:31 sugardave: now what sample auto-resizes? May 28 19:39:40 I'm terrible with Mojo May 28 19:39:44 you could probably learn from it, adapt it, and throw it partially in the cloud May 28 19:39:46 let's see....the CarouselArranger should do it May 28 19:39:48 * madnificent liked mojo May 28 19:39:52 ughh mojo May 28 19:39:58 * Tibfib_ shudders May 28 19:39:59 kk May 28 19:40:03 me might rebuild it if he gets frustrated enough May 28 19:40:21 Mojo is magic! May 28 19:40:37 madnificent, I'd be happy to see what you did with some of your code though if you're willing to share. As I mentioned earlier I am really just trying to be more organized, not profit from this May 28 19:40:56 ah, of course. Panels aren't in the docs. May 28 19:40:59 /msg me your email address May 28 19:41:19 selam bebeğim naber May 28 19:41:49 Tibfib_: it's like the good old days! May 28 19:43:51 sigh May 28 19:44:43 Enyo is one of the worst documentented.. anything.. I have ever encountered May 28 19:45:06 I got so frustrated one day I actually starting writing my own help docs in Windows CHM format, then I got busy with other stuff May 28 19:46:30 sugardave: CarouselArranger doesn't appear to exist May 28 19:46:39 phil_bw: enyo1 had great docs May 28 19:46:52 it exists in mine....hmmm May 28 19:47:00 oh wait a second May 28 19:47:04 Tibfib_, sometimes it's easier to be a good programmer than a good documentation writer May 28 19:47:06 what was it called last week? May 28 19:47:16 sugardave: did you tell me a sekret? May 28 19:47:20 are you going to be fired? May 28 19:47:27 no May 28 19:47:41 ah, the github is more current than b4 May 28 19:47:43 I'll dl it May 28 19:47:44 do those examples use layoutKind or arrangerKind? May 28 19:48:00 layoutKind May 28 19:48:05 yeah, update May 28 19:48:23 Arrangerkind sounds so.. Clunky. May 28 19:48:44 you'll get used to it ;) May 28 19:49:41 crap May 28 19:49:47 you guys changed the list again May 28 19:50:19 it's back to onSetupItem? May 28 19:50:23 sugardave: ? May 28 19:50:43 yeah, it uses count and setupItem now (to match Repeater changes) instead of rows and setupRow May 28 19:51:08 Proof that I wasted time trying to make my own Enyo docs --> http://cf3n.com/misc/enyo_docs.jpg May 28 19:51:10 Repeater.setCount will auto-rebuild the repeater but List will still need a .reset May 28 19:51:14 (lot of copying and pasting really) May 28 19:52:18 okay, I need to find food....bbl May 28 19:52:29 sugardave: thanks for your help May 28 20:05:28 there are projects w/far worse documentation than enyo May 28 20:07:40 what's the simplest way to get a div to use up all remaining space? May 28 20:07:49 (short of using tables) May 28 20:08:02 (but tables if must be) May 28 20:08:22 classes: "enyo-fit" May 28 20:08:28 oh, is this enyo? May 28 20:08:29 k. will look May 28 20:09:21 what's the fit attribute on Control? is that related? May 28 20:19:22 fit should only be applicable to controls inside an enyo.Fittable (like FittableRows or FittableColumns) May 28 20:20:21 ok, so i want a header div, with a banner on the left and a control taking up the rest of the right, matching the height of the banner May 28 20:20:28 the banner shows up fine May 28 20:20:37 (just stuck an img in the div) May 28 20:20:58 i replaced the div with a FittableRows May 28 20:21:02 no change May 28 20:21:46 {kind: enyo.FittableColumns, classes: "enyo-fit", components: [{bannerkind}, {rightside, fit: true]} May 28 20:22:02 without my missing curly braces, etc May 28 20:23:23 ok, so now it's the right width, how about height? May 28 20:24:07 do i nest it into a fittablerows also? May 28 20:24:43 hang on, need to vacat for housekeeping May 28 20:37:26 okay, so a couple of things you might try. Make the right side be a FittableRows or you can put classes="enyo-fit" on the right side. From what I recall, enyo-fit will work as long as one of the higher-up controls has a position other than static May 28 20:38:09 so everything i want stretched just add enyo-fit to it's classes list? May 28 20:38:27 that works in a lot of cases May 28 20:38:52 ooh. that broke. May 28 20:39:19 I'm still figuring the ins and outs of when it's best to use enyo-fit or when to use a fittable and fit: true May 28 20:40:40 does css3 solve this crap finally? May 28 20:41:19 well, when Enyo 1 was webkit only, you could forget all this shit and use flex boxes May 28 20:41:32 but not anymore (unless you want to limit to webkit browsers) May 28 20:47:19 I <3 flex boxes May 28 20:47:39 indeed...I wish they would have stuck with that May 28 20:47:51 s/would/could/ May 28 20:47:55 yeah May 28 20:48:16 I meant the w3 or whoever made the decision to abandon them May 28 20:48:30 oh, I hadn't heard about that May 28 20:48:41 they aren't going to be standard in css3? May 28 20:48:41 yeah, it became a dead-end, I think May 28 20:48:51 :'( May 28 20:49:08 I could be wrong, but that seems familiar for some reason May 28 20:49:33 I hope that's wrong. Flexboxes seemed like the logical evolution for layouts May 28 20:50:30 sure made life for a non-designer easier May 28 20:52:30 enyo-fit is usually only best when you're filling a parent May 28 20:53:04 it pretty much takes over anything else in the container May 28 20:54:26 it's about that time i need food again. i feel like all i do is write code, eat, and sleep May 28 20:56:27 is this a problem May 28 20:56:28 ? May 28 20:57:50 * rwatkins misses H/VFlexBox as well. May 28 20:58:15 * sugardave pours one out for the dead homies. May 28 20:59:12 so sugardave i thought I heard you need some component ideas that the team isnt already writing? wanna write me a drag n drop for a list of controls? :) May 28 20:59:52 hahaha, we have a nice list of things to do. But that sounds like a good one! May 28 21:00:16 http://forums.enyojs.com/discussion/446/drag-n-drop-reorder May 28 21:00:30 germboy, pre101, and dragongears will be doing a lot more componentry work than me in the short term while I finish this sample app May 28 21:01:14 i need to build somethign sorta like this - http://www.gosammy.com/wp-content/uploads/2010/11/reorder_favorites.jpg for an app I'm working on - just some grabbers for a short list to reorder. May 28 21:02:09 List re-order is going to be tricky, but I think ultimately do-able with the List as it is now May 28 21:02:19 have not ever written one myself though from scratch, so could be a good exercise, but ... hey *I've* already got 2 components in teh gallery. :) May 28 21:02:26 :P May 28 21:03:02 ya, I dont event need it in an actual List. I just have a "list" of ~6-ish components I put in a container on create(). then later need to reorder. May 28 21:03:26 so if I write it myself I'll likely cheat. May 28 21:03:35 well, Repeater is what you want, maybe...that should be easier May 28 21:03:50 but if you can get away with manually adding components, that will work, too :) May 28 21:04:35 ya, started on Enyo2 early, so sorta went down teh path w/o repeaters, lists, fittable, or panels. but maybe time to read up again. May 28 21:05:07 definitely check out the repeater stuff for short "lists" of complex controls. list is for HUGE lists of simple controls May 28 21:05:25 we're figuring out the other case, huge list of complex controls May 28 21:05:56 ya, tho what does repeater gain me over just writing a loop to build a list of objects and then passing them to createControls? May 28 21:06:45 not much except the list-y onSetupItem method to generate your stuff May 28 21:06:58 and auto-rebuild when you .setCOunt on it May 28 21:07:15 ah yea, I guess rebuilding itself is nice. May 28 21:07:23 repeater is nice May 28 21:08:18 and I guess keeps your component definition out of the method, and as a component of the container. May 28 21:08:27 note to self: enyo 1.0 popup method close() is called even if it's not opened, whenever a webOS device goes to exhibition or sleep May 28 21:09:14 so one thing that Enyo really seems to be missing is some system for a history stack. May 28 21:09:56 example... May 28 21:09:59 in webOS/iOS I can see its not necessary, but given that 2.0 is focused alot toward Android (and to a lesser extent WP7) this is a bit of a gap. May 28 21:10:25 gotta do the right thing with that "back" button. May 28 21:10:36 oh, I see... May 28 21:10:42 Panels, baby May 28 21:10:59 .next(), .previous() May 28 21:11:05 good times May 28 21:11:38 hm. May 28 21:11:57 if you can use Panels as your main app kind, that is May 28 21:12:49 ah indeed. time to move closer to the bleeding edge. May 28 21:13:07 it's pretty stable/useable right now May 28 21:13:22 I'm digging the hell out of Panels May 28 21:13:32 sugardave: have you seen the Book kind? May 28 21:13:47 yeah, I was using that before the dropped Panels on me May 28 21:13:59 ya, assumed a b5 was coming out end of month and thats a good time to get a stable interface out of the new stuff. May 28 21:14:02 transitions were a little wonky in Book May 28 21:14:26 not teh fade May 28 21:14:59 hmmmmmm, so looks like I need to update to Panels in mya pp May 28 21:15:00 my app* May 28 21:15:04 Book is good, but I think, ultimately, Panels is going to be more robust May 28 21:15:19 sugardave: can you disable the scrolling transitions and so forth? May 28 21:15:32 I don't want my users to decide what panel they are on May 28 21:15:39 absolutely May 28 21:15:42 draggable: false May 28 21:15:48 perfect May 28 21:15:55 I'll spend some time updating then May 28 21:16:09 sugardave: they aren't going to change a ton, do you think? May 28 21:16:13 wrap: false is default, but you can make them wrap, too, obviously May 28 21:16:27 Tibfib_: I'm pretty sure the major changes have been committed May 28 21:16:29 polish is left May 28 21:16:40 great May 28 21:17:08 yea, I'm sure the person that wrote them is less likely to be doing massive commits to Enyo anytime soon. May 28 21:17:17 truth May 28 21:17:49 how many folks left? May 28 21:18:11 not sure I can say :) May 28 21:18:15 heh May 28 21:18:28 hah, I was just curious. I've heard different things May 28 21:18:29 i dont think anyone has said anywhere. My guess is alteast 3. May 28 21:18:46 I know of two for sure May 28 21:18:58 but I assume there are a few more May 28 21:19:37 hmmm, so where do I tell the villo peeps their book kind is no longer needed May 28 21:20:41 you can probably go see who worked at WaveMaker and then later at Palm and then just assume tehy moved :) May 28 21:20:50 haha May 28 21:20:58 I didn't know they had been together that long May 28 21:21:04 or rather, before palm May 28 21:21:06 Tibfib_: stalk kesne I guess May 28 21:21:14 but it may still have uses for some people May 28 21:22:05 I'm just gonna comment on a commit May 28 21:22:09 I could file an issue May 28 21:22:21 "hey you don't need to work on this anymore. kthanksbye" May 28 21:22:46 heh May 28 21:24:28 so panel prev/next goes by index, not a history stack it seems May 28 21:25:55 yeah, that is the limitation May 28 21:26:08 you would have to manage the index->hostory mapping yourself right now May 28 21:26:36 yea. and you need to navigate to panels by .. index but no name? May 28 21:26:45 yep May 28 21:27:32 ya, kinda still need a Pane abstraction on top of Panels likely. And then a history. May 28 21:28:08 Used minpubsub to do all my navigation as event driven then keep a history. May 28 21:28:10 funnily enough I have made my own custom kind for this app that I call Panel...but it gets a little confusing to use. Will likely change to View May 28 21:28:44 but seems like a fairly large departure from Enyo where UI is more directly wired up for navigation. May 28 21:33:44 okay, going to head back to my cave...bbl May 28 22:25:27 sugardave: you back May 28 22:25:27 ? May 28 22:28:11 Tibfib_: be warned we'll only get bigger now that we can actually target devices that have users! (instead of only programmers) May 28 22:28:39 (for the record, i really like webos and hope my veer will keep working for years and years to come) May 28 22:33:49 here and there May 28 22:34:01 Tibfib_: sup? May 28 22:34:52 figured it out, thanks! May 28 22:34:59 np :) May 28 22:41:51 sugardave: the panels aren't perfect. A little buggy. Hope to see updates in the future May 28 22:42:08 don't have any software to screen cast… hmmm May 29 00:04:55 does enyo 2 support box shadow ? May 29 00:04:58 of any type May 29 00:05:24 Tibfib_: I'm sure there are some bugs here and there May 29 00:05:43 fxspec06: -webkit-box-shadow and -moz-box-shadow working in my app May 29 00:05:55 it all depends on your target browser May 29 00:08:39 ah, i guess i meant webos May 29 00:08:53 i didn't know if it had any tricks so it worked on all of them May 29 00:10:31 will not work on webOS, no :) May 29 00:10:46 alas, the webkit there just is not up to par May 29 00:11:06 .. maybe one day May 29 00:11:33 that'd easily become my favorite webkit property May 29 00:17:13 does anyone know of a library which abstracts from all the -webkit and -moz stuff? so it's simpler to use one rule and have it work on all browsers that support it? May 29 00:19:24 yeah, there is one but I can't think of it atm May 29 00:49:39 madnificent: what do you think of this mockup May 29 00:49:51 left is the old, middle is the new http://i.imgur.com/7mr1a.png May 29 02:30:01 fxspec06: sorry, local internet connection died May 29 02:30:07 left is the old, middle is the new? May 29 02:31:01 although i'm curious, it's late... or early... and i really have to head to bed now May 29 02:31:06 i'll see you tomorrew May 29 02:31:08 tomorrow May 29 02:31:56 with openweb we can probably compile a new webkit which /does/ boast all the necessary features May 29 02:39:47 ok May 29 02:40:00 yeah, i'm doing some more mock ups with photoshop. i figure May 29 02:40:20 it's easier to do it that way than to play around with code all day long until i find something i like May 29 02:42:26 the current webkit for openwebos was brought in sync with the mainline in mid feb i think **** ENDING LOGGING AT Tue May 29 02:59:58 2012