How to redirect to an object show route after its creation?
@ashishtajane wrote: Lets say I have a post model with a title and a text field and two routes for the model -- new route and show route. I want to create a post from new route and then transition to...
View ArticleHow can I find records by id and don't always make a network request
@tschoartschi wrote: Hello! I'm searching a solution for the following problem: I get the IDs of a model from an external context. Then I use Ember Data to retrieve records from our backend base on...
View ArticleCombine routes without clearing other outlets?
@eric wrote: Hi guys, I have a question regarding combined routes and multiple outlets displaying html. The page layout is like this: outlet-left | main menu | outlet-right Main menu contains buttons...
View ArticleWhere should simple validations happen?
@a6ftcruton wrote: I'm wondering what current opinions are as to what part of the app should handle simple validations. As an example, think of a todo app that has an input field. The user should not...
View ArticleHow to send form action from a component to route
@anaspm wrote: in my application I am using a component to create a form and i need to save form data to db when i submit it. i wish to do the saving from a route. how can i do that Posts: 3...
View ArticleEmber simple auth 1.0. custom authenticator
@navneet35371 wrote: There is one problem, I want to set the routeIfAlreadyAuthenticated route in environment as the route with dynamic segment(/:userid/dashboard) which is based on the logged-in...
View ArticleEmber Mirage and Component Integration Testing
@fatbotdesigns wrote: Hi, So I'm trying to test our components using ember-cli-mirage by doing something like the following: const person = server.create('person', { 'first-name': 'Something,...
View ArticleIn repo-addons within addons
@swaggaguru wrote: Is it possible to create in-repo addons within addons? How can the app consuming the "master addon" accesses these "in-repo addons"? Posts: 2 Participants: 2 Read full topic
View ArticleService that runs a promise not firing before route
@JordanRDesigns wrote: I've got a problem where a service that I need to be setup before all routes attempt to use it is not being setup fully before the routes. In the service I have a user property...
View ArticleShow loading page when saving model data
@mtangoo wrote: I have Route action that gets data from Component and saves it to the API server. Sometimes network is slow and I want to show message to user that app have not hangs, something is...
View ArticleStill on Ember 1.12
@Gaurav0 wrote: Hi all, I was glad to hear that in http://emberjs.com/blog/2016/01/23/core-team-face-to-face-january-2016.html, a new patch release of Ember 1.12 that contained public alternatives to...
View ArticleError event for controllers similar to routes
@mohamnag wrote: I just stumbled up on a situation where I was wondering if there is an error event on controllers similar to routes or not? something like what is provided for routes during...
View ArticleNew to ember, can't even get simple JSON from mirage!
@rssfrncs wrote: My mirage route handler export default function () { this.get('/records', function (db, request) { return { "data": { "records": [ { "date": "24-Apr-07", "close": 93.24 }, { "date":...
View ArticleError 401 handling in simple ember auth
@navneet35371 wrote: I am building an ember.js application and am hung up on authentication. The json rest backend is rails. Every request is authenticated using a session cookie (warden). When a user...
View ArticleIs is possible to resolve/reject a promise from an action?
@andrew1 wrote: I'm creating a dialog service and I want to have a function confirm() that will open a confirmation modal and return a promise. If the user clicks "confirm" I want to promise to...
View ArticleAny good guides or examples using ember-data + mirage for D3 data?
@rssfrncs wrote: Any good guides or examples using ember-data + mirage for D3 data? Posts: 1 Participants: 1 Read full topic
View ArticleRestrict willtransition for certain model attributes
@kgish wrote: I would like restrict access for editing certain resources to the authors of those items. A logical place to police such access seems to be within the willTransition hook. From the...
View ArticleSCSS files are not able to compile in my project
@prudvi wrote: discuss.emberjs.com Just getting started with Ember, but I have a problem with integrating sass I've done a fresh install of ember-cli and created my new app. I then installed...
View ArticleFilter data client side
@SurfMan wrote: I am getting my feet wet with Ember. I have followed Zoltan Debre's excellent tutorial on www.yoember.com. It all looks very promising and I quickly got the hang of the basics. (For...
View ArticleBind actions to component root from calling context
@barneycarroll wrote: I'd like to be able to bind an action to a component in the same way that it can be bound to an element. One would assume that action, like class, would engage special behaviour...
View Article