-
Notifications
You must be signed in to change notification settings - Fork 10
Decision: Resources title filtering
Thing | Info |
---|---|
Relevant features | Resources search |
Date started | 2023-04-06 |
Date finished | 2023-04-14 |
Decision status | Done |
Summary of outcome | See list |
We built out the resources page for working with Title 42 parts only. Now that we're adding Title 45 parts, we need to accommodate selecting Title 45 parts. We wanted this to work if you're starting from the resources page, or if you click a "search these resources" button on a Title 45 subpart or section.
This functionality only applies to our in-house metadata-only resource search method, because we don't have a way to do location filtering with search.gov's full-text search method.
What should the filtering behavior be?
- Behavior is unchanged if only one title is available
- If there is more than one title available to the site (e.g. 42 and 45), then a new Title filter will appear on the Resources page
- If there is more than one Title available, no title will be selected by default
- User can perform keyword/text search and Category filtering without selecting a Title
- User cannot filter by part/subpart/section before selecting a title
- Title filter is unique and not part of the “other” filters (Part, Subpart, etc)
- Title does not have a Chip
- When clicking the “Clear All” Chip, Title is not removed or reset
- Once you select a Title, you cannot “unselect” it without leaving and returning to the page
For the "related sections" list on each resource item, we have an existing special behavior: hide all subparts & sections that aren't part of our site. For example, an item can be associated with parts in Title 42 and 45 that our site doesn't contain, but we don't want to display those locations in search results, because they're probably less relevant to the reader.
If you filter by Title X, you see results that are associated with any part in Title X, even if those parts are not in our site (so those locations are not displayed in the "related sections" list).
Please note that all pages on this GitHub wiki are draft working documents, not complete or polished.
Our software team puts non-sensitive technical documentation on this wiki to help us maintain a shared understanding of our work, including what we've done and why. As an open source project, this documentation is public in case anything in here is helpful to other teams, including anyone who may be interested in reusing our code for other projects.
For context, see the HHS Open Source Software plan (2016) and CMS Technical Reference Architecture section about Open Source Software, including Business Rule BR-OSS-13: "CMS-Released OSS Code Must Include Documentation Accessible to the Open Source Community".
For CMS staff and contractors: internal documentation on Enterprise Confluence (requires login).
- Federal policy structured data options
- Regulations
- Resources
- Statute
- Citation formats
- Export data
- Site homepage
- Content authoring
- Search
- Timeline
- Not built
- 2021
- Reg content sources
- Default content view
- System last updated behavior
- Paragraph indenting
- Content authoring workflow
- Browser support
- Focus in left nav submenu
- Multiple content views
- Content review workflow
- Wayfinding while reading content
- Display of rules and NPRMs in sidebar
- Empty states for supplemental content
- 2022
- 2023
- 2024
- Medicaid and CHIP regulations user experience
- Initial pilot research outline
- Comparative analysis
- Statute research
- Usability study SOP
- 2021
- 2022
- 2023-2024: 🔒 Dovetail (requires login)
- 🔒 Overview (requires login)
- Authentication and authorization
- Frontend caching
- Validation checklist
- Search
- Security tools
- Tests and linting
- Archive