{"action":"opened","issue":{"url":"https://api.github.com/repos/harvard-lil/perma/issues/1066","labels_url":"https://api.github.com/repos/harvard-lil/perma/issues/1066/labels{/name}","comments_url":"https://api.github.com/repos/harvard-lil/perma/issues/1066/comments","events_url":"https://api.github.com/repos/harvard-lil/perma/issues/1066/events","html_url":"https://github.com/harvard-lil/perma/issues/1066","id":107493838,"number":1066,"title":"Add state logic to Create button","user":{"login":"thisisdano","id":11464021,"avatar_url":"https://avatars.githubusercontent.com/u/11464021?v=3","gravatar_id":"","url":"https://api.github.com/users/thisisdano","html_url":"https://github.com/thisisdano","followers_url":"https://api.github.com/users/thisisdano/followers","following_url":"https://api.github.com/users/thisisdano/following{/other_user}","gists_url":"https://api.github.com/users/thisisdano/gists{/gist_id}","starred_url":"https://api.github.com/users/thisisdano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thisisdano/subscriptions","organizations_url":"https://api.github.com/users/thisisdano/orgs","repos_url":"https://api.github.com/users/thisisdano/repos","events_url":"https://api.github.com/users/thisisdano/events{/privacy}","received_events_url":"https://api.github.com/users/thisisdano/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/harvard-lil/perma/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/harvard-lil/perma/milestones/50","html_url":"https://github.com/harvard-lil/perma/milestones/post-vesting","labels_url":"https://api.github.com/repos/harvard-lil/perma/milestones/50/labels","id":1311247,"number":50,"title":"post-vesting","description":"Issues we need to tackle to launch post-vesting Perma","creator":{"login":"abziegler","id":2140548,"avatar_url":"https://avatars.githubusercontent.com/u/2140548?v=3","gravatar_id":"","url":"https://api.github.com/users/abziegler","html_url":"https://github.com/abziegler","followers_url":"https://api.github.com/users/abziegler/followers","following_url":"https://api.github.com/users/abziegler/following{/other_user}","gists_url":"https://api.github.com/users/abziegler/gists{/gist_id}","starred_url":"https://api.github.com/users/abziegler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abziegler/subscriptions","organizations_url":"https://api.github.com/users/abziegler/orgs","repos_url":"https://api.github.com/users/abziegler/repos","events_url":"https://api.github.com/users/abziegler/events{/privacy}","received_events_url":"https://api.github.com/users/abziegler/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":0,"state":"open","created_at":"2015-09-17T18:46:20Z","updated_at":"2015-09-21T11:41:41Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-09-21T11:41:41Z","updated_at":"2015-09-21T11:41:41Z","closed_at":null,"body":"The new Create button has three states:\r\n\r\n1) **Inactive:** Field is empty (gray button, not clickable)\r\n\r\n![field block-off](https://cloud.githubusercontent.com/assets/11464021/9990947/a8c9022a-6033-11e5-9e4f-6f244dff59ae.png)\r\n\r\n2) **Active:** Field includes a URL (blue button, clickable)\r\n\r\n![field block](https://cloud.githubusercontent.com/assets/11464021/9990954/c10958ee-6033-11e5-8920-f48a2cf7b1ca.png)\r\n\r\n3) **Working:** Perma.cc is creating the Perma Link (spinner with text)\r\n\r\n![field block-creating](https://cloud.githubusercontent.com/assets/11464021/9990968/e366226e-6033-11e5-8fab-b40b7e6f2b00.png)\r\n\r\nWhen the record is ready we redirect to the the Record page.\r\nErrors can still appear below as they do now.\r\n\r\n"}}