{"action":"created","comment":{"url":"https://api.github.com/repos/zulip/zulip-electron/pulls/comments/275360042","pull_request_review_id":226644362,"id":275360042,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI3NTM2MDA0Mg==","diff_hunk":"@@ -0,0 +1,79 @@\n+'use-strict';\n+\n+const { remote, ipcRenderer } = require('electron');\n+\n+const { dialog } = remote;\n+\n+const BaseComponent = require(__dirname + '/../../components/base.js');\n+\n+class FindAccounts extends BaseComponent {\n+\tconstructor(props) {\n+\t\tsuper();\n+\t\tthis.props = props;\n+\t}\n+\n+\ttemplate() {\n+\t\treturn `\n+\t\t\t<div class=\"settings-card certificate-card\">\n+\t\t\t\t<div class=\"certificate-input\">\n+\t\t\t\t\t<div>Organization URL</div>\n+\t\t\t\t\t<input class=\"setting-input-value\" value=\"zulipchat.com\"/>","path":"app/renderer/js/pages/preference/find-accounts.js","position":20,"original_position":20,"commit_id":"ac63401f4da8924741e4231929416ccf7e0d8f0f","original_commit_id":"ac63401f4da8924741e4231929416ccf7e0d8f0f","user":{"login":"kanishk98","id":24617297,"node_id":"MDQ6VXNlcjI0NjE3Mjk3","avatar_url":"https://avatars1.githubusercontent.com/u/24617297?v=4","gravatar_id":"","url":"https://api.github.com/users/kanishk98","html_url":"https://github.com/kanishk98","followers_url":"https://api.github.com/users/kanishk98/followers","following_url":"https://api.github.com/users/kanishk98/following{/other_user}","gists_url":"https://api.github.com/users/kanishk98/gists{/gist_id}","starred_url":"https://api.github.com/users/kanishk98/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanishk98/subscriptions","organizations_url":"https://api.github.com/users/kanishk98/orgs","repos_url":"https://api.github.com/users/kanishk98/repos","events_url":"https://api.github.com/users/kanishk98/events{/privacy}","received_events_url":"https://api.github.com/users/kanishk98/received_events","type":"User","site_admin":false},"body":"From Priyank's message [here](https://github.com/zulip/zulip-electron/pull/638#discussion_r251202738), we wanted this to be pre-filled with .zulipchat.com as a value earlier, but we've since then decided to change this to zulipchat.com [here](https://github.com/zulip/zulip-electron/pull/638#discussion_r272813020). Either way, we want this to be a pre-filled value. ","created_at":"2019-04-15T13:29:44Z","updated_at":"2019-04-15T13:29:44Z","html_url":"https://github.com/zulip/zulip-electron/pull/638#discussion_r275360042","pull_request_url":"https://api.github.com/repos/zulip/zulip-electron/pulls/638","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/zulip/zulip-electron/pulls/comments/275360042"},"html":{"href":"https://github.com/zulip/zulip-electron/pull/638#discussion_r275360042"},"pull_request":{"href":"https://api.github.com/repos/zulip/zulip-electron/pulls/638"}},"in_reply_to_id":275354060},"pull_request":{"url":"https://api.github.com/repos/zulip/zulip-electron/pulls/638","id":247675009,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQ3Njc1MDA5","html_url":"https://github.com/zulip/zulip-electron/pull/638","diff_url":"https://github.com/zulip/zulip-electron/pull/638.diff","patch_url":"https://github.com/zulip/zulip-electron/pull/638.patch","issue_url":"https://api.github.com/repos/zulip/zulip-electron/issues/638","number":638,"state":"open","locked":false,"title":"Add option to find accounts by email","user":{"login":"kanishk98","id":24617297,"node_id":"MDQ6VXNlcjI0NjE3Mjk3","avatar_url":"https://avatars1.githubusercontent.com/u/24617297?v=4","gravatar_id":"","url":"https://api.github.com/users/kanishk98","html_url":"https://github.com/kanishk98","followers_url":"https://api.github.com/users/kanishk98/followers","following_url":"https://api.github.com/users/kanishk98/following{/other_user}","gists_url":"https://api.github.com/users/kanishk98/gists{/gist_id}","starred_url":"https://api.github.com/users/kanishk98/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanishk98/subscriptions","organizations_url":"https://api.github.com/users/kanishk98/orgs","repos_url":"https://api.github.com/users/kanishk98/repos","events_url":"https://api.github.com/users/kanishk98/events{/privacy}","received_events_url":"https://api.github.com/users/kanishk98/received_events","type":"User","site_admin":false},"body":"<!--\r\nRemove the fields that are not appropriate\r\nPlease include:\r\n-->\r\n\r\n**What's this PR do?**\r\n\r\nAdds option to find Zulip accounts by their associated email. \r\n\r\n**Any background context you want to provide?**\r\n\r\nThe functionality implemented uses the same API as [the current /find-accounts page](https://zulipchat.com/accounts/find). Relevant discussion may be found at https://github.com/zulip/zulip-electron/issues/600. \r\n\r\n**Screenshots?**\r\n\r\n![image](https://user-images.githubusercontent.com/24617297/51748182-9c0f1a80-20d1-11e9-8f4f-f7c6868ef150.png)\r\n\r\n**You have tested this PR on:**\r\n  - [x] Windows\r\n  - [ ] Linux/Ubuntu\r\n  - [ ] macOS\r\n","created_at":"2019-01-25T13:26:48Z","updated_at":"2019-04-15T13:29:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7900fd28eb7494860ba8a5a9f2d12fa7b4542d29","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":805493159,"node_id":"MDU6TGFiZWw4MDU0OTMxNTk=","url":"https://api.github.com/repos/zulip/zulip-electron/labels/size:%20XL","name":"size: XL","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/zulip/zulip-electron/pulls/638/commits","review_comments_url":"https://api.github.com/repos/zulip/zulip-electron/pulls/638/comments","review_comment_url":"https://api.github.com/repos/zulip/zulip-electron/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zulip/zulip-electron/issues/638/comments","statuses_url":"https://api.github.com/repos/zulip/zulip-electron/statuses/ac63401f4da8924741e4231929416ccf7e0d8f0f","head":{"label":"kanishk98:add-find-accounts","ref":"add-find-accounts","sha":"ac63401f4da8924741e4231929416ccf7e0d8f0f","user":{"login":"kanishk98","id":24617297,"node_id":"MDQ6VXNlcjI0NjE3Mjk3","avatar_url":"https://avatars1.githubusercontent.com/u/24617297?v=4","gravatar_id":"","url":"https://api.github.com/users/kanishk98","html_url":"https://github.com/kanishk98","followers_url":"https://api.github.com/users/kanishk98/followers","following_url":"https://api.github.com/users/kanishk98/following{/other_user}","gists_url":"https://api.github.com/users/kanishk98/gists{/gist_id}","starred_url":"https://api.github.com/users/kanishk98/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanishk98/subscriptions","organizations_url":"https://api.github.com/users/kanishk98/orgs","repos_url":"https://api.github.com/users/kanishk98/repos","events_url":"https://api.github.com/users/kanishk98/events{/privacy}","received_events_url":"https://api.github.com/users/kanishk98/received_events","type":"User","site_admin":false},"repo":{"id":154086251,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQwODYyNTE=","name":"zulip-electron","full_name":"kanishk98/zulip-electron","private":false,"owner":{"login":"kanishk98","id":24617297,"node_id":"MDQ6VXNlcjI0NjE3Mjk3","avatar_url":"https://avatars1.githubusercontent.com/u/24617297?v=4","gravatar_id":"","url":"https://api.github.com/users/kanishk98","html_url":"https://github.com/kanishk98","followers_url":"https://api.github.com/users/kanishk98/followers","following_url":"https://api.github.com/users/kanishk98/following{/other_user}","gists_url":"https://api.github.com/users/kanishk98/gists{/gist_id}","starred_url":"https://api.github.com/users/kanishk98/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanishk98/subscriptions","organizations_url":"https://api.github.com/users/kanishk98/orgs","repos_url":"https://api.github.com/users/kanishk98/repos","events_url":"https://api.github.com/users/kanishk98/events{/privacy}","received_events_url":"https://api.github.com/users/kanishk98/received_events","type":"User","site_admin":false},"html_url":"https://github.com/kanishk98/zulip-electron","description":"Zulip Desktop Client","fork":true,"url":"https://api.github.com/repos/kanishk98/zulip-electron","forks_url":"https://api.github.com/repos/kanishk98/zulip-electron/forks","keys_url":"https://api.github.com/repos/kanishk98/zulip-electron/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kanishk98/zulip-electron/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kanishk98/zulip-electron/teams","hooks_url":"https://api.github.com/repos/kanishk98/zulip-electron/hooks","issue_events_url":"https://api.github.com/repos/kanishk98/zulip-electron/issues/events{/number}","events_url":"https://api.github.com/repos/kanishk98/zulip-electron/events","assignees_url":"https://api.github.com/repos/kanishk98/zulip-electron/assignees{/user}","branches_url":"https://api.github.com/repos/kanishk98/zulip-electron/branches{/branch}","tags_url":"https://api.github.com/repos/kanishk98/zulip-electron/tags","blobs_url":"https://api.github.com/repos/kanishk98/zulip-electron/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kanishk98/zulip-electron/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kanishk98/zulip-electron/git/refs{/sha}","trees_url":"https://api.github.com/repos/kanishk98/zulip-electron/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kanishk98/zulip-electron/statuses/{sha}","languages_url":"https://api.github.com/repos/kanishk98/zulip-electron/languages","stargazers_url":"https://api.github.com/repos/kanishk98/zulip-electron/stargazers","contributors_url":"https://api.github.com/repos/kanishk98/zulip-electron/contributors","subscribers_url":"https://api.github.com/repos/kanishk98/zulip-electron/subscribers","subscription_url":"https://api.github.com/repos/kanishk98/zulip-electron/subscription","commits_url":"https://api.github.com/repos/kanishk98/zulip-electron/commits{/sha}","git_commits_url":"https://api.github.com/repos/kanishk98/zulip-electron/git/commits{/sha}","comments_url":"https://api.github.com/repos/kanishk98/zulip-electron/comments{/number}","issue_comment_url":"https://api.github.com/repos/kanishk98/zulip-electron/issues/comments{/number}","contents_url":"https://api.github.com/repos/kanishk98/zulip-electron/contents/{+path}","compare_url":"https://api.github.com/repos/kanishk98/zulip-electron/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kanishk98/zulip-electron/merges","archive_url":"https://api.github.com/repos/kanishk98/zulip-electron/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kanishk98/zulip-electron/downloads","issues_url":"https://api.github.com/repos/kanishk98/zulip-electron/issues{/number}","pulls_url":"https://api.github.com/repos/kanishk98/zulip-electron/pulls{/number}","milestones_url":"https://api.github.com/repos/kanishk98/zulip-electron/milestones{/number}","notifications_url":"https://api.github.com/repos/kanishk98/zulip-electron/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kanishk98/zulip-electron/labels{/name}","releases_url":"https://api.github.com/repos/kanishk98/zulip-electron/releases{/id}","deployments_url":"https://api.github.com/repos/kanishk98/zulip-electron/deployments","created_at":"2018-10-22T04:15:04Z","updated_at":"2019-04-12T19:59:16Z","pushed_at":"2019-04-15T08:00:36Z","git_url":"git://github.com/kanishk98/zulip-electron.git","ssh_url":"git@github.com:kanishk98/zulip-electron.git","clone_url":"https://github.com/kanishk98/zulip-electron.git","svn_url":"https://github.com/kanishk98/zulip-electron","homepage":"https://zulipchat.com/apps","size":2681,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"zulip:master","ref":"master","sha":"8e8de212d808bc094b3d0a976e30f3020f89f418","user":{"login":"zulip","id":4921959,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ5MjE5NTk=","avatar_url":"https://avatars2.githubusercontent.com/u/4921959?v=4","gravatar_id":"","url":"https://api.github.com/users/zulip","html_url":"https://github.com/zulip","followers_url":"https://api.github.com/users/zulip/followers","following_url":"https://api.github.com/users/zulip/following{/other_user}","gists_url":"https://api.github.com/users/zulip/gists{/gist_id}","starred_url":"https://api.github.com/users/zulip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zulip/subscriptions","organizations_url":"https://api.github.com/users/zulip/orgs","repos_url":"https://api.github.com/users/zulip/repos","events_url":"https://api.github.com/users/zulip/events{/privacy}","received_events_url":"https://api.github.com/users/zulip/received_events","type":"Organization","site_admin":false},"repo":{"id":60656871,"node_id":"MDEwOlJlcG9zaXRvcnk2MDY1Njg3MQ==","name":"zulip-electron","full_name":"zulip/zulip-electron","private":false,"owner":{"login":"zulip","id":4921959,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ5MjE5NTk=","avatar_url":"https://avatars2.githubusercontent.com/u/4921959?v=4","gravatar_id":"","url":"https://api.github.com/users/zulip","html_url":"https://github.com/zulip","followers_url":"https://api.github.com/users/zulip/followers","following_url":"https://api.github.com/users/zulip/following{/other_user}","gists_url":"https://api.github.com/users/zulip/gists{/gist_id}","starred_url":"https://api.github.com/users/zulip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zulip/subscriptions","organizations_url":"https://api.github.com/users/zulip/orgs","repos_url":"https://api.github.com/users/zulip/repos","events_url":"https://api.github.com/users/zulip/events{/privacy}","received_events_url":"https://api.github.com/users/zulip/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/zulip/zulip-electron","description":"Zulip Desktop Client","fork":false,"url":"https://api.github.com/repos/zulip/zulip-electron","forks_url":"https://api.github.com/repos/zulip/zulip-electron/forks","keys_url":"https://api.github.com/repos/zulip/zulip-electron/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zulip/zulip-electron/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zulip/zulip-electron/teams","hooks_url":"https://api.github.com/repos/zulip/zulip-electron/hooks","issue_events_url":"https://api.github.com/repos/zulip/zulip-electron/issues/events{/number}","events_url":"https://api.github.com/repos/zulip/zulip-electron/events","assignees_url":"https://api.github.com/repos/zulip/zulip-electron/assignees{/user}","branches_url":"https://api.github.com/repos/zulip/zulip-electron/branches{/branch}","tags_url":"https://api.github.com/repos/zulip/zulip-electron/tags","blobs_url":"https://api.github.com/repos/zulip/zulip-electron/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zulip/zulip-electron/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zulip/zulip-electron/git/refs{/sha}","trees_url":"https://api.github.com/repos/zulip/zulip-electron/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zulip/zulip-electron/statuses/{sha}","languages_url":"https://api.github.com/repos/zulip/zulip-electron/languages","stargazers_url":"https://api.github.com/repos/zulip/zulip-electron/stargazers","contributors_url":"https://api.github.com/repos/zulip/zulip-electron/contributors","subscribers_url":"https://api.github.com/repos/zulip/zulip-electron/subscribers","subscription_url":"https://api.github.com/repos/zulip/zulip-electron/subscription","commits_url":"https://api.github.com/repos/zulip/zulip-electron/commits{/sha}","git_commits_url":"https://api.github.com/repos/zulip/zulip-electron/git/commits{/sha}","comments_url":"https://api.github.com/repos/zulip/zulip-electron/comments{/number}","issue_comment_url":"https://api.github.com/repos/zulip/zulip-electron/issues/comments{/number}","contents_url":"https://api.github.com/repos/zulip/zulip-electron/contents/{+path}","compare_url":"https://api.github.com/repos/zulip/zulip-electron/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zulip/zulip-electron/merges","archive_url":"https://api.github.com/repos/zulip/zulip-electron/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zulip/zulip-electron/downloads","issues_url":"https://api.github.com/repos/zulip/zulip-electron/issues{/number}","pulls_url":"https://api.github.com/repos/zulip/zulip-electron/pulls{/number}","milestones_url":"https://api.github.com/repos/zulip/zulip-electron/milestones{/number}","notifications_url":"https://api.github.com/repos/zulip/zulip-electron/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zulip/zulip-electron/labels{/name}","releases_url":"https://api.github.com/repos/zulip/zulip-electron/releases{/id}","deployments_url":"https://api.github.com/repos/zulip/zulip-electron/deployments","created_at":"2016-06-08T00:48:28Z","updated_at":"2019-04-15T11:24:09Z","pushed_at":"2019-04-15T11:24:03Z","git_url":"git://github.com/zulip/zulip-electron.git","ssh_url":"git@github.com:zulip/zulip-electron.git","clone_url":"https://github.com/zulip/zulip-electron.git","svn_url":"https://github.com/zulip/zulip-electron","homepage":"https://zulipchat.com/apps","size":2639,"stargazers_count":372,"watchers_count":372,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":187,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":107,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":187,"open_issues":107,"watchers":372,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zulip/zulip-electron/pulls/638"},"html":{"href":"https://github.com/zulip/zulip-electron/pull/638"},"issue":{"href":"https://api.github.com/repos/zulip/zulip-electron/issues/638"},"comments":{"href":"https://api.github.com/repos/zulip/zulip-electron/issues/638/comments"},"review_comments":{"href":"https://api.github.com/repos/zulip/zulip-electron/pulls/638/comments"},"review_comment":{"href":"https://api.github.com/repos/zulip/zulip-electron/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zulip/zulip-electron/pulls/638/commits"},"statuses":{"href":"https://api.github.com/repos/zulip/zulip-electron/statuses/ac63401f4da8924741e4231929416ccf7e0d8f0f"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"kanishk98"}}