{"action":"created","comment":{"url":"https://api.github.com/repos/orbitable/bridge/pulls/comments/61208626","id":61208626,"diff_hunk":"@@ -67,22 +67,22 @@ <h2 class=\"form-settings-heading\">Timestep</h2>\n                 <button type=\"button\" class=\"btn btn-primary btn-sm\" ng-click=\"b.updateStep()\">Save</button>\n                 <h2 class=\"form-settings-heading\">Units</h2>\n                 <label for=\"distance\">Distance</label>\n-                <select id=\"distance\" ng-model=\"uDist\" class=\"form-control\">","path":"index.html","position":22,"original_position":22,"commit_id":"2bc42727b650bf333b48576f366bc1aecfbd48c4","original_commit_id":"2bc42727b650bf333b48576f366bc1aecfbd48c4","user":{"login":"mkinsey","id":8700607,"avatar_url":"https://avatars.githubusercontent.com/u/8700607?v=3","gravatar_id":"","url":"https://api.github.com/users/mkinsey","html_url":"https://github.com/mkinsey","followers_url":"https://api.github.com/users/mkinsey/followers","following_url":"https://api.github.com/users/mkinsey/following{/other_user}","gists_url":"https://api.github.com/users/mkinsey/gists{/gist_id}","starred_url":"https://api.github.com/users/mkinsey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkinsey/subscriptions","organizations_url":"https://api.github.com/users/mkinsey/orgs","repos_url":"https://api.github.com/users/mkinsey/repos","events_url":"https://api.github.com/users/mkinsey/events{/privacy}","received_events_url":"https://api.github.com/users/mkinsey/received_events","type":"User","site_admin":false},"body":"Where is the updateUnits() function?","created_at":"2016-04-27T06:14:51Z","updated_at":"2016-04-27T06:14:51Z","html_url":"https://github.com/orbitable/bridge/pull/195#discussion_r61208626","pull_request_url":"https://api.github.com/repos/orbitable/bridge/pulls/195","_links":{"self":{"href":"https://api.github.com/repos/orbitable/bridge/pulls/comments/61208626"},"html":{"href":"https://github.com/orbitable/bridge/pull/195#discussion_r61208626"},"pull_request":{"href":"https://api.github.com/repos/orbitable/bridge/pulls/195"}}},"pull_request":{"url":"https://api.github.com/repos/orbitable/bridge/pulls/195","id":67997407,"html_url":"https://github.com/orbitable/bridge/pull/195","diff_url":"https://github.com/orbitable/bridge/pull/195.diff","patch_url":"https://github.com/orbitable/bridge/pull/195.patch","issue_url":"https://api.github.com/repos/orbitable/bridge/issues/195","number":195,"state":"open","locked":false,"title":"Add Units Service and Directive","user":{"login":"benjic","id":135916,"avatar_url":"https://avatars.githubusercontent.com/u/135916?v=3","gravatar_id":"","url":"https://api.github.com/users/benjic","html_url":"https://github.com/benjic","followers_url":"https://api.github.com/users/benjic/followers","following_url":"https://api.github.com/users/benjic/following{/other_user}","gists_url":"https://api.github.com/users/benjic/gists{/gist_id}","starred_url":"https://api.github.com/users/benjic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjic/subscriptions","organizations_url":"https://api.github.com/users/benjic/orgs","repos_url":"https://api.github.com/users/benjic/repos","events_url":"https://api.github.com/users/benjic/events{/privacy}","received_events_url":"https://api.github.com/users/benjic/received_events","type":"User","site_admin":false},"body":"Problem\r\n-------\r\n\r\nThe user selectable units are non functional as the model for body data has been shifted.\r\n\r\nSolution\r\n--------\r\n\r\nA unit directive allows a for element to parse and cast a raw model data value into a derived value based on a selected unit set in the Units service. This allows the form to show the value of the simulation in different units without haveing to convert within the simulator.\r\n\r\nHowto Test\r\n----------\r\n\r\n- [x] Open Units\r\n- [x] Change units around\r\n- [ ] Notice UX updates in\r\n  - [x] Counter\r\n  - [ ] Body Panel\r\n  - [ ] Note Panel\r\n- [ ] Update values in given units\r\n- [ ] Switch units again\r\n- [ ] Notice updated values are recasted in other units\r\n\r\nReferences\r\n----------\r\n\r\n- Closes #176\r\n- @mkinsey This adds bidirectional unit application to input fields.","created_at":"2016-04-27T05:07:24Z","updated_at":"2016-04-27T06:14:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dd466811874768d95d1b24a5cd82ad54834d7c60","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/orbitable/bridge/pulls/195/commits","review_comments_url":"https://api.github.com/repos/orbitable/bridge/pulls/195/comments","review_comment_url":"https://api.github.com/repos/orbitable/bridge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/orbitable/bridge/issues/195/comments","statuses_url":"https://api.github.com/repos/orbitable/bridge/statuses/2bc42727b650bf333b48576f366bc1aecfbd48c4","head":{"label":"orbitable:issue#176/time_modal","ref":"issue#176/time_modal","sha":"2bc42727b650bf333b48576f366bc1aecfbd48c4","user":{"login":"orbitable","id":16930146,"avatar_url":"https://avatars.githubusercontent.com/u/16930146?v=3","gravatar_id":"","url":"https://api.github.com/users/orbitable","html_url":"https://github.com/orbitable","followers_url":"https://api.github.com/users/orbitable/followers","following_url":"https://api.github.com/users/orbitable/following{/other_user}","gists_url":"https://api.github.com/users/orbitable/gists{/gist_id}","starred_url":"https://api.github.com/users/orbitable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orbitable/subscriptions","organizations_url":"https://api.github.com/users/orbitable/orgs","repos_url":"https://api.github.com/users/orbitable/repos","events_url":"https://api.github.com/users/orbitable/events{/privacy}","received_events_url":"https://api.github.com/users/orbitable/received_events","type":"Organization","site_admin":false},"repo":{"id":50802890,"name":"bridge","full_name":"orbitable/bridge","owner":{"login":"orbitable","id":16930146,"avatar_url":"https://avatars.githubusercontent.com/u/16930146?v=3","gravatar_id":"","url":"https://api.github.com/users/orbitable","html_url":"https://github.com/orbitable","followers_url":"https://api.github.com/users/orbitable/followers","following_url":"https://api.github.com/users/orbitable/following{/other_user}","gists_url":"https://api.github.com/users/orbitable/gists{/gist_id}","starred_url":"https://api.github.com/users/orbitable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orbitable/subscriptions","organizations_url":"https://api.github.com/users/orbitable/orgs","repos_url":"https://api.github.com/users/orbitable/repos","events_url":"https://api.github.com/users/orbitable/events{/privacy}","received_events_url":"https://api.github.com/users/orbitable/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/orbitable/bridge","description":"A client side component to render the n-body simulation data","fork":false,"url":"https://api.github.com/repos/orbitable/bridge","forks_url":"https://api.github.com/repos/orbitable/bridge/forks","keys_url":"https://api.github.com/repos/orbitable/bridge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/orbitable/bridge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/orbitable/bridge/teams","hooks_url":"https://api.github.com/repos/orbitable/bridge/hooks","issue_events_url":"https://api.github.com/repos/orbitable/bridge/issues/events{/number}","events_url":"https://api.github.com/repos/orbitable/bridge/events","assignees_url":"https://api.github.com/repos/orbitable/bridge/assignees{/user}","branches_url":"https://api.github.com/repos/orbitable/bridge/branches{/branch}","tags_url":"https://api.github.com/repos/orbitable/bridge/tags","blobs_url":"https://api.github.com/repos/orbitable/bridge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/orbitable/bridge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/orbitable/bridge/git/refs{/sha}","trees_url":"https://api.github.com/repos/orbitable/bridge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/orbitable/bridge/statuses/{sha}","languages_url":"https://api.github.com/repos/orbitable/bridge/languages","stargazers_url":"https://api.github.com/repos/orbitable/bridge/stargazers","contributors_url":"https://api.github.com/repos/orbitable/bridge/contributors","subscribers_url":"https://api.github.com/repos/orbitable/bridge/subscribers","subscription_url":"https://api.github.com/repos/orbitable/bridge/subscription","commits_url":"https://api.github.com/repos/orbitable/bridge/commits{/sha}","git_commits_url":"https://api.github.com/repos/orbitable/bridge/git/commits{/sha}","comments_url":"https://api.github.com/repos/orbitable/bridge/comments{/number}","issue_comment_url":"https://api.github.com/repos/orbitable/bridge/issues/comments{/number}","contents_url":"https://api.github.com/repos/orbitable/bridge/contents/{+path}","compare_url":"https://api.github.com/repos/orbitable/bridge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/orbitable/bridge/merges","archive_url":"https://api.github.com/repos/orbitable/bridge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/orbitable/bridge/downloads","issues_url":"https://api.github.com/repos/orbitable/bridge/issues{/number}","pulls_url":"https://api.github.com/repos/orbitable/bridge/pulls{/number}","milestones_url":"https://api.github.com/repos/orbitable/bridge/milestones{/number}","notifications_url":"https://api.github.com/repos/orbitable/bridge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/orbitable/bridge/labels{/name}","releases_url":"https://api.github.com/repos/orbitable/bridge/releases{/id}","deployments_url":"https://api.github.com/repos/orbitable/bridge/deployments","created_at":"2016-02-01T00:18:43Z","updated_at":"2016-03-16T13:11:35Z","pushed_at":"2016-04-27T05:35:14Z","git_url":"git://github.com/orbitable/bridge.git","ssh_url":"git@github.com:orbitable/bridge.git","clone_url":"https://github.com/orbitable/bridge.git","svn_url":"https://github.com/orbitable/bridge","homepage":null,"size":640,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":2,"default_branch":"master"}},"base":{"label":"orbitable:master","ref":"master","sha":"b961048829ea15ba510a2f54a4bbfd53026d9f29","user":{"login":"orbitable","id":16930146,"avatar_url":"https://avatars.githubusercontent.com/u/16930146?v=3","gravatar_id":"","url":"https://api.github.com/users/orbitable","html_url":"https://github.com/orbitable","followers_url":"https://api.github.com/users/orbitable/followers","following_url":"https://api.github.com/users/orbitable/following{/other_user}","gists_url":"https://api.github.com/users/orbitable/gists{/gist_id}","starred_url":"https://api.github.com/users/orbitable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orbitable/subscriptions","organizations_url":"https://api.github.com/users/orbitable/orgs","repos_url":"https://api.github.com/users/orbitable/repos","events_url":"https://api.github.com/users/orbitable/events{/privacy}","received_events_url":"https://api.github.com/users/orbitable/received_events","type":"Organization","site_admin":false},"repo":{"id":50802890,"name":"bridge","full_name":"orbitable/bridge","owner":{"login":"orbitable","id":16930146,"avatar_url":"https://avatars.githubusercontent.com/u/16930146?v=3","gravatar_id":"","url":"https://api.github.com/users/orbitable","html_url":"https://github.com/orbitable","followers_url":"https://api.github.com/users/orbitable/followers","following_url":"https://api.github.com/users/orbitable/following{/other_user}","gists_url":"https://api.github.com/users/orbitable/gists{/gist_id}","starred_url":"https://api.github.com/users/orbitable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orbitable/subscriptions","organizations_url":"https://api.github.com/users/orbitable/orgs","repos_url":"https://api.github.com/users/orbitable/repos","events_url":"https://api.github.com/users/orbitable/events{/privacy}","received_events_url":"https://api.github.com/users/orbitable/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/orbitable/bridge","description":"A client side component to render the n-body simulation data","fork":false,"url":"https://api.github.com/repos/orbitable/bridge","forks_url":"https://api.github.com/repos/orbitable/bridge/forks","keys_url":"https://api.github.com/repos/orbitable/bridge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/orbitable/bridge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/orbitable/bridge/teams","hooks_url":"https://api.github.com/repos/orbitable/bridge/hooks","issue_events_url":"https://api.github.com/repos/orbitable/bridge/issues/events{/number}","events_url":"https://api.github.com/repos/orbitable/bridge/events","assignees_url":"https://api.github.com/repos/orbitable/bridge/assignees{/user}","branches_url":"https://api.github.com/repos/orbitable/bridge/branches{/branch}","tags_url":"https://api.github.com/repos/orbitable/bridge/tags","blobs_url":"https://api.github.com/repos/orbitable/bridge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/orbitable/bridge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/orbitable/bridge/git/refs{/sha}","trees_url":"https://api.github.com/repos/orbitable/bridge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/orbitable/bridge/statuses/{sha}","languages_url":"https://api.github.com/repos/orbitable/bridge/languages","stargazers_url":"https://api.github.com/repos/orbitable/bridge/stargazers","contributors_url":"https://api.github.com/repos/orbitable/bridge/contributors","subscribers_url":"https://api.github.com/repos/orbitable/bridge/subscribers","subscription_url":"https://api.github.com/repos/orbitable/bridge/subscription","commits_url":"https://api.github.com/repos/orbitable/bridge/commits{/sha}","git_commits_url":"https://api.github.com/repos/orbitable/bridge/git/commits{/sha}","comments_url":"https://api.github.com/repos/orbitable/bridge/comments{/number}","issue_comment_url":"https://api.github.com/repos/orbitable/bridge/issues/comments{/number}","contents_url":"https://api.github.com/repos/orbitable/bridge/contents/{+path}","compare_url":"https://api.github.com/repos/orbitable/bridge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/orbitable/bridge/merges","archive_url":"https://api.github.com/repos/orbitable/bridge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/orbitable/bridge/downloads","issues_url":"https://api.github.com/repos/orbitable/bridge/issues{/number}","pulls_url":"https://api.github.com/repos/orbitable/bridge/pulls{/number}","milestones_url":"https://api.github.com/repos/orbitable/bridge/milestones{/number}","notifications_url":"https://api.github.com/repos/orbitable/bridge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/orbitable/bridge/labels{/name}","releases_url":"https://api.github.com/repos/orbitable/bridge/releases{/id}","deployments_url":"https://api.github.com/repos/orbitable/bridge/deployments","created_at":"2016-02-01T00:18:43Z","updated_at":"2016-03-16T13:11:35Z","pushed_at":"2016-04-27T05:35:14Z","git_url":"git://github.com/orbitable/bridge.git","ssh_url":"git@github.com:orbitable/bridge.git","clone_url":"https://github.com/orbitable/bridge.git","svn_url":"https://github.com/orbitable/bridge","homepage":null,"size":640,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/orbitable/bridge/pulls/195"},"html":{"href":"https://github.com/orbitable/bridge/pull/195"},"issue":{"href":"https://api.github.com/repos/orbitable/bridge/issues/195"},"comments":{"href":"https://api.github.com/repos/orbitable/bridge/issues/195/comments"},"review_comments":{"href":"https://api.github.com/repos/orbitable/bridge/pulls/195/comments"},"review_comment":{"href":"https://api.github.com/repos/orbitable/bridge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/orbitable/bridge/pulls/195/commits"},"statuses":{"href":"https://api.github.com/repos/orbitable/bridge/statuses/2bc42727b650bf333b48576f366bc1aecfbd48c4"}}}}