{"action":"created","comment":{"url":"https://api.github.com/repos/Gizra/productivity/pulls/comments/192650339","pull_request_review_id":125463311,"id":192650339,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5MjY1MDMzOQ==","diff_hunk":"@@ -4,7 +4,7 @@\n     <i class=\"fa fa-check text-primary\" aria-hidden=\"true\" style=\"display: none;\"></i>\n   </td>\n   <td width=\"16%\">\n-    <select  name=\"project\" class=\"form-control disable-after-save\" value=\"<?php print $tracking['project_nid']; ?>\" <?php print $tracking['disabled']; ?>>\n+    <select name=\"project\" onchange=\"Drupal.behaviors.trackingTable.getPresetDescriptions(this);\" class=\"form-control disable-after-save\" value=\"<?php print $tracking['project_nid']; ?>\" <?php print $tracking['disabled']; ?>>","path":"productivity/modules/custom/productivity_tracking/plugins/content_types/tracking_form/tracking-table-row.tpl.php","position":5,"original_position":5,"commit_id":"0c8f4a7ad47fcf5b1a50654a76619270396fd034","original_commit_id":"0c8f4a7ad47fcf5b1a50654a76619270396fd034","user":{"login":"AronNovak","id":114076,"node_id":"MDQ6VXNlcjExNDA3Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/114076?v=4","gravatar_id":"","url":"https://api.github.com/users/AronNovak","html_url":"https://github.com/AronNovak","followers_url":"https://api.github.com/users/AronNovak/followers","following_url":"https://api.github.com/users/AronNovak/following{/other_user}","gists_url":"https://api.github.com/users/AronNovak/gists{/gist_id}","starred_url":"https://api.github.com/users/AronNovak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AronNovak/subscriptions","organizations_url":"https://api.github.com/users/AronNovak/orgs","repos_url":"https://api.github.com/users/AronNovak/repos","events_url":"https://api.github.com/users/AronNovak/events{/privacy}","received_events_url":"https://api.github.com/users/AronNovak/received_events","type":"User","site_admin":false},"body":"Shouldn't we do something like::\r\n```js\r\n$('tracking-table-selector select').change(function() {\r\n  Drupal.behaviors.trackingTable.getPresetDescriptions(this);\r\n});\r\n```\r\n\r\nfrom a JS file. isn't that cleaner?","created_at":"2018-06-04T07:42:40Z","updated_at":"2018-06-04T07:42:40Z","html_url":"https://github.com/Gizra/productivity/pull/571#discussion_r192650339","pull_request_url":"https://api.github.com/repos/Gizra/productivity/pulls/571","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/Gizra/productivity/pulls/comments/192650339"},"html":{"href":"https://github.com/Gizra/productivity/pull/571#discussion_r192650339"},"pull_request":{"href":"https://api.github.com/repos/Gizra/productivity/pulls/571"}}},"pull_request":{"url":"https://api.github.com/repos/Gizra/productivity/pulls/571","id":191390287,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkxMzkwMjg3","html_url":"https://github.com/Gizra/productivity/pull/571","diff_url":"https://github.com/Gizra/productivity/pull/571.diff","patch_url":"https://github.com/Gizra/productivity/pull/571.patch","issue_url":"https://api.github.com/repos/Gizra/productivity/issues/571","number":571,"state":"open","locked":false,"title":"Drop down description list with automatic types, per project.","user":{"login":"nedSaf","id":7369740,"node_id":"MDQ6VXNlcjczNjk3NDA=","avatar_url":"https://avatars2.githubusercontent.com/u/7369740?v=4","gravatar_id":"","url":"https://api.github.com/users/nedSaf","html_url":"https://github.com/nedSaf","followers_url":"https://api.github.com/users/nedSaf/followers","following_url":"https://api.github.com/users/nedSaf/following{/other_user}","gists_url":"https://api.github.com/users/nedSaf/gists{/gist_id}","starred_url":"https://api.github.com/users/nedSaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nedSaf/subscriptions","organizations_url":"https://api.github.com/users/nedSaf/orgs","repos_url":"https://api.github.com/users/nedSaf/repos","events_url":"https://api.github.com/users/nedSaf/events{/privacy}","received_events_url":"https://api.github.com/users/nedSaf/received_events","type":"User","site_admin":false},"body":"#569 ","created_at":"2018-05-30T09:34:11Z","updated_at":"2018-06-04T07:42:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"16b63815223d1de3cd947e0ec207843170e14a88","assignee":null,"assignees":[],"requested_reviewers":[{"login":"bricel","id":165644,"node_id":"MDQ6VXNlcjE2NTY0NA==","avatar_url":"https://avatars3.githubusercontent.com/u/165644?v=4","gravatar_id":"","url":"https://api.github.com/users/bricel","html_url":"https://github.com/bricel","followers_url":"https://api.github.com/users/bricel/followers","following_url":"https://api.github.com/users/bricel/following{/other_user}","gists_url":"https://api.github.com/users/bricel/gists{/gist_id}","starred_url":"https://api.github.com/users/bricel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bricel/subscriptions","organizations_url":"https://api.github.com/users/bricel/orgs","repos_url":"https://api.github.com/users/bricel/repos","events_url":"https://api.github.com/users/bricel/events{/privacy}","received_events_url":"https://api.github.com/users/bricel/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":281541927,"node_id":"MDU6TGFiZWwyODE1NDE5Mjc=","url":"https://api.github.com/repos/Gizra/productivity/labels/Ready%20for%20review","name":"Ready for review","color":"252759","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Gizra/productivity/pulls/571/commits","review_comments_url":"https://api.github.com/repos/Gizra/productivity/pulls/571/comments","review_comment_url":"https://api.github.com/repos/Gizra/productivity/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Gizra/productivity/issues/571/comments","statuses_url":"https://api.github.com/repos/Gizra/productivity/statuses/0c8f4a7ad47fcf5b1a50654a76619270396fd034","head":{"label":"Gizra:569","ref":"569","sha":"0c8f4a7ad47fcf5b1a50654a76619270396fd034","user":{"login":"Gizra","id":2484795,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0ODQ3OTU=","avatar_url":"https://avatars0.githubusercontent.com/u/2484795?v=4","gravatar_id":"","url":"https://api.github.com/users/Gizra","html_url":"https://github.com/Gizra","followers_url":"https://api.github.com/users/Gizra/followers","following_url":"https://api.github.com/users/Gizra/following{/other_user}","gists_url":"https://api.github.com/users/Gizra/gists{/gist_id}","starred_url":"https://api.github.com/users/Gizra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gizra/subscriptions","organizations_url":"https://api.github.com/users/Gizra/orgs","repos_url":"https://api.github.com/users/Gizra/repos","events_url":"https://api.github.com/users/Gizra/events{/privacy}","received_events_url":"https://api.github.com/users/Gizra/received_events","type":"Organization","site_admin":false},"repo":{"id":13680490,"node_id":"MDEwOlJlcG9zaXRvcnkxMzY4MDQ5MA==","name":"productivity","full_name":"Gizra/productivity","owner":{"login":"Gizra","id":2484795,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0ODQ3OTU=","avatar_url":"https://avatars0.githubusercontent.com/u/2484795?v=4","gravatar_id":"","url":"https://api.github.com/users/Gizra","html_url":"https://github.com/Gizra","followers_url":"https://api.github.com/users/Gizra/followers","following_url":"https://api.github.com/users/Gizra/following{/other_user}","gists_url":"https://api.github.com/users/Gizra/gists{/gist_id}","starred_url":"https://api.github.com/users/Gizra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gizra/subscriptions","organizations_url":"https://api.github.com/users/Gizra/orgs","repos_url":"https://api.github.com/users/Gizra/repos","events_url":"https://api.github.com/users/Gizra/events{/privacy}","received_events_url":"https://api.github.com/users/Gizra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Gizra/productivity","description":null,"fork":false,"url":"https://api.github.com/repos/Gizra/productivity","forks_url":"https://api.github.com/repos/Gizra/productivity/forks","keys_url":"https://api.github.com/repos/Gizra/productivity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Gizra/productivity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Gizra/productivity/teams","hooks_url":"https://api.github.com/repos/Gizra/productivity/hooks","issue_events_url":"https://api.github.com/repos/Gizra/productivity/issues/events{/number}","events_url":"https://api.github.com/repos/Gizra/productivity/events","assignees_url":"https://api.github.com/repos/Gizra/productivity/assignees{/user}","branches_url":"https://api.github.com/repos/Gizra/productivity/branches{/branch}","tags_url":"https://api.github.com/repos/Gizra/productivity/tags","blobs_url":"https://api.github.com/repos/Gizra/productivity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Gizra/productivity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Gizra/productivity/git/refs{/sha}","trees_url":"https://api.github.com/repos/Gizra/productivity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Gizra/productivity/statuses/{sha}","languages_url":"https://api.github.com/repos/Gizra/productivity/languages","stargazers_url":"https://api.github.com/repos/Gizra/productivity/stargazers","contributors_url":"https://api.github.com/repos/Gizra/productivity/contributors","subscribers_url":"https://api.github.com/repos/Gizra/productivity/subscribers","subscription_url":"https://api.github.com/repos/Gizra/productivity/subscription","commits_url":"https://api.github.com/repos/Gizra/productivity/commits{/sha}","git_commits_url":"https://api.github.com/repos/Gizra/productivity/git/commits{/sha}","comments_url":"https://api.github.com/repos/Gizra/productivity/comments{/number}","issue_comment_url":"https://api.github.com/repos/Gizra/productivity/issues/comments{/number}","contents_url":"https://api.github.com/repos/Gizra/productivity/contents/{+path}","compare_url":"https://api.github.com/repos/Gizra/productivity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Gizra/productivity/merges","archive_url":"https://api.github.com/repos/Gizra/productivity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Gizra/productivity/downloads","issues_url":"https://api.github.com/repos/Gizra/productivity/issues{/number}","pulls_url":"https://api.github.com/repos/Gizra/productivity/pulls{/number}","milestones_url":"https://api.github.com/repos/Gizra/productivity/milestones{/number}","notifications_url":"https://api.github.com/repos/Gizra/productivity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Gizra/productivity/labels{/name}","releases_url":"https://api.github.com/repos/Gizra/productivity/releases{/id}","deployments_url":"https://api.github.com/repos/Gizra/productivity/deployments","created_at":"2013-10-18T14:40:16Z","updated_at":"2018-05-31T07:47:19Z","pushed_at":"2018-06-03T08:59:56Z","git_url":"git://github.com/Gizra/productivity.git","ssh_url":"git@github.com:Gizra/productivity.git","clone_url":"https://github.com/Gizra/productivity.git","svn_url":"https://github.com/Gizra/productivity","homepage":"http://productivity.gizra.com","size":26566,"stargazers_count":14,"watchers_count":14,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":166,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":6,"open_issues":166,"watchers":14,"default_branch":"master"}},"base":{"label":"Gizra:master","ref":"master","sha":"b10dda48063bc334e55a9e77d1acf3d86ee2b0b8","user":{"login":"Gizra","id":2484795,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0ODQ3OTU=","avatar_url":"https://avatars0.githubusercontent.com/u/2484795?v=4","gravatar_id":"","url":"https://api.github.com/users/Gizra","html_url":"https://github.com/Gizra","followers_url":"https://api.github.com/users/Gizra/followers","following_url":"https://api.github.com/users/Gizra/following{/other_user}","gists_url":"https://api.github.com/users/Gizra/gists{/gist_id}","starred_url":"https://api.github.com/users/Gizra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gizra/subscriptions","organizations_url":"https://api.github.com/users/Gizra/orgs","repos_url":"https://api.github.com/users/Gizra/repos","events_url":"https://api.github.com/users/Gizra/events{/privacy}","received_events_url":"https://api.github.com/users/Gizra/received_events","type":"Organization","site_admin":false},"repo":{"id":13680490,"node_id":"MDEwOlJlcG9zaXRvcnkxMzY4MDQ5MA==","name":"productivity","full_name":"Gizra/productivity","owner":{"login":"Gizra","id":2484795,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0ODQ3OTU=","avatar_url":"https://avatars0.githubusercontent.com/u/2484795?v=4","gravatar_id":"","url":"https://api.github.com/users/Gizra","html_url":"https://github.com/Gizra","followers_url":"https://api.github.com/users/Gizra/followers","following_url":"https://api.github.com/users/Gizra/following{/other_user}","gists_url":"https://api.github.com/users/Gizra/gists{/gist_id}","starred_url":"https://api.github.com/users/Gizra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gizra/subscriptions","organizations_url":"https://api.github.com/users/Gizra/orgs","repos_url":"https://api.github.com/users/Gizra/repos","events_url":"https://api.github.com/users/Gizra/events{/privacy}","received_events_url":"https://api.github.com/users/Gizra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Gizra/productivity","description":null,"fork":false,"url":"https://api.github.com/repos/Gizra/productivity","forks_url":"https://api.github.com/repos/Gizra/productivity/forks","keys_url":"https://api.github.com/repos/Gizra/productivity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Gizra/productivity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Gizra/productivity/teams","hooks_url":"https://api.github.com/repos/Gizra/productivity/hooks","issue_events_url":"https://api.github.com/repos/Gizra/productivity/issues/events{/number}","events_url":"https://api.github.com/repos/Gizra/productivity/events","assignees_url":"https://api.github.com/repos/Gizra/productivity/assignees{/user}","branches_url":"https://api.github.com/repos/Gizra/productivity/branches{/branch}","tags_url":"https://api.github.com/repos/Gizra/productivity/tags","blobs_url":"https://api.github.com/repos/Gizra/productivity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Gizra/productivity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Gizra/productivity/git/refs{/sha}","trees_url":"https://api.github.com/repos/Gizra/productivity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Gizra/productivity/statuses/{sha}","languages_url":"https://api.github.com/repos/Gizra/productivity/languages","stargazers_url":"https://api.github.com/repos/Gizra/productivity/stargazers","contributors_url":"https://api.github.com/repos/Gizra/productivity/contributors","subscribers_url":"https://api.github.com/repos/Gizra/productivity/subscribers","subscription_url":"https://api.github.com/repos/Gizra/productivity/subscription","commits_url":"https://api.github.com/repos/Gizra/productivity/commits{/sha}","git_commits_url":"https://api.github.com/repos/Gizra/productivity/git/commits{/sha}","comments_url":"https://api.github.com/repos/Gizra/productivity/comments{/number}","issue_comment_url":"https://api.github.com/repos/Gizra/productivity/issues/comments{/number}","contents_url":"https://api.github.com/repos/Gizra/productivity/contents/{+path}","compare_url":"https://api.github.com/repos/Gizra/productivity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Gizra/productivity/merges","archive_url":"https://api.github.com/repos/Gizra/productivity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Gizra/productivity/downloads","issues_url":"https://api.github.com/repos/Gizra/productivity/issues{/number}","pulls_url":"https://api.github.com/repos/Gizra/productivity/pulls{/number}","milestones_url":"https://api.github.com/repos/Gizra/productivity/milestones{/number}","notifications_url":"https://api.github.com/repos/Gizra/productivity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Gizra/productivity/labels{/name}","releases_url":"https://api.github.com/repos/Gizra/productivity/releases{/id}","deployments_url":"https://api.github.com/repos/Gizra/productivity/deployments","created_at":"2013-10-18T14:40:16Z","updated_at":"2018-05-31T07:47:19Z","pushed_at":"2018-06-03T08:59:56Z","git_url":"git://github.com/Gizra/productivity.git","ssh_url":"git@github.com:Gizra/productivity.git","clone_url":"https://github.com/Gizra/productivity.git","svn_url":"https://github.com/Gizra/productivity","homepage":"http://productivity.gizra.com","size":26566,"stargazers_count":14,"watchers_count":14,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":166,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":6,"open_issues":166,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Gizra/productivity/pulls/571"},"html":{"href":"https://github.com/Gizra/productivity/pull/571"},"issue":{"href":"https://api.github.com/repos/Gizra/productivity/issues/571"},"comments":{"href":"https://api.github.com/repos/Gizra/productivity/issues/571/comments"},"review_comments":{"href":"https://api.github.com/repos/Gizra/productivity/pulls/571/comments"},"review_comment":{"href":"https://api.github.com/repos/Gizra/productivity/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Gizra/productivity/pulls/571/commits"},"statuses":{"href":"https://api.github.com/repos/Gizra/productivity/statuses/0c8f4a7ad47fcf5b1a50654a76619270396fd034"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"AronNovak"}}