{"action":"created","issue":{"url":"https://api.github.com/repos/johnhof/JiraJockey/issues/40","labels_url":"https://api.github.com/repos/johnhof/JiraJockey/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/johnhof/JiraJockey/issues/40/comments","events_url":"https://api.github.com/repos/johnhof/JiraJockey/issues/40/events","html_url":"https://github.com/johnhof/JiraJockey/pull/40","id":56185815,"number":40,"title":"add extension icon and auto fill form","user":{"login":"GingerBear","id":902357,"avatar_url":"https://avatars.githubusercontent.com/u/902357?v=3","gravatar_id":"","url":"https://api.github.com/users/GingerBear","html_url":"https://github.com/GingerBear","followers_url":"https://api.github.com/users/GingerBear/followers","following_url":"https://api.github.com/users/GingerBear/following{/other_user}","gists_url":"https://api.github.com/users/GingerBear/gists{/gist_id}","starred_url":"https://api.github.com/users/GingerBear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GingerBear/subscriptions","organizations_url":"https://api.github.com/users/GingerBear/orgs","repos_url":"https://api.github.com/users/GingerBear/repos","events_url":"https://api.github.com/users/GingerBear/events{/privacy}","received_events_url":"https://api.github.com/users/GingerBear/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-02T00:47:42Z","updated_at":"2015-02-02T15:13:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/johnhof/JiraJockey/pulls/40","html_url":"https://github.com/johnhof/JiraJockey/pull/40","diff_url":"https://github.com/johnhof/JiraJockey/pull/40.diff","patch_url":"https://github.com/johnhof/JiraJockey/pull/40.patch"},"body":"@johnhof \r\nWhen I was working on katespade my account, I feel very annoying type login/password and address form again and again, and start missing the form filling feature of jj. \r\n\r\nThe original one is seem just works for ember lite checkout, and little annoying for that on page button when it is not working properly. So I am trying to add a chrome extension button for jj. Currently it very simple. It just has a button to manually fill form and checkbox toggle auto fill form. and a very simple logo.\r\n![screen shot 2015-02-01 at 7 25 57 pm](https://cloud.githubusercontent.com/assets/902357/5994615/04e96a28-aa49-11e4-8702-83baff000c40.png)\r\n\r\nIt's very interesting that I never did this before. I found that one of the way extension view (just html) and page communicate is by injecting code. `runScriptInTab('jj.popForm();');`. This is used to make the Fill Form button works. The checkbox is using the `chrome.storage` to maintain state. \r\n\r\nMost checkout is rendering form after data fetched and currently no event firing. So the auto form filling is just keep trying to fill again and again, until get some fields updated or trying times limit reach. \r\n\r\nThe mapping is trying to match name, if not then then match title. Form data is propagating to more fields names. \r\n\r\nI feel this may bring development a little convenience. Looking forward to your feedback John. :smirk:"},"comment":{"url":"https://api.github.com/repos/johnhof/JiraJockey/issues/comments/72473253","html_url":"https://github.com/johnhof/JiraJockey/pull/40#issuecomment-72473253","issue_url":"https://api.github.com/repos/johnhof/JiraJockey/issues/40","id":72473253,"user":{"login":"GingerBear","id":902357,"avatar_url":"https://avatars.githubusercontent.com/u/902357?v=3","gravatar_id":"","url":"https://api.github.com/users/GingerBear","html_url":"https://github.com/GingerBear","followers_url":"https://api.github.com/users/GingerBear/followers","following_url":"https://api.github.com/users/GingerBear/following{/other_user}","gists_url":"https://api.github.com/users/GingerBear/gists{/gist_id}","starred_url":"https://api.github.com/users/GingerBear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GingerBear/subscriptions","organizations_url":"https://api.github.com/users/GingerBear/orgs","repos_url":"https://api.github.com/users/GingerBear/repos","events_url":"https://api.github.com/users/GingerBear/events{/privacy}","received_events_url":"https://api.github.com/users/GingerBear/received_events","type":"User","site_admin":false},"created_at":"2015-02-02T15:13:50Z","updated_at":"2015-02-02T15:13:50Z","body":"cool, no rush. "}}