Ember config file after build
@mario.gomez wrote: I want to take some config properties from a config file instead from index.html(not from the meta generated from config/environment), for example myConfig.js with two variables...
View ArticleHow do I DRY up this common ember data loader?
@davegoulash wrote: I often find myself doing sth like this: this.controllerFor('application').incrementProperty('saving'); someModel.save().finally(() => {...
View ArticlenormalizeResponse not recognizing link between nested relationships
@em.b wrote: I'm having an issue that has made my forehead and the closest wall good friends. The API endpoint I'm working with is returning data that has multiple nested relationships inside it, and...
View ArticleA way to have "ember server" log activity to console?
@em.b wrote: Right now I only see logging when I change a file. I want to see logs show for requests that get sent to the ember dev server. There should be a way to do this, yes? Posts: 1...
View ArticleHow to bulid ember application without ES2015?
@Nati_Vaknin wrote: Hey, I use ember js in my latest projects, But I use v1.10Now I want to create new projects with v2.9Does it's possible to create ember js application with old pure js? not ES2015...
View ArticleRoute transition with model from component
@ioanszabo wrote: Hi, I want to redirect to a route "recipe/2" for example from a component. In order to do this I injected the router router: Ember.inject.service("-routing") in my component and then...
View ArticleCan I use a model named "store"?
@thibaud_denolle wrote: Hi, I already spent 20h on this problem. I have a rails backend with a model named "store", so I set-up a model named "store" in my ember application. I tried multiple ways...
View ArticleSetup controller from component
@itsmanojb wrote: I'm using Power Select within my Own component (say, templates/components/registration-form.hbs) placed in the registration route (say, template/registration.hbs ). Now where to...
View ArticleHow to use ember-data with mixin?
@Jeffrey_Cheung wrote: Hello, suppose I am making a RPG, and a character can use an ablilty. My server api is rails, having a Ability class, and including 2 modules, Targetable and Attackable. Base on...
View ArticleBlock component templates at runtime
@rohmann wrote: For a very particular use case, I'd like to be able to do this: {{#runtime-markup markup=htmlString}} inner markup {{/runtime-markup}} Where htmlString is something like <div...
View ArticleDS.Model with array transform does not update
@skoslitz wrote: One attribute of my payload is a plain array of strings. I did create a custom transform to properly transform it. It worked so far. The array is rendered in my template and I can...
View ArticlePromise within computed property
@Schnodderbalken wrote: I am trying to use a promise inside of a computed property. I need that because I want dynamic suggestions to be rendered when several selections are made by the user.In order...
View ArticleIntroducing Sinja: RESTful, {json:api}-compliant web services in Sinatra
@mwpastore wrote: Hi folks, I'd like to quickly introduce Sinja, a new "framework" for rapidly developing ED-compatible, read-and-write web services in Ruby. (It's a Sinatra extension and it leverages...
View ArticleCan't Implement Authentication After 2 Weeks :( (Rails Backend)
@Harun_Tuncay wrote: Hi everyone.I have been trying to figure out how to authenticate an ember app with a rails backend.It's been 2 weeks now and i am still empty handed.Tried out several tutorials...
View ArticleIntegrating ember cli component in normal Jquery page
@Vamsi_Krishna wrote: Hai, i am beginner to ember, i developed a small ember addon. Now, I got a situation to use that addon in a page where there is no ember, but only Jquery included. Is there any...
View ArticleUpdate issues with ember-data with Couch
@Chiranjeevi_Ramesh wrote: I m trying to upgrade ember data to 1.13.16 with NewSerializerAPI for https://www.npmjs.com/package/ember-cli-couchdb(data serializer)Sample Paylaod which comes from...
View ArticleHow to paginate metadata from response header?
@DylanGuedes wrote: So, how do I paginate response that put metadata on the header? Every ember addon that I checked uses metadata (like 'currentPage', 'totalPages', etc) on the response body. Any...
View ArticleIs there be any way to use single file components in Ember?
@alidcastano wrote: I know there's a ember-component-css add-on, but I would rather have the HTML/CSS/JS all in one file. A setup similar to .vue single file components. Posts: 2 Participants: 2 Read...
View ArticleEmber jquery ui sortable remove item not in sync
@tookien wrote: component: export default Ember.Component.extend({ _refreshSortable() { this.$().sortable('destroy'); this.renderSortable(); }, fakeDataChanged: Ember.observer('fakeData.[]',...
View ArticleFreezes with a component
@Yaroslav_Poliakov wrote: Hi all!I have page freezes (few seconds lags) when I go to or from page with certain component.Here is this component:hbs: {{#if hasData}} <span>Some text!</span>...
View Article