{"action":"created","issue":{"url":"https://api.github.com/repos/devcolor/majorkey/issues/27","repository_url":"https://api.github.com/repos/devcolor/majorkey","labels_url":"https://api.github.com/repos/devcolor/majorkey/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/devcolor/majorkey/issues/27/comments","events_url":"https://api.github.com/repos/devcolor/majorkey/issues/27/events","html_url":"https://github.com/devcolor/majorkey/issues/27","id":147888964,"number":27,"title":"Handle Goal Creation Latency","user":{"login":"dvehar","id":5605580,"avatar_url":"https://avatars.githubusercontent.com/u/5605580?v=3","gravatar_id":"","url":"https://api.github.com/users/dvehar","html_url":"https://github.com/dvehar","followers_url":"https://api.github.com/users/dvehar/followers","following_url":"https://api.github.com/users/dvehar/following{/other_user}","gists_url":"https://api.github.com/users/dvehar/gists{/gist_id}","starred_url":"https://api.github.com/users/dvehar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvehar/subscriptions","organizations_url":"https://api.github.com/users/dvehar/orgs","repos_url":"https://api.github.com/users/dvehar/repos","events_url":"https://api.github.com/users/dvehar/events{/privacy}","received_events_url":"https://api.github.com/users/dvehar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-12T22:11:16Z","updated_at":"2016-04-12T22:35:06Z","closed_at":null,"body":"When I clicked create it took a good 3 or 4 seconds to see the success notification. Meanwhile I clicked the create button again causing a duplicate. This is not good...\r\n\r\nTODO:\r\n- [ ] Make \"Create\" button disabled while submission is being processed\r\n\r\nMaybe we should:\r\n- [ ] Make the goal creation processing faster"},"comment":{"url":"https://api.github.com/repos/devcolor/majorkey/issues/comments/209131063","html_url":"https://github.com/devcolor/majorkey/issues/27#issuecomment-209131063","issue_url":"https://api.github.com/repos/devcolor/majorkey/issues/27","id":209131063,"user":{"login":"makinde","id":157415,"avatar_url":"https://avatars.githubusercontent.com/u/157415?v=3","gravatar_id":"","url":"https://api.github.com/users/makinde","html_url":"https://github.com/makinde","followers_url":"https://api.github.com/users/makinde/followers","following_url":"https://api.github.com/users/makinde/following{/other_user}","gists_url":"https://api.github.com/users/makinde/gists{/gist_id}","starred_url":"https://api.github.com/users/makinde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makinde/subscriptions","organizations_url":"https://api.github.com/users/makinde/orgs","repos_url":"https://api.github.com/users/makinde/repos","events_url":"https://api.github.com/users/makinde/events{/privacy}","received_events_url":"https://api.github.com/users/makinde/received_events","type":"User","site_admin":false},"created_at":"2016-04-12T22:35:06Z","updated_at":"2016-04-12T22:35:06Z","body":"Yep, button should be disabled.\nSadly, the delay in seeing the dialog is the time it takes for /directory to load. The endpoint for goal creation is doing a redirect back to the directory with that banner on top. Need to optimize the sloppy queries there.\nAside, do you think the goals should live on their own page?\n\n\n\n\n\n\nOn Tue, Apr 12, 2016 at 3:11 PM -0700, \"Desmond Vehar\" <notifications@github.com> wrote:\n\n\n\n\n\n\n\n\n\n\n\n\nWhen I clicked create it took a good 3 or 4 seconds to see the success notification. Meanwhile I clicked the create button again.\n\nTODO:\n\n\n\n Make \"Create\" button disabled while submission is being processed\n\n\n\n\nMaybe we should:\n\n\n\n Make the goal creation processing faster\n\n\n\n\n—\nYou are receiving this because you are subscribed to this thread.\nReply to this email directly or view it on GitHub\n\n\n  \n  \n\n\n\n\n\n\n\n\n"}}