{"action":"created","comment":{"url":"https://api.github.com/repos/jenkinsci/jenkins/pulls/comments/55005620","id":55005620,"diff_hunk":"@@ -0,0 +1,414 @@\n+// Initialize all modules by requiring them. Also makes sure they get bundled (see gulpfile.js).\n+var $jq = require('jquery-detached').getJQuery();\n+var jenkinsLocalStorage = require('./util/jenkinsLocalStorage.js');\n+var itemIcons = {\n+    'hudson.model.FreeStyleProject':'freestyle-48.png',\n+    'hudson.maven.MavenModuleSet':'maven-48.png',\n+    'org.jenkinsci.plugins.workflow.job.WorkflowJob':'pipeline-48.png',\n+    'com.infradna.hudson.plugins.backup.BackupProject':'backup-48.png',\n+    'hudson.model.ExternalJob':'remote-job-48.png',\n+    'com.cloudbees.jenkins.plugins.longrunning.LongRunningProject':'long-running-48.png',\n+    'hudson.matrix.MatrixProject':'multi-config-48.png',\n+    'com.cloudbees.hudson.plugins.folder.Folder':'folder-48.png',\n+    'org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject':'branch-project-48.png',\n+    'jenkins.branch.OrganizationFolder.org.jenkinsci.plugins.github_branch_source.GitHubSCMNavigator':'gitHub-project-48.png',\n+    'jenkins.branch.OrganizationFolder.com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMNavigator':'bitBucket-project-48.png',\n+    'copy':'copy-48.png',\n+    'com.cloudbees.hudson.plugins.modeling.impl.jobTemplate.JobTemplate':'job-template-48.png',\n+    'com.cloudbees.hudson.plugins.modeling.impl.folder.FolderTemplate':'folder-template-48.png',\n+    'com.cloudbees.hudson.plugins.modeling.impl.auxiliary.AuxModel':'aux-template-48.png', \n+    'com.cloudbees.hudson.plugins.modeling.impl.builder.BuilderTemplate':'builder-template-48.png',\n+    'com.cloudbees.hudson.plugins.modeling.impl.publisher.PublisherTemplate':'publish-template-48.png'\n+} ","path":"war/src/main/js/add-item.js","position":22,"original_position":22,"commit_id":"9a9b385bdb24173132a81f490ac97cd49c5a0bcb","original_commit_id":"9a9b385bdb24173132a81f490ac97cd49c5a0bcb","user":{"login":"tfennelly","id":429311,"avatar_url":"https://avatars.githubusercontent.com/u/429311?v=3","gravatar_id":"","url":"https://api.github.com/users/tfennelly","html_url":"https://github.com/tfennelly","followers_url":"https://api.github.com/users/tfennelly/followers","following_url":"https://api.github.com/users/tfennelly/following{/other_user}","gists_url":"https://api.github.com/users/tfennelly/gists{/gist_id}","starred_url":"https://api.github.com/users/tfennelly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tfennelly/subscriptions","organizations_url":"https://api.github.com/users/tfennelly/orgs","repos_url":"https://api.github.com/users/tfennelly/repos","events_url":"https://api.github.com/users/tfennelly/events{/privacy}","received_events_url":"https://api.github.com/users/tfennelly/received_events","type":"User","site_admin":false},"body":"How about putting all of this icon stuff into LESS i.e. apply them via CSS?","created_at":"2016-03-04T09:07:34Z","updated_at":"2016-03-04T09:07:34Z","html_url":"https://github.com/jenkinsci/jenkins/pull/2080#discussion_r55005620","pull_request_url":"https://api.github.com/repos/jenkinsci/jenkins/pulls/2080","_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/jenkins/pulls/comments/55005620"},"html":{"href":"https://github.com/jenkinsci/jenkins/pull/2080#discussion_r55005620"},"pull_request":{"href":"https://api.github.com/repos/jenkinsci/jenkins/pulls/2080"}}},"pull_request":{"url":"https://api.github.com/repos/jenkinsci/jenkins/pulls/2080","id":61584538,"html_url":"https://github.com/jenkinsci/jenkins/pull/2080","diff_url":"https://github.com/jenkinsci/jenkins/pull/2080.diff","patch_url":"https://github.com/jenkinsci/jenkins/pull/2080.patch","issue_url":"https://api.github.com/repos/jenkinsci/jenkins/issues/2080","number":2080,"state":"open","locked":false,"title":"2.0 add item","user":{"login":"gusreiber","id":1529676,"avatar_url":"https://avatars.githubusercontent.com/u/1529676?v=3","gravatar_id":"","url":"https://api.github.com/users/gusreiber","html_url":"https://github.com/gusreiber","followers_url":"https://api.github.com/users/gusreiber/followers","following_url":"https://api.github.com/users/gusreiber/following{/other_user}","gists_url":"https://api.github.com/users/gusreiber/gists{/gist_id}","starred_url":"https://api.github.com/users/gusreiber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gusreiber/subscriptions","organizations_url":"https://api.github.com/users/gusreiber/orgs","repos_url":"https://api.github.com/users/gusreiber/repos","events_url":"https://api.github.com/users/gusreiber/events{/privacy}","received_events_url":"https://api.github.com/users/gusreiber/received_events","type":"User","site_admin":false},"body":"IN PROGRESS\r\n\r\n...this adds icons and colors to create item screen.\r\nvideo to follow.","created_at":"2016-03-03T16:22:50Z","updated_at":"2016-03-04T09:07:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"86e8f8e8f9fc59815970e9dccdcd08774d189373","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jenkinsci/jenkins/pulls/2080/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/jenkins/pulls/2080/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/jenkins/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jenkinsci/jenkins/issues/2080/comments","statuses_url":"https://api.github.com/repos/jenkinsci/jenkins/statuses/9a9b385bdb24173132a81f490ac97cd49c5a0bcb","head":{"label":"gusreiber:2.0_add-item","ref":"2.0_add-item","sha":"9a9b385bdb24173132a81f490ac97cd49c5a0bcb","user":{"login":"gusreiber","id":1529676,"avatar_url":"https://avatars.githubusercontent.com/u/1529676?v=3","gravatar_id":"","url":"https://api.github.com/users/gusreiber","html_url":"https://github.com/gusreiber","followers_url":"https://api.github.com/users/gusreiber/followers","following_url":"https://api.github.com/users/gusreiber/following{/other_user}","gists_url":"https://api.github.com/users/gusreiber/gists{/gist_id}","starred_url":"https://api.github.com/users/gusreiber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gusreiber/subscriptions","organizations_url":"https://api.github.com/users/gusreiber/orgs","repos_url":"https://api.github.com/users/gusreiber/repos","events_url":"https://api.github.com/users/gusreiber/events{/privacy}","received_events_url":"https://api.github.com/users/gusreiber/received_events","type":"User","site_admin":false},"repo":{"id":20932547,"name":"jenkins","full_name":"gusreiber/jenkins","owner":{"login":"gusreiber","id":1529676,"avatar_url":"https://avatars.githubusercontent.com/u/1529676?v=3","gravatar_id":"","url":"https://api.github.com/users/gusreiber","html_url":"https://github.com/gusreiber","followers_url":"https://api.github.com/users/gusreiber/followers","following_url":"https://api.github.com/users/gusreiber/following{/other_user}","gists_url":"https://api.github.com/users/gusreiber/gists{/gist_id}","starred_url":"https://api.github.com/users/gusreiber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gusreiber/subscriptions","organizations_url":"https://api.github.com/users/gusreiber/orgs","repos_url":"https://api.github.com/users/gusreiber/repos","events_url":"https://api.github.com/users/gusreiber/events{/privacy}","received_events_url":"https://api.github.com/users/gusreiber/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gusreiber/jenkins","description":"Jenkins Continuous Integration Server","fork":true,"url":"https://api.github.com/repos/gusreiber/jenkins","forks_url":"https://api.github.com/repos/gusreiber/jenkins/forks","keys_url":"https://api.github.com/repos/gusreiber/jenkins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gusreiber/jenkins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gusreiber/jenkins/teams","hooks_url":"https://api.github.com/repos/gusreiber/jenkins/hooks","issue_events_url":"https://api.github.com/repos/gusreiber/jenkins/issues/events{/number}","events_url":"https://api.github.com/repos/gusreiber/jenkins/events","assignees_url":"https://api.github.com/repos/gusreiber/jenkins/assignees{/user}","branches_url":"https://api.github.com/repos/gusreiber/jenkins/branches{/branch}","tags_url":"https://api.github.com/repos/gusreiber/jenkins/tags","blobs_url":"https://api.github.com/repos/gusreiber/jenkins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gusreiber/jenkins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gusreiber/jenkins/git/refs{/sha}","trees_url":"https://api.github.com/repos/gusreiber/jenkins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gusreiber/jenkins/statuses/{sha}","languages_url":"https://api.github.com/repos/gusreiber/jenkins/languages","stargazers_url":"https://api.github.com/repos/gusreiber/jenkins/stargazers","contributors_url":"https://api.github.com/repos/gusreiber/jenkins/contributors","subscribers_url":"https://api.github.com/repos/gusreiber/jenkins/subscribers","subscription_url":"https://api.github.com/repos/gusreiber/jenkins/subscription","commits_url":"https://api.github.com/repos/gusreiber/jenkins/commits{/sha}","git_commits_url":"https://api.github.com/repos/gusreiber/jenkins/git/commits{/sha}","comments_url":"https://api.github.com/repos/gusreiber/jenkins/comments{/number}","issue_comment_url":"https://api.github.com/repos/gusreiber/jenkins/issues/comments{/number}","contents_url":"https://api.github.com/repos/gusreiber/jenkins/contents/{+path}","compare_url":"https://api.github.com/repos/gusreiber/jenkins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gusreiber/jenkins/merges","archive_url":"https://api.github.com/repos/gusreiber/jenkins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gusreiber/jenkins/downloads","issues_url":"https://api.github.com/repos/gusreiber/jenkins/issues{/number}","pulls_url":"https://api.github.com/repos/gusreiber/jenkins/pulls{/number}","milestones_url":"https://api.github.com/repos/gusreiber/jenkins/milestones{/number}","notifications_url":"https://api.github.com/repos/gusreiber/jenkins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gusreiber/jenkins/labels{/name}","releases_url":"https://api.github.com/repos/gusreiber/jenkins/releases{/id}","deployments_url":"https://api.github.com/repos/gusreiber/jenkins/deployments","created_at":"2014-06-17T17:14:13Z","updated_at":"2016-02-29T18:25:25Z","pushed_at":"2016-03-03T08:35:29Z","git_url":"git://github.com/gusreiber/jenkins.git","ssh_url":"git@github.com:gusreiber/jenkins.git","clone_url":"https://github.com/gusreiber/jenkins.git","svn_url":"https://github.com/gusreiber/jenkins","homepage":"http://jenkins-ci.org/","size":90897,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jenkinsci:2.0","ref":"2.0","sha":"a15b814d27db948f1a15e1a7cd24ed594abdaac0","user":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"repo":{"id":1103607,"name":"jenkins","full_name":"jenkinsci/jenkins","owner":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jenkinsci/jenkins","description":"Jenkins Continuous Integration Server","fork":true,"url":"https://api.github.com/repos/jenkinsci/jenkins","forks_url":"https://api.github.com/repos/jenkinsci/jenkins/forks","keys_url":"https://api.github.com/repos/jenkinsci/jenkins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/jenkins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/jenkins/teams","hooks_url":"https://api.github.com/repos/jenkinsci/jenkins/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/jenkins/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/jenkins/events","assignees_url":"https://api.github.com/repos/jenkinsci/jenkins/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/jenkins/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/jenkins/tags","blobs_url":"https://api.github.com/repos/jenkinsci/jenkins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/jenkins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/jenkins/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/jenkins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/jenkins/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/jenkins/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/jenkins/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/jenkins/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/jenkins/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/jenkins/subscription","commits_url":"https://api.github.com/repos/jenkinsci/jenkins/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/jenkins/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/jenkins/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/jenkins/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/jenkins/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/jenkins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/jenkins/merges","archive_url":"https://api.github.com/repos/jenkinsci/jenkins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/jenkins/downloads","issues_url":"https://api.github.com/repos/jenkinsci/jenkins/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/jenkins/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/jenkins/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/jenkins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/jenkins/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/jenkins/releases{/id}","deployments_url":"https://api.github.com/repos/jenkinsci/jenkins/deployments","created_at":"2010-11-22T21:21:23Z","updated_at":"2016-03-04T08:17:30Z","pushed_at":"2016-03-04T02:26:56Z","git_url":"git://github.com/jenkinsci/jenkins.git","ssh_url":"git@github.com:jenkinsci/jenkins.git","clone_url":"https://github.com/jenkinsci/jenkins.git","svn_url":"https://github.com/jenkinsci/jenkins","homepage":"http://jenkins-ci.org/","size":96267,"stargazers_count":5225,"watchers_count":5225,"language":"Java","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":2323,"mirror_url":null,"open_issues_count":145,"forks":2323,"open_issues":145,"watchers":5225,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/jenkins/pulls/2080"},"html":{"href":"https://github.com/jenkinsci/jenkins/pull/2080"},"issue":{"href":"https://api.github.com/repos/jenkinsci/jenkins/issues/2080"},"comments":{"href":"https://api.github.com/repos/jenkinsci/jenkins/issues/2080/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/jenkins/pulls/2080/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/jenkins/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/jenkins/pulls/2080/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/jenkins/statuses/9a9b385bdb24173132a81f490ac97cd49c5a0bcb"}}}}