Quantcast
Browsing all 4826 articles
Browse latest View live

Automatically authorize Ember Data requests

@qwerty wrote: Hi, I use ember-simple-auth-token extension. I can authenticate but when I try get ember data by this.store.findAll('post') the request is without Authorization with Bearer + token. Can...

View Article


Not able to get currentUser with Ember simple Auth

@zubeir68 wrote: (topic withdrawn by author, will be automatically deleted in 24 hours unless flagged) Posts: 1 Participants: 1 Read full topic

View Article


Image may be NSFW.
Clik here to view.

Can't get currentUser with Ember simple auth

@zubeir68 wrote: Hi, i am struggling with getting the currentUser in a session when authenticated. I am trying to get current User with dedicated endpoint /users/me but I don’t receive any query...

View Article

Ember Data save response error

@FlorianKrippner wrote: Hej guys, i have the following problem. i am doing this: saveData() { const myStore = this.get('store'); let post = myStore.createRecord('instantiatedwidget', { userID: 1995,...

View Article

@tracked isActive

@qwerty wrote: Hi, in my template I try use conditional class. {{#each this.items as |item|}} <button class="button is-small {{if this.isActive "is-success"}}" {{action this.select item.id...

View Article


To stub or not to stub the router service in integration tests

@bartocc wrote: Let’s imagine a component uses the router service currentRouteName property to decide what to display in its template. To tests this, I would write an integration test where I would...

View Article

A little bit about Computed Properties and notifyPropertyChange

@sukima wrote: Imagine if you will the following hierarchy: foo: computed(function() {}), bar: computed('foo', function() {}), baz: computed('bar', function() {}), If you this.baz the system will walk...

View Article

Greenfield Rail API with Ember ClI

@EvDevDev wrote: I’m currently planning out a new project that will likely be using Rails & Ember. My question is what is the current best practice for using the two together. It seems like I have...

View Article


Ember Handlebars capsuled?

@FlorianKrippner wrote: Hej guys, I have the following problem. Here first the code: {{#each this.example as |component|}} {{#if-equal param1={{component.name}} param2="componentName"}}...

View Article


Can I open a link constructed with link-to helper in a new tab?

@Moulidharan_Rathinam wrote: Hi guys, I am new to ember. I am trying to open a link constructed with link-to helper in a new tab. When I clicked (Ctrl + Click) the link, base route was opened instead...

View Article

How to use conditionals

@majid_ghafoorzade wrote: i want to use this {{if this.isFast “zoooom” “putt-putt-putt”}} but i dont know how to change this parameter (isFast) to see “zoooom”. how i can change isFast variable and...

View Article

Use constant layout for all pages

@majid_ghafoorzade wrote: i have a constant page layout like this : Pages Content Goes Here… How i can do this in version 3? Posts: 2 Participants: 2 Read full topic

View Article

The perils of dynamic component invocation

@mehulkar wrote: I’m rendering a lot of compoennts in my app using the {{component}} helper. For example this pattern: {{#each this.myData as |item|}} {{component (choose-component item.type)}}...

View Article


About deploying Ember app in Apache Tomcat

@Moulidharan_Rathinam wrote: I am trying to deploy my ember app in my tomcat. It was working fine initially, but when I changed the location type to history from hash I am getting 404 error from the...

View Article

Access global variable in .less file

@Hari_Priya wrote: I have a global variable initialised using inject method in application-init file.I used inject method to inject in mixin,service,controller,component.Please suggest me how to...

View Article


About using Ember.run.schedule

@Moulidharan_Rathinam wrote: Hi guys, I need to do some operations in my controller after rendering the template. I am using Ember.run.schedule(“afterRender”,function(){- - - some code - - - }); . I...

View Article

Ember query result undefined

@FlorianKrippner wrote: Hej, i have the following problem: i wanted to transform this WORKING code: myStore.query('test', {}).then(backendData => { backendData.forEach(element => { var example =...

View Article


Ember.js - The Ember Times - Issue No. 105

@ember-blog wrote: Hoi Emberistas! 🐹 This week: help design the Ember skill tree 🌱, observers going async ⏱, RFC to support populating head tag ⛑️, RFC to add load hook to Route 🎣, an update on Ember...

View Article

How do you fix the "Leading decorators must be attached to a class...

@jameshahn2 wrote: Leading decorators must be attached to a class declaration Howdy, trying to get ember-table going. Copying component.js from the documentation into a component.js file in my app. No...

View Article

Global Query Params

@xBlack wrote: What is the correct way of having multiple routes share the same query param? Say I have a queryParam for a city. Once that’s set, I’d like that any of the three routes that I have, use...

View Article
Browsing all 4826 articles
Browse latest View live