{"action":"created","comment":{"url":"https://api.github.com/repos/theia-ide/theia/pulls/comments/208048653","pull_request_review_id":143783322,"id":208048653,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwODA0ODY1Mw==","diff_hunk":"@@ -75,12 +80,15 @@ export class WorkspaceQuickOpenItem extends QuickOpenItem {\n     }\n \n     /**\n-     * Display the workspace path as part of\n-     * the WorkspaceQuickOpenItem description\n+     * Display shortened workspace path based on user's operating system\n      * @returns workspace path\n      */\n     getDescription(): string {\n-        return (this.workspace) ? new URI(this.workspace).path.dir.toString() : '';\n+        let path = (this.workspace) ? new URI(this.workspace).path.dir.toString() : '';\n+        if (this.platform !== 'win32' && path.includes(this.home)) {","path":"packages/workspace/src/browser/quick-open-workspace.ts","position":39,"original_position":39,"commit_id":"083a8e7dcf35a79fdea15ada91c8e51d0bca181b","original_commit_id":"083a8e7dcf35a79fdea15ada91c8e51d0bca181b","user":{"login":"vince-fugnitto","id":40359487,"node_id":"MDQ6VXNlcjQwMzU5NDg3","avatar_url":"https://avatars2.githubusercontent.com/u/40359487?v=4","gravatar_id":"","url":"https://api.github.com/users/vince-fugnitto","html_url":"https://github.com/vince-fugnitto","followers_url":"https://api.github.com/users/vince-fugnitto/followers","following_url":"https://api.github.com/users/vince-fugnitto/following{/other_user}","gists_url":"https://api.github.com/users/vince-fugnitto/gists{/gist_id}","starred_url":"https://api.github.com/users/vince-fugnitto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vince-fugnitto/subscriptions","organizations_url":"https://api.github.com/users/vince-fugnitto/orgs","repos_url":"https://api.github.com/users/vince-fugnitto/repos","events_url":"https://api.github.com/users/vince-fugnitto/events{/privacy}","received_events_url":"https://api.github.com/users/vince-fugnitto/received_events","type":"User","site_admin":false},"body":"nice catch! I should only replace the result of the user's `home` if it is at the start of the path.","created_at":"2018-08-06T22:31:44Z","updated_at":"2018-08-06T22:31:44Z","html_url":"https://github.com/theia-ide/theia/pull/2520#discussion_r208048653","pull_request_url":"https://api.github.com/repos/theia-ide/theia/pulls/2520","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/theia-ide/theia/pulls/comments/208048653"},"html":{"href":"https://github.com/theia-ide/theia/pull/2520#discussion_r208048653"},"pull_request":{"href":"https://api.github.com/repos/theia-ide/theia/pulls/2520"}},"in_reply_to_id":208011224},"pull_request":{"url":"https://api.github.com/repos/theia-ide/theia/pulls/2520","id":206466672,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2NDY2Njcy","html_url":"https://github.com/theia-ide/theia/pull/2520","diff_url":"https://github.com/theia-ide/theia/pull/2520.diff","patch_url":"https://github.com/theia-ide/theia/pull/2520.patch","issue_url":"https://api.github.com/repos/theia-ide/theia/issues/2520","number":2520,"state":"open","locked":false,"title":"Add shortened workspace path when displaying recent workspaces","user":{"login":"vince-fugnitto","id":40359487,"node_id":"MDQ6VXNlcjQwMzU5NDg3","avatar_url":"https://avatars2.githubusercontent.com/u/40359487?v=4","gravatar_id":"","url":"https://api.github.com/users/vince-fugnitto","html_url":"https://github.com/vince-fugnitto","followers_url":"https://api.github.com/users/vince-fugnitto/followers","following_url":"https://api.github.com/users/vince-fugnitto/following{/other_user}","gists_url":"https://api.github.com/users/vince-fugnitto/gists{/gist_id}","starred_url":"https://api.github.com/users/vince-fugnitto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vince-fugnitto/subscriptions","organizations_url":"https://api.github.com/users/vince-fugnitto/orgs","repos_url":"https://api.github.com/users/vince-fugnitto/repos","events_url":"https://api.github.com/users/vince-fugnitto/events{/privacy}","received_events_url":"https://api.github.com/users/vince-fugnitto/received_events","type":"User","site_admin":false},"body":"Updated the workspace path when displaying recent workspaces on non-windows operating systems.\r\nInstead of displaying the full path `ex: /home/[username]/` replace it with shortened notation `~/`.\r\n\r\nFor workspaces which are on the home folder, display the full path.\r\n\r\nSigned-off-by: Vincent Fugnitto <vincent.fugnitto@ericsson.com>","created_at":"2018-08-06T17:30:20Z","updated_at":"2018-08-06T22:31:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c13d5af51101a2c854f7dbeb57c02edeba351822","assignee":{"login":"vince-fugnitto","id":40359487,"node_id":"MDQ6VXNlcjQwMzU5NDg3","avatar_url":"https://avatars2.githubusercontent.com/u/40359487?v=4","gravatar_id":"","url":"https://api.github.com/users/vince-fugnitto","html_url":"https://github.com/vince-fugnitto","followers_url":"https://api.github.com/users/vince-fugnitto/followers","following_url":"https://api.github.com/users/vince-fugnitto/following{/other_user}","gists_url":"https://api.github.com/users/vince-fugnitto/gists{/gist_id}","starred_url":"https://api.github.com/users/vince-fugnitto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vince-fugnitto/subscriptions","organizations_url":"https://api.github.com/users/vince-fugnitto/orgs","repos_url":"https://api.github.com/users/vince-fugnitto/repos","events_url":"https://api.github.com/users/vince-fugnitto/events{/privacy}","received_events_url":"https://api.github.com/users/vince-fugnitto/received_events","type":"User","site_admin":false},"assignees":[{"login":"vince-fugnitto","id":40359487,"node_id":"MDQ6VXNlcjQwMzU5NDg3","avatar_url":"https://avatars2.githubusercontent.com/u/40359487?v=4","gravatar_id":"","url":"https://api.github.com/users/vince-fugnitto","html_url":"https://github.com/vince-fugnitto","followers_url":"https://api.github.com/users/vince-fugnitto/followers","following_url":"https://api.github.com/users/vince-fugnitto/following{/other_user}","gists_url":"https://api.github.com/users/vince-fugnitto/gists{/gist_id}","starred_url":"https://api.github.com/users/vince-fugnitto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vince-fugnitto/subscriptions","organizations_url":"https://api.github.com/users/vince-fugnitto/orgs","repos_url":"https://api.github.com/users/vince-fugnitto/repos","events_url":"https://api.github.com/users/vince-fugnitto/events{/privacy}","received_events_url":"https://api.github.com/users/vince-fugnitto/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"svenefftinge","id":372735,"node_id":"MDQ6VXNlcjM3MjczNQ==","avatar_url":"https://avatars0.githubusercontent.com/u/372735?v=4","gravatar_id":"","url":"https://api.github.com/users/svenefftinge","html_url":"https://github.com/svenefftinge","followers_url":"https://api.github.com/users/svenefftinge/followers","following_url":"https://api.github.com/users/svenefftinge/following{/other_user}","gists_url":"https://api.github.com/users/svenefftinge/gists{/gist_id}","starred_url":"https://api.github.com/users/svenefftinge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svenefftinge/subscriptions","organizations_url":"https://api.github.com/users/svenefftinge/orgs","repos_url":"https://api.github.com/users/svenefftinge/repos","events_url":"https://api.github.com/users/svenefftinge/events{/privacy}","received_events_url":"https://api.github.com/users/svenefftinge/received_events","type":"User","site_admin":false},{"login":"marechal-p","id":14182238,"node_id":"MDQ6VXNlcjE0MTgyMjM4","avatar_url":"https://avatars0.githubusercontent.com/u/14182238?v=4","gravatar_id":"","url":"https://api.github.com/users/marechal-p","html_url":"https://github.com/marechal-p","followers_url":"https://api.github.com/users/marechal-p/followers","following_url":"https://api.github.com/users/marechal-p/following{/other_user}","gists_url":"https://api.github.com/users/marechal-p/gists{/gist_id}","starred_url":"https://api.github.com/users/marechal-p/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marechal-p/subscriptions","organizations_url":"https://api.github.com/users/marechal-p/orgs","repos_url":"https://api.github.com/users/marechal-p/repos","events_url":"https://api.github.com/users/marechal-p/events{/privacy}","received_events_url":"https://api.github.com/users/marechal-p/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":547099388,"node_id":"MDU6TGFiZWw1NDcwOTkzODg=","url":"https://api.github.com/repos/theia-ide/theia/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/theia-ide/theia/pulls/2520/commits","review_comments_url":"https://api.github.com/repos/theia-ide/theia/pulls/2520/comments","review_comment_url":"https://api.github.com/repos/theia-ide/theia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/theia-ide/theia/issues/2520/comments","statuses_url":"https://api.github.com/repos/theia-ide/theia/statuses/083a8e7dcf35a79fdea15ada91c8e51d0bca181b","head":{"label":"vince-fugnitto:recent-workspace-path","ref":"recent-workspace-path","sha":"083a8e7dcf35a79fdea15ada91c8e51d0bca181b","user":{"login":"vince-fugnitto","id":40359487,"node_id":"MDQ6VXNlcjQwMzU5NDg3","avatar_url":"https://avatars2.githubusercontent.com/u/40359487?v=4","gravatar_id":"","url":"https://api.github.com/users/vince-fugnitto","html_url":"https://github.com/vince-fugnitto","followers_url":"https://api.github.com/users/vince-fugnitto/followers","following_url":"https://api.github.com/users/vince-fugnitto/following{/other_user}","gists_url":"https://api.github.com/users/vince-fugnitto/gists{/gist_id}","starred_url":"https://api.github.com/users/vince-fugnitto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vince-fugnitto/subscriptions","organizations_url":"https://api.github.com/users/vince-fugnitto/orgs","repos_url":"https://api.github.com/users/vince-fugnitto/repos","events_url":"https://api.github.com/users/vince-fugnitto/events{/privacy}","received_events_url":"https://api.github.com/users/vince-fugnitto/received_events","type":"User","site_admin":false},"repo":{"id":137755319,"node_id":"MDEwOlJlcG9zaXRvcnkxMzc3NTUzMTk=","name":"theia","full_name":"vince-fugnitto/theia","owner":{"login":"vince-fugnitto","id":40359487,"node_id":"MDQ6VXNlcjQwMzU5NDg3","avatar_url":"https://avatars2.githubusercontent.com/u/40359487?v=4","gravatar_id":"","url":"https://api.github.com/users/vince-fugnitto","html_url":"https://github.com/vince-fugnitto","followers_url":"https://api.github.com/users/vince-fugnitto/followers","following_url":"https://api.github.com/users/vince-fugnitto/following{/other_user}","gists_url":"https://api.github.com/users/vince-fugnitto/gists{/gist_id}","starred_url":"https://api.github.com/users/vince-fugnitto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vince-fugnitto/subscriptions","organizations_url":"https://api.github.com/users/vince-fugnitto/orgs","repos_url":"https://api.github.com/users/vince-fugnitto/repos","events_url":"https://api.github.com/users/vince-fugnitto/events{/privacy}","received_events_url":"https://api.github.com/users/vince-fugnitto/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vince-fugnitto/theia","description":"Theia is a cloud & desktop IDE framework implemented in TypeScript.","fork":true,"url":"https://api.github.com/repos/vince-fugnitto/theia","forks_url":"https://api.github.com/repos/vince-fugnitto/theia/forks","keys_url":"https://api.github.com/repos/vince-fugnitto/theia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vince-fugnitto/theia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vince-fugnitto/theia/teams","hooks_url":"https://api.github.com/repos/vince-fugnitto/theia/hooks","issue_events_url":"https://api.github.com/repos/vince-fugnitto/theia/issues/events{/number}","events_url":"https://api.github.com/repos/vince-fugnitto/theia/events","assignees_url":"https://api.github.com/repos/vince-fugnitto/theia/assignees{/user}","branches_url":"https://api.github.com/repos/vince-fugnitto/theia/branches{/branch}","tags_url":"https://api.github.com/repos/vince-fugnitto/theia/tags","blobs_url":"https://api.github.com/repos/vince-fugnitto/theia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vince-fugnitto/theia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vince-fugnitto/theia/git/refs{/sha}","trees_url":"https://api.github.com/repos/vince-fugnitto/theia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vince-fugnitto/theia/statuses/{sha}","languages_url":"https://api.github.com/repos/vince-fugnitto/theia/languages","stargazers_url":"https://api.github.com/repos/vince-fugnitto/theia/stargazers","contributors_url":"https://api.github.com/repos/vince-fugnitto/theia/contributors","subscribers_url":"https://api.github.com/repos/vince-fugnitto/theia/subscribers","subscription_url":"https://api.github.com/repos/vince-fugnitto/theia/subscription","commits_url":"https://api.github.com/repos/vince-fugnitto/theia/commits{/sha}","git_commits_url":"https://api.github.com/repos/vince-fugnitto/theia/git/commits{/sha}","comments_url":"https://api.github.com/repos/vince-fugnitto/theia/comments{/number}","issue_comment_url":"https://api.github.com/repos/vince-fugnitto/theia/issues/comments{/number}","contents_url":"https://api.github.com/repos/vince-fugnitto/theia/contents/{+path}","compare_url":"https://api.github.com/repos/vince-fugnitto/theia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vince-fugnitto/theia/merges","archive_url":"https://api.github.com/repos/vince-fugnitto/theia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vince-fugnitto/theia/downloads","issues_url":"https://api.github.com/repos/vince-fugnitto/theia/issues{/number}","pulls_url":"https://api.github.com/repos/vince-fugnitto/theia/pulls{/number}","milestones_url":"https://api.github.com/repos/vince-fugnitto/theia/milestones{/number}","notifications_url":"https://api.github.com/repos/vince-fugnitto/theia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vince-fugnitto/theia/labels{/name}","releases_url":"https://api.github.com/repos/vince-fugnitto/theia/releases{/id}","deployments_url":"https://api.github.com/repos/vince-fugnitto/theia/deployments","created_at":"2018-06-18T13:30:35Z","updated_at":"2018-08-06T17:27:12Z","pushed_at":"2018-08-06T17:27:50Z","git_url":"git://github.com/vince-fugnitto/theia.git","ssh_url":"git@github.com:vince-fugnitto/theia.git","clone_url":"https://github.com/vince-fugnitto/theia.git","svn_url":"https://github.com/vince-fugnitto/theia","homepage":"http://theia-ide.org","size":122727,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"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":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"theia-ide:master","ref":"master","sha":"a821f30a4961913bd09fc5793bf2cf9114d525a6","user":{"login":"theia-ide","id":28530323,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4NTMwMzIz","avatar_url":"https://avatars1.githubusercontent.com/u/28530323?v=4","gravatar_id":"","url":"https://api.github.com/users/theia-ide","html_url":"https://github.com/theia-ide","followers_url":"https://api.github.com/users/theia-ide/followers","following_url":"https://api.github.com/users/theia-ide/following{/other_user}","gists_url":"https://api.github.com/users/theia-ide/gists{/gist_id}","starred_url":"https://api.github.com/users/theia-ide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theia-ide/subscriptions","organizations_url":"https://api.github.com/users/theia-ide/orgs","repos_url":"https://api.github.com/users/theia-ide/repos","events_url":"https://api.github.com/users/theia-ide/events{/privacy}","received_events_url":"https://api.github.com/users/theia-ide/received_events","type":"Organization","site_admin":false},"repo":{"id":83050680,"node_id":"MDEwOlJlcG9zaXRvcnk4MzA1MDY4MA==","name":"theia","full_name":"theia-ide/theia","owner":{"login":"theia-ide","id":28530323,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4NTMwMzIz","avatar_url":"https://avatars1.githubusercontent.com/u/28530323?v=4","gravatar_id":"","url":"https://api.github.com/users/theia-ide","html_url":"https://github.com/theia-ide","followers_url":"https://api.github.com/users/theia-ide/followers","following_url":"https://api.github.com/users/theia-ide/following{/other_user}","gists_url":"https://api.github.com/users/theia-ide/gists{/gist_id}","starred_url":"https://api.github.com/users/theia-ide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theia-ide/subscriptions","organizations_url":"https://api.github.com/users/theia-ide/orgs","repos_url":"https://api.github.com/users/theia-ide/repos","events_url":"https://api.github.com/users/theia-ide/events{/privacy}","received_events_url":"https://api.github.com/users/theia-ide/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/theia-ide/theia","description":"Theia is a cloud & desktop IDE framework implemented in TypeScript.","fork":false,"url":"https://api.github.com/repos/theia-ide/theia","forks_url":"https://api.github.com/repos/theia-ide/theia/forks","keys_url":"https://api.github.com/repos/theia-ide/theia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theia-ide/theia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theia-ide/theia/teams","hooks_url":"https://api.github.com/repos/theia-ide/theia/hooks","issue_events_url":"https://api.github.com/repos/theia-ide/theia/issues/events{/number}","events_url":"https://api.github.com/repos/theia-ide/theia/events","assignees_url":"https://api.github.com/repos/theia-ide/theia/assignees{/user}","branches_url":"https://api.github.com/repos/theia-ide/theia/branches{/branch}","tags_url":"https://api.github.com/repos/theia-ide/theia/tags","blobs_url":"https://api.github.com/repos/theia-ide/theia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theia-ide/theia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theia-ide/theia/git/refs{/sha}","trees_url":"https://api.github.com/repos/theia-ide/theia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theia-ide/theia/statuses/{sha}","languages_url":"https://api.github.com/repos/theia-ide/theia/languages","stargazers_url":"https://api.github.com/repos/theia-ide/theia/stargazers","contributors_url":"https://api.github.com/repos/theia-ide/theia/contributors","subscribers_url":"https://api.github.com/repos/theia-ide/theia/subscribers","subscription_url":"https://api.github.com/repos/theia-ide/theia/subscription","commits_url":"https://api.github.com/repos/theia-ide/theia/commits{/sha}","git_commits_url":"https://api.github.com/repos/theia-ide/theia/git/commits{/sha}","comments_url":"https://api.github.com/repos/theia-ide/theia/comments{/number}","issue_comment_url":"https://api.github.com/repos/theia-ide/theia/issues/comments{/number}","contents_url":"https://api.github.com/repos/theia-ide/theia/contents/{+path}","compare_url":"https://api.github.com/repos/theia-ide/theia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theia-ide/theia/merges","archive_url":"https://api.github.com/repos/theia-ide/theia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theia-ide/theia/downloads","issues_url":"https://api.github.com/repos/theia-ide/theia/issues{/number}","pulls_url":"https://api.github.com/repos/theia-ide/theia/pulls{/number}","milestones_url":"https://api.github.com/repos/theia-ide/theia/milestones{/number}","notifications_url":"https://api.github.com/repos/theia-ide/theia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theia-ide/theia/labels{/name}","releases_url":"https://api.github.com/repos/theia-ide/theia/releases{/id}","deployments_url":"https://api.github.com/repos/theia-ide/theia/deployments","created_at":"2017-02-24T14:42:05Z","updated_at":"2018-08-06T21:09:49Z","pushed_at":"2018-08-06T17:30:20Z","git_url":"git://github.com/theia-ide/theia.git","ssh_url":"git@github.com:theia-ide/theia.git","clone_url":"https://github.com/theia-ide/theia.git","svn_url":"https://github.com/theia-ide/theia","homepage":"http://theia-ide.org","size":122903,"stargazers_count":1089,"watchers_count":1089,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":181,"mirror_url":null,"archived":false,"open_issues_count":561,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":181,"open_issues":561,"watchers":1089,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/theia-ide/theia/pulls/2520"},"html":{"href":"https://github.com/theia-ide/theia/pull/2520"},"issue":{"href":"https://api.github.com/repos/theia-ide/theia/issues/2520"},"comments":{"href":"https://api.github.com/repos/theia-ide/theia/issues/2520/comments"},"review_comments":{"href":"https://api.github.com/repos/theia-ide/theia/pulls/2520/comments"},"review_comment":{"href":"https://api.github.com/repos/theia-ide/theia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/theia-ide/theia/pulls/2520/commits"},"statuses":{"href":"https://api.github.com/repos/theia-ide/theia/statuses/083a8e7dcf35a79fdea15ada91c8e51d0bca181b"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"vince-fugnitto"}}