-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EREGCSC-2283 -- Search box in Policy Repo sidebar (#986)
* chore: package.lock updates * feat: add SearchInput component and basic execute/clear methods * chore: first steps to reduce complexity of url routing * chore: simplify remove selection logic * refactor: back button and final subject removal logic * refactor: finish removing subject complexity * refactor: greatly simplify watching route * refactor: DRY * refactor: more complexity reduction * feat: persist searchQuery on back/forward and new tab links * test: add search query tests; adjust existing tests * chore: DRY * test: add a11y testing and fix found issues * test: add policy doc fixture * chore: add comment to explain param_validation_dict * test: uncomment assertion and make it pass * feat: gracefully handle commented subject id in URL query param
- Loading branch information
Showing
9 changed files
with
247 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
[ | ||
{ | ||
"document_id": "[Mock] Cypress Fixture", | ||
"file_name": "ff-test-em.pdf", | ||
"date": "2023-08-30", | ||
"summary": "This is a test of the ABP broadcasting system", | ||
"locations": [ | ||
{ | ||
"id": 1359, | ||
"title": 42, | ||
"part": 400, | ||
"type": "section", | ||
"section_id": 203, | ||
"parent": 1356 | ||
}, | ||
{ | ||
"id": 1355, | ||
"title": 42, | ||
"part": 400, | ||
"type": "subpart", | ||
"subpart_id": "A" | ||
} | ||
], | ||
"document_type": { | ||
"id": 4, | ||
"name": "Informal Guidance", | ||
"description": "Useful internal emails and one-pagers" | ||
}, | ||
"subject": [ | ||
{ | ||
"id": 2, | ||
"full_name": "Alternative Benefit Plan", | ||
"short_name": null, | ||
"abbreviation": "ABP" | ||
} | ||
], | ||
"uid": "e641d2f8-7fde-41d5-a025-8388bb51d6ae", | ||
"document_id_headline": null, | ||
"summary_headline": null | ||
} | ||
] |
25 changes: 0 additions & 25 deletions
25
solution/ui/regulations/eregs-component-lib/package-lock.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.