Skip to content
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

Migrate legacy a-tag to a-tag-filter #8652

Merged
merged 2 commits into from
Nov 19, 2024
Merged

Conversation

anselmbradford
Copy link
Member

@anselmbradford anselmbradford commented Nov 19, 2024

Changes

  • Migrate legacy a-tag to a-tag-filter

How to test this PR

  1. Check the following filters and see that the tags are not bolded like production, but are regular weight like what is in the DS

http://localhost:8000/rules-policy/regulations/search-regulations/results/?regs=1002&q=mortage
http://localhost:8000/data-research/prepaid-accounts/search-agreements/?prepaid_type=Government+benefits
http://localhost:8000/consumer-tools/educator-tools/youth-financial-education/teach/activities/?grade_level=6

Screenshots

Before After
Screenshot 2024-11-19 at 11 29 09 AM
Screenshot 2024-11-19 at 11 28 58 AM

Note

iRegs has special tags that truncate "Regulation" at mobile down to "Reg". Because the tags now use flexbox, the whole tag label needs a container. Otherwise flexbox adds a gap after Reg. Wrapping the label in a generic span makes the whole thing a child of the flexbox and fixes this.

@anselmbradford anselmbradford added this pull request to the merge queue Nov 19, 2024
Merged via the queue into main with commit 4884c2a Nov 19, 2024
16 checks passed
@anselmbradford anselmbradford deleted the ans_migrate_legacy_tags branch November 19, 2024 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants