{"action":"created","comment":{"url":"https://api.github.com/repos/otwcode/otwarchive/pulls/comments/45552422","id":45552422,"diff_hunk":"@@ -2,21 +2,25 @@\n <div id=\"footer\" role=\"contentinfo\" class=\"region\">\n \t<h3 class=\"landmark heading\"><%= ts('Footer', key: 'footer') %></h3>\n   <ul class=\"navigation actions\" role=\"navigation\">\n-    <% unless !(logged_in? || logged_in_as_admin?) || Skin.in_chooser.empty?%>\n-      <li class=\"module group\">\n-        <h4 class=\"heading\"><%= ts('Customize', key: 'footer') %></h4>\n-        <ul class=\"menu\">\n-          <li aria-haspopup=\"true\">\n-            <a href=\"#\"><%= ts('Choose Skin', key: 'footer') %></a>\n-            <ul id=\"skin_chooser\" class=\"expandable secondary\">\n-              <li><%= link_to ts('Default', key: 'footer'), unset_skins_path %></li>\n-              <% Skin.in_chooser.order(:title).each do |s| %>\n-                <li><%= link_to s.title, set_skin_path(s) %></li>\n-              <% end %>\n-            </ul> \n+    <% unless !(logged_in? || logged_in_as_admin?) %>\n+      <% cache('Skins_menu/v1/'+(Rails.cache.fetch('skins_generation') || '0')) do %>\n+        <% unless ( Skin.in_chooser.empty? ) %>","path":"app/views/layouts/_footer.html.erb","position":18,"original_position":18,"commit_id":"89a14f9e81d040ac7f613f68fbf5de92906d2d30","original_commit_id":"89a14f9e81d040ac7f613f68fbf5de92906d2d30","user":{"login":"sarken","id":907055,"avatar_url":"https://avatars.githubusercontent.com/u/907055?v=3","gravatar_id":"","url":"https://api.github.com/users/sarken","html_url":"https://github.com/sarken","followers_url":"https://api.github.com/users/sarken/followers","following_url":"https://api.github.com/users/sarken/following{/other_user}","gists_url":"https://api.github.com/users/sarken/gists{/gist_id}","starred_url":"https://api.github.com/users/sarken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarken/subscriptions","organizations_url":"https://api.github.com/users/sarken/orgs","repos_url":"https://api.github.com/users/sarken/repos","events_url":"https://api.github.com/users/sarken/events{/privacy}","received_events_url":"https://api.github.com/users/sarken/received_events","type":"User","site_admin":false},"body":"I don't think this needs the ( )","created_at":"2015-11-21T23:24:11Z","updated_at":"2015-11-21T23:24:11Z","html_url":"https://github.com/otwcode/otwarchive/pull/2227#discussion_r45552422","pull_request_url":"https://api.github.com/repos/otwcode/otwarchive/pulls/2227","_links":{"self":{"href":"https://api.github.com/repos/otwcode/otwarchive/pulls/comments/45552422"},"html":{"href":"https://github.com/otwcode/otwarchive/pull/2227#discussion_r45552422"},"pull_request":{"href":"https://api.github.com/repos/otwcode/otwarchive/pulls/2227"}}},"pull_request":{"url":"https://api.github.com/repos/otwcode/otwarchive/pulls/2227","id":51440759,"html_url":"https://github.com/otwcode/otwarchive/pull/2227","diff_url":"https://github.com/otwcode/otwarchive/pull/2227.diff","patch_url":"https://github.com/otwcode/otwarchive/pull/2227.patch","issue_url":"https://api.github.com/repos/otwcode/otwarchive/issues/2227","number":2227,"state":"open","locked":false,"title":"AO3-4378 skins performance improvements","user":{"login":"zz9pzza","id":1606304,"avatar_url":"https://avatars.githubusercontent.com/u/1606304?v=3","gravatar_id":"","url":"https://api.github.com/users/zz9pzza","html_url":"https://github.com/zz9pzza","followers_url":"https://api.github.com/users/zz9pzza/followers","following_url":"https://api.github.com/users/zz9pzza/following{/other_user}","gists_url":"https://api.github.com/users/zz9pzza/gists{/gist_id}","starred_url":"https://api.github.com/users/zz9pzza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zz9pzza/subscriptions","organizations_url":"https://api.github.com/users/zz9pzza/orgs","repos_url":"https://api.github.com/users/zz9pzza/repos","events_url":"https://api.github.com/users/zz9pzza/events{/privacy}","received_events_url":"https://api.github.com/users/zz9pzza/received_events","type":"User","site_admin":false},"body":"I would test this adding and removing skins from the list that can turn up in the menu and seeing that the menu is updated.\r\n\r\nI would edit a skin and ensure that the skin rendered was correct.","created_at":"2015-11-21T12:53:01Z","updated_at":"2015-11-21T23:24:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8a80bff5883fa6ad93599740078d498c58e1085d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/otwcode/otwarchive/pulls/2227/commits","review_comments_url":"https://api.github.com/repos/otwcode/otwarchive/pulls/2227/comments","review_comment_url":"https://api.github.com/repos/otwcode/otwarchive/pulls/comments{/number}","comments_url":"https://api.github.com/repos/otwcode/otwarchive/issues/2227/comments","statuses_url":"https://api.github.com/repos/otwcode/otwarchive/statuses/89a14f9e81d040ac7f613f68fbf5de92906d2d30","head":{"label":"zz9pzza:AO3-4370-Skins","ref":"AO3-4370-Skins","sha":"89a14f9e81d040ac7f613f68fbf5de92906d2d30","user":{"login":"zz9pzza","id":1606304,"avatar_url":"https://avatars.githubusercontent.com/u/1606304?v=3","gravatar_id":"","url":"https://api.github.com/users/zz9pzza","html_url":"https://github.com/zz9pzza","followers_url":"https://api.github.com/users/zz9pzza/followers","following_url":"https://api.github.com/users/zz9pzza/following{/other_user}","gists_url":"https://api.github.com/users/zz9pzza/gists{/gist_id}","starred_url":"https://api.github.com/users/zz9pzza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zz9pzza/subscriptions","organizations_url":"https://api.github.com/users/zz9pzza/orgs","repos_url":"https://api.github.com/users/zz9pzza/repos","events_url":"https://api.github.com/users/zz9pzza/events{/privacy}","received_events_url":"https://api.github.com/users/zz9pzza/received_events","type":"User","site_admin":false},"repo":{"id":5325884,"name":"otwarchive","full_name":"zz9pzza/otwarchive","owner":{"login":"zz9pzza","id":1606304,"avatar_url":"https://avatars.githubusercontent.com/u/1606304?v=3","gravatar_id":"","url":"https://api.github.com/users/zz9pzza","html_url":"https://github.com/zz9pzza","followers_url":"https://api.github.com/users/zz9pzza/followers","following_url":"https://api.github.com/users/zz9pzza/following{/other_user}","gists_url":"https://api.github.com/users/zz9pzza/gists{/gist_id}","starred_url":"https://api.github.com/users/zz9pzza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zz9pzza/subscriptions","organizations_url":"https://api.github.com/users/zz9pzza/orgs","repos_url":"https://api.github.com/users/zz9pzza/repos","events_url":"https://api.github.com/users/zz9pzza/events{/privacy}","received_events_url":"https://api.github.com/users/zz9pzza/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zz9pzza/otwarchive","description":"The Organization for Transformative Works (OTW) - Archive Of Our Own (AO3) Project","fork":true,"url":"https://api.github.com/repos/zz9pzza/otwarchive","forks_url":"https://api.github.com/repos/zz9pzza/otwarchive/forks","keys_url":"https://api.github.com/repos/zz9pzza/otwarchive/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zz9pzza/otwarchive/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zz9pzza/otwarchive/teams","hooks_url":"https://api.github.com/repos/zz9pzza/otwarchive/hooks","issue_events_url":"https://api.github.com/repos/zz9pzza/otwarchive/issues/events{/number}","events_url":"https://api.github.com/repos/zz9pzza/otwarchive/events","assignees_url":"https://api.github.com/repos/zz9pzza/otwarchive/assignees{/user}","branches_url":"https://api.github.com/repos/zz9pzza/otwarchive/branches{/branch}","tags_url":"https://api.github.com/repos/zz9pzza/otwarchive/tags","blobs_url":"https://api.github.com/repos/zz9pzza/otwarchive/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zz9pzza/otwarchive/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zz9pzza/otwarchive/git/refs{/sha}","trees_url":"https://api.github.com/repos/zz9pzza/otwarchive/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zz9pzza/otwarchive/statuses/{sha}","languages_url":"https://api.github.com/repos/zz9pzza/otwarchive/languages","stargazers_url":"https://api.github.com/repos/zz9pzza/otwarchive/stargazers","contributors_url":"https://api.github.com/repos/zz9pzza/otwarchive/contributors","subscribers_url":"https://api.github.com/repos/zz9pzza/otwarchive/subscribers","subscription_url":"https://api.github.com/repos/zz9pzza/otwarchive/subscription","commits_url":"https://api.github.com/repos/zz9pzza/otwarchive/commits{/sha}","git_commits_url":"https://api.github.com/repos/zz9pzza/otwarchive/git/commits{/sha}","comments_url":"https://api.github.com/repos/zz9pzza/otwarchive/comments{/number}","issue_comment_url":"https://api.github.com/repos/zz9pzza/otwarchive/issues/comments{/number}","contents_url":"https://api.github.com/repos/zz9pzza/otwarchive/contents/{+path}","compare_url":"https://api.github.com/repos/zz9pzza/otwarchive/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zz9pzza/otwarchive/merges","archive_url":"https://api.github.com/repos/zz9pzza/otwarchive/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zz9pzza/otwarchive/downloads","issues_url":"https://api.github.com/repos/zz9pzza/otwarchive/issues{/number}","pulls_url":"https://api.github.com/repos/zz9pzza/otwarchive/pulls{/number}","milestones_url":"https://api.github.com/repos/zz9pzza/otwarchive/milestones{/number}","notifications_url":"https://api.github.com/repos/zz9pzza/otwarchive/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zz9pzza/otwarchive/labels{/name}","releases_url":"https://api.github.com/repos/zz9pzza/otwarchive/releases{/id}","created_at":"2012-08-07T09:13:15Z","updated_at":"2015-05-08T17:08:36Z","pushed_at":"2015-11-21T22:14:52Z","git_url":"git://github.com/zz9pzza/otwarchive.git","ssh_url":"git@github.com:zz9pzza/otwarchive.git","clone_url":"https://github.com/zz9pzza/otwarchive.git","svn_url":"https://github.com/zz9pzza/otwarchive","homepage":"http://transformativeworks.org/projects/archive","size":48313,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"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":"4085"}},"base":{"label":"otwcode:master","ref":"master","sha":"a57b385dd6df37f67cb7fd9e89badb19b7c10c7f","user":{"login":"otwcode","id":408606,"avatar_url":"https://avatars.githubusercontent.com/u/408606?v=3","gravatar_id":"","url":"https://api.github.com/users/otwcode","html_url":"https://github.com/otwcode","followers_url":"https://api.github.com/users/otwcode/followers","following_url":"https://api.github.com/users/otwcode/following{/other_user}","gists_url":"https://api.github.com/users/otwcode/gists{/gist_id}","starred_url":"https://api.github.com/users/otwcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otwcode/subscriptions","organizations_url":"https://api.github.com/users/otwcode/orgs","repos_url":"https://api.github.com/users/otwcode/repos","events_url":"https://api.github.com/users/otwcode/events{/privacy}","received_events_url":"https://api.github.com/users/otwcode/received_events","type":"Organization","site_admin":false},"repo":{"id":1338040,"name":"otwarchive","full_name":"otwcode/otwarchive","owner":{"login":"otwcode","id":408606,"avatar_url":"https://avatars.githubusercontent.com/u/408606?v=3","gravatar_id":"","url":"https://api.github.com/users/otwcode","html_url":"https://github.com/otwcode","followers_url":"https://api.github.com/users/otwcode/followers","following_url":"https://api.github.com/users/otwcode/following{/other_user}","gists_url":"https://api.github.com/users/otwcode/gists{/gist_id}","starred_url":"https://api.github.com/users/otwcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otwcode/subscriptions","organizations_url":"https://api.github.com/users/otwcode/orgs","repos_url":"https://api.github.com/users/otwcode/repos","events_url":"https://api.github.com/users/otwcode/events{/privacy}","received_events_url":"https://api.github.com/users/otwcode/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/otwcode/otwarchive","description":"The Organization for Transformative Works (OTW) - Archive Of Our Own (AO3) Project","fork":false,"url":"https://api.github.com/repos/otwcode/otwarchive","forks_url":"https://api.github.com/repos/otwcode/otwarchive/forks","keys_url":"https://api.github.com/repos/otwcode/otwarchive/keys{/key_id}","collaborators_url":"https://api.github.com/repos/otwcode/otwarchive/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/otwcode/otwarchive/teams","hooks_url":"https://api.github.com/repos/otwcode/otwarchive/hooks","issue_events_url":"https://api.github.com/repos/otwcode/otwarchive/issues/events{/number}","events_url":"https://api.github.com/repos/otwcode/otwarchive/events","assignees_url":"https://api.github.com/repos/otwcode/otwarchive/assignees{/user}","branches_url":"https://api.github.com/repos/otwcode/otwarchive/branches{/branch}","tags_url":"https://api.github.com/repos/otwcode/otwarchive/tags","blobs_url":"https://api.github.com/repos/otwcode/otwarchive/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/otwcode/otwarchive/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/otwcode/otwarchive/git/refs{/sha}","trees_url":"https://api.github.com/repos/otwcode/otwarchive/git/trees{/sha}","statuses_url":"https://api.github.com/repos/otwcode/otwarchive/statuses/{sha}","languages_url":"https://api.github.com/repos/otwcode/otwarchive/languages","stargazers_url":"https://api.github.com/repos/otwcode/otwarchive/stargazers","contributors_url":"https://api.github.com/repos/otwcode/otwarchive/contributors","subscribers_url":"https://api.github.com/repos/otwcode/otwarchive/subscribers","subscription_url":"https://api.github.com/repos/otwcode/otwarchive/subscription","commits_url":"https://api.github.com/repos/otwcode/otwarchive/commits{/sha}","git_commits_url":"https://api.github.com/repos/otwcode/otwarchive/git/commits{/sha}","comments_url":"https://api.github.com/repos/otwcode/otwarchive/comments{/number}","issue_comment_url":"https://api.github.com/repos/otwcode/otwarchive/issues/comments{/number}","contents_url":"https://api.github.com/repos/otwcode/otwarchive/contents/{+path}","compare_url":"https://api.github.com/repos/otwcode/otwarchive/compare/{base}...{head}","merges_url":"https://api.github.com/repos/otwcode/otwarchive/merges","archive_url":"https://api.github.com/repos/otwcode/otwarchive/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/otwcode/otwarchive/downloads","issues_url":"https://api.github.com/repos/otwcode/otwarchive/issues{/number}","pulls_url":"https://api.github.com/repos/otwcode/otwarchive/pulls{/number}","milestones_url":"https://api.github.com/repos/otwcode/otwarchive/milestones{/number}","notifications_url":"https://api.github.com/repos/otwcode/otwarchive/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/otwcode/otwarchive/labels{/name}","releases_url":"https://api.github.com/repos/otwcode/otwarchive/releases{/id}","created_at":"2011-02-07T14:50:58Z","updated_at":"2015-11-14T23:52:26Z","pushed_at":"2015-11-21T22:15:24Z","git_url":"git://github.com/otwcode/otwarchive.git","ssh_url":"git@github.com:otwcode/otwarchive.git","clone_url":"https://github.com/otwcode/otwarchive.git","svn_url":"https://github.com/otwcode/otwarchive","homepage":"http://transformativeworks.org/projects/archive","size":54075,"stargazers_count":172,"watchers_count":172,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":109,"mirror_url":null,"open_issues_count":36,"forks":109,"open_issues":36,"watchers":172,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/otwcode/otwarchive/pulls/2227"},"html":{"href":"https://github.com/otwcode/otwarchive/pull/2227"},"issue":{"href":"https://api.github.com/repos/otwcode/otwarchive/issues/2227"},"comments":{"href":"https://api.github.com/repos/otwcode/otwarchive/issues/2227/comments"},"review_comments":{"href":"https://api.github.com/repos/otwcode/otwarchive/pulls/2227/comments"},"review_comment":{"href":"https://api.github.com/repos/otwcode/otwarchive/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/otwcode/otwarchive/pulls/2227/commits"},"statuses":{"href":"https://api.github.com/repos/otwcode/otwarchive/statuses/89a14f9e81d040ac7f613f68fbf5de92906d2d30"}}}}