{"action":"created","issue":{"url":"https://api.github.com/repos/aptible/diesel.aptible.com/issues/226","labels_url":"https://api.github.com/repos/aptible/diesel.aptible.com/issues/226/labels{/name}","comments_url":"https://api.github.com/repos/aptible/diesel.aptible.com/issues/226/comments","events_url":"https://api.github.com/repos/aptible/diesel.aptible.com/issues/226/events","html_url":"https://github.com/aptible/diesel.aptible.com/pull/226","id":64311383,"number":226,"title":"bs-alert sends an action when it is dismissed","user":{"login":"bantic","id":2023,"avatar_url":"https://avatars.githubusercontent.com/u/2023?v=3","gravatar_id":"","url":"https://api.github.com/users/bantic","html_url":"https://github.com/bantic","followers_url":"https://api.github.com/users/bantic/followers","following_url":"https://api.github.com/users/bantic/following{/other_user}","gists_url":"https://api.github.com/users/bantic/gists{/gist_id}","starred_url":"https://api.github.com/users/bantic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bantic/subscriptions","organizations_url":"https://api.github.com/users/bantic/orgs","repos_url":"https://api.github.com/users/bantic/repos","events_url":"https://api.github.com/users/bantic/events{/privacy}","received_events_url":"https://api.github.com/users/bantic/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aptible/diesel.aptible.com/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-25T16:22:18Z","updated_at":"2015-03-26T22:51:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/aptible/diesel.aptible.com/pulls/226","html_url":"https://github.com/aptible/diesel.aptible.com/pull/226","diff_url":"https://github.com/aptible/diesel.aptible.com/pull/226.diff","patch_url":"https://github.com/aptible/diesel.aptible.com/pull/226.patch"},"body":"This allows consumers to react to the dismissal, and helps in cases\nwhere we are reusing the same bs-alert with different messages, to\nensure that the component is torn down and re-rendered, rather than\nstaying around stuck in its hidden state.\n\nfixes #223\n\n@mixonic for your review, in case there's a better way to \"reset\" this component.\nIf it is possible for it to observe its template contents then it could flip\nfrom hidden -> visible when the contents change. I'm not sure if that's easy to do, though."},"comment":{"url":"https://api.github.com/repos/aptible/diesel.aptible.com/issues/comments/86744774","html_url":"https://github.com/aptible/diesel.aptible.com/pull/226#issuecomment-86744774","issue_url":"https://api.github.com/repos/aptible/diesel.aptible.com/issues/226","id":86744774,"user":{"login":"bantic","id":2023,"avatar_url":"https://avatars.githubusercontent.com/u/2023?v=3","gravatar_id":"","url":"https://api.github.com/users/bantic","html_url":"https://github.com/bantic","followers_url":"https://api.github.com/users/bantic/followers","following_url":"https://api.github.com/users/bantic/following{/other_user}","gists_url":"https://api.github.com/users/bantic/gists{/gist_id}","starred_url":"https://api.github.com/users/bantic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bantic/subscriptions","organizations_url":"https://api.github.com/users/bantic/orgs","repos_url":"https://api.github.com/users/bantic/repos","events_url":"https://api.github.com/users/bantic/events{/privacy}","received_events_url":"https://api.github.com/users/bantic/received_events","type":"User","site_admin":false},"created_at":"2015-03-26T22:51:05Z","updated_at":"2015-03-26T22:51:05Z","body":"The component itself isn't torn down, which is part of the problem. There's a little more context in #223.\r\n\r\nA better solution (to come) will be to use a flash-style service, like ember-cli-flashes.\r\n\r\nDiscussed w/ @mixonic in person, merging"}}