{"action":"created","comment":{"url":"https://api.github.com/repos/taskcluster/taskcluster-web/pulls/comments/225628865","pull_request_review_id":165267836,"id":225628865,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNTYyODg2NQ==","diff_hunk":"@@ -31,9 +36,28 @@ import clientsQuery from './clients.graphql';\n }))\n export default class ViewWorker extends PureComponent {\n   state = {\n-    clientSearch: '',\n+    clientSearch: this.props.user ? this.props.user.credentials.clientId : '',\n+    clientId: this.props.user ? this.props.user.credentials.clientId : '',","path":"src/views/Clients/ViewClients/index.jsx","position":24,"original_position":24,"commit_id":"4b34045767e0ac20de5802aa40300c4266883c43","original_commit_id":"4b34045767e0ac20de5802aa40300c4266883c43","user":{"login":"helfi92","id":3766511,"node_id":"MDQ6VXNlcjM3NjY1MTE=","avatar_url":"https://avatars0.githubusercontent.com/u/3766511?v=4","gravatar_id":"","url":"https://api.github.com/users/helfi92","html_url":"https://github.com/helfi92","followers_url":"https://api.github.com/users/helfi92/followers","following_url":"https://api.github.com/users/helfi92/following{/other_user}","gists_url":"https://api.github.com/users/helfi92/gists{/gist_id}","starred_url":"https://api.github.com/users/helfi92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helfi92/subscriptions","organizations_url":"https://api.github.com/users/helfi92/orgs","repos_url":"https://api.github.com/users/helfi92/repos","events_url":"https://api.github.com/users/helfi92/events{/privacy}","received_events_url":"https://api.github.com/users/helfi92/received_events","type":"User","site_admin":false},"body":"Rename to `clientId` to `previousClientId` otherwise it can be difficult to differentiate between `state.clientId` and `props.users.credentials.clientId`.","created_at":"2018-10-16T17:09:29Z","updated_at":"2018-10-16T17:10:30Z","html_url":"https://github.com/taskcluster/taskcluster-web/pull/160#discussion_r225628865","pull_request_url":"https://api.github.com/repos/taskcluster/taskcluster-web/pulls/160","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/taskcluster/taskcluster-web/pulls/comments/225628865"},"html":{"href":"https://github.com/taskcluster/taskcluster-web/pull/160#discussion_r225628865"},"pull_request":{"href":"https://api.github.com/repos/taskcluster/taskcluster-web/pulls/160"}}},"pull_request":{"url":"https://api.github.com/repos/taskcluster/taskcluster-web/pulls/160","id":222537836,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyNTM3ODM2","html_url":"https://github.com/taskcluster/taskcluster-web/pull/160","diff_url":"https://github.com/taskcluster/taskcluster-web/pull/160.diff","patch_url":"https://github.com/taskcluster/taskcluster-web/pull/160.patch","issue_url":"https://api.github.com/repos/taskcluster/taskcluster-web/issues/160","number":160,"state":"open","locked":false,"title":"Add client view initial search content #158","user":{"login":"projectyang","id":13473834,"node_id":"MDQ6VXNlcjEzNDczODM0","avatar_url":"https://avatars3.githubusercontent.com/u/13473834?v=4","gravatar_id":"","url":"https://api.github.com/users/projectyang","html_url":"https://github.com/projectyang","followers_url":"https://api.github.com/users/projectyang/followers","following_url":"https://api.github.com/users/projectyang/following{/other_user}","gists_url":"https://api.github.com/users/projectyang/gists{/gist_id}","starred_url":"https://api.github.com/users/projectyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectyang/subscriptions","organizations_url":"https://api.github.com/users/projectyang/orgs","repos_url":"https://api.github.com/users/projectyang/repos","events_url":"https://api.github.com/users/projectyang/events{/privacy}","received_events_url":"https://api.github.com/users/projectyang/received_events","type":"User","site_admin":false},"body":"Set client id as default search in Clients view\r\n\r\nClients table will now show filtered results by client id as default.\r\n\r\nFixes #158, however users are now unable to retrieve a 'full' default clients view (e.g. expected search query with '' to retrieve full list of clients does not work) ","created_at":"2018-10-12T17:40:24Z","updated_at":"2018-10-16T17:10:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3ff7bf07fe3bbe444280b6d6f52ac9849bbb1357","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/taskcluster/taskcluster-web/pulls/160/commits","review_comments_url":"https://api.github.com/repos/taskcluster/taskcluster-web/pulls/160/comments","review_comment_url":"https://api.github.com/repos/taskcluster/taskcluster-web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/taskcluster/taskcluster-web/issues/160/comments","statuses_url":"https://api.github.com/repos/taskcluster/taskcluster-web/statuses/4b34045767e0ac20de5802aa40300c4266883c43","head":{"label":"projectyang:AddInitialClientsSearch","ref":"AddInitialClientsSearch","sha":"4b34045767e0ac20de5802aa40300c4266883c43","user":{"login":"projectyang","id":13473834,"node_id":"MDQ6VXNlcjEzNDczODM0","avatar_url":"https://avatars3.githubusercontent.com/u/13473834?v=4","gravatar_id":"","url":"https://api.github.com/users/projectyang","html_url":"https://github.com/projectyang","followers_url":"https://api.github.com/users/projectyang/followers","following_url":"https://api.github.com/users/projectyang/following{/other_user}","gists_url":"https://api.github.com/users/projectyang/gists{/gist_id}","starred_url":"https://api.github.com/users/projectyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectyang/subscriptions","organizations_url":"https://api.github.com/users/projectyang/orgs","repos_url":"https://api.github.com/users/projectyang/repos","events_url":"https://api.github.com/users/projectyang/events{/privacy}","received_events_url":"https://api.github.com/users/projectyang/received_events","type":"User","site_admin":false},"repo":{"id":152764871,"node_id":"MDEwOlJlcG9zaXRvcnkxNTI3NjQ4NzE=","name":"taskcluster-web","full_name":"projectyang/taskcluster-web","private":false,"owner":{"login":"projectyang","id":13473834,"node_id":"MDQ6VXNlcjEzNDczODM0","avatar_url":"https://avatars3.githubusercontent.com/u/13473834?v=4","gravatar_id":"","url":"https://api.github.com/users/projectyang","html_url":"https://github.com/projectyang","followers_url":"https://api.github.com/users/projectyang/followers","following_url":"https://api.github.com/users/projectyang/following{/other_user}","gists_url":"https://api.github.com/users/projectyang/gists{/gist_id}","starred_url":"https://api.github.com/users/projectyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectyang/subscriptions","organizations_url":"https://api.github.com/users/projectyang/orgs","repos_url":"https://api.github.com/users/projectyang/repos","events_url":"https://api.github.com/users/projectyang/events{/privacy}","received_events_url":"https://api.github.com/users/projectyang/received_events","type":"User","site_admin":false},"html_url":"https://github.com/projectyang/taskcluster-web","description":"The web UI for interacting with Taskcluster services","fork":true,"url":"https://api.github.com/repos/projectyang/taskcluster-web","forks_url":"https://api.github.com/repos/projectyang/taskcluster-web/forks","keys_url":"https://api.github.com/repos/projectyang/taskcluster-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projectyang/taskcluster-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projectyang/taskcluster-web/teams","hooks_url":"https://api.github.com/repos/projectyang/taskcluster-web/hooks","issue_events_url":"https://api.github.com/repos/projectyang/taskcluster-web/issues/events{/number}","events_url":"https://api.github.com/repos/projectyang/taskcluster-web/events","assignees_url":"https://api.github.com/repos/projectyang/taskcluster-web/assignees{/user}","branches_url":"https://api.github.com/repos/projectyang/taskcluster-web/branches{/branch}","tags_url":"https://api.github.com/repos/projectyang/taskcluster-web/tags","blobs_url":"https://api.github.com/repos/projectyang/taskcluster-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projectyang/taskcluster-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projectyang/taskcluster-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/projectyang/taskcluster-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projectyang/taskcluster-web/statuses/{sha}","languages_url":"https://api.github.com/repos/projectyang/taskcluster-web/languages","stargazers_url":"https://api.github.com/repos/projectyang/taskcluster-web/stargazers","contributors_url":"https://api.github.com/repos/projectyang/taskcluster-web/contributors","subscribers_url":"https://api.github.com/repos/projectyang/taskcluster-web/subscribers","subscription_url":"https://api.github.com/repos/projectyang/taskcluster-web/subscription","commits_url":"https://api.github.com/repos/projectyang/taskcluster-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/projectyang/taskcluster-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/projectyang/taskcluster-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/projectyang/taskcluster-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/projectyang/taskcluster-web/contents/{+path}","compare_url":"https://api.github.com/repos/projectyang/taskcluster-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projectyang/taskcluster-web/merges","archive_url":"https://api.github.com/repos/projectyang/taskcluster-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projectyang/taskcluster-web/downloads","issues_url":"https://api.github.com/repos/projectyang/taskcluster-web/issues{/number}","pulls_url":"https://api.github.com/repos/projectyang/taskcluster-web/pulls{/number}","milestones_url":"https://api.github.com/repos/projectyang/taskcluster-web/milestones{/number}","notifications_url":"https://api.github.com/repos/projectyang/taskcluster-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projectyang/taskcluster-web/labels{/name}","releases_url":"https://api.github.com/repos/projectyang/taskcluster-web/releases{/id}","deployments_url":"https://api.github.com/repos/projectyang/taskcluster-web/deployments","created_at":"2018-10-12T14:44:44Z","updated_at":"2018-10-12T14:44:47Z","pushed_at":"2018-10-15T20:24:28Z","git_url":"git://github.com/projectyang/taskcluster-web.git","ssh_url":"git@github.com:projectyang/taskcluster-web.git","clone_url":"https://github.com/projectyang/taskcluster-web.git","svn_url":"https://github.com/projectyang/taskcluster-web","homepage":"https://taskcluster-web-styleguide.netlify.com/","size":1000,"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,"open_issues_count":0,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"taskcluster:master","ref":"master","sha":"50e51971f2f82c3f7188e57778bf602f6b6fb918","user":{"login":"taskcluster","id":6257436,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyNTc0MzY=","avatar_url":"https://avatars2.githubusercontent.com/u/6257436?v=4","gravatar_id":"","url":"https://api.github.com/users/taskcluster","html_url":"https://github.com/taskcluster","followers_url":"https://api.github.com/users/taskcluster/followers","following_url":"https://api.github.com/users/taskcluster/following{/other_user}","gists_url":"https://api.github.com/users/taskcluster/gists{/gist_id}","starred_url":"https://api.github.com/users/taskcluster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taskcluster/subscriptions","organizations_url":"https://api.github.com/users/taskcluster/orgs","repos_url":"https://api.github.com/users/taskcluster/repos","events_url":"https://api.github.com/users/taskcluster/events{/privacy}","received_events_url":"https://api.github.com/users/taskcluster/received_events","type":"Organization","site_admin":false},"repo":{"id":123930738,"node_id":"MDEwOlJlcG9zaXRvcnkxMjM5MzA3Mzg=","name":"taskcluster-web","full_name":"taskcluster/taskcluster-web","private":false,"owner":{"login":"taskcluster","id":6257436,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyNTc0MzY=","avatar_url":"https://avatars2.githubusercontent.com/u/6257436?v=4","gravatar_id":"","url":"https://api.github.com/users/taskcluster","html_url":"https://github.com/taskcluster","followers_url":"https://api.github.com/users/taskcluster/followers","following_url":"https://api.github.com/users/taskcluster/following{/other_user}","gists_url":"https://api.github.com/users/taskcluster/gists{/gist_id}","starred_url":"https://api.github.com/users/taskcluster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taskcluster/subscriptions","organizations_url":"https://api.github.com/users/taskcluster/orgs","repos_url":"https://api.github.com/users/taskcluster/repos","events_url":"https://api.github.com/users/taskcluster/events{/privacy}","received_events_url":"https://api.github.com/users/taskcluster/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/taskcluster/taskcluster-web","description":"The web UI for interacting with Taskcluster services","fork":false,"url":"https://api.github.com/repos/taskcluster/taskcluster-web","forks_url":"https://api.github.com/repos/taskcluster/taskcluster-web/forks","keys_url":"https://api.github.com/repos/taskcluster/taskcluster-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/taskcluster/taskcluster-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/taskcluster/taskcluster-web/teams","hooks_url":"https://api.github.com/repos/taskcluster/taskcluster-web/hooks","issue_events_url":"https://api.github.com/repos/taskcluster/taskcluster-web/issues/events{/number}","events_url":"https://api.github.com/repos/taskcluster/taskcluster-web/events","assignees_url":"https://api.github.com/repos/taskcluster/taskcluster-web/assignees{/user}","branches_url":"https://api.github.com/repos/taskcluster/taskcluster-web/branches{/branch}","tags_url":"https://api.github.com/repos/taskcluster/taskcluster-web/tags","blobs_url":"https://api.github.com/repos/taskcluster/taskcluster-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/taskcluster/taskcluster-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/taskcluster/taskcluster-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/taskcluster/taskcluster-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/taskcluster/taskcluster-web/statuses/{sha}","languages_url":"https://api.github.com/repos/taskcluster/taskcluster-web/languages","stargazers_url":"https://api.github.com/repos/taskcluster/taskcluster-web/stargazers","contributors_url":"https://api.github.com/repos/taskcluster/taskcluster-web/contributors","subscribers_url":"https://api.github.com/repos/taskcluster/taskcluster-web/subscribers","subscription_url":"https://api.github.com/repos/taskcluster/taskcluster-web/subscription","commits_url":"https://api.github.com/repos/taskcluster/taskcluster-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/taskcluster/taskcluster-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/taskcluster/taskcluster-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/taskcluster/taskcluster-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/taskcluster/taskcluster-web/contents/{+path}","compare_url":"https://api.github.com/repos/taskcluster/taskcluster-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/taskcluster/taskcluster-web/merges","archive_url":"https://api.github.com/repos/taskcluster/taskcluster-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/taskcluster/taskcluster-web/downloads","issues_url":"https://api.github.com/repos/taskcluster/taskcluster-web/issues{/number}","pulls_url":"https://api.github.com/repos/taskcluster/taskcluster-web/pulls{/number}","milestones_url":"https://api.github.com/repos/taskcluster/taskcluster-web/milestones{/number}","notifications_url":"https://api.github.com/repos/taskcluster/taskcluster-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/taskcluster/taskcluster-web/labels{/name}","releases_url":"https://api.github.com/repos/taskcluster/taskcluster-web/releases{/id}","deployments_url":"https://api.github.com/repos/taskcluster/taskcluster-web/deployments","created_at":"2018-03-05T14:23:34Z","updated_at":"2018-10-15T12:23:34Z","pushed_at":"2018-10-15T21:04:56Z","git_url":"git://github.com/taskcluster/taskcluster-web.git","ssh_url":"git@github.com:taskcluster/taskcluster-web.git","clone_url":"https://github.com/taskcluster/taskcluster-web.git","svn_url":"https://github.com/taskcluster/taskcluster-web","homepage":"https://taskcluster-web-styleguide.netlify.com/","size":993,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"archived":false,"open_issues_count":18,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":22,"open_issues":18,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/taskcluster/taskcluster-web/pulls/160"},"html":{"href":"https://github.com/taskcluster/taskcluster-web/pull/160"},"issue":{"href":"https://api.github.com/repos/taskcluster/taskcluster-web/issues/160"},"comments":{"href":"https://api.github.com/repos/taskcluster/taskcluster-web/issues/160/comments"},"review_comments":{"href":"https://api.github.com/repos/taskcluster/taskcluster-web/pulls/160/comments"},"review_comment":{"href":"https://api.github.com/repos/taskcluster/taskcluster-web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/taskcluster/taskcluster-web/pulls/160/commits"},"statuses":{"href":"https://api.github.com/repos/taskcluster/taskcluster-web/statuses/4b34045767e0ac20de5802aa40300c4266883c43"}},"author_association":"NONE"}}
{"actor":{"display_login":"helfi92"}}