{"action":"created","comment":{"url":"https://api.github.com/repos/otwcode/otwarchive/pulls/comments/43847010","id":43847010,"diff_hunk":"@@ -249,6 +249,51 @@\n   click_button(\"Preview\")\n end\n \n+When /^I set the fandom to \"([^\\\"]*)\"$/ do |fandom|\n+  fill_in(\"Fandoms\", with: fandom)\n+end\n+\n+When /^I select \"([^\\\"]*)\" for editing$/ do |title|","path":"features/step_definitions/work_steps.rb","position":8,"original_position":8,"commit_id":"03378f2e55652889d693d94c582ff21adeccdb36","original_commit_id":"03378f2e55652889d693d94c582ff21adeccdb36","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the `/` if it should be a division.","created_at":"2015-11-04T06:34:08Z","updated_at":"2015-11-04T06:34:08Z","html_url":"https://github.com/otwcode/otwarchive/pull/2212#discussion_r43847010","pull_request_url":"https://api.github.com/repos/otwcode/otwarchive/pulls/2212","_links":{"self":{"href":"https://api.github.com/repos/otwcode/otwarchive/pulls/comments/43847010"},"html":{"href":"https://github.com/otwcode/otwarchive/pull/2212#discussion_r43847010"},"pull_request":{"href":"https://api.github.com/repos/otwcode/otwarchive/pulls/2212"}}},"pull_request":{"url":"https://api.github.com/repos/otwcode/otwarchive/pulls/2212","id":49653233,"html_url":"https://github.com/otwcode/otwarchive/pull/2212","diff_url":"https://github.com/otwcode/otwarchive/pull/2212.diff","patch_url":"https://github.com/otwcode/otwarchive/pull/2212.patch","issue_url":"https://api.github.com/repos/otwcode/otwarchive/issues/2212","number":2212,"state":"open","locked":false,"title":"AO3 AJAX change Approve to Reply on homepage and inbox","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":"https://otwarchive.atlassian.net/browse/AO3-3543\r\n\r\nIncludes shalott's changes from #2209, which includes bug fixes noted on the issue and my previous fixes from #2207. Having fun already, aren't you, reviewer?\r\n\r\nshalott's changes were:\r\nMore decisions on behavior:\r\n* when a work has comment moderation turned off with unreviewed comments remaining, those comments will stay unreviewed\r\n* a creator must approve comments before replying to them\r\n* when commenter A makes a comment, creator approves it, and then commenter B replies to A's comment, A will only be notified of the comment's existence AFTER it is approved\r\n\r\nMy *new* changes are:\r\n* When a user clicks Approve to approve a comment from their inbox, the Approve button will change to a Reply button without reloading the page, assuming the user has JavaScript enabled\r\n* Added the ability to approve a comment from the inbox module on the homepage, with the same button-changing behavior\r\n\r\nBut wait! I have found another bug. :( when you disabled JavaScript in your browser and attempt to use the Approve button on the inbox or homepage, you get an error: \r\n\r\nUnknown action \r\nThe action '177' could not be found for CommentsController\r\n\r\n(Where the number of the action it's looking for corresponds with `@comment.id`)\r\n\r\nWhat it _should_ do is return you to the page you approved it from. ","created_at":"2015-11-04T06:33:50Z","updated_at":"2015-11-04T06:34:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0e2b3873c92e6c8f1a93bbb3bd102902788f1720","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/otwcode/otwarchive/pulls/2212/commits","review_comments_url":"https://api.github.com/repos/otwcode/otwarchive/pulls/2212/comments","review_comment_url":"https://api.github.com/repos/otwcode/otwarchive/pulls/comments{/number}","comments_url":"https://api.github.com/repos/otwcode/otwarchive/issues/2212/comments","statuses_url":"https://api.github.com/repos/otwcode/otwarchive/statuses/03378f2e55652889d693d94c582ff21adeccdb36","head":{"label":"sarken:AO3-3543_ajax_approve","ref":"AO3-3543_ajax_approve","sha":"03378f2e55652889d693d94c582ff21adeccdb36","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},"repo":{"id":2028681,"name":"otwarchive","full_name":"sarken/otwarchive","owner":{"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},"private":false,"html_url":"https://github.com/sarken/otwarchive","description":"The Organization for Transformative Works - Archive Project","fork":true,"url":"https://api.github.com/repos/sarken/otwarchive","forks_url":"https://api.github.com/repos/sarken/otwarchive/forks","keys_url":"https://api.github.com/repos/sarken/otwarchive/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sarken/otwarchive/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sarken/otwarchive/teams","hooks_url":"https://api.github.com/repos/sarken/otwarchive/hooks","issue_events_url":"https://api.github.com/repos/sarken/otwarchive/issues/events{/number}","events_url":"https://api.github.com/repos/sarken/otwarchive/events","assignees_url":"https://api.github.com/repos/sarken/otwarchive/assignees{/user}","branches_url":"https://api.github.com/repos/sarken/otwarchive/branches{/branch}","tags_url":"https://api.github.com/repos/sarken/otwarchive/tags","blobs_url":"https://api.github.com/repos/sarken/otwarchive/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sarken/otwarchive/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sarken/otwarchive/git/refs{/sha}","trees_url":"https://api.github.com/repos/sarken/otwarchive/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sarken/otwarchive/statuses/{sha}","languages_url":"https://api.github.com/repos/sarken/otwarchive/languages","stargazers_url":"https://api.github.com/repos/sarken/otwarchive/stargazers","contributors_url":"https://api.github.com/repos/sarken/otwarchive/contributors","subscribers_url":"https://api.github.com/repos/sarken/otwarchive/subscribers","subscription_url":"https://api.github.com/repos/sarken/otwarchive/subscription","commits_url":"https://api.github.com/repos/sarken/otwarchive/commits{/sha}","git_commits_url":"https://api.github.com/repos/sarken/otwarchive/git/commits{/sha}","comments_url":"https://api.github.com/repos/sarken/otwarchive/comments{/number}","issue_comment_url":"https://api.github.com/repos/sarken/otwarchive/issues/comments{/number}","contents_url":"https://api.github.com/repos/sarken/otwarchive/contents/{+path}","compare_url":"https://api.github.com/repos/sarken/otwarchive/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sarken/otwarchive/merges","archive_url":"https://api.github.com/repos/sarken/otwarchive/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sarken/otwarchive/downloads","issues_url":"https://api.github.com/repos/sarken/otwarchive/issues{/number}","pulls_url":"https://api.github.com/repos/sarken/otwarchive/pulls{/number}","milestones_url":"https://api.github.com/repos/sarken/otwarchive/milestones{/number}","notifications_url":"https://api.github.com/repos/sarken/otwarchive/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sarken/otwarchive/labels{/name}","releases_url":"https://api.github.com/repos/sarken/otwarchive/releases{/id}","created_at":"2011-07-11T05:42:20Z","updated_at":"2015-05-07T22:58:35Z","pushed_at":"2015-11-04T06:30:26Z","git_url":"git://github.com/sarken/otwarchive.git","ssh_url":"git@github.com:sarken/otwarchive.git","clone_url":"https://github.com/sarken/otwarchive.git","svn_url":"https://github.com/sarken/otwarchive","homepage":"http://transformativeworks.org/projects/archive","size":52049,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"otwcode:master","ref":"master","sha":"0bc19ce374d3bd1467740e395d7db6c6d4fb91ab","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-02T07:26:15Z","pushed_at":"2015-11-04T06:33:50Z","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":153418,"stargazers_count":167,"watchers_count":167,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":107,"mirror_url":null,"open_issues_count":32,"forks":107,"open_issues":32,"watchers":167,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/otwcode/otwarchive/pulls/2212"},"html":{"href":"https://github.com/otwcode/otwarchive/pull/2212"},"issue":{"href":"https://api.github.com/repos/otwcode/otwarchive/issues/2212"},"comments":{"href":"https://api.github.com/repos/otwcode/otwarchive/issues/2212/comments"},"review_comments":{"href":"https://api.github.com/repos/otwcode/otwarchive/pulls/2212/comments"},"review_comment":{"href":"https://api.github.com/repos/otwcode/otwarchive/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/otwcode/otwarchive/pulls/2212/commits"},"statuses":{"href":"https://api.github.com/repos/otwcode/otwarchive/statuses/03378f2e55652889d693d94c582ff21adeccdb36"}}}}