{"action":"created","issue":{"url":"https://api.github.com/repos/qandidate-labs/qandidate-toggle-ui/issues/3","repository_url":"https://api.github.com/repos/qandidate-labs/qandidate-toggle-ui","labels_url":"https://api.github.com/repos/qandidate-labs/qandidate-toggle-ui/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/qandidate-labs/qandidate-toggle-ui/issues/3/comments","events_url":"https://api.github.com/repos/qandidate-labs/qandidate-toggle-ui/issues/3/events","html_url":"https://github.com/qandidate-labs/qandidate-toggle-ui/pull/3","id":151468256,"number":3,"title":"Allow multiple name changes","user":{"login":"reenl","id":951945,"avatar_url":"https://avatars.githubusercontent.com/u/951945?v=3","gravatar_id":"","url":"https://api.github.com/users/reenl","html_url":"https://github.com/reenl","followers_url":"https://api.github.com/users/reenl/followers","following_url":"https://api.github.com/users/reenl/following{/other_user}","gists_url":"https://api.github.com/users/reenl/gists{/gist_id}","starred_url":"https://api.github.com/users/reenl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reenl/subscriptions","organizations_url":"https://api.github.com/users/reenl/orgs","repos_url":"https://api.github.com/users/reenl/repos","events_url":"https://api.github.com/users/reenl/events{/privacy}","received_events_url":"https://api.github.com/users/reenl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-27T19:16:28Z","updated_at":"2016-05-03T21:43:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/qandidate-labs/qandidate-toggle-ui/pulls/3","html_url":"https://github.com/qandidate-labs/qandidate-toggle-ui/pull/3","diff_url":"https://github.com/qandidate-labs/qandidate-toggle-ui/pull/3.diff","patch_url":"https://github.com/qandidate-labs/qandidate-toggle-ui/pull/3.patch"},"body":"Changing the name of a toggle multiple times within the same requests yield errors. This PR resolves this issue.\r\n\r\nIt also binds the enter key to the name input field.\r\n\r\nThe final commit \"fixes\" the fact that the save button appears for all toggles when a single toggle is changed. And it will also remove the save button again once saved.\r\n\r\nSidenotes:\r\n\r\n* CS Was inconsistent, so I used 4 spaces\r\n* Changes are in separate commits, let me know if there is anything you don't like and I'll remove it\r\n* My intend was just to do a little practice with angular :)\r\n* Didn't get the e2e tests to work `failed to proxy /app/index-e2e.html`\r\n* Had to be [creative](https://github.com/qandidate-labs/qandidate-toggle-ui/pull/3/commits/ecab77aac56ff5b16a05b56870cebb54c20c5da9#diff-40084eb42a8e52b0a5ff0264ef426c94R54) to remove the dirty class from the form not sure how bad it is...\r\n  (The controller is bound to the toggleForm in the scope)"},"comment":{"url":"https://api.github.com/repos/qandidate-labs/qandidate-toggle-ui/issues/comments/216673885","html_url":"https://github.com/qandidate-labs/qandidate-toggle-ui/pull/3#issuecomment-216673885","issue_url":"https://api.github.com/repos/qandidate-labs/qandidate-toggle-ui/issues/3","id":216673885,"user":{"login":"reenl","id":951945,"avatar_url":"https://avatars.githubusercontent.com/u/951945?v=3","gravatar_id":"","url":"https://api.github.com/users/reenl","html_url":"https://github.com/reenl","followers_url":"https://api.github.com/users/reenl/followers","following_url":"https://api.github.com/users/reenl/following{/other_user}","gists_url":"https://api.github.com/users/reenl/gists{/gist_id}","starred_url":"https://api.github.com/users/reenl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reenl/subscriptions","organizations_url":"https://api.github.com/users/reenl/orgs","repos_url":"https://api.github.com/users/reenl/repos","events_url":"https://api.github.com/users/reenl/events{/privacy}","received_events_url":"https://api.github.com/users/reenl/received_events","type":"User","site_admin":false},"created_at":"2016-05-03T21:43:19Z","updated_at":"2016-05-03T21:43:19Z","body":"It does now, fingerscrossed"}}