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
Add o-search-input
component
#8401
Conversation
8100da9
to
8f34b10
Compare
o-search-input
component
72174a8
to
f62459c
Compare
f62459c
to
563b99d
Compare
* Remove need for data-language attribute and remove 'with context' from search imports Co-authored-by: Ans <anselmbradford@users.noreply.github.com>
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.
🆒
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.
cfgov/ask_cfpb/jinja2/ask-cfpb/_ask-search.html
got borked by a merge conflict
Fixed in 0c152c8 |
Additions
Changes
How to test this PR
The (x) inside the search input should not show up unless text is entered. It should darken on hover and it should get a focus rectangle on tabbing to the (x) icon.
Global search - Any page expand the global search.
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
eRegs
http://localhost:8000/rules-policy/regulations/search-regulations/results/?regs=1002
TDP
http://localhost:8000/consumer-tools/educator-tools/youth-financial-education/teach/activities/
Prepaid
http://localhost:8000/data-research/prepaid-accounts/search-agreements/
Screenshots
Ask CFPB:
Screen.Recording.2024-05-10.at.1.56.48.PM.mov
Before (mobile view):
After (mobile view):
Regs:
Before:
After:
TDP:
Before:
After:
Prepaid:
Before:
After:
iOS 17.2
Note
http://localhost:8000/consumer-tools/auto-loans/answers/