{"action":"created","issue":{"url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/2849","repository_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork","labels_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/2849/labels{/name}","comments_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/2849/comments","events_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/2849/events","html_url":"https://github.com/openfoodfoundation/openfoodnetwork/pull/2849","id":367952001,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxMjQyNDAz","number":2849,"title":"Fix for instagram links","user":{"login":"albarnaz","id":20689519,"node_id":"MDQ6VXNlcjIwNjg5NTE5","avatar_url":"https://avatars0.githubusercontent.com/u/20689519?v=4","gravatar_id":"","url":"https://api.github.com/users/albarnaz","html_url":"https://github.com/albarnaz","followers_url":"https://api.github.com/users/albarnaz/followers","following_url":"https://api.github.com/users/albarnaz/following{/other_user}","gists_url":"https://api.github.com/users/albarnaz/gists{/gist_id}","starred_url":"https://api.github.com/users/albarnaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albarnaz/subscriptions","organizations_url":"https://api.github.com/users/albarnaz/orgs","repos_url":"https://api.github.com/users/albarnaz/repos","events_url":"https://api.github.com/users/albarnaz/events{/privacy}","received_events_url":"https://api.github.com/users/albarnaz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"albarnaz","id":20689519,"node_id":"MDQ6VXNlcjIwNjg5NTE5","avatar_url":"https://avatars0.githubusercontent.com/u/20689519?v=4","gravatar_id":"","url":"https://api.github.com/users/albarnaz","html_url":"https://github.com/albarnaz","followers_url":"https://api.github.com/users/albarnaz/followers","following_url":"https://api.github.com/users/albarnaz/following{/other_user}","gists_url":"https://api.github.com/users/albarnaz/gists{/gist_id}","starred_url":"https://api.github.com/users/albarnaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albarnaz/subscriptions","organizations_url":"https://api.github.com/users/albarnaz/orgs","repos_url":"https://api.github.com/users/albarnaz/repos","events_url":"https://api.github.com/users/albarnaz/events{/privacy}","received_events_url":"https://api.github.com/users/albarnaz/received_events","type":"User","site_admin":false},"assignees":[{"login":"albarnaz","id":20689519,"node_id":"MDQ6VXNlcjIwNjg5NTE5","avatar_url":"https://avatars0.githubusercontent.com/u/20689519?v=4","gravatar_id":"","url":"https://api.github.com/users/albarnaz","html_url":"https://github.com/albarnaz","followers_url":"https://api.github.com/users/albarnaz/followers","following_url":"https://api.github.com/users/albarnaz/following{/other_user}","gists_url":"https://api.github.com/users/albarnaz/gists{/gist_id}","starred_url":"https://api.github.com/users/albarnaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albarnaz/subscriptions","organizations_url":"https://api.github.com/users/albarnaz/orgs","repos_url":"https://api.github.com/users/albarnaz/repos","events_url":"https://api.github.com/users/albarnaz/events{/privacy}","received_events_url":"https://api.github.com/users/albarnaz/received_events","type":"User","site_admin":false}],"milestone":null,"comments":15,"created_at":"2018-10-08T21:03:09Z","updated_at":"2018-12-14T11:58:38Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/pulls/2849","html_url":"https://github.com/openfoodfoundation/openfoodnetwork/pull/2849","diff_url":"https://github.com/openfoodfoundation/openfoodnetwork/pull/2849.diff","patch_url":"https://github.com/openfoodfoundation/openfoodnetwork/pull/2849.patch"},"body":"#### Issue: #1760 \r\n\r\n#### Problem\r\n\r\nThere is no suggestion in the Instagram empty field in enterprise profile setup menu. Some users copy-paste the full URL on their page. That doesn't work because what is expected is only their Instagram user pseudo.\r\n\r\n![image](https://user-images.githubusercontent.com/20689519/46632963-b3c29300-cb22-11e8-8099-ef1e576ca413.png)\r\n\r\n#### FIX\r\n\r\nAdd a suggestion/model in the empty field that guides the user so that he enter the Instagram info at the expected format (as it is done for Twitter for instance).\r\n\r\nAdd migration to fix the wrong links already inputted, from \"http://instagram.com/myUser\" to \"@myUser\"\r\n\r\n![image](https://user-images.githubusercontent.com/20689519/46633110-1ddb3800-cb23-11e8-9199-291c30c5c5f2.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/comments/447304215","html_url":"https://github.com/openfoodfoundation/openfoodnetwork/pull/2849#issuecomment-447304215","issue_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/2849","id":447304215,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NzMwNDIxNQ==","user":{"login":"albarnaz","id":20689519,"node_id":"MDQ6VXNlcjIwNjg5NTE5","avatar_url":"https://avatars0.githubusercontent.com/u/20689519?v=4","gravatar_id":"","url":"https://api.github.com/users/albarnaz","html_url":"https://github.com/albarnaz","followers_url":"https://api.github.com/users/albarnaz/followers","following_url":"https://api.github.com/users/albarnaz/following{/other_user}","gists_url":"https://api.github.com/users/albarnaz/gists{/gist_id}","starred_url":"https://api.github.com/users/albarnaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albarnaz/subscriptions","organizations_url":"https://api.github.com/users/albarnaz/orgs","repos_url":"https://api.github.com/users/albarnaz/repos","events_url":"https://api.github.com/users/albarnaz/events{/privacy}","received_events_url":"https://api.github.com/users/albarnaz/received_events","type":"User","site_admin":false},"created_at":"2018-12-14T11:58:38Z","updated_at":"2018-12-14T11:58:38Z","author_association":"NONE","body":"Hi @daniellemoorhead\r\nI'm going to work on this, I'm sorry I stayed away for a while"}}
{"actor":{"display_login":"albarnaz"}}