**** BEGIN LOGGING AT Mon Feb 18 02:59:58 2013 Feb 18 15:26:42 is there a way to build enyo on one file? Feb 18 15:29:31 visionary: if you run tools/deploy.sh your project will be deployed with a minified version of enyo, placed in deploy/app_name/build/enyo.js Feb 18 15:33:51 it seems to build to enyo.js, enyo.css, app.js and app.css Feb 18 15:33:59 which is fine Feb 18 15:34:32 i am thinking of just building to one index.html with everything Feb 18 15:35:27 I suppose if you really wanted to, you could inline all of those in the header of the index.html, but you'll have a huge file Feb 18 15:36:08 and you lose some of the benefits of debugging then Feb 18 15:36:32 (as the debug tools usually define which line and file you're in, which gives you a logical way to trace the issue) Feb 18 15:37:38 I don't understand the benefits of having a single file Feb 18 15:47:05 yes, that is correct… and it would lose the advantage of browser caching Feb 18 15:48:54 yep Feb 18 15:57:25 ok, scratch that Feb 18 16:00:13 so, what are the thoughts on one codebase for web and mobile? as the enyo site is promoting? Feb 18 16:02:48 are people using a full enyo stack? or some other backend json api like rails or php? Feb 18 16:10:01 what is the best way to integrate a third party lib like raphaeljs Feb 18 16:10:37 add an include? Feb 18 16:17:57 visionary: you could put your third party lib in a directory of lib/ and add it to enyo.depends() in package.js Feb 18 16:21:39 just like you would integrate the g11n lib, as described in the "Adding g11n to Your App" section of https://github.com/enyojs/enyo/wiki/Localization Feb 18 16:33:14 as a backend, here we used java rest api, or lawnchair for local storage ; but you could also have a look at the enyo bootplate-mvc Feb 18 16:33:40 using backbone as a backend. Feb 18 18:48:28 we use a rest api in struts (java), and just access local storage directly Feb 18 18:48:40 third party libs usually just work, I add includes Feb 18 19:59:37 hey guys, I'm having trouble using FittableColumns Feb 18 20:00:12 I tried to use it in a Groupbox to create a 2 column layout Feb 18 20:01:52 and... Feb 18 20:02:06 where I have a chart on the right and buttons on the left Feb 18 20:02:15 so I used a div to hold the buttons Feb 18 20:02:27 and set fit true to the div Feb 18 20:02:38 alright Feb 18 20:02:48 and floated the div left and the chart right Feb 18 20:03:00 why would you do that? Feb 18 20:03:52 when I set the buttons inside the div to 100%, the div was 30px too large, and pushed the chart down Feb 18 20:03:54 habit Feb 18 20:04:05 then I tried taking out the floats Feb 18 20:04:16 I try to avoid floats when I can…hate those things :P Feb 18 20:04:31 and the buttons stretched the whole groupbox, and the chart showed up right next to it Feb 18 20:07:10 ok, weirdly enough, it fixes itself if I try to change a tab o.o Feb 18 20:07:36 does it fix itself when you resize the window? Feb 18 20:08:52 probably Feb 18 20:08:55 let me check Feb 18 20:09:07 yes Feb 18 20:09:26 okay, are you rendering any of those components dynamically? Feb 18 20:09:54 yes, the chart Feb 18 20:10:20 so, you created the chart, rendered it, after the render you should do a resized on the groupbox Feb 18 20:10:31 this.$.groupbox.resized(); Feb 18 20:10:39 or whatever you named it Feb 18 20:10:54 that should (hopefully) fix it Feb 18 20:10:55 on the groupbox rather than the FittableColumns? Feb 18 20:11:12 well, it will probably work on the fittablecolumns Feb 18 20:11:24 k Feb 18 20:11:29 I'll try that Feb 18 20:22:56 that fixed it Feb 18 20:23:30 although when I try to apply other styles to the buttons, they don't expand to 100% anymore Feb 18 20:24:47 oddly enough, it happens when I try to set a background color on the buttons Feb 18 20:25:14 can you put up failing snippet on jsfiddle? Feb 18 20:25:55 hrm Feb 18 20:26:22 it seems any CSS rule other than width 100% causes width: 100% to get ignored Feb 18 20:26:27 ah Feb 18 20:26:31 horrible typo Feb 18 20:26:41 I'm and idiot sometimes XD Feb 18 20:26:50 ah, good to know :P Feb 18 20:27:10 forgot a ; after % Feb 18 20:27:27 you're not doing styles inline are you? Feb 18 20:27:29 for shame Feb 18 20:27:37 hell no Feb 18 20:27:43 I use a stylesheet Feb 18 20:27:48 k k Feb 18 20:27:59 I hate inline styles XD Feb 18 20:28:15 I'm working on an app right now that has A BUNCH of them Feb 18 20:28:37 :( Feb 18 20:28:41 and then whole copy/pastes of entire chunks of core CSS in a bunch of different files Feb 18 20:28:51 it's awesome Feb 18 20:28:57 aw man Feb 18 20:29:12 that reminds me of some of the java code I have to look at Feb 18 20:30:22 and whoever did this originally needs to learn wth enyo.Panels are…any time they wanted to change "views" they were rendering entire new kinds via renderInto(document.body) Feb 18 20:30:25 no…. Feb 18 20:30:28 DON'T DO THAT Feb 18 20:45:48 Hey hey Feb 18 20:45:55 I won a Hackathon using Enyo this weekend. Feb 18 20:45:57 So woop woop. Feb 18 20:48:47 kesne: nice! Feb 18 20:49:01 what was the app? Feb 18 20:49:15 I'll tell you about it in 10 minutes, time to walk back home. Feb 18 21:01:59 lol sugardave @ the renderInto statement Feb 18 21:02:08 Aaaand back Feb 18 21:02:32 awesome, just in time for me to pay attention to the chat :P Feb 18 21:03:02 also, so jealous. I can't walk back from work anymore. :( Feb 18 21:05:31 So, what kind of app did you win w/? Feb 18 21:06:06 GodGinrai: I'm at school, not work :P Feb 18 21:07:51 Anyway, the app was a presentation tool. It used revealjs to give presentations. It synchronized the state of the presentation so people could watch it on their computer. They could move around the presentation and then with one click go back to where the presenter is. It also had video streaming so you could watch whoever is giving the presentation. The cool gimmick we did was that we used voice recognition to move through slides so that you Feb 18 21:07:51 didn't have to click anything. It just intelligently guessed where you were and moved accordingly. Feb 18 21:08:18 We also did some small stuff like chat, feedback, sentiment analysis on the feedback, etc. Feb 18 21:13:18 That sounds awesome Feb 18 21:14:58 so just to understand, was this adding some enyo-coded features into an existing app? or was this a whole Enyo app coded to employ that revealjs stuff? Feb 18 21:15:23 It was an enyo app that used revealjs Feb 18 21:15:32 I had to modify some of it to work with Enyo. Feb 18 21:15:47 But at it's core, it's an enyo app that uses onyx, layout, etc. Feb 18 21:16:32 kesne: you should write about it at the forums and if you can bug Peter about getting it in the showcase Feb 18 21:19:16 I'll do some writeup soon. The only problem is that I don't plan on making it available to the public. Not yet at least. I can give demos to whoever wants them, but outside of that I'm keeping it under wraps. Feb 18 21:29:31 that would be cool to see it Feb 18 21:30:29 I can show it to you if you want, but keep in mind it's still under development. Feb 18 21:30:40 It also requires chrome beta to present things. Feb 18 21:33:18 But if you want to see it, private message me and I can set you up with an account. Feb 18 21:36:46 hmm... going to finally start learning Enyo again Feb 18 21:36:54 https://github.com/enyojs/enyo/wiki/Tutorial this the best place to start for Enyo 2? Feb 18 22:00:23 kesne, sorry, at work. Feb 18 22:00:50 GodGinrai: No worries. Feb 18 23:52:46 alright.... anyone in here really good and really inexpensive? :) Feb 19 00:01:03 anyone on? need a good point in the right direction Feb 19 00:03:31 is http://enyojs.com/api/ not loading for anyone else? Feb 19 00:16:01 PatrickC|Away: It takes quite a while to load for me. Feb 19 00:16:15 PatrickC|Away: maybe 45 seconds? Feb 19 00:16:29 hm ok Feb 19 00:16:37 whatcha workin on trex005? Feb 19 00:16:55 rewriting software from about 12 years ago.... Feb 19 00:17:01 going enyo style Feb 19 00:17:10 nice Feb 19 00:17:22 i'm deciding to pick up Enyo again. haven't touched it in around a year Feb 19 00:17:42 PatrickC|Away: unfortunately since it's pretty much a new technology support out there is hard to come by, and I'm having trouble hiring too. Feb 19 00:17:58 yeah, you will sadly Feb 19 00:18:14 PatrickC|Away: what type of apps? Feb 19 00:18:57 well, the one that i'm going to be doing now is a radio app, streaming my old church's radio station Feb 19 00:19:55 sweet... Feb 19 00:20:08 yeah Feb 19 00:20:15 they had an Android and iOS app built Feb 19 00:20:33 you going volunteer or pay? Feb 19 00:20:38 volunteer Feb 19 00:21:03 going to list current song playing, take votes n' stuff? Feb 19 00:21:17 "rate this song" :) Feb 19 00:21:25 "listener's choice" Feb 19 00:21:34 "Top 5 rated songs this week" Feb 19 00:21:46 well, they have a normal radio station they stream over the internet. i'm going to use the API for their streaming service to stream :) Feb 19 00:21:57 if you have an android device loo up "WJGM" should be the only result Feb 19 00:22:34 this toolbar is going to be the death of me though.. grr Feb 19 00:22:34 :P Feb 19 00:22:41 found it Feb 19 00:23:40 well I'll give you a set of eyes if needed :) but I might ask for the same in return sometime :) Feb 19 00:23:59 i'm always game to be a set of eyes on an app :) Feb 19 00:24:10 right now i'm just trying to get the stupid toolbar to work :S Feb 19 00:24:29 I just did a toobar with dropdown menus a few hours ago. Feb 19 00:25:37 i'm trying to do one with a grabber that allows it to shring and grow Feb 19 00:25:47 i think i found my issue though Feb 19 00:26:03 okay... well gimmy a shout if you need second eyes. Feb 19 00:27:54 will do Feb 19 00:43:54 trex005: I can help you need it. Feb 19 00:45:38 kesne: you avail to help with a quick, stupid onyx.Grabber/toolbar issue? Feb 19 00:45:46 Sure Feb 19 00:46:08 i've got my toolbar set up, with two panes. but i can't get grabber to work to drag the bigger pane over the smaller pane Feb 19 00:46:17 it's been far too long since i've touched enyo lol.. Feb 19 00:46:21 lemme paste my code Feb 19 00:46:59 http://www.sourcedrop.net/DyD2cb7f9a8f1 Feb 19 00:47:03 theres my App.js Feb 19 00:47:56 that's because you don't have anything setup that does any transition Feb 19 00:48:05 Where is the grabber? Feb 19 00:48:08 FittableColumns are just that, columns Feb 19 00:48:12 Yeah Feb 19 00:48:23 What summatusmentis said. Feb 19 00:48:24 forgot the grabber in that paste.. heh Feb 19 00:48:29 but hmm.. ok Feb 19 00:48:54 you might try a Panels, with a collapsing arranger Feb 19 00:49:15 ok, i'll look at that Feb 19 00:49:54 Yeah, that'll do the trick. Feb 19 00:50:05 Also, you're calling this.resized but there's no resized function. Feb 19 00:50:37 .resized() is internal to enyo.Control (or UiComponent, something like that) Feb 19 00:54:16 But I thought that just called reflow. Feb 19 00:54:58 that might be true, but it still exists... Feb 19 00:55:14 True ture. Feb 19 00:55:26 But PatrickC|Away shouldn't be calling it. Feb 19 00:55:29 There's no reason to. Feb 19 00:55:37 yeah, removed that from the cod Feb 19 00:55:38 code* Feb 19 00:55:44 forget why i originally called it Feb 19 01:00:25 ok, so got the grabber working Feb 19 01:01:13 Bueno Feb 19 01:01:56 but.. i can't get the layout to stick correctly.. back to google :) Feb 19 01:02:00 thanks for suggesting Panes Feb 19 01:02:03 Panels* Feb 19 01:02:33 got it! WOO Feb 19 01:02:34 :P Feb 19 01:19:04 github pages rock! Feb 19 01:19:12 Heh, they're okay. Feb 19 01:20:00 well, makes it easy to put an enyo app online to show other people :P Feb 19 01:20:03 free Feb 19 01:49:00 one of the most active days I've seen in here :) Feb 19 01:50:59 Does anyone know how to recolor a specific menu item, and top menu? I've tried iterating up the stack both with .owner and .parent and nothing seems to work. Feb 19 01:51:27 How are you styling it? Feb 19 01:51:52 style:'background-color:something' Feb 19 01:52:12 I would think MenuItem would be the menu item... but it seems to do nothing Feb 19 01:52:28 .applyStyle("background-color", "black"); Feb 19 01:52:49 .domNode.styles = ""; Feb 19 01:52:52 I would think MenuDecortor would be the "button" but that does not seem to be it either (it only colors the corners behind) Feb 19 01:52:58 er Feb 19 01:53:02 I'll try that :) Feb 19 01:53:14 .domNode.style.xxx = "22px"; i think Feb 19 01:53:33 is the syntax for that. but idk, it's been a while, there is a property to do it the oldschool newschool way though Feb 19 01:53:41 i think that's it Feb 19 01:54:37 I'll play with it. Thanks Feb 19 01:54:46 You might also want to play with !important Feb 19 01:54:53 To make sure that you override things. Feb 19 01:55:11 yeah, i've had to do that Feb 19 01:56:25 woohoo that worked for the menu item... now I just need to figure out the menu "button" Feb 19 02:04:53 Alright... I still can't get the "button" that is the parent of the menuitem. The most obvious to me is MenuDecorator but that does not seem to be it. Feb 19 02:05:01 unless there is another way to color it. Feb 19 02:08:47 If you look here, you can see the corners turn red. that is what happens if I use MenuDecorator : http://screencast.com/t/7unDJmh41 Feb 19 02:54:29 alright, once I find the MenuDecorator I select it's first component (which has no kind, but is the needed element) and I can not figure out a way to apply the style. It will not accept the method applyStyle and it will not accept style = either.... Feb 19 02:56:38 style = does not error, but it does not ever actually do anything. I've tried reflow() and reender() to no avail **** ENDING LOGGING AT Tue Feb 19 02:59:58 2013