-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EREGCSC-2041 -- Adjust SSA.gov Title 16 links #910
Conversation
✨ See the Django Site in action ✨ |
✨ See the Django Site in action ✨ |
@@ -8,7 +8,7 @@ export default { | |||
eregsComponentLib: r("../regulations/eregs-component-lib"), | |||
legacy: r("../../regulations"), | |||
sharedComponents: r( | |||
"../eregs-component-lib/src/components/shared-components" | |||
"../regulations/eregs-component-lib/src/components/shared-components" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update path to match other entries in this file
✨ See the Django Site in action ✨ |
✨ See the Django Site in action ✨ |
✨ See the Django Site in action ✨ |
✨ See the Django Site in action ✨ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
✨ See the Django Site in action ✨ |
Resolves EREGCSC-2041
Description
Pulls titles from
/v3/acts
to be used for the StatuteSelector list items.Fixes issue with Title 16 SSA.gov compilation page URLs.
In the statute table, there is a column for links to the SSA.gov compilation page. Normally, the links to this page only need the title number and the section.
Example: Title 11, Section 1101
✅
https://www.ssa.gov/OP_Home/ssact/title11/1101.htm
However, SSA.gov Title 16 links are a special case. They need to have a
b
appended after the title number.Example: Title 16, Section 1601
❌
https://www.ssa.gov/OP_Home/ssact/title16/1601.htm
✅
https://www.ssa.gov/OP_Home/ssact/title16b/1601.htm
This pull request changes:
v3/acts
API endpoint responsessaGovUrl
utility method that checks for the existence of Title 16 and, if found, uses16b
as the title in the returned URL.urlMethods.js
Statutes.vue
to the sharedutils
file so those new methods can be used in component unit tests, as well as having unit tests of their own.Steps to manually verify this change:
16b
instead of16
prod
statute table with title 16 selected