{"action":"created","comment":{"url":"https://api.github.com/repos/StarcounterSamples/People/pulls/comments/76950442","id":76950442,"diff_hunk":"@@ -0,0 +1,51 @@\n+﻿<link rel=\"import\" href=\"/sys/juicy-select-gh-pages/juicy-select.html\" />\n+<link rel=\"import\" href=\"/sys/vaadin-combo-box/vaadin-combo-box.html\">\n+\n+<template>\n+    <template is=\"dom-bind\">\n+        <style>\n+            .people-custom-element__dropdown {\n+                display: inline-block;\n+            }\n+        </style>\n+\n+        <vaadin-combo-box on-custom-value-set=\"\"\n+                          allow-custom-value=\"true\"\n+                          label=\"Custom Type\"\n+                          class=\"people-custom-element__dropdown\"\n+                          slot=\"People/custom-type\"\n+                          items=\"{{model.CustomContactInfoRelationTypes}}\"\n+                          value=\"{{model.SelectedType$::change}}\"\n+                          item-label-path=\"Name\" item-value-path=\"Name\"></vaadin-combo-box>\n+\n+        <starcounter-include slot=\"People/custom-content\" partial=\"{{model.CustomContactInfo}}\"></starcounter-include>\n+        <button slot=\"People/custom-delete\" type=\"button\" class=\"btn btn-default btn-xs\" onclick=\"++this.value;\" value=\"{{model.Delete$::click}}\">Delete</button>\n+        <script>\n+            (function () {\n+                var script = document._currentScript || document.currentScript;\n+                var template = script.previousElementSibling;\n+            })();\n+        </script>","path":"src/People/wwwroot/People/viewmodels/CustomContactInfoRelationPage.html","position":28,"original_position":28,"commit_id":"a3122cfb840eaf87dc29379f57764f61b292f548","original_commit_id":"a3122cfb840eaf87dc29379f57764f61b292f548","user":{"login":"warpech","id":566463,"avatar_url":"https://avatars.githubusercontent.com/u/566463?v=3","gravatar_id":"","url":"https://api.github.com/users/warpech","html_url":"https://github.com/warpech","followers_url":"https://api.github.com/users/warpech/followers","following_url":"https://api.github.com/users/warpech/following{/other_user}","gists_url":"https://api.github.com/users/warpech/gists{/gist_id}","starred_url":"https://api.github.com/users/warpech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/warpech/subscriptions","organizations_url":"https://api.github.com/users/warpech/orgs","repos_url":"https://api.github.com/users/warpech/repos","events_url":"https://api.github.com/users/warpech/events{/privacy}","received_events_url":"https://api.github.com/users/warpech/received_events","type":"User","site_admin":false},"body":"The above script is pointless, isn't it? Better to remove it.","created_at":"2016-08-31T09:07:28Z","updated_at":"2016-08-31T09:07:28Z","html_url":"https://github.com/StarcounterSamples/People/pull/40#discussion_r76950442","pull_request_url":"https://api.github.com/repos/StarcounterSamples/People/pulls/40","_links":{"self":{"href":"https://api.github.com/repos/StarcounterSamples/People/pulls/comments/76950442"},"html":{"href":"https://github.com/StarcounterSamples/People/pull/40#discussion_r76950442"},"pull_request":{"href":"https://api.github.com/repos/StarcounterSamples/People/pulls/40"}}},"pull_request":{"url":"https://api.github.com/repos/StarcounterSamples/People/pulls/40","id":83082870,"html_url":"https://github.com/StarcounterSamples/People/pull/40","diff_url":"https://github.com/StarcounterSamples/People/pull/40.diff","patch_url":"https://github.com/StarcounterSamples/People/pull/40.patch","issue_url":"https://api.github.com/repos/StarcounterSamples/People/issues/40","number":40,"state":"open","locked":false,"title":"Feature people improvements","user":{"login":"Joltrix","id":10708580,"avatar_url":"https://avatars.githubusercontent.com/u/10708580?v=3","gravatar_id":"","url":"https://api.github.com/users/Joltrix","html_url":"https://github.com/Joltrix","followers_url":"https://api.github.com/users/Joltrix/followers","following_url":"https://api.github.com/users/Joltrix/following{/other_user}","gists_url":"https://api.github.com/users/Joltrix/gists{/gist_id}","starred_url":"https://api.github.com/users/Joltrix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Joltrix/subscriptions","organizations_url":"https://api.github.com/users/Joltrix/orgs","repos_url":"https://api.github.com/users/Joltrix/repos","events_url":"https://api.github.com/users/Joltrix/events{/privacy}","received_events_url":"https://api.github.com/users/Joltrix/received_events","type":"User","site_admin":false},"body":"Implementation of #33 \r\n\r\nI have used vaadin combobox for the addition of new custom types\r\n\r\nTypes can be removed by using the \"remove type\" button, until the removal is based on if types are being used by custom elements or not","created_at":"2016-08-29T11:19:36Z","updated_at":"2016-08-31T09:07:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"702c92944dc09c12c07003c5332cd204b3ed003f","assignee":{"login":"warpech","id":566463,"avatar_url":"https://avatars.githubusercontent.com/u/566463?v=3","gravatar_id":"","url":"https://api.github.com/users/warpech","html_url":"https://github.com/warpech","followers_url":"https://api.github.com/users/warpech/followers","following_url":"https://api.github.com/users/warpech/following{/other_user}","gists_url":"https://api.github.com/users/warpech/gists{/gist_id}","starred_url":"https://api.github.com/users/warpech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/warpech/subscriptions","organizations_url":"https://api.github.com/users/warpech/orgs","repos_url":"https://api.github.com/users/warpech/repos","events_url":"https://api.github.com/users/warpech/events{/privacy}","received_events_url":"https://api.github.com/users/warpech/received_events","type":"User","site_admin":false},"assignees":[{"login":"warpech","id":566463,"avatar_url":"https://avatars.githubusercontent.com/u/566463?v=3","gravatar_id":"","url":"https://api.github.com/users/warpech","html_url":"https://github.com/warpech","followers_url":"https://api.github.com/users/warpech/followers","following_url":"https://api.github.com/users/warpech/following{/other_user}","gists_url":"https://api.github.com/users/warpech/gists{/gist_id}","starred_url":"https://api.github.com/users/warpech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/warpech/subscriptions","organizations_url":"https://api.github.com/users/warpech/orgs","repos_url":"https://api.github.com/users/warpech/repos","events_url":"https://api.github.com/users/warpech/events{/privacy}","received_events_url":"https://api.github.com/users/warpech/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/StarcounterSamples/People/pulls/40/commits","review_comments_url":"https://api.github.com/repos/StarcounterSamples/People/pulls/40/comments","review_comment_url":"https://api.github.com/repos/StarcounterSamples/People/pulls/comments{/number}","comments_url":"https://api.github.com/repos/StarcounterSamples/People/issues/40/comments","statuses_url":"https://api.github.com/repos/StarcounterSamples/People/statuses/a3122cfb840eaf87dc29379f57764f61b292f548","head":{"label":"StarcounterSamples:feature/people-improvements","ref":"feature/people-improvements","sha":"a3122cfb840eaf87dc29379f57764f61b292f548","user":{"login":"StarcounterSamples","id":1219062,"avatar_url":"https://avatars.githubusercontent.com/u/1219062?v=3","gravatar_id":"","url":"https://api.github.com/users/StarcounterSamples","html_url":"https://github.com/StarcounterSamples","followers_url":"https://api.github.com/users/StarcounterSamples/followers","following_url":"https://api.github.com/users/StarcounterSamples/following{/other_user}","gists_url":"https://api.github.com/users/StarcounterSamples/gists{/gist_id}","starred_url":"https://api.github.com/users/StarcounterSamples/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StarcounterSamples/subscriptions","organizations_url":"https://api.github.com/users/StarcounterSamples/orgs","repos_url":"https://api.github.com/users/StarcounterSamples/repos","events_url":"https://api.github.com/users/StarcounterSamples/events{/privacy}","received_events_url":"https://api.github.com/users/StarcounterSamples/received_events","type":"Organization","site_admin":false},"repo":{"id":24393992,"name":"People","full_name":"StarcounterSamples/People","owner":{"login":"StarcounterSamples","id":1219062,"avatar_url":"https://avatars.githubusercontent.com/u/1219062?v=3","gravatar_id":"","url":"https://api.github.com/users/StarcounterSamples","html_url":"https://github.com/StarcounterSamples","followers_url":"https://api.github.com/users/StarcounterSamples/followers","following_url":"https://api.github.com/users/StarcounterSamples/following{/other_user}","gists_url":"https://api.github.com/users/StarcounterSamples/gists{/gist_id}","starred_url":"https://api.github.com/users/StarcounterSamples/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StarcounterSamples/subscriptions","organizations_url":"https://api.github.com/users/StarcounterSamples/orgs","repos_url":"https://api.github.com/users/StarcounterSamples/repos","events_url":"https://api.github.com/users/StarcounterSamples/events{/privacy}","received_events_url":"https://api.github.com/users/StarcounterSamples/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/StarcounterSamples/People","description":"Sample address book. Manage contact information and define relations between people and organizations.","fork":false,"url":"https://api.github.com/repos/StarcounterSamples/People","forks_url":"https://api.github.com/repos/StarcounterSamples/People/forks","keys_url":"https://api.github.com/repos/StarcounterSamples/People/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StarcounterSamples/People/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StarcounterSamples/People/teams","hooks_url":"https://api.github.com/repos/StarcounterSamples/People/hooks","issue_events_url":"https://api.github.com/repos/StarcounterSamples/People/issues/events{/number}","events_url":"https://api.github.com/repos/StarcounterSamples/People/events","assignees_url":"https://api.github.com/repos/StarcounterSamples/People/assignees{/user}","branches_url":"https://api.github.com/repos/StarcounterSamples/People/branches{/branch}","tags_url":"https://api.github.com/repos/StarcounterSamples/People/tags","blobs_url":"https://api.github.com/repos/StarcounterSamples/People/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StarcounterSamples/People/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StarcounterSamples/People/git/refs{/sha}","trees_url":"https://api.github.com/repos/StarcounterSamples/People/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StarcounterSamples/People/statuses/{sha}","languages_url":"https://api.github.com/repos/StarcounterSamples/People/languages","stargazers_url":"https://api.github.com/repos/StarcounterSamples/People/stargazers","contributors_url":"https://api.github.com/repos/StarcounterSamples/People/contributors","subscribers_url":"https://api.github.com/repos/StarcounterSamples/People/subscribers","subscription_url":"https://api.github.com/repos/StarcounterSamples/People/subscription","commits_url":"https://api.github.com/repos/StarcounterSamples/People/commits{/sha}","git_commits_url":"https://api.github.com/repos/StarcounterSamples/People/git/commits{/sha}","comments_url":"https://api.github.com/repos/StarcounterSamples/People/comments{/number}","issue_comment_url":"https://api.github.com/repos/StarcounterSamples/People/issues/comments{/number}","contents_url":"https://api.github.com/repos/StarcounterSamples/People/contents/{+path}","compare_url":"https://api.github.com/repos/StarcounterSamples/People/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StarcounterSamples/People/merges","archive_url":"https://api.github.com/repos/StarcounterSamples/People/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StarcounterSamples/People/downloads","issues_url":"https://api.github.com/repos/StarcounterSamples/People/issues{/number}","pulls_url":"https://api.github.com/repos/StarcounterSamples/People/pulls{/number}","milestones_url":"https://api.github.com/repos/StarcounterSamples/People/milestones{/number}","notifications_url":"https://api.github.com/repos/StarcounterSamples/People/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StarcounterSamples/People/labels{/name}","releases_url":"https://api.github.com/repos/StarcounterSamples/People/releases{/id}","deployments_url":"https://api.github.com/repos/StarcounterSamples/People/deployments","created_at":"2014-09-24T00:01:54Z","updated_at":"2016-01-18T09:55:48Z","pushed_at":"2016-08-31T08:03:56Z","git_url":"git://github.com/StarcounterSamples/People.git","ssh_url":"git@github.com:StarcounterSamples/People.git","clone_url":"https://github.com/StarcounterSamples/People.git","svn_url":"https://github.com/StarcounterSamples/People","homepage":"","size":12553,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":7,"forks":1,"open_issues":7,"watchers":0,"default_branch":"master"}},"base":{"label":"StarcounterSamples:develop","ref":"develop","sha":"9e5dae84b08c80c463b0bfa2c87ae5a1e1a12b22","user":{"login":"StarcounterSamples","id":1219062,"avatar_url":"https://avatars.githubusercontent.com/u/1219062?v=3","gravatar_id":"","url":"https://api.github.com/users/StarcounterSamples","html_url":"https://github.com/StarcounterSamples","followers_url":"https://api.github.com/users/StarcounterSamples/followers","following_url":"https://api.github.com/users/StarcounterSamples/following{/other_user}","gists_url":"https://api.github.com/users/StarcounterSamples/gists{/gist_id}","starred_url":"https://api.github.com/users/StarcounterSamples/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StarcounterSamples/subscriptions","organizations_url":"https://api.github.com/users/StarcounterSamples/orgs","repos_url":"https://api.github.com/users/StarcounterSamples/repos","events_url":"https://api.github.com/users/StarcounterSamples/events{/privacy}","received_events_url":"https://api.github.com/users/StarcounterSamples/received_events","type":"Organization","site_admin":false},"repo":{"id":24393992,"name":"People","full_name":"StarcounterSamples/People","owner":{"login":"StarcounterSamples","id":1219062,"avatar_url":"https://avatars.githubusercontent.com/u/1219062?v=3","gravatar_id":"","url":"https://api.github.com/users/StarcounterSamples","html_url":"https://github.com/StarcounterSamples","followers_url":"https://api.github.com/users/StarcounterSamples/followers","following_url":"https://api.github.com/users/StarcounterSamples/following{/other_user}","gists_url":"https://api.github.com/users/StarcounterSamples/gists{/gist_id}","starred_url":"https://api.github.com/users/StarcounterSamples/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StarcounterSamples/subscriptions","organizations_url":"https://api.github.com/users/StarcounterSamples/orgs","repos_url":"https://api.github.com/users/StarcounterSamples/repos","events_url":"https://api.github.com/users/StarcounterSamples/events{/privacy}","received_events_url":"https://api.github.com/users/StarcounterSamples/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/StarcounterSamples/People","description":"Sample address book. Manage contact information and define relations between people and organizations.","fork":false,"url":"https://api.github.com/repos/StarcounterSamples/People","forks_url":"https://api.github.com/repos/StarcounterSamples/People/forks","keys_url":"https://api.github.com/repos/StarcounterSamples/People/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StarcounterSamples/People/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StarcounterSamples/People/teams","hooks_url":"https://api.github.com/repos/StarcounterSamples/People/hooks","issue_events_url":"https://api.github.com/repos/StarcounterSamples/People/issues/events{/number}","events_url":"https://api.github.com/repos/StarcounterSamples/People/events","assignees_url":"https://api.github.com/repos/StarcounterSamples/People/assignees{/user}","branches_url":"https://api.github.com/repos/StarcounterSamples/People/branches{/branch}","tags_url":"https://api.github.com/repos/StarcounterSamples/People/tags","blobs_url":"https://api.github.com/repos/StarcounterSamples/People/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StarcounterSamples/People/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StarcounterSamples/People/git/refs{/sha}","trees_url":"https://api.github.com/repos/StarcounterSamples/People/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StarcounterSamples/People/statuses/{sha}","languages_url":"https://api.github.com/repos/StarcounterSamples/People/languages","stargazers_url":"https://api.github.com/repos/StarcounterSamples/People/stargazers","contributors_url":"https://api.github.com/repos/StarcounterSamples/People/contributors","subscribers_url":"https://api.github.com/repos/StarcounterSamples/People/subscribers","subscription_url":"https://api.github.com/repos/StarcounterSamples/People/subscription","commits_url":"https://api.github.com/repos/StarcounterSamples/People/commits{/sha}","git_commits_url":"https://api.github.com/repos/StarcounterSamples/People/git/commits{/sha}","comments_url":"https://api.github.com/repos/StarcounterSamples/People/comments{/number}","issue_comment_url":"https://api.github.com/repos/StarcounterSamples/People/issues/comments{/number}","contents_url":"https://api.github.com/repos/StarcounterSamples/People/contents/{+path}","compare_url":"https://api.github.com/repos/StarcounterSamples/People/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StarcounterSamples/People/merges","archive_url":"https://api.github.com/repos/StarcounterSamples/People/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StarcounterSamples/People/downloads","issues_url":"https://api.github.com/repos/StarcounterSamples/People/issues{/number}","pulls_url":"https://api.github.com/repos/StarcounterSamples/People/pulls{/number}","milestones_url":"https://api.github.com/repos/StarcounterSamples/People/milestones{/number}","notifications_url":"https://api.github.com/repos/StarcounterSamples/People/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StarcounterSamples/People/labels{/name}","releases_url":"https://api.github.com/repos/StarcounterSamples/People/releases{/id}","deployments_url":"https://api.github.com/repos/StarcounterSamples/People/deployments","created_at":"2014-09-24T00:01:54Z","updated_at":"2016-01-18T09:55:48Z","pushed_at":"2016-08-31T08:03:56Z","git_url":"git://github.com/StarcounterSamples/People.git","ssh_url":"git@github.com:StarcounterSamples/People.git","clone_url":"https://github.com/StarcounterSamples/People.git","svn_url":"https://github.com/StarcounterSamples/People","homepage":"","size":12553,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":7,"forks":1,"open_issues":7,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/StarcounterSamples/People/pulls/40"},"html":{"href":"https://github.com/StarcounterSamples/People/pull/40"},"issue":{"href":"https://api.github.com/repos/StarcounterSamples/People/issues/40"},"comments":{"href":"https://api.github.com/repos/StarcounterSamples/People/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/StarcounterSamples/People/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/StarcounterSamples/People/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/StarcounterSamples/People/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/StarcounterSamples/People/statuses/a3122cfb840eaf87dc29379f57764f61b292f548"}}}}
{"actor":{"display_login":"warpech"}}