{"action":"created","issue":{"url":"https://api.github.com/repos/cfpb/cfgov-refresh/issues/3850","repository_url":"https://api.github.com/repos/cfpb/cfgov-refresh","labels_url":"https://api.github.com/repos/cfpb/cfgov-refresh/issues/3850/labels{/name}","comments_url":"https://api.github.com/repos/cfpb/cfgov-refresh/issues/3850/comments","events_url":"https://api.github.com/repos/cfpb/cfgov-refresh/issues/3850/events","html_url":"https://github.com/cfpb/cfgov-refresh/pull/3850","id":302778722,"number":3850,"title":"Secondary nav: only show current section's child pages","user":{"login":"virginiacc","id":778171,"avatar_url":"https://avatars2.githubusercontent.com/u/778171?v=4","gravatar_id":"","url":"https://api.github.com/users/virginiacc","html_url":"https://github.com/virginiacc","followers_url":"https://api.github.com/users/virginiacc/followers","following_url":"https://api.github.com/users/virginiacc/following{/other_user}","gists_url":"https://api.github.com/users/virginiacc/gists{/gist_id}","starred_url":"https://api.github.com/users/virginiacc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/virginiacc/subscriptions","organizations_url":"https://api.github.com/users/virginiacc/orgs","repos_url":"https://api.github.com/users/virginiacc/repos","events_url":"https://api.github.com/users/virginiacc/events{/privacy}","received_events_url":"https://api.github.com/users/virginiacc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-06T16:47:56Z","updated_at":"2018-03-19T21:11:32Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/cfpb/cfgov-refresh/pulls/3850","html_url":"https://github.com/cfpb/cfgov-refresh/pull/3850","diff_url":"https://github.com/cfpb/cfgov-refresh/pull/3850.diff","patch_url":"https://github.com/cfpb/cfgov-refresh/pull/3850.patch"},"body":"Only show the child pages of the currently active section in secondary nav on browse pages\r\n\r\n## Changes\r\n\r\n- Update secondary nav to only find children of current browse page (or its browse page parent)\r\n\r\n## Testing\r\n\r\n1. Check out branch\r\n2. Navigate to [a browse page with sibling sections](http://localhost:8000/policy-compliance/guidance/supervision-examinations/appeals-policy/)\r\n3. Verify that only the children of the current section show in nav\r\n\r\n## Screenshots\r\n\r\n### Current nav\r\n![current](https://user-images.githubusercontent.com/778171/37045482-e6593272-211a-11e8-817d-5caaceb70470.png)\r\n\r\n\r\n### Updated nav\r\n\r\n![updated](https://user-images.githubusercontent.com/778171/37045487-e99683f4-211a-11e8-8688-677da4056e67.png)\r\n\r\n\r\n## Checklist\r\n\r\n* [ ] PR has an informative and human-readable title\r\n* [ ] Changes are limited to a single goal (no scope creep)\r\n* [ ] Code can be automatically merged (no conflicts)\r\n* [ ] Code follows the standards laid out in the [development playbook](https://github.com/cfpb/development)\r\n* [ ] Passes all existing automated tests\r\n* [ ] Any *change* in functionality is tested\r\n* [ ] New functions are documented (with a description, list of inputs, and expected output)\r\n* [ ] Placeholder code is flagged\r\n* [ ] Visually tested in supported browsers and devices\r\n* [ ] Project documentation has been updated\r\n* [ ] Reviewers requested with the [Reviewer tool](https://help.github.com/articles/about-pull-request-reviews/) :arrow_right:\r\n"},"comment":{"url":"https://api.github.com/repos/cfpb/cfgov-refresh/issues/comments/374378975","html_url":"https://github.com/cfpb/cfgov-refresh/pull/3850#issuecomment-374378975","issue_url":"https://api.github.com/repos/cfpb/cfgov-refresh/issues/3850","id":374378975,"user":{"login":"sebworks","id":1696212,"avatar_url":"https://avatars0.githubusercontent.com/u/1696212?v=4","gravatar_id":"","url":"https://api.github.com/users/sebworks","html_url":"https://github.com/sebworks","followers_url":"https://api.github.com/users/sebworks/followers","following_url":"https://api.github.com/users/sebworks/following{/other_user}","gists_url":"https://api.github.com/users/sebworks/gists{/gist_id}","starred_url":"https://api.github.com/users/sebworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebworks/subscriptions","organizations_url":"https://api.github.com/users/sebworks/orgs","repos_url":"https://api.github.com/users/sebworks/repos","events_url":"https://api.github.com/users/sebworks/events{/privacy}","received_events_url":"https://api.github.com/users/sebworks/received_events","type":"User","site_admin":false},"created_at":"2018-03-19T21:11:32Z","updated_at":"2018-03-19T21:11:32Z","author_association":"MEMBER","body":"@virginiacc, this looks good on my end. Do we have an idea of which pages will be affected by this change?"}}
{"actor":{"display_login":"sebworks"}}