{"action":"created","comment":{"url":"https://api.github.com/repos/adobe/brackets/pulls/comments/33865386","id":33865386,"diff_hunk":"@@ -528,6 +530,7 @@ define(function (require, exports, module) {\n         return handleFileOpen(commandData).done(function (file) {\n             var paneId = (commandData && commandData.paneId) || MainViewManager.ACTIVE_PANE;\n             MainViewManager.addToWorkingSet(paneId, file, commandData.index, commandData.forceRedraw);\n+            HealthLogger.fileOpened(file.fullPath, true);","path":"src/document/DocumentCommandHandlers.js","position":20,"original_position":20,"commit_id":"c2c44998e4071bec39fb2cc6ded955598e9f0f9f","original_commit_id":"c2c44998e4071bec39fb2cc6ded955598e9f0f9f","user":{"login":"MarcelGerber","id":2641501,"avatar_url":"https://avatars.githubusercontent.com/u/2641501?v=3","gravatar_id":"","url":"https://api.github.com/users/MarcelGerber","html_url":"https://github.com/MarcelGerber","followers_url":"https://api.github.com/users/MarcelGerber/followers","following_url":"https://api.github.com/users/MarcelGerber/following{/other_user}","gists_url":"https://api.github.com/users/MarcelGerber/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcelGerber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcelGerber/subscriptions","organizations_url":"https://api.github.com/users/MarcelGerber/orgs","repos_url":"https://api.github.com/users/MarcelGerber/repos","events_url":"https://api.github.com/users/MarcelGerber/events{/privacy}","received_events_url":"https://api.github.com/users/MarcelGerber/received_events","type":"User","site_admin":false},"body":"This way, we call `fileOpened` two times (one time for `handleFileOpen`, then for `handleFileAddToWorkingSetAndOpen`). Is it meant to be like this?","created_at":"2015-07-03T13:58:05Z","updated_at":"2015-07-03T13:58:05Z","html_url":"https://github.com/adobe/brackets/pull/11311#discussion_r33865386","pull_request_url":"https://api.github.com/repos/adobe/brackets/pulls/11311","_links":{"self":{"href":"https://api.github.com/repos/adobe/brackets/pulls/comments/33865386"},"html":{"href":"https://github.com/adobe/brackets/pull/11311#discussion_r33865386"},"pull_request":{"href":"https://api.github.com/repos/adobe/brackets/pulls/11311"}}},"pull_request":{"url":"https://api.github.com/repos/adobe/brackets/pulls/11311","id":38544015,"html_url":"https://github.com/adobe/brackets/pull/11311","diff_url":"https://github.com/adobe/brackets/pull/11311.diff","patch_url":"https://github.com/adobe/brackets/pull/11311.patch","issue_url":"https://api.github.com/repos/adobe/brackets/issues/11311","number":11311,"state":"open","locked":false,"title":"Health Data Logs for 1.4","user":{"login":"abose","id":5336369,"avatar_url":"https://avatars.githubusercontent.com/u/5336369?v=3","gravatar_id":"","url":"https://api.github.com/users/abose","html_url":"https://github.com/abose","followers_url":"https://api.github.com/users/abose/followers","following_url":"https://api.github.com/users/abose/following{/other_user}","gists_url":"https://api.github.com/users/abose/gists{/gist_id}","starred_url":"https://api.github.com/users/abose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abose/subscriptions","organizations_url":"https://api.github.com/users/abose/orgs","repos_url":"https://api.github.com/users/abose/repos","events_url":"https://api.github.com/users/abose/events{/privacy}","received_events_url":"https://api.github.com/users/abose/received_events","type":"User","site_admin":false},"body":"Add performance-specific metrics to the [Health Data Report](https://github.com/adobe/brackets/wiki/Health-Data). Things we want to start tracking:\r\n\r\n- [x] Startup Time\r\n- [x] Average File Switching Time\r\n- [ ] Project Size (number of files)\r\n- [x] Type of file(s) opened in Brackets\r\n\r\ntracks #11055 ","created_at":"2015-06-25T12:57:21Z","updated_at":"2015-07-03T13:58:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b02c80ee0a341b6f3406266e84ba7d2fa487a6ac","assignee":null,"milestone":{"url":"https://api.github.com/repos/adobe/brackets/milestones/36","html_url":"https://github.com/adobe/brackets/milestones/Release%201.4","labels_url":"https://api.github.com/repos/adobe/brackets/milestones/36/labels","id":1048084,"number":36,"title":"Release 1.4","description":"","creator":{"login":"ryanstewart","id":45450,"avatar_url":"https://avatars.githubusercontent.com/u/45450?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanstewart","html_url":"https://github.com/ryanstewart","followers_url":"https://api.github.com/users/ryanstewart/followers","following_url":"https://api.github.com/users/ryanstewart/following{/other_user}","gists_url":"https://api.github.com/users/ryanstewart/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanstewart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanstewart/subscriptions","organizations_url":"https://api.github.com/users/ryanstewart/orgs","repos_url":"https://api.github.com/users/ryanstewart/repos","events_url":"https://api.github.com/users/ryanstewart/events{/privacy}","received_events_url":"https://api.github.com/users/ryanstewart/received_events","type":"User","site_admin":false},"open_issues":37,"closed_issues":24,"state":"open","created_at":"2015-04-01T04:03:49Z","updated_at":"2015-07-02T07:33:03Z","due_on":"2015-07-07T18:30:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/adobe/brackets/pulls/11311/commits","review_comments_url":"https://api.github.com/repos/adobe/brackets/pulls/11311/comments","review_comment_url":"https://api.github.com/repos/adobe/brackets/pulls/comments{/number}","comments_url":"https://api.github.com/repos/adobe/brackets/issues/11311/comments","statuses_url":"https://api.github.com/repos/adobe/brackets/statuses/c2c44998e4071bec39fb2cc6ded955598e9f0f9f","head":{"label":"adobe:abose/HealthLogs1.4","ref":"abose/HealthLogs1.4","sha":"c2c44998e4071bec39fb2cc6ded955598e9f0f9f","user":{"login":"adobe","id":476009,"avatar_url":"https://avatars.githubusercontent.com/u/476009?v=3","gravatar_id":"","url":"https://api.github.com/users/adobe","html_url":"https://github.com/adobe","followers_url":"https://api.github.com/users/adobe/followers","following_url":"https://api.github.com/users/adobe/following{/other_user}","gists_url":"https://api.github.com/users/adobe/gists{/gist_id}","starred_url":"https://api.github.com/users/adobe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adobe/subscriptions","organizations_url":"https://api.github.com/users/adobe/orgs","repos_url":"https://api.github.com/users/adobe/repos","events_url":"https://api.github.com/users/adobe/events{/privacy}","received_events_url":"https://api.github.com/users/adobe/received_events","type":"Organization","site_admin":false},"repo":{"id":2935735,"name":"brackets","full_name":"adobe/brackets","owner":{"login":"adobe","id":476009,"avatar_url":"https://avatars.githubusercontent.com/u/476009?v=3","gravatar_id":"","url":"https://api.github.com/users/adobe","html_url":"https://github.com/adobe","followers_url":"https://api.github.com/users/adobe/followers","following_url":"https://api.github.com/users/adobe/following{/other_user}","gists_url":"https://api.github.com/users/adobe/gists{/gist_id}","starred_url":"https://api.github.com/users/adobe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adobe/subscriptions","organizations_url":"https://api.github.com/users/adobe/orgs","repos_url":"https://api.github.com/users/adobe/repos","events_url":"https://api.github.com/users/adobe/events{/privacy}","received_events_url":"https://api.github.com/users/adobe/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/adobe/brackets","description":"An open source code editor for the web, written in JavaScript, HTML and CSS.","fork":false,"url":"https://api.github.com/repos/adobe/brackets","forks_url":"https://api.github.com/repos/adobe/brackets/forks","keys_url":"https://api.github.com/repos/adobe/brackets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adobe/brackets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adobe/brackets/teams","hooks_url":"https://api.github.com/repos/adobe/brackets/hooks","issue_events_url":"https://api.github.com/repos/adobe/brackets/issues/events{/number}","events_url":"https://api.github.com/repos/adobe/brackets/events","assignees_url":"https://api.github.com/repos/adobe/brackets/assignees{/user}","branches_url":"https://api.github.com/repos/adobe/brackets/branches{/branch}","tags_url":"https://api.github.com/repos/adobe/brackets/tags","blobs_url":"https://api.github.com/repos/adobe/brackets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adobe/brackets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adobe/brackets/git/refs{/sha}","trees_url":"https://api.github.com/repos/adobe/brackets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adobe/brackets/statuses/{sha}","languages_url":"https://api.github.com/repos/adobe/brackets/languages","stargazers_url":"https://api.github.com/repos/adobe/brackets/stargazers","contributors_url":"https://api.github.com/repos/adobe/brackets/contributors","subscribers_url":"https://api.github.com/repos/adobe/brackets/subscribers","subscription_url":"https://api.github.com/repos/adobe/brackets/subscription","commits_url":"https://api.github.com/repos/adobe/brackets/commits{/sha}","git_commits_url":"https://api.github.com/repos/adobe/brackets/git/commits{/sha}","comments_url":"https://api.github.com/repos/adobe/brackets/comments{/number}","issue_comment_url":"https://api.github.com/repos/adobe/brackets/issues/comments{/number}","contents_url":"https://api.github.com/repos/adobe/brackets/contents/{+path}","compare_url":"https://api.github.com/repos/adobe/brackets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adobe/brackets/merges","archive_url":"https://api.github.com/repos/adobe/brackets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adobe/brackets/downloads","issues_url":"https://api.github.com/repos/adobe/brackets/issues{/number}","pulls_url":"https://api.github.com/repos/adobe/brackets/pulls{/number}","milestones_url":"https://api.github.com/repos/adobe/brackets/milestones{/number}","notifications_url":"https://api.github.com/repos/adobe/brackets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adobe/brackets/labels{/name}","releases_url":"https://api.github.com/repos/adobe/brackets/releases{/id}","created_at":"2011-12-07T21:14:40Z","updated_at":"2015-07-03T11:46:53Z","pushed_at":"2015-07-03T11:38:22Z","git_url":"git://github.com/adobe/brackets.git","ssh_url":"git@github.com:adobe/brackets.git","clone_url":"https://github.com/adobe/brackets.git","svn_url":"https://github.com/adobe/brackets","homepage":"http://brackets.io","size":326931,"stargazers_count":22686,"watchers_count":22686,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4720,"mirror_url":null,"open_issues_count":1364,"forks":4720,"open_issues":1364,"watchers":22686,"default_branch":"master"}},"base":{"label":"adobe:master","ref":"master","sha":"96f24bf81f02a64cd2bfce3e7aa2258b992bac23","user":{"login":"adobe","id":476009,"avatar_url":"https://avatars.githubusercontent.com/u/476009?v=3","gravatar_id":"","url":"https://api.github.com/users/adobe","html_url":"https://github.com/adobe","followers_url":"https://api.github.com/users/adobe/followers","following_url":"https://api.github.com/users/adobe/following{/other_user}","gists_url":"https://api.github.com/users/adobe/gists{/gist_id}","starred_url":"https://api.github.com/users/adobe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adobe/subscriptions","organizations_url":"https://api.github.com/users/adobe/orgs","repos_url":"https://api.github.com/users/adobe/repos","events_url":"https://api.github.com/users/adobe/events{/privacy}","received_events_url":"https://api.github.com/users/adobe/received_events","type":"Organization","site_admin":false},"repo":{"id":2935735,"name":"brackets","full_name":"adobe/brackets","owner":{"login":"adobe","id":476009,"avatar_url":"https://avatars.githubusercontent.com/u/476009?v=3","gravatar_id":"","url":"https://api.github.com/users/adobe","html_url":"https://github.com/adobe","followers_url":"https://api.github.com/users/adobe/followers","following_url":"https://api.github.com/users/adobe/following{/other_user}","gists_url":"https://api.github.com/users/adobe/gists{/gist_id}","starred_url":"https://api.github.com/users/adobe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adobe/subscriptions","organizations_url":"https://api.github.com/users/adobe/orgs","repos_url":"https://api.github.com/users/adobe/repos","events_url":"https://api.github.com/users/adobe/events{/privacy}","received_events_url":"https://api.github.com/users/adobe/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/adobe/brackets","description":"An open source code editor for the web, written in JavaScript, HTML and CSS.","fork":false,"url":"https://api.github.com/repos/adobe/brackets","forks_url":"https://api.github.com/repos/adobe/brackets/forks","keys_url":"https://api.github.com/repos/adobe/brackets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adobe/brackets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adobe/brackets/teams","hooks_url":"https://api.github.com/repos/adobe/brackets/hooks","issue_events_url":"https://api.github.com/repos/adobe/brackets/issues/events{/number}","events_url":"https://api.github.com/repos/adobe/brackets/events","assignees_url":"https://api.github.com/repos/adobe/brackets/assignees{/user}","branches_url":"https://api.github.com/repos/adobe/brackets/branches{/branch}","tags_url":"https://api.github.com/repos/adobe/brackets/tags","blobs_url":"https://api.github.com/repos/adobe/brackets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adobe/brackets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adobe/brackets/git/refs{/sha}","trees_url":"https://api.github.com/repos/adobe/brackets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adobe/brackets/statuses/{sha}","languages_url":"https://api.github.com/repos/adobe/brackets/languages","stargazers_url":"https://api.github.com/repos/adobe/brackets/stargazers","contributors_url":"https://api.github.com/repos/adobe/brackets/contributors","subscribers_url":"https://api.github.com/repos/adobe/brackets/subscribers","subscription_url":"https://api.github.com/repos/adobe/brackets/subscription","commits_url":"https://api.github.com/repos/adobe/brackets/commits{/sha}","git_commits_url":"https://api.github.com/repos/adobe/brackets/git/commits{/sha}","comments_url":"https://api.github.com/repos/adobe/brackets/comments{/number}","issue_comment_url":"https://api.github.com/repos/adobe/brackets/issues/comments{/number}","contents_url":"https://api.github.com/repos/adobe/brackets/contents/{+path}","compare_url":"https://api.github.com/repos/adobe/brackets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adobe/brackets/merges","archive_url":"https://api.github.com/repos/adobe/brackets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adobe/brackets/downloads","issues_url":"https://api.github.com/repos/adobe/brackets/issues{/number}","pulls_url":"https://api.github.com/repos/adobe/brackets/pulls{/number}","milestones_url":"https://api.github.com/repos/adobe/brackets/milestones{/number}","notifications_url":"https://api.github.com/repos/adobe/brackets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adobe/brackets/labels{/name}","releases_url":"https://api.github.com/repos/adobe/brackets/releases{/id}","created_at":"2011-12-07T21:14:40Z","updated_at":"2015-07-03T11:46:53Z","pushed_at":"2015-07-03T11:38:22Z","git_url":"git://github.com/adobe/brackets.git","ssh_url":"git@github.com:adobe/brackets.git","clone_url":"https://github.com/adobe/brackets.git","svn_url":"https://github.com/adobe/brackets","homepage":"http://brackets.io","size":326931,"stargazers_count":22686,"watchers_count":22686,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4720,"mirror_url":null,"open_issues_count":1364,"forks":4720,"open_issues":1364,"watchers":22686,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/adobe/brackets/pulls/11311"},"html":{"href":"https://github.com/adobe/brackets/pull/11311"},"issue":{"href":"https://api.github.com/repos/adobe/brackets/issues/11311"},"comments":{"href":"https://api.github.com/repos/adobe/brackets/issues/11311/comments"},"review_comments":{"href":"https://api.github.com/repos/adobe/brackets/pulls/11311/comments"},"review_comment":{"href":"https://api.github.com/repos/adobe/brackets/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/adobe/brackets/pulls/11311/commits"},"statuses":{"href":"https://api.github.com/repos/adobe/brackets/statuses/c2c44998e4071bec39fb2cc6ded955598e9f0f9f"}}}}