Repository navigation
Conversation
2 of 3 tasks
Load the distinct category values (stored under categories/<index> keys) and let counsellors filter by one or more of them. The checkbox filter becomes scrollable after ~5 rows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
gpaoloni
force-pushed
the
CHI-4045-usch-category-filter
branch
from
November 26, 2026 16:58
caa2289 to
cfcef37
Compare
3 of 6 tasks
stephenhand
approved these changes
Nov 27, 2026
This branch has not been deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Adds a Categories multi-select filter to the USCH resource search. It is stacked on #4897.
list-string-attributes/categories. The importer stores one key per category (categories/0,categories/1, …), sogetDistinctStringAttributesgets an optionalallowDescendantKeysflag. HRM already supports this flag.CheckboxMultiSelectFilter. The checkbox area now scrolls after about 5 rows; KHP's filters have at most 3 rows, so they look the same./searchasfilters.categories, and a resource matches if it has any of them (OR).HRM dependency (not blocking). techmatters/hrm#1210 maps
categoriesto an exacttermsfilter oncategoriesName. Without that PR the filter still works, but categories are matched as free-text phrases across all fields, so results are looser. No reindex is needed.Checklist
Other Related Issues
CheckboxMultiSelectFilterrefactor).Verification steps
___tests__/states/resources/filterSelectionState/usch.test.tsand___tests__/components/resources/pass, and so dotscandnpm run lint. The fullnpm testsuite was not run locally; please rely on CI for that. The UI has not been checked in a browser against a USCH account yet.AFTER YOU MERGE
You are responsible for ensuring the above steps are completed. If you move a ticket into QA without advising what version to test, the QA team will assume the latest tag has the changes. If it does not, the following confusion is on you! :-P
🤖 Generated with Claude Code