{"action":"created","comment":{"url":"https://api.github.com/repos/samvera/hyrax/pulls/comments/174950016","pull_request_review_id":104401089,"id":174950016,"diff_hunk":"@@ -0,0 +1,15 @@\n+<div class=\"modal fade\" id=\"change-tab-content-block\" tabindex=\"-1\" role=\"dialog\">\n+  <div class=\"modal-dialog\" role=\"document\">\n+    <div class=\"modal-content\">\n+      <div class=\"delete-collection-form\">\n+        <div class=\"modal-body\">\n+          <p>Are you sure you want to leave this tab?  Any unsaved data will be lost.</p>","path":"app/views/hyrax/content_blocks/_modal_content_block.html.erb","position":null,"original_position":6,"commit_id":"8d2a9d5b0a202ad6a02c0e7db684742ef332eaf9","original_commit_id":"4673fd9b7ca8521f827ada254f742b5aca7ad6f3","user":{"login":"VivianChu","id":1864660,"avatar_url":"https://avatars0.githubusercontent.com/u/1864660?v=4","gravatar_id":"","url":"https://api.github.com/users/VivianChu","html_url":"https://github.com/VivianChu","followers_url":"https://api.github.com/users/VivianChu/followers","following_url":"https://api.github.com/users/VivianChu/following{/other_user}","gists_url":"https://api.github.com/users/VivianChu/gists{/gist_id}","starred_url":"https://api.github.com/users/VivianChu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VivianChu/subscriptions","organizations_url":"https://api.github.com/users/VivianChu/orgs","repos_url":"https://api.github.com/users/VivianChu/repos","events_url":"https://api.github.com/users/VivianChu/events{/privacy}","received_events_url":"https://api.github.com/users/VivianChu/received_events","type":"User","site_admin":false},"body":"@cjcolvar - This string has been pull out.  Thanks.","created_at":"2018-03-15T22:19:46Z","updated_at":"2018-03-15T22:19:46Z","html_url":"https://github.com/samvera/hyrax/pull/2799#discussion_r174950016","pull_request_url":"https://api.github.com/repos/samvera/hyrax/pulls/2799","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/samvera/hyrax/pulls/comments/174950016"},"html":{"href":"https://github.com/samvera/hyrax/pull/2799#discussion_r174950016"},"pull_request":{"href":"https://api.github.com/repos/samvera/hyrax/pulls/2799"}},"in_reply_to_id":174924285},"pull_request":{"url":"https://api.github.com/repos/samvera/hyrax/pulls/2799","id":174130887,"html_url":"https://github.com/samvera/hyrax/pull/2799","diff_url":"https://github.com/samvera/hyrax/pull/2799.diff","patch_url":"https://github.com/samvera/hyrax/pull/2799.patch","issue_url":"https://api.github.com/repos/samvera/hyrax/issues/2799","number":2799,"state":"open","locked":false,"title":"Adds confirmation alert before leaving unsaved content blocks","user":{"login":"VivianChu","id":1864660,"avatar_url":"https://avatars0.githubusercontent.com/u/1864660?v=4","gravatar_id":"","url":"https://api.github.com/users/VivianChu","html_url":"https://github.com/VivianChu","followers_url":"https://api.github.com/users/VivianChu/followers","following_url":"https://api.github.com/users/VivianChu/following{/other_user}","gists_url":"https://api.github.com/users/VivianChu/gists{/gist_id}","starred_url":"https://api.github.com/users/VivianChu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VivianChu/subscriptions","organizations_url":"https://api.github.com/users/VivianChu/orgs","repos_url":"https://api.github.com/users/VivianChu/repos","events_url":"https://api.github.com/users/VivianChu/events{/privacy}","received_events_url":"https://api.github.com/users/VivianChu/received_events","type":"User","site_admin":false},"body":"Fixes #1088  ; refs #1088 \r\n\r\nAdds confirmation alert when changing tabs to warn user that the unsaved content will be lost.\r\n\r\n@samvera/hyrax-code-reviewers\r\n","created_at":"2018-03-09T23:10:39Z","updated_at":"2018-03-15T22:19:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c4989fb6220a2d104b08e17f60abe44172b27565","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":503705298,"url":"https://api.github.com/repos/samvera/hyrax/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/samvera/hyrax/pulls/2799/commits","review_comments_url":"https://api.github.com/repos/samvera/hyrax/pulls/2799/comments","review_comment_url":"https://api.github.com/repos/samvera/hyrax/pulls/comments{/number}","comments_url":"https://api.github.com/repos/samvera/hyrax/issues/2799/comments","statuses_url":"https://api.github.com/repos/samvera/hyrax/statuses/8d2a9d5b0a202ad6a02c0e7db684742ef332eaf9","head":{"label":"samvera:feature/1088","ref":"feature/1088","sha":"8d2a9d5b0a202ad6a02c0e7db684742ef332eaf9","user":{"login":"samvera","id":109426,"avatar_url":"https://avatars2.githubusercontent.com/u/109426?v=4","gravatar_id":"","url":"https://api.github.com/users/samvera","html_url":"https://github.com/samvera","followers_url":"https://api.github.com/users/samvera/followers","following_url":"https://api.github.com/users/samvera/following{/other_user}","gists_url":"https://api.github.com/users/samvera/gists{/gist_id}","starred_url":"https://api.github.com/users/samvera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samvera/subscriptions","organizations_url":"https://api.github.com/users/samvera/orgs","repos_url":"https://api.github.com/users/samvera/repos","events_url":"https://api.github.com/users/samvera/events{/privacy}","received_events_url":"https://api.github.com/users/samvera/received_events","type":"Organization","site_admin":false},"repo":{"id":75130658,"name":"hyrax","full_name":"samvera/hyrax","owner":{"login":"samvera","id":109426,"avatar_url":"https://avatars2.githubusercontent.com/u/109426?v=4","gravatar_id":"","url":"https://api.github.com/users/samvera","html_url":"https://github.com/samvera","followers_url":"https://api.github.com/users/samvera/followers","following_url":"https://api.github.com/users/samvera/following{/other_user}","gists_url":"https://api.github.com/users/samvera/gists{/gist_id}","starred_url":"https://api.github.com/users/samvera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samvera/subscriptions","organizations_url":"https://api.github.com/users/samvera/orgs","repos_url":"https://api.github.com/users/samvera/repos","events_url":"https://api.github.com/users/samvera/events{/privacy}","received_events_url":"https://api.github.com/users/samvera/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/samvera/hyrax","description":"Hyrax is a front-end based on the robust Samvera framework, providing a user interface for common repository features","fork":false,"url":"https://api.github.com/repos/samvera/hyrax","forks_url":"https://api.github.com/repos/samvera/hyrax/forks","keys_url":"https://api.github.com/repos/samvera/hyrax/keys{/key_id}","collaborators_url":"https://api.github.com/repos/samvera/hyrax/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/samvera/hyrax/teams","hooks_url":"https://api.github.com/repos/samvera/hyrax/hooks","issue_events_url":"https://api.github.com/repos/samvera/hyrax/issues/events{/number}","events_url":"https://api.github.com/repos/samvera/hyrax/events","assignees_url":"https://api.github.com/repos/samvera/hyrax/assignees{/user}","branches_url":"https://api.github.com/repos/samvera/hyrax/branches{/branch}","tags_url":"https://api.github.com/repos/samvera/hyrax/tags","blobs_url":"https://api.github.com/repos/samvera/hyrax/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/samvera/hyrax/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/samvera/hyrax/git/refs{/sha}","trees_url":"https://api.github.com/repos/samvera/hyrax/git/trees{/sha}","statuses_url":"https://api.github.com/repos/samvera/hyrax/statuses/{sha}","languages_url":"https://api.github.com/repos/samvera/hyrax/languages","stargazers_url":"https://api.github.com/repos/samvera/hyrax/stargazers","contributors_url":"https://api.github.com/repos/samvera/hyrax/contributors","subscribers_url":"https://api.github.com/repos/samvera/hyrax/subscribers","subscription_url":"https://api.github.com/repos/samvera/hyrax/subscription","commits_url":"https://api.github.com/repos/samvera/hyrax/commits{/sha}","git_commits_url":"https://api.github.com/repos/samvera/hyrax/git/commits{/sha}","comments_url":"https://api.github.com/repos/samvera/hyrax/comments{/number}","issue_comment_url":"https://api.github.com/repos/samvera/hyrax/issues/comments{/number}","contents_url":"https://api.github.com/repos/samvera/hyrax/contents/{+path}","compare_url":"https://api.github.com/repos/samvera/hyrax/compare/{base}...{head}","merges_url":"https://api.github.com/repos/samvera/hyrax/merges","archive_url":"https://api.github.com/repos/samvera/hyrax/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/samvera/hyrax/downloads","issues_url":"https://api.github.com/repos/samvera/hyrax/issues{/number}","pulls_url":"https://api.github.com/repos/samvera/hyrax/pulls{/number}","milestones_url":"https://api.github.com/repos/samvera/hyrax/milestones{/number}","notifications_url":"https://api.github.com/repos/samvera/hyrax/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/samvera/hyrax/labels{/name}","releases_url":"https://api.github.com/repos/samvera/hyrax/releases{/id}","deployments_url":"https://api.github.com/repos/samvera/hyrax/deployments","created_at":"2016-11-29T23:09:59Z","updated_at":"2018-03-15T22:14:18Z","pushed_at":"2018-03-15T22:15:55Z","git_url":"git://github.com/samvera/hyrax.git","ssh_url":"git@github.com:samvera/hyrax.git","clone_url":"https://github.com/samvera/hyrax.git","svn_url":"https://github.com/samvera/hyrax","homepage":"http://hyr.ax/","size":66925,"stargazers_count":74,"watchers_count":74,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":59,"mirror_url":null,"archived":false,"open_issues_count":525,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":59,"open_issues":525,"watchers":74,"default_branch":"master"}},"base":{"label":"samvera:master","ref":"master","sha":"01d8ad5ecdf5b5658e6800d23d570c5d7b2c9cdc","user":{"login":"samvera","id":109426,"avatar_url":"https://avatars2.githubusercontent.com/u/109426?v=4","gravatar_id":"","url":"https://api.github.com/users/samvera","html_url":"https://github.com/samvera","followers_url":"https://api.github.com/users/samvera/followers","following_url":"https://api.github.com/users/samvera/following{/other_user}","gists_url":"https://api.github.com/users/samvera/gists{/gist_id}","starred_url":"https://api.github.com/users/samvera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samvera/subscriptions","organizations_url":"https://api.github.com/users/samvera/orgs","repos_url":"https://api.github.com/users/samvera/repos","events_url":"https://api.github.com/users/samvera/events{/privacy}","received_events_url":"https://api.github.com/users/samvera/received_events","type":"Organization","site_admin":false},"repo":{"id":75130658,"name":"hyrax","full_name":"samvera/hyrax","owner":{"login":"samvera","id":109426,"avatar_url":"https://avatars2.githubusercontent.com/u/109426?v=4","gravatar_id":"","url":"https://api.github.com/users/samvera","html_url":"https://github.com/samvera","followers_url":"https://api.github.com/users/samvera/followers","following_url":"https://api.github.com/users/samvera/following{/other_user}","gists_url":"https://api.github.com/users/samvera/gists{/gist_id}","starred_url":"https://api.github.com/users/samvera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samvera/subscriptions","organizations_url":"https://api.github.com/users/samvera/orgs","repos_url":"https://api.github.com/users/samvera/repos","events_url":"https://api.github.com/users/samvera/events{/privacy}","received_events_url":"https://api.github.com/users/samvera/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/samvera/hyrax","description":"Hyrax is a front-end based on the robust Samvera framework, providing a user interface for common repository features","fork":false,"url":"https://api.github.com/repos/samvera/hyrax","forks_url":"https://api.github.com/repos/samvera/hyrax/forks","keys_url":"https://api.github.com/repos/samvera/hyrax/keys{/key_id}","collaborators_url":"https://api.github.com/repos/samvera/hyrax/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/samvera/hyrax/teams","hooks_url":"https://api.github.com/repos/samvera/hyrax/hooks","issue_events_url":"https://api.github.com/repos/samvera/hyrax/issues/events{/number}","events_url":"https://api.github.com/repos/samvera/hyrax/events","assignees_url":"https://api.github.com/repos/samvera/hyrax/assignees{/user}","branches_url":"https://api.github.com/repos/samvera/hyrax/branches{/branch}","tags_url":"https://api.github.com/repos/samvera/hyrax/tags","blobs_url":"https://api.github.com/repos/samvera/hyrax/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/samvera/hyrax/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/samvera/hyrax/git/refs{/sha}","trees_url":"https://api.github.com/repos/samvera/hyrax/git/trees{/sha}","statuses_url":"https://api.github.com/repos/samvera/hyrax/statuses/{sha}","languages_url":"https://api.github.com/repos/samvera/hyrax/languages","stargazers_url":"https://api.github.com/repos/samvera/hyrax/stargazers","contributors_url":"https://api.github.com/repos/samvera/hyrax/contributors","subscribers_url":"https://api.github.com/repos/samvera/hyrax/subscribers","subscription_url":"https://api.github.com/repos/samvera/hyrax/subscription","commits_url":"https://api.github.com/repos/samvera/hyrax/commits{/sha}","git_commits_url":"https://api.github.com/repos/samvera/hyrax/git/commits{/sha}","comments_url":"https://api.github.com/repos/samvera/hyrax/comments{/number}","issue_comment_url":"https://api.github.com/repos/samvera/hyrax/issues/comments{/number}","contents_url":"https://api.github.com/repos/samvera/hyrax/contents/{+path}","compare_url":"https://api.github.com/repos/samvera/hyrax/compare/{base}...{head}","merges_url":"https://api.github.com/repos/samvera/hyrax/merges","archive_url":"https://api.github.com/repos/samvera/hyrax/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/samvera/hyrax/downloads","issues_url":"https://api.github.com/repos/samvera/hyrax/issues{/number}","pulls_url":"https://api.github.com/repos/samvera/hyrax/pulls{/number}","milestones_url":"https://api.github.com/repos/samvera/hyrax/milestones{/number}","notifications_url":"https://api.github.com/repos/samvera/hyrax/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/samvera/hyrax/labels{/name}","releases_url":"https://api.github.com/repos/samvera/hyrax/releases{/id}","deployments_url":"https://api.github.com/repos/samvera/hyrax/deployments","created_at":"2016-11-29T23:09:59Z","updated_at":"2018-03-15T22:14:18Z","pushed_at":"2018-03-15T22:15:55Z","git_url":"git://github.com/samvera/hyrax.git","ssh_url":"git@github.com:samvera/hyrax.git","clone_url":"https://github.com/samvera/hyrax.git","svn_url":"https://github.com/samvera/hyrax","homepage":"http://hyr.ax/","size":66925,"stargazers_count":74,"watchers_count":74,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":59,"mirror_url":null,"archived":false,"open_issues_count":525,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":59,"open_issues":525,"watchers":74,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/samvera/hyrax/pulls/2799"},"html":{"href":"https://github.com/samvera/hyrax/pull/2799"},"issue":{"href":"https://api.github.com/repos/samvera/hyrax/issues/2799"},"comments":{"href":"https://api.github.com/repos/samvera/hyrax/issues/2799/comments"},"review_comments":{"href":"https://api.github.com/repos/samvera/hyrax/pulls/2799/comments"},"review_comment":{"href":"https://api.github.com/repos/samvera/hyrax/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/samvera/hyrax/pulls/2799/commits"},"statuses":{"href":"https://api.github.com/repos/samvera/hyrax/statuses/8d2a9d5b0a202ad6a02c0e7db684742ef332eaf9"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"VivianChu"}}