{"action":"created","comment":{"url":"https://api.github.com/repos/godotengine/godot/pulls/comments/135392909","pull_request_review_id":58805143,"id":135392909,"diff_hunk":"@@ -0,0 +1,80 @@\n+/*************************************************************************/\n+/*  resource_preview.cpp                                            */","path":"editor/resource_preview.cpp","position":2,"original_position":2,"commit_id":"4e86dcaa9ff34b4950dcc983d3871fc88b714160","original_commit_id":"4e86dcaa9ff34b4950dcc983d3871fc88b714160","user":{"login":"Noshyaar","id":26753932,"avatar_url":"https://avatars0.githubusercontent.com/u/26753932?v=4","gravatar_id":"","url":"https://api.github.com/users/Noshyaar","html_url":"https://github.com/Noshyaar","followers_url":"https://api.github.com/users/Noshyaar/followers","following_url":"https://api.github.com/users/Noshyaar/following{/other_user}","gists_url":"https://api.github.com/users/Noshyaar/gists{/gist_id}","starred_url":"https://api.github.com/users/Noshyaar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Noshyaar/subscriptions","organizations_url":"https://api.github.com/users/Noshyaar/orgs","repos_url":"https://api.github.com/users/Noshyaar/repos","events_url":"https://api.github.com/users/Noshyaar/events{/privacy}","received_events_url":"https://api.github.com/users/Noshyaar/received_events","type":"User","site_admin":false},"body":"Please fix this line so that `*/` is aligned with others.","created_at":"2017-08-26T17:06:09Z","updated_at":"2017-08-26T17:06:09Z","html_url":"https://github.com/godotengine/godot/pull/10659#discussion_r135392909","pull_request_url":"https://api.github.com/repos/godotengine/godot/pulls/10659","_links":{"self":{"href":"https://api.github.com/repos/godotengine/godot/pulls/comments/135392909"},"html":{"href":"https://github.com/godotengine/godot/pull/10659#discussion_r135392909"},"pull_request":{"href":"https://api.github.com/repos/godotengine/godot/pulls/10659"}}},"pull_request":{"url":"https://api.github.com/repos/godotengine/godot/pulls/10659","id":137804226,"html_url":"https://github.com/godotengine/godot/pull/10659","diff_url":"https://github.com/godotengine/godot/pull/10659.diff","patch_url":"https://github.com/godotengine/godot/pull/10659.patch","issue_url":"https://api.github.com/repos/godotengine/godot/issues/10659","number":10659,"state":"open","locked":false,"title":"Add widget for hiding resource previews.","user":{"login":"GalanCM","id":5281342,"avatar_url":"https://avatars1.githubusercontent.com/u/5281342?v=4","gravatar_id":"","url":"https://api.github.com/users/GalanCM","html_url":"https://github.com/GalanCM","followers_url":"https://api.github.com/users/GalanCM/followers","following_url":"https://api.github.com/users/GalanCM/following{/other_user}","gists_url":"https://api.github.com/users/GalanCM/gists{/gist_id}","starred_url":"https://api.github.com/users/GalanCM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GalanCM/subscriptions","organizations_url":"https://api.github.com/users/GalanCM/orgs","repos_url":"https://api.github.com/users/GalanCM/repos","events_url":"https://api.github.com/users/GalanCM/events{/privacy}","received_events_url":"https://api.github.com/users/GalanCM/received_events","type":"User","site_admin":false},"body":"fixes #6542\r\n\r\nAdds a new widget above resource previews to allow users to hide them.\r\n\r\nCurrently works for gradient, mesh, and texture resources. Would need to be implemented for sample and material previews as well, if they're ever re-implemented.","created_at":"2017-08-26T16:45:37Z","updated_at":"2017-08-26T17:06:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"191a087c983866a6f912f043277f4789c975c984","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/godotengine/godot/pulls/10659/commits","review_comments_url":"https://api.github.com/repos/godotengine/godot/pulls/10659/comments","review_comment_url":"https://api.github.com/repos/godotengine/godot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/godotengine/godot/issues/10659/comments","statuses_url":"https://api.github.com/repos/godotengine/godot/statuses/4e86dcaa9ff34b4950dcc983d3871fc88b714160","head":{"label":"GalanCM:preview_collapse","ref":"preview_collapse","sha":"4e86dcaa9ff34b4950dcc983d3871fc88b714160","user":{"login":"GalanCM","id":5281342,"avatar_url":"https://avatars1.githubusercontent.com/u/5281342?v=4","gravatar_id":"","url":"https://api.github.com/users/GalanCM","html_url":"https://github.com/GalanCM","followers_url":"https://api.github.com/users/GalanCM/followers","following_url":"https://api.github.com/users/GalanCM/following{/other_user}","gists_url":"https://api.github.com/users/GalanCM/gists{/gist_id}","starred_url":"https://api.github.com/users/GalanCM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GalanCM/subscriptions","organizations_url":"https://api.github.com/users/GalanCM/orgs","repos_url":"https://api.github.com/users/GalanCM/repos","events_url":"https://api.github.com/users/GalanCM/events{/privacy}","received_events_url":"https://api.github.com/users/GalanCM/received_events","type":"User","site_admin":false},"repo":{"id":33252960,"name":"godot","full_name":"GalanCM/godot","owner":{"login":"GalanCM","id":5281342,"avatar_url":"https://avatars1.githubusercontent.com/u/5281342?v=4","gravatar_id":"","url":"https://api.github.com/users/GalanCM","html_url":"https://github.com/GalanCM","followers_url":"https://api.github.com/users/GalanCM/followers","following_url":"https://api.github.com/users/GalanCM/following{/other_user}","gists_url":"https://api.github.com/users/GalanCM/gists{/gist_id}","starred_url":"https://api.github.com/users/GalanCM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GalanCM/subscriptions","organizations_url":"https://api.github.com/users/GalanCM/orgs","repos_url":"https://api.github.com/users/GalanCM/repos","events_url":"https://api.github.com/users/GalanCM/events{/privacy}","received_events_url":"https://api.github.com/users/GalanCM/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/GalanCM/godot","description":"Godot Game Engine","fork":true,"url":"https://api.github.com/repos/GalanCM/godot","forks_url":"https://api.github.com/repos/GalanCM/godot/forks","keys_url":"https://api.github.com/repos/GalanCM/godot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GalanCM/godot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GalanCM/godot/teams","hooks_url":"https://api.github.com/repos/GalanCM/godot/hooks","issue_events_url":"https://api.github.com/repos/GalanCM/godot/issues/events{/number}","events_url":"https://api.github.com/repos/GalanCM/godot/events","assignees_url":"https://api.github.com/repos/GalanCM/godot/assignees{/user}","branches_url":"https://api.github.com/repos/GalanCM/godot/branches{/branch}","tags_url":"https://api.github.com/repos/GalanCM/godot/tags","blobs_url":"https://api.github.com/repos/GalanCM/godot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GalanCM/godot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GalanCM/godot/git/refs{/sha}","trees_url":"https://api.github.com/repos/GalanCM/godot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GalanCM/godot/statuses/{sha}","languages_url":"https://api.github.com/repos/GalanCM/godot/languages","stargazers_url":"https://api.github.com/repos/GalanCM/godot/stargazers","contributors_url":"https://api.github.com/repos/GalanCM/godot/contributors","subscribers_url":"https://api.github.com/repos/GalanCM/godot/subscribers","subscription_url":"https://api.github.com/repos/GalanCM/godot/subscription","commits_url":"https://api.github.com/repos/GalanCM/godot/commits{/sha}","git_commits_url":"https://api.github.com/repos/GalanCM/godot/git/commits{/sha}","comments_url":"https://api.github.com/repos/GalanCM/godot/comments{/number}","issue_comment_url":"https://api.github.com/repos/GalanCM/godot/issues/comments{/number}","contents_url":"https://api.github.com/repos/GalanCM/godot/contents/{+path}","compare_url":"https://api.github.com/repos/GalanCM/godot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GalanCM/godot/merges","archive_url":"https://api.github.com/repos/GalanCM/godot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GalanCM/godot/downloads","issues_url":"https://api.github.com/repos/GalanCM/godot/issues{/number}","pulls_url":"https://api.github.com/repos/GalanCM/godot/pulls{/number}","milestones_url":"https://api.github.com/repos/GalanCM/godot/milestones{/number}","notifications_url":"https://api.github.com/repos/GalanCM/godot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GalanCM/godot/labels{/name}","releases_url":"https://api.github.com/repos/GalanCM/godot/releases{/id}","deployments_url":"https://api.github.com/repos/GalanCM/godot/deployments","created_at":"2015-04-01T14:40:32Z","updated_at":"2017-01-25T19:01:44Z","pushed_at":"2017-08-26T16:06:41Z","git_url":"git://github.com/GalanCM/godot.git","ssh_url":"git@github.com:GalanCM/godot.git","clone_url":"https://github.com/GalanCM/godot.git","svn_url":"https://github.com/GalanCM/godot","homepage":null,"size":159735,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"godotengine:master","ref":"master","sha":"9f1e3903df1b5d6b3df297b6ba87106c052d7b08","user":{"login":"godotengine","id":6318500,"avatar_url":"https://avatars2.githubusercontent.com/u/6318500?v=4","gravatar_id":"","url":"https://api.github.com/users/godotengine","html_url":"https://github.com/godotengine","followers_url":"https://api.github.com/users/godotengine/followers","following_url":"https://api.github.com/users/godotengine/following{/other_user}","gists_url":"https://api.github.com/users/godotengine/gists{/gist_id}","starred_url":"https://api.github.com/users/godotengine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/godotengine/subscriptions","organizations_url":"https://api.github.com/users/godotengine/orgs","repos_url":"https://api.github.com/users/godotengine/repos","events_url":"https://api.github.com/users/godotengine/events{/privacy}","received_events_url":"https://api.github.com/users/godotengine/received_events","type":"Organization","site_admin":false},"repo":{"id":15634981,"name":"godot","full_name":"godotengine/godot","owner":{"login":"godotengine","id":6318500,"avatar_url":"https://avatars2.githubusercontent.com/u/6318500?v=4","gravatar_id":"","url":"https://api.github.com/users/godotengine","html_url":"https://github.com/godotengine","followers_url":"https://api.github.com/users/godotengine/followers","following_url":"https://api.github.com/users/godotengine/following{/other_user}","gists_url":"https://api.github.com/users/godotengine/gists{/gist_id}","starred_url":"https://api.github.com/users/godotengine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/godotengine/subscriptions","organizations_url":"https://api.github.com/users/godotengine/orgs","repos_url":"https://api.github.com/users/godotengine/repos","events_url":"https://api.github.com/users/godotengine/events{/privacy}","received_events_url":"https://api.github.com/users/godotengine/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/godotengine/godot","description":"Godot Engine – Multi-platform 2D and 3D game engine","fork":false,"url":"https://api.github.com/repos/godotengine/godot","forks_url":"https://api.github.com/repos/godotengine/godot/forks","keys_url":"https://api.github.com/repos/godotengine/godot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/godotengine/godot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/godotengine/godot/teams","hooks_url":"https://api.github.com/repos/godotengine/godot/hooks","issue_events_url":"https://api.github.com/repos/godotengine/godot/issues/events{/number}","events_url":"https://api.github.com/repos/godotengine/godot/events","assignees_url":"https://api.github.com/repos/godotengine/godot/assignees{/user}","branches_url":"https://api.github.com/repos/godotengine/godot/branches{/branch}","tags_url":"https://api.github.com/repos/godotengine/godot/tags","blobs_url":"https://api.github.com/repos/godotengine/godot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/godotengine/godot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/godotengine/godot/git/refs{/sha}","trees_url":"https://api.github.com/repos/godotengine/godot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/godotengine/godot/statuses/{sha}","languages_url":"https://api.github.com/repos/godotengine/godot/languages","stargazers_url":"https://api.github.com/repos/godotengine/godot/stargazers","contributors_url":"https://api.github.com/repos/godotengine/godot/contributors","subscribers_url":"https://api.github.com/repos/godotengine/godot/subscribers","subscription_url":"https://api.github.com/repos/godotengine/godot/subscription","commits_url":"https://api.github.com/repos/godotengine/godot/commits{/sha}","git_commits_url":"https://api.github.com/repos/godotengine/godot/git/commits{/sha}","comments_url":"https://api.github.com/repos/godotengine/godot/comments{/number}","issue_comment_url":"https://api.github.com/repos/godotengine/godot/issues/comments{/number}","contents_url":"https://api.github.com/repos/godotengine/godot/contents/{+path}","compare_url":"https://api.github.com/repos/godotengine/godot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/godotengine/godot/merges","archive_url":"https://api.github.com/repos/godotengine/godot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/godotengine/godot/downloads","issues_url":"https://api.github.com/repos/godotengine/godot/issues{/number}","pulls_url":"https://api.github.com/repos/godotengine/godot/pulls{/number}","milestones_url":"https://api.github.com/repos/godotengine/godot/milestones{/number}","notifications_url":"https://api.github.com/repos/godotengine/godot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/godotengine/godot/labels{/name}","releases_url":"https://api.github.com/repos/godotengine/godot/releases{/id}","deployments_url":"https://api.github.com/repos/godotengine/godot/deployments","created_at":"2014-01-04T16:05:36Z","updated_at":"2017-08-26T15:40:57Z","pushed_at":"2017-08-26T17:05:23Z","git_url":"git://github.com/godotengine/godot.git","ssh_url":"git@github.com:godotengine/godot.git","clone_url":"https://github.com/godotengine/godot.git","svn_url":"https://github.com/godotengine/godot","homepage":"https://godotengine.org","size":174586,"stargazers_count":9045,"watchers_count":9045,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2219,"mirror_url":null,"open_issues_count":2075,"forks":2219,"open_issues":2075,"watchers":9045,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/godotengine/godot/pulls/10659"},"html":{"href":"https://github.com/godotengine/godot/pull/10659"},"issue":{"href":"https://api.github.com/repos/godotengine/godot/issues/10659"},"comments":{"href":"https://api.github.com/repos/godotengine/godot/issues/10659/comments"},"review_comments":{"href":"https://api.github.com/repos/godotengine/godot/pulls/10659/comments"},"review_comment":{"href":"https://api.github.com/repos/godotengine/godot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/godotengine/godot/pulls/10659/commits"},"statuses":{"href":"https://api.github.com/repos/godotengine/godot/statuses/4e86dcaa9ff34b4950dcc983d3871fc88b714160"}}}}
{"actor":{"display_login":"Noshyaar"}}