Move Ask-cfpb and job listing assets to apps #8399
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ask has some JS/CSS that is spread out across our global styles, but really are Ask-specific. This moves those assets to a new ask-cfpb app.
This PR also moves the job listing assets to a
careers
app, excluding the one on-demand CSS file.Changes
How to test this PR
Ask landing - search should show autocomplete
http://localhost:8000/ask-cfpb/
Ask landing Spanish - search show autocomplete
http://localhost:8000/es/obtener-respuestas/
Ask search - search should not show autocomplete
http://localhost:8000/ask-cfpb/search
Ask answers - search does not have an autocomplete
https://www.consumerfinance.gov/consumer-tools/auto-loans/answers/
Summaries:
Ask detail - resize to mobile to see summary component
http://localhost:8000/ask-cfpb/how-can-i-tell-if-a-friend-neighbor-or-family-member-is-a-victim-of-financial-exploitation-en-1933/
Job listing - click on a current job posting and resize to mobile to see summary component
http://localhost:8000/about-us/careers/current-openings/
Prepaid agreements - minimal summary should be present
http://localhost:8000/data-research/prepaid-accounts/search-agreements/detail/48439/
Notes and todos