**** BEGIN LOGGING AT Wed Aug 01 02:59:59 2012 Aug 01 05:33:19 while it seems like an incredibly obvious idea, whoever packaged up the enyo api viewer for touchpad should be given a medal Aug 01 06:12:06 Does anyone know how to make a panel fill the available space to the right when there is a hidden panel to the right of it? Aug 01 06:14:44 Erm Aug 01 06:15:43 My wireless is going batty Aug 01 06:16:11 ch3mi0n: Can you throw it on jsfiddle? Aug 01 06:19:45 Haha. Aug 01 06:20:06 Hold on I'll put the code up Aug 01 06:20:18 Alright, awesome Aug 01 06:24:27 OK check http://therealklanni.github.com/kanbanana Aug 01 06:24:56 Okay, so what isn't working how you want it to. Aug 01 06:25:00 You'll be able to view the scripts (Project.js is the one) Aug 01 06:25:46 Okay, I see. Aug 01 06:25:51 When you click a project it builds a new panel. If you then click a different one any other project panels are hidden and the new one is created Aug 01 06:26:01 If it already exists I want to show it Aug 01 06:26:15 But it shows up as if the panel right is still there Aug 01 06:26:25 Why not just have it created, then set the content inside of it. Aug 01 06:26:34 Adding/destroying components isn't ideal. Aug 01 06:27:38 What would you recommend? Aug 01 06:28:03 I just thought it would load quicker if it didn't have to wait for the API each time Aug 01 06:28:19 I don't see how it would be any different. Aug 01 06:28:45 Because there's a roundtrip time from the api Aug 01 06:29:56 Just have a three-panel layout, fit the middle panel, then when they tap on one of the projects, call setFit(false) on the middle and setFit(true) on the right panel (which will resize them). You may need to call reflow() on the panels kind, to build the changes. Then call setIndex(1) on the panels kind. Aug 01 06:30:07 I still don't understand the API problem. Aug 01 06:31:46 It's AJAX to a remote server so I figured it saves on xhr overhead and I'm already going to be hitting the API a lot with other things Aug 01 06:32:16 But how does it remove overhead if you just render it dynamically? Aug 01 06:32:33 You can still leave the panel blank and render the inner contents of it dynamically. Aug 01 06:32:43 Because if the data was just loaded I don't need to load it again? Aug 01 06:32:58 I'm just confused. Aug 01 06:33:35 But if you do it the way I told you to, there's absolutely no situation in which you would need to increase the api overhead. Aug 01 06:34:34 But aren't I going to need to pull the data I'm loading in the third panel each time? Aug 01 06:34:43 Maybe I'm missing something Aug 01 06:34:50 Just store a reference to it. Aug 01 06:35:06 Good point Aug 01 06:35:20 I'll do that Aug 01 06:35:36 Just make an object and use the name as the key and the value can be whatever you want. Aug 01 06:36:13 Yeah. I dunno what I was thinking. It's late lol Aug 01 06:36:15 Again, this is just how I personally would do it. Aug 01 06:36:25 You can take whatever route suits you best. Aug 01 06:37:02 No, I agree with you Aug 01 06:37:19 I just was not thinking it all the way through Aug 01 06:40:40 Thanks. I'm going to get some sleep. :) Aug 01 06:40:54 Alright, best of luck to you! Aug 01 06:41:06 Thanks. See ya Aug 01 19:35:11 I remember when #webos used to have an infobot. Aug 01 19:35:14 Those were the days. Aug 01 19:59:42 kesne: can't be *that* long ago :) Aug 01 19:59:55 Haha, fair enough. Aug 01 21:43:21 Anybody in here? Aug 01 21:43:26 I actually have a question! Aug 01 21:54:42 Would anybody use a simple enyo control animation library. Aug 01 21:54:58 enyo.fadeIn(this.$.input); Aug 01 21:54:59 Etc. Aug 02 00:12:45 would anyone use it? maybe **** ENDING LOGGING AT Thu Aug 02 02:59:59 2012