{"action":"opened","number":236,"pull_request":{"url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/pulls/236","id":187923887,"html_url":"https://github.com/AmericanMedicalAssociation/ama-style-guide-2/pull/236","diff_url":"https://github.com/AmericanMedicalAssociation/ama-style-guide-2/pull/236.diff","patch_url":"https://github.com/AmericanMedicalAssociation/ama-style-guide-2/pull/236.patch","issue_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/issues/236","number":236,"state":"open","locked":false,"title":"[EWL-5062] SG2 | Correct Article Stub Metadata","user":{"login":"JaeBea","id":4438120,"avatar_url":"https://avatars0.githubusercontent.com/u/4438120?v=4","gravatar_id":"","url":"https://api.github.com/users/JaeBea","html_url":"https://github.com/JaeBea","followers_url":"https://api.github.com/users/JaeBea/followers","following_url":"https://api.github.com/users/JaeBea/following{/other_user}","gists_url":"https://api.github.com/users/JaeBea/gists{/gist_id}","starred_url":"https://api.github.com/users/JaeBea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JaeBea/subscriptions","organizations_url":"https://api.github.com/users/JaeBea/orgs","repos_url":"https://api.github.com/users/JaeBea/repos","events_url":"https://api.github.com/users/JaeBea/events{/privacy}","received_events_url":"https://api.github.com/users/JaeBea/received_events","type":"User","site_admin":false},"body":"## Ticket(s)\r\n\r\n**Jira Ticket**\r\n- [EWL-5062: SG2 | Correct Article Stub Metadata](https://issues.ama-assn.org/browse/EWL-5062)\r\n\r\n## Description\r\nCurrently when adding json metadata information, but no paragraph to anything using the article stub molecule,  the metadata section does not appear. When data for this area is provided, the template should render it correctly.\r\n\r\nThis update refactors the article stub template removing overused macros and completely removes references and use of \"title_only\" which is a remnant of an old and abandoned requirement.\r\n\r\n## To Test\r\n\r\n- Pull `feature/EWL-5062-correct-article-stub-metadata` branch\r\n- Run `gulp serve` in ama-style-guide-2/styleguide to ensure a local version of style guide is running.\r\n- Navigate to [Pages > News](http://localhost:3000/?p=pages-news).\r\n- Scroll to bottom of page and confirm 4-up article teaser has one article with metadata.\r\n- Navigate to [Molecules > Article Stub](http://localhost:3000/?p=molecules-article-stub).\r\n- Click on the gear icon in the top right corner of the screen and then click \"show pattern info\". There should be no reference to \"title_only\".\r\n\r\n## Visual Regressions\r\n\r\nWhen testing via backstop, multiple failures occur from some test cases containing the tools organism. This is due to text changes in the json. Bug ticket has been created, [EWL-5067 SG2 | Update Backstop references for Tools List](https://issues.ama-assn.org/browse/EWL-5067).\r\n\r\nReference images for the article stub backstop tests have been included in this PR.\r\n\r\n\r\n## Relevant Screenshots/GIFs\r\n\r\n### Four up teaser section of news page\r\n![image](https://user-images.githubusercontent.com/4438120/40018077-d73a28cc-5780-11e8-886f-bdf393504420.png)\r\n\r\n\r\n## Remaining Tasks\r\nN/A\r\n\r\n\r\n## Additional Notes\r\nN/A\r\n\r\n---\r\n\r\n[Guidelines for Contribution](CONTRIBUTING.md)\r\n[SG2 Standards](ama-style-guide-2/docs/standards.md)\r\n","created_at":"2018-05-14T19:15:35Z","updated_at":"2018-05-14T19:15:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"JaeBea","id":4438120,"avatar_url":"https://avatars0.githubusercontent.com/u/4438120?v=4","gravatar_id":"","url":"https://api.github.com/users/JaeBea","html_url":"https://github.com/JaeBea","followers_url":"https://api.github.com/users/JaeBea/followers","following_url":"https://api.github.com/users/JaeBea/following{/other_user}","gists_url":"https://api.github.com/users/JaeBea/gists{/gist_id}","starred_url":"https://api.github.com/users/JaeBea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JaeBea/subscriptions","organizations_url":"https://api.github.com/users/JaeBea/orgs","repos_url":"https://api.github.com/users/JaeBea/repos","events_url":"https://api.github.com/users/JaeBea/events{/privacy}","received_events_url":"https://api.github.com/users/JaeBea/received_events","type":"User","site_admin":false},"assignees":[{"login":"JaeBea","id":4438120,"avatar_url":"https://avatars0.githubusercontent.com/u/4438120?v=4","gravatar_id":"","url":"https://api.github.com/users/JaeBea","html_url":"https://github.com/JaeBea","followers_url":"https://api.github.com/users/JaeBea/followers","following_url":"https://api.github.com/users/JaeBea/following{/other_user}","gists_url":"https://api.github.com/users/JaeBea/gists{/gist_id}","starred_url":"https://api.github.com/users/JaeBea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JaeBea/subscriptions","organizations_url":"https://api.github.com/users/JaeBea/orgs","repos_url":"https://api.github.com/users/JaeBea/repos","events_url":"https://api.github.com/users/JaeBea/events{/privacy}","received_events_url":"https://api.github.com/users/JaeBea/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":757110278,"url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/labels/ready%20for%20review","name":"ready for review","color":"e2fca1","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/pulls/236/commits","review_comments_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/pulls/236/comments","review_comment_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/issues/236/comments","statuses_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/statuses/d9f668af041415cb33ccde6d3aca1ee34e9352b6","head":{"label":"AmericanMedicalAssociation:bugfix/EWL-5062-correct-article-stub-metadata","ref":"bugfix/EWL-5062-correct-article-stub-metadata","sha":"d9f668af041415cb33ccde6d3aca1ee34e9352b6","user":{"login":"AmericanMedicalAssociation","id":16295432,"avatar_url":"https://avatars3.githubusercontent.com/u/16295432?v=4","gravatar_id":"","url":"https://api.github.com/users/AmericanMedicalAssociation","html_url":"https://github.com/AmericanMedicalAssociation","followers_url":"https://api.github.com/users/AmericanMedicalAssociation/followers","following_url":"https://api.github.com/users/AmericanMedicalAssociation/following{/other_user}","gists_url":"https://api.github.com/users/AmericanMedicalAssociation/gists{/gist_id}","starred_url":"https://api.github.com/users/AmericanMedicalAssociation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmericanMedicalAssociation/subscriptions","organizations_url":"https://api.github.com/users/AmericanMedicalAssociation/orgs","repos_url":"https://api.github.com/users/AmericanMedicalAssociation/repos","events_url":"https://api.github.com/users/AmericanMedicalAssociation/events{/privacy}","received_events_url":"https://api.github.com/users/AmericanMedicalAssociation/received_events","type":"Organization","site_admin":false},"repo":{"id":111467426,"name":"ama-style-guide-2","full_name":"AmericanMedicalAssociation/ama-style-guide-2","owner":{"login":"AmericanMedicalAssociation","id":16295432,"avatar_url":"https://avatars3.githubusercontent.com/u/16295432?v=4","gravatar_id":"","url":"https://api.github.com/users/AmericanMedicalAssociation","html_url":"https://github.com/AmericanMedicalAssociation","followers_url":"https://api.github.com/users/AmericanMedicalAssociation/followers","following_url":"https://api.github.com/users/AmericanMedicalAssociation/following{/other_user}","gists_url":"https://api.github.com/users/AmericanMedicalAssociation/gists{/gist_id}","starred_url":"https://api.github.com/users/AmericanMedicalAssociation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmericanMedicalAssociation/subscriptions","organizations_url":"https://api.github.com/users/AmericanMedicalAssociation/orgs","repos_url":"https://api.github.com/users/AmericanMedicalAssociation/repos","events_url":"https://api.github.com/users/AmericanMedicalAssociation/events{/privacy}","received_events_url":"https://api.github.com/users/AmericanMedicalAssociation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AmericanMedicalAssociation/ama-style-guide-2","description":"The new and improved living style guide for the American Medical Association.","fork":false,"url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2","forks_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/forks","keys_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/teams","hooks_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/hooks","issue_events_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/issues/events{/number}","events_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/events","assignees_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/assignees{/user}","branches_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/branches{/branch}","tags_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/tags","blobs_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/git/refs{/sha}","trees_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/statuses/{sha}","languages_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/languages","stargazers_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/stargazers","contributors_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/contributors","subscribers_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/subscribers","subscription_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/subscription","commits_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/commits{/sha}","git_commits_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/git/commits{/sha}","comments_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/comments{/number}","issue_comment_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/issues/comments{/number}","contents_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/contents/{+path}","compare_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/merges","archive_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/downloads","issues_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/issues{/number}","pulls_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/pulls{/number}","milestones_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/milestones{/number}","notifications_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/labels{/name}","releases_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/releases{/id}","deployments_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/deployments","created_at":"2017-11-20T22:00:21Z","updated_at":"2018-05-14T17:03:44Z","pushed_at":"2018-05-14T18:36:27Z","git_url":"git://github.com/AmericanMedicalAssociation/ama-style-guide-2.git","ssh_url":"git@github.com:AmericanMedicalAssociation/ama-style-guide-2.git","clone_url":"https://github.com/AmericanMedicalAssociation/ama-style-guide-2.git","svn_url":"https://github.com/AmericanMedicalAssociation/ama-style-guide-2","homepage":"https://americanmedicalassociation.github.io/ama-style-guide-2/","size":303878,"stargazers_count":1,"watchers_count":1,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":11,"license":null,"forks":2,"open_issues":11,"watchers":1,"default_branch":"develop"}},"base":{"label":"AmericanMedicalAssociation:develop","ref":"develop","sha":"6365b62117c7e35c2ea916bf1d2d1e8a81454496","user":{"login":"AmericanMedicalAssociation","id":16295432,"avatar_url":"https://avatars3.githubusercontent.com/u/16295432?v=4","gravatar_id":"","url":"https://api.github.com/users/AmericanMedicalAssociation","html_url":"https://github.com/AmericanMedicalAssociation","followers_url":"https://api.github.com/users/AmericanMedicalAssociation/followers","following_url":"https://api.github.com/users/AmericanMedicalAssociation/following{/other_user}","gists_url":"https://api.github.com/users/AmericanMedicalAssociation/gists{/gist_id}","starred_url":"https://api.github.com/users/AmericanMedicalAssociation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmericanMedicalAssociation/subscriptions","organizations_url":"https://api.github.com/users/AmericanMedicalAssociation/orgs","repos_url":"https://api.github.com/users/AmericanMedicalAssociation/repos","events_url":"https://api.github.com/users/AmericanMedicalAssociation/events{/privacy}","received_events_url":"https://api.github.com/users/AmericanMedicalAssociation/received_events","type":"Organization","site_admin":false},"repo":{"id":111467426,"name":"ama-style-guide-2","full_name":"AmericanMedicalAssociation/ama-style-guide-2","owner":{"login":"AmericanMedicalAssociation","id":16295432,"avatar_url":"https://avatars3.githubusercontent.com/u/16295432?v=4","gravatar_id":"","url":"https://api.github.com/users/AmericanMedicalAssociation","html_url":"https://github.com/AmericanMedicalAssociation","followers_url":"https://api.github.com/users/AmericanMedicalAssociation/followers","following_url":"https://api.github.com/users/AmericanMedicalAssociation/following{/other_user}","gists_url":"https://api.github.com/users/AmericanMedicalAssociation/gists{/gist_id}","starred_url":"https://api.github.com/users/AmericanMedicalAssociation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmericanMedicalAssociation/subscriptions","organizations_url":"https://api.github.com/users/AmericanMedicalAssociation/orgs","repos_url":"https://api.github.com/users/AmericanMedicalAssociation/repos","events_url":"https://api.github.com/users/AmericanMedicalAssociation/events{/privacy}","received_events_url":"https://api.github.com/users/AmericanMedicalAssociation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AmericanMedicalAssociation/ama-style-guide-2","description":"The new and improved living style guide for the American Medical Association.","fork":false,"url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2","forks_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/forks","keys_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/teams","hooks_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/hooks","issue_events_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/issues/events{/number}","events_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/events","assignees_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/assignees{/user}","branches_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/branches{/branch}","tags_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/tags","blobs_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/git/refs{/sha}","trees_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/statuses/{sha}","languages_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/languages","stargazers_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/stargazers","contributors_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/contributors","subscribers_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/subscribers","subscription_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/subscription","commits_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/commits{/sha}","git_commits_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/git/commits{/sha}","comments_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/comments{/number}","issue_comment_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/issues/comments{/number}","contents_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/contents/{+path}","compare_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/merges","archive_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/downloads","issues_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/issues{/number}","pulls_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/pulls{/number}","milestones_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/milestones{/number}","notifications_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/labels{/name}","releases_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/releases{/id}","deployments_url":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/deployments","created_at":"2017-11-20T22:00:21Z","updated_at":"2018-05-14T17:03:44Z","pushed_at":"2018-05-14T18:36:27Z","git_url":"git://github.com/AmericanMedicalAssociation/ama-style-guide-2.git","ssh_url":"git@github.com:AmericanMedicalAssociation/ama-style-guide-2.git","clone_url":"https://github.com/AmericanMedicalAssociation/ama-style-guide-2.git","svn_url":"https://github.com/AmericanMedicalAssociation/ama-style-guide-2","homepage":"https://americanmedicalassociation.github.io/ama-style-guide-2/","size":303878,"stargazers_count":1,"watchers_count":1,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":11,"license":null,"forks":2,"open_issues":11,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/pulls/236"},"html":{"href":"https://github.com/AmericanMedicalAssociation/ama-style-guide-2/pull/236"},"issue":{"href":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/issues/236"},"comments":{"href":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/issues/236/comments"},"review_comments":{"href":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/pulls/236/comments"},"review_comment":{"href":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/pulls/236/commits"},"statuses":{"href":"https://api.github.com/repos/AmericanMedicalAssociation/ama-style-guide-2/statuses/d9f668af041415cb33ccde6d3aca1ee34e9352b6"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":55,"deletions":74,"changed_files":11}}
{"actor":{"display_login":"JaeBea"}}