Skip to content

Instantly share code, notes, and snippets.

@taras
Created February 25, 2014 11:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save taras/9207581 to your computer and use it in GitHub Desktop.
Save taras/9207581 to your computer and use it in GitHub Desktop.
6:01 PM <tarasm_> who’s here to talk about Ember Adoption Team and improving Ghost app prototype?
6:01 PM <Zaxnyd> good stuff. thanks for the enlightening chat. I'll revisit my design and I assume it will be much better :D
6:02 PM ⇐ petehunt quit (~petehunt@mpk-nat-4.thefacebook.com) Quit: petehunt
6:02 PM <jtal1> anyone know what that means?
6:02 PM <alexspeller> awesome, same to you
6:02 PM → guest12214 and pottersky joined
6:02 PM <Zaxnyd> alexspeller, http://media.tumblr.com/e3526a122eeb354aeac4aa20ef4b4963/tumblr_reply_mfw6l5q2TT1rv69u0.gif
6:03 PM ⇐ yuters quit (~yuters@135-23-195-114.cpe.pppoe.ca) Ping timeout: 272 seconds
6:03 PM <tarasm_> JohnONolan: you here?
6:03 PM <KerrickLong> So if I use an ArrayController, it can access its child controllers to send actions to them all. But each one doesn't get a view. If I use {{render}}, each one gets a view but the ArrayController can't reach its child controllers. Any way to get both?
6:04 PM → petehunt joined (~petehunt@mpk-nat-4.thefacebook.com)
6:04 PM <manuel_mitasch> tarasm_: here!
6:04 PM → yuters joined (~yuters@135-23-195-114.cpe.pppoe.ca)
6:04 PM <tarasm_> manuel_mitasch: cool, to see you
6:05 PM <tarasm_> manuel_mitasch: great job on the prototype
6:05 PM → zogstrip, orodio and gregone joined
6:06 PM <manuel_mitasch> thanks, it was good timing. was a perfect example for my ember intro.
6:07 PM ⇐ gunn quit (~gunn@121-74-34-79.telstraclear.net) Ping timeout: 264 seconds
6:07 PM <manuel_mitasch> John and Sebgie are also attending the local js meetup. We had fun ember vs angular discussions.
6:07 PM ⇐ gregone quit (~greghoin@206.190.71.242) Client Quit
6:08 PM <tarasm_> manuel_mitasch: cool. are there any parts of the code that you’re like to see feedback in particular?
6:08 PM ⇐ petehunt quit (~petehunt@mpk-nat-4.thefacebook.com) Client Quit
6:08 PM <manuel_mitasch> stefanpenner already gave me good feedback already.
6:09 PM <manuel_mitasch> I think it's quite good. More functionality and tests would be good.
6:10 PM <tarasm_> manuel_mitasch: cool, Hannah mentioned that they’d like to see Split screen editor, post settings menu, routing & data binding and sharing helpers between client and server
6:11 PM <tarasm_> that last part is not going happen(I think) :) but we could do more with the first 3
6:13 PM <manuel_mitasch> I'm having troubles with the acceptance testings here: https://github.com/manuelmitasch/ghost-admin-ember-demo/commit/164ac7ab529b1bd205d7f26daa7df6603d92c910
6:13 PM → mavilein joined ⇐ fanta quit
6:14 PM <manuel_mitasch> tarasm_: the route does not exit loading route in the test. I believe either promise not resolving or issue with redirect in routes/posts/index.
6:14 PM ⇐ jakecrai_ and mavilein1 quit
6:15 PM <tarasm_> Let me take a look
6:15 PM <tarasm_> I know you mentioned that you didn’t want to use ember data for this, what’s your objection?
6:16 PM → petey joined ⇐ dodosan quit
6:19 PM <pixelhandler> manuel_mitasch I've been re-working my blog and writing it w/ express and ember.js And have been focused heavily on solid integrate test coverage, if it helps to reference another blog/admin app for test examples checkout https://github.com/pixelhandler/ember-app-builder/tree/blog/client/tests/integration
6:19 PM → ckung_ joined ⇐ ckung quit
6:21 PM <manuel_mitasch> pixelhandler: yes, all test examples help. thanks! why no unit and acceptance tests?
6:21 PM → ckung and s3shs joined ← Laslo7 left ⇐ ckung_, cliffspence and mavilein quit
6:23 PM <pixelhandler> my testing strategy is 100% end-to-end testing so I'm not mocking any data, but instead using a live api, and right now don't have much complexity so 1st want solid integration testing then I may write some unit tests as needed
6:23 PM ⇐ Salve quit (~salve@208.82.13.50) Read error: Connection reset by peer
6:23 PM <manuel_mitasch> tarasm_: at the current state it is mainly a demo. adding ember data makes understanding the code harder IMO. the data for the posts is very straight forward. once they decide to use ember and we know more about their vision we can use ember data or something similar.
6:24 PM → Salve joined (~salve@208.82.13.50)
6:24 PM <pixelhandler> but I've been mostly using Ember objects which are already heavily tested w/in ember's tests so I am mainly concerned that things work (function) well together.
6:24 PM → fanta joined (~fanta@187.191.22.162)
6:24 PM <locks> who’s ember sherpa :P
6:25 PM ⇐ robmonie quit (~robmonie@eth3949.vic.adsl.internode.on.net) Read error: Connection reset by peer
6:25 PM <manuel_mitasch> ember sherpa = tarasm_
6:25 PM ⇐ benv quit (~benv@74.86.107.157-static.reverse.softlayer.com) Ping timeout: 264 seconds
6:25 PM <tarasm_> hey locks :)
6:25 PM <locks> tarasm_: did you have the ghost thingie yet?
6:25 PM <tarasm_> locks: we’re talking about it now
6:26 PM → cschep, James_1x0 and huafu joined
6:26 PM <tarasm_> we’re just looking at manuel_mitasch code, locks have you seen it?
6:26 PM <manuel_mitasch> should start an issue or gist and write down tasks?
6:26 PM <locks> I haven't
6:26 PM <tarasm_> https://github.com/manuelmitasch/ghost-admin-ember-demo/
6:26 PM <tarasm_> http://ghost-admin-ember.herokuapp.com/ghost/2
6:27 PM → paddywhack joined (562c9612@gateway/web/freenode/ip.86.44.150.18)
6:27 PM <James_1x0> Hey everyone, I have a {{#each}} loop inside another {{#each}} loop, the model is an array of objects. I'm trying to pass a property in an action from the parent {{#each}} and its undefined. I've tried ../ and ../../
6:28 PM <locks> James_1x0: why don’t you use named eaches
6:28 PM → dennisjohnson and mikepack joined ⇐ _todd|Home quit
6:28 PM <James_1x0> well, its a model. But I think I found a workaround. Thanks anyways.
6:29 PM → robmonie joined ⇐ James_1x0 quit
6:29 PM <locks> uh
6:29 PM <locks> each thingie in model
6:29 PM <tarasm_> locks & manuel_mitasch here is a stypi https://code.stypi.com/tarasm/Ghost%20Admin%20Ember%20Prototype
6:29 PM <locks> interesting scroll sync thingie
6:30 PM → chrisshattuck joined (~chrisshat@75-167-135-167.bois.qwest.net)
6:30 PM <locks> too janky though
6:31 PM <manuel_mitasch> why janky? how would you do it? or do you mean it reacts sluggish?
6:31 PM → tomclose joined ⇐ huafu and KerrickLong quit
6:32 PM <locks> manuel_mitasch: last one
6:32 PM <tarasm_> manuel_mitasch: I was thinking about breaking out the side by side editor from Discourse and integrating it
6:33 PM <manuel_mitasch> Yes. It would be great to have the Discourse editor as a proper standalone component. I looked at the code once and thought it would be quite some work.
6:33 PM ⇐ mikepack quit (~mikepack@67.40.43.238) Ping timeout: 264 seconds
6:33 PM <zogstrip> I find the current editor to be pretty fast
6:34 PM <tarasm_> it’s fast but is broken for me atleast
6:34 PM <zogstrip> I would LOVE to have the scroll sync on discourse
6:34 PM <zogstrip> (discourse dev here BTW)
6:34 PM ⇐ sandstrom quit (~sandstrom@unaffiliated/sandstrom) Remote host closed the connection
6:34 PM <tarasm_> oh hi
6:34 PM <zogstrip> what's broken?
6:34 PM → petehunt joined (~petehunt@mpk-nat-4.thefacebook.com)
6:34 PM <tarasm_> zogstrip: the current demo app’s editor is broken
6:35 PM → huafu joined (~huafu@49.230.93.145)
6:35 PM <Zaxnyd> if anyone's interested I created a little streaming PoC featuring ember, node, neo4j https://github.com/brian-gates/streaming-stack
6:35 PM <zogstrip> what specifically?
6:35 PM <Zaxnyd> ajax requests are 'streamed' and data is shown as it comes in :)
6:35 PM <zogstrip> @tarasm_ what specifically?
6:36 PM <tarasm_> zogstrip: if you click in the middle of the markdown field, it doesn’t put a cursor in
6:36 PM <tarasm_> zogstrip: it add the cursor to the bottom or top of the paragraph
6:36 PM ⇐ cohitre quit (~cohitre@199.241.202.154) Quit: cohitre
6:37 PM <zogstrip> oh yeah, that's definitely broken
6:37 PM <manuel_mitasch> tarasm_: I have seen that bug from time to time, but could not track it down.
6:37 PM <tarasm_> zogstrip: I wanted to ask Robin to point in the right direction to extract Discourse’s markdown editor
6:37 PM → shinnya joined ↔ bzerk nipped out
6:38 PM <tarasm_> part of the reason why I wanted to create an Ember Adoption Team is so that we can be strategic about how we implement a prototype. Its hard to do something like this alone, but a lot easier with many hands on it
6:38 PM → raila joined (~dad@p5DC0E74B.dip0.t-ipconnect.de)
6:38 PM <jtal1> do I need to rebuild/recompile something after I change routes?
6:38 PM <tarasm_> zogstrip: are you familiar with Discourse’s markdown editor?
6:38 PM ⇐ g4k quit (~g4k@175.45.58.162) Remote host closed the connection
6:39 PM <zogstrip> @tarasm_ not so much
6:39 PM → g4k joined (~g4k@175.45.58.162)
6:39 PM <zogstrip> I'm looking at it now to see if it can easily be extracted
6:39 PM → hswolff joined (~hswolff@cpe-68-175-41-62.nyc.res.rr.com)
6:40 PM <jtal1> I am not getting an error but no content is displayed for one of my routes
6:40 PM <dennisjohnson> Zaxnyd: That streaming-stack you posted is cool stuff
6:40 PM ⇐ petey quit (~petey@198.179.137.196)
6:40 PM <Zaxnyd> dennisjohnson, thanks!
6:40 PM <jtal1> I often feel like I am not getting error messages when something is wrong in ember
6:41 PM <jtal1> ok now I can get an error— cant call _scheduleLoadingEvent on undefined…
6:41 PM <jtal1> when I look at that line of code, its originRoute.router that is undefined
6:41 PM <jtal1> if there isnt a route shouldnt it say "no such route" or whatever?
6:41 PM <tarasm_> zogstrip: I looked at it, it looks like you’re using PagedownEditor, I’d need to rip it out to see what’s missing from it
6:42 PM <tarasm_> https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/views/pagedown_editor.js
6:42 PM <zogstrip> yeah, for basic markdown it should be enough
6:42 PM <zogstrip> but we do a LOT more
6:42 PM → mikepack joined ⇐ wilmoore quit
6:42 PM <tarasm_> zogstrip: https://github.com/discourse/discourse/blob/359a8664582be4dcd1d94ddfd622f8eac2263cb4/app/assets/javascripts/discourse/lib/markdown.js
6:43 PM <tarasm_> zogstrip: they might need some kind of short code like functionality but I don’t know if much more
6:43 PM <zogstrip> @tarasm_ https://github.com/discourse/discourse/tree/359a8664582be4dcd1d94ddfd622f8eac2263cb4/app/assets/javascripts/discourse/dialects
6:44 PM → wilmoore and jakecraige joined ⇐ dcherman and ryanrauh quit
6:44 PM <tarasm_> zogstrip: robin told me a bit about it before so I have an idea
6:44 PM → benv joined ⇐ g4k and jakecraige quit
6:45 PM <tarasm_> zogstrip: but I assume that this functionality is modular, in the sense that its not required for the basic split editor to work, correct?
6:45 PM → jakecraige joined (~jakecraig@75-148-183-117-Houston.hfc.comcastbusiness.net)
6:45 PM <zogstrip> correct
6:45 PM → zcreative joined (~zcreative@c-68-61-9-37.hsd1.mi.comcast.net)
6:45 PM <manuel_mitasch> I'm not sure if they want to change the editor. I believe there are many design decisions that we do not know. The interface looks intentionally slim.
6:45 PM ⇐ djXternal quit (~trobrock@64.202.160.76) Ping timeout: 252 seconds
6:45 PM <manuel_mitasch> did you guys have a look at the current ghost admin interface?
6:46 PM <tarasm_> manuel_mitasch: I actually haven’t in a while
6:46 PM <tarasm_> manuel_mitasch: I’ll do it now
6:48 PM → halfdan joined ⇐ tekay quit
6:48 PM <zogstrip> I'm out, good luck with your prototype guys!
6:48 PM → pointlessjon, mysterlune and benwtf joined ⇐ zogstrip, mykoweb, mysterl__ and lairdd quit
6:53 PM <halfdan> Ghost prototype?
6:53 PM ⇐ pointlessjon quit (~jon@76.14.1.153) Client Quit
6:53 PM <manuel_mitasch> ghost prototype!
6:54 PM <halfdan> nice
6:54 PM ⇐ bantic quit (~coryforsy@167.220.26.143) Quit: bantic
6:57 PM <tarasm_> manuel_mitasch: I’m trying to install it
6:57 PM → danshultz joined (~danshultz@76-248-88-105.lightspeed.bcvloh.sbcglobal.net)
6:57 PM <michael_benin> ember won? they persuaded ghost?
6:57 PM → cyril-sf joined ⇐ wilmoore quit
6:57 PM <michael_benin> jk i saw a tweet that linked to that thread on github
6:57 PM → gotdibbs joined (uid15447@gateway/web/irccloud.com/x-xlirnjuqqwnoazlc)
6:57 PM <manuel_mitasch> you can create a hosted blog in a few seconds at: ghost.org
6:58 PM <manuel_mitasch> michael_benin: no decision yet. last time I spoke with them, they will decide tomorrow.
6:59 PM <michael_benin> oh man
6:59 PM <michael_benin> what are the options again?
6:59 PM <jtal1> if only I could debug an ember app that is broken in seconds
6:59 PM ⇐ paddywhack and canfan quit
7:00 PM <manuel_mitasch> options: ember, ember, and ember
7:00 PM → KerrickLong joined ⇐ mysterlune quit
7:00 PM <michael_benin> I see so you're rolling out your own vanilla js framework, Ghost.js
7:01 PM → rahult and rahult_ joined
7:01 PM <tarasm_> manuel_mitasch: I’m finally in
7:01 PM <jtal1> is it common for things to just not work, no errors?
7:01 PM ← rahult and rahult_ left ⇐ jakesorce, danshultz and fanta quit
7:01 PM <jtal1> and how do you debug this?
7:02 PM <manuel_mitasch> jtal1: do you use chrome and have the console open?
7:02 PM <tarasm_> manuel_mitasch: it looks very similar to what you already created, great job
7:02 PM <jtal1> yes
7:02 PM → rahult_ joined (~rahult@ppp240-115.static.internode.on.net)
7:02 PM <jtal1> oh, I guess there is an error in one of the promises lines… just says cant call bla bla on undefined
7:03 PM <jtal1> when I look in ember.js that line is originRoute.router.something
7:03 PM <manuel_mitasch> tarasm_: I copied the css file and used most of the handlebars templates that are currently used. no js from the original interface was used.
7:03 PM <tarasm_> manuel_mitasch: John said that he’ll be there. I just tweeted him.
7:03 PM <jtal1> I wish there was just an error saying "theres no route for this" or "we have this naming convention and didnt find what we're looking for" or whatever
7:03 PM <manuel_mitasch> me too a couple of minutes ago.
7:03 PM <jtal1> I have no idea where to go from here; brick wall
7:03 PM <tarasm_> manuel_mitasch: cool, looks great. What do you want help with?
7:04 PM → Lara21 joined (~Lara21@37.221.175.38)
7:04 PM <Lara21> Hi! I give you some videos. I hope you like! http://bit.do/my_videos69
7:04 PM <manuel_mitasch> jtal1: do you have the ember inspector extension for chrome? it rocks!
7:04 PM ⇐ mixonic quit (~anonymous@131.107.200.34) Quit: *zonk*
7:04 PM <Zaxnyd> is there an API for getting the type of an ember data model?
7:04 PM → jakesorc_ joined (~jakesorce@216.51.95.36)
7:04 PM <jtal1> yes thats what I'm looking at
7:04 PM <jtal1> it rocks I guess in that its better than no error at all
7:04 PM <tarasm_> manuel_mitasch: what did you envision the finished product would be?
7:04 PM <jtal1> but it doesnt help for this problem
7:04 PM ⇐ Lara21 quit (~Lara21@37.221.175.38) Read error: Connection reset by peer
7:04 PM <jtal1> maybe I have to understand every line of ember first
7:05 PM <Zaxnyd> aka, if I have a user object, can I somehow infer that the object type is indeed "User"
7:05 PM <Zaxnyd> ?
7:05 PM <manuel_mitasch> tarasm_: I did not envision a finished product. It was intended to showcase the strengths of Ember and how it could be used. Once they decide to go the ember route, we of course can use this as a starting point.
7:06 PM ← MachineX left (~MachineX@stormyplanet.org)
7:06 PM <lindsey-s> @jtal1: try enabling more logging, http://blog.emberwatch.com/2013/06/13/logging-the-magic-in-ember-js.html
7:06 PM <manuel_mitasch> tarasm_: I believe we can rebuild more functionality. But we can also wait one day and probably have the decision tomorrow ;)
7:07 PM ⇐ jakesorc_ quit (~jakesorce@216.51.95.36) Client Quit
7:07 PM <rwjblue> jtal1: Can you try with either beta or canary? There is an issue with 1.4.0 that causes some errors in route hooks to get swallowed.
7:07 PM <Zaxnyd> apparently constructor.typekey does it: http://stackoverflow.com/a/20006568/786729
7:07 PM <jtal1> ok I"ll try that
7:07 PM <tarasm_> yeah, that’s probably a good idea. I’ll be online tomorrow morning hopefully John can be here and we can talk about what they’d like to see
7:07 PM <Zaxnyd> anyone know if that's safe to rely on?
7:07 PM → pjmorse joined (~pjmorse@pool-108-20-120-193.bstnma.fios.verizon.net)
7:08 PM <gotdibbs> Hey guys, I just popped in from #ghost to say hi
7:08 PM <tarasm_> manuel_mitasch: do you feel that what you have does a good job of showing the strengths of Ember?
7:08 PM <gotdibbs> you'll probably want to be pinging and looking more for HannahWolfe than John as far as a decision on the framework
7:08 PM <tarasm_> gotdibbs: hi :)
7:08 PM <gotdibbs> just fyi
7:08 PM <manuel_mitasch> tarasm_: I hope!
7:08 PM <gotdibbs> I'm hopeful that it ends up being for ember tho
7:08 PM — gotdibbs crosses finges
7:09 PM <gotdibbs> tarasm_: hiya
7:09 PM <tarasm_> gotdibbs: do you think Hannah is online now or should we wait until tomorrow morning?
7:09 PM <gotdibbs> I think she's probably already said all she's got to say on what we're looking for tbh, but not sure about in condensed form.
7:10 PM <gotdibbs> Hannah is in the UK, so she probs won't be on until tomorrow
7:10 PM <manuel_mitasch> gotdibbs: John mentioned a meeting in irc tomorrow evening around 7 CET. is that correct?
7:10 PM → earthquake joined ⇐ tomclose quit
7:10 PM <gotdibbs> manuel_mitasch: yep. We have a weekly dev meeting at that time
7:10 PM → g4k joined ⇐ jjjjjosh and devinus quit
7:11 PM <domme> is there an easy way to {{each}} over an array and limit the amount of items?
7:11 PM → jakecrai_ joined (~jakecraig@75-148-183-117-Houston.hfc.comcastbusiness.net)
7:11 PM <domme> if i only want to show the first 5 items e.g.
7:11 PM → jjjjjosh joined (~jjjjjosh@64.7.193.126)
7:11 PM <tarasm_> gotdibbs: re what Hannah wants to see, I wanted to get an idea of what area we could improve the existing prototype to make it more relevant to Ghost
7:11 PM <gotdibbs> manuel_mitasch: "Meetings: Tuesdays, 17:30 UTC"
7:12 PM → jerohm and canfan joined
7:12 PM <manuel_mitasch> domme: just make a computed property that returns only the wanted items and each over that
7:12 PM <manuel_mitasch> gotdibbs: mhm... can't make it.
7:13 PM <domme> manuel_mitasch: yeah, a bit tedious
7:13 PM <gotdibbs> tarasm_: Have you seen the issue on github for the discussion of the admin ui?
7:13 PM <gotdibbs> tarasm_: As far as I know what she outlines in the original issue description is all I've heard of
7:14 PM <gotdibbs> I think if those problems could be solved with ember
7:14 PM <gotdibbs> then its a quick win
7:14 PM <tarasm_> gotdibbs: there are 2, there is the original one and the Ember one, which one are you referring to?
7:14 PM <gotdibbs> #2144
7:14 PM ← pel_daniel left (~responsiv@fixed-203-252-127.iusacell.net)
7:14 PM <manuel_mitasch> domme: it's clear seperation. you could also make a helper or component that does what you want, but it does not make much sense to me. computed properties are beautiful.
7:14 PM → paddywhack joined ⇐ jakecraige quit
7:15 PM <jtal1> lindsey-s: I noticed under routes in the dev tool I have uncaught typeerror: ...
7:15 PM <gotdibbs> manuel_mitasch: too bad. It's over my lunch hour too so I don't usually make it either :\
7:15 PM <jtal1> and then a big anonymous function
7:15 PM ⇐ michael_benin quit (~michael_b@69.2.120.65)
7:15 PM <domme> manuel_mitasch: i love computed properties too. but it's more designer friendly to have such a thing in the template
7:15 PM ⇐ jgoss quit (~jgoss@unaffiliated/jgoss) Remote host closed the connection
7:15 PM <lindsey-s> @jtal1: try putting it in a jsbin so people here can see the code
7:15 PM <jtal1> maybe that big function is the error message?
7:15 PM ⇐ jakecrai_ quit (~jakecraig@75-148-183-117-Houston.hfc.comcastbusiness.net) Ping timeout: 264 seconds
7:15 PM <manuel_mitasch> jtal1: if you make a jsbin, we should be able help.
7:16 PM <tarasm_> gotdibbs: I think that topic got beat to pulp, there is nothing left of that horse :)
7:16 PM <gotdibbs> tarasm_: Yeah I was just referring to the original description. Her bullet points at the very top. Nothing ember specific there, just the problems that are causing us to reevaluate things in the first place.
7:16 PM <manuel_mitasch> domme: no it's bad design to have this in a template.
7:16 PM ⇐ ckung quit (~ckung@f4ts07i01.advancemags.com) Remote host closed the connection
7:17 PM <domme> manuel_mitasch: very subjective.
7:17 PM <jtal1> qhttp://jsbin.com/bodawaya/1/edit?js,output
7:17 PM → Duckily joined (~Duckily@99-60-179-243.lightspeed.irvnca.sbcglobal.net)
7:17 PM <gotdibbs> tarasm_: If you're looking for her specific thoughts on ember then yeah, tomorrow is probably better as I don't see/haven't heard any requests specific to ember yet
7:18 PM <Zaxnyd> alexspeller, how would you determine the availability of a route action? e.g. if I wanted to show/hide an edit button based on wether there's any route available that can handle it?
7:18 PM → markkent joined (~Adium@173-11-71-77-SFBA.hfc.comcastbusiness.net)
7:18 PM <halfdan> gotdibbs: tomorrow is the last call :) she will have a decision by then
7:18 PM <lindsey-s> @jtal1: the Ember code that you've written, not the error itself
7:18 PM <Duckily> anyone using active model serializers?
7:18 PM <tarasm_> gotdibbs: ok, we’ll leave this until tomorrow, thanks for popping in :)
7:18 PM <gotdibbs> halfdan: yep
7:18 PM <alexspeller> Zaxnyd: I don't know if it's possible perse
7:18 PM ⇐ paddywhack quit (562c9612@gateway/web/freenode/ip.86.44.150.18) Client Quit
7:19 PM <Zaxnyd> currently I'm sending a 'canEdit' action which any route can listen for and set an appropriate property on a controller
7:19 PM <jtal1> ah, since there is no real error message I guess I need to put up several files
7:19 PM <Zaxnyd> upon entering/exiting the route.
7:19 PM <tarasm_> ok guys, I gotta run out. manuel_mitasch thanks for building the prototype. You did a great job
7:19 PM <alexspeller> Zaxnyd: that's one way - maybe you can lose the action?
7:19 PM <Zaxnyd> seems less than ideal.
7:19 PM → krishagel joined (~krishagel@c-98-203-204-212.hsd1.wa.comcast.net)
7:19 PM <Zaxnyd> how so?
7:19 PM <jtal1> or where does ember put the concatting js?
7:19 PM <alexspeller> Zaxnyd: i.e. the route is responsible for just setting the property on enter / exit
7:19 PM <Duckily> i have an employee model that belongs_to a auger model and each serializer contains the other and its loading them twice?
7:19 PM <alexspeller> so you don't need to fire the canEdit action at all?
7:19 PM <jtal1> concatted
7:19 PM <gotdibbs> tarasm_: no problem. Wish I could be more helpful, but if you have any last minute suggestions or requests for more info, then just plop them in the ember-specific issue I'd say.
7:20 PM ← dennisjohnson left (~chatzilla@c-174-51-80-84.hsd1.co.comcast.net)
7:20 PM <Zaxnyd> alexspeller, but I'd like parent routes to have the option of responding as well
7:20 PM <tarasm_> sounds good, thanks
7:20 PM <tarasm_> goodnight
7:20 PM <manuel_mitasch> tarasm_: thanks. it was a lot of fun. it would be cool to extend it, with the help of you and the community.
7:20 PM <gotdibbs> np, I'm out too. will probs be popping back in here from time to time :)
7:21 PM <alexspeller> Zaxnyd: not sure if I can think of a better solution than what you have
7:21 PM → tomclose joined (~tomclose@cpc1-oxfd18-2-0-cust689.4-3.cable.virginm.net)
7:21 PM <tarasm_> manuel_mitasch: will you be here tomorrow?
7:21 PM <Zaxnyd> only problem is if you have multiple subroutes and you exit one that cannotEdit, but are still within one that can
7:21 PM ⇐ dik_dak quit (~dik_dak@66.162.73.238) Quit: Leaving
7:21 PM <alexspeller> Zaxnyd: I gtg now anyway, but like I said, ask me in a week because I'm about to look at something very similar to this for an app I'm working on
7:21 PM ⇐ mikepack quit (~mikepack@67.40.43.238) Remote host closed the connection
7:21 PM <Zaxnyd> will do :)
7:21 PM <Zaxnyd> see ya
7:22 PM ⇐ KerrickLong quit (~KerrickLo@24-217-101-148.dhcp.stls.mo.charter.com) Quit: Computer has gone to sleep.
7:22 PM <jtal1> http://jsbin.com/qebitiqe/1/edit?js,output
7:22 PM <jtal1> ok, thats the 3 files that are mostly part of the problem
7:23 PM <manuel_mitasch> tarasm_: I will not be able to attend the 17:30 UTC meeting. But I will be in irc before.
7:23 PM ← gotdibbs left ⇐ aexmachina quit
7:24 PM <jtal1> by the way I have files for the other pages that work that are exactly the same as the first two files in that jsbin
7:24 PM <jtal1> is there some recompiling I need to do?
7:24 PM <jtal1> (same except class names are changed of course)
7:24 PM <tarasm_> manuel_mitasch: ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment