-
Notifications
You must be signed in to change notification settings - Fork 70
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
Finalize design for FL AutoSuggest interface #18960
Comments
Thread here asking if #19484 and #18960 are dupes or not: https://dsva.slack.com/archives/C06S9DADEUB/p1730932102417359 |
Notes for myself whenever I start on this ticket:
Example of data: |
Error message needed for the following user stories:
Other questions to answer
|
@Agile6MSkinner re: ACs, need to add / update @davidmpickett can we talk about this in UX sync to finish refining / points? |
Well, not really, because we're not doing fuzzy search. So the "best bet" is generally the pattern that Michelle and Michael came up with which is match in the name, if not secondary matches in the common conditions from the start of one of the conditions, if not match something that's in the description. If we wanted to do fuzzy search, we'd need to bring in a library for that where if someone typed "dyalisys" rather than "dialysis" it'd match that.
We could definitely add analytics to show when no results come back from a search |
End of sprint update: We discussed this in UX sync on 12/19, but were unable to get through every behavior recommendation outlined in the "Needs review" section. This will roll into next sprint to leave time for reviews and adding annotations. |
What is the intended behavior when someone chooses "View all health services"? The label might be a misnomer unless the user is given a way to view all available services. If we actually intend to return a list of the facilities in the specified area, we may want to change the label to something more representative, such as "Find a local facility" or "View facilities in the area". |
We can use the combo box!
|
@thejordanwood Does this mean we are unblocked to start development? |
@Agile6MSkinner Not quite. I still need to update the Figma designs to show the combo box and there are a couple of open tech feasibility questions in the Figma comments. I believe this should be wrapped up by the end of the week. |
User Story or Problem Statement
Last year we mapped out some key steps in the flow, but we may need to get more granular to unblock engineers now that we're getting ready to implement
List of services with associated fields
Design
Autosuggest page in Facility Locator Figma
Defined Behaviors
Search functionality
- Minimum number of characters is 2.
- This matches community providers.
- We can test behavior in usability testing.
- All suggestions that match what a users types in should display.
- The USWDS combo box component doesn't have guidance on this.
- Only "starts with" for now.
- We can test behavior in usability testing.
- Continue to winnow
- Show full "Name (Known As)" in search dropdown
- Most results will be 1-2 lines, a couple of results will be 3 lines
- Show "Name (Known As)"
- We should not show words from description field in search results, but we should still search for them in the background. This should be fine now that the highlight isn't there anymore and looks to be how the 526EZ autosuggest is working.
- When typing into search field: The "View all health services" solves for this and gives them an option.
- When submitting search: For now, no changes. If this is a problem that comes up in usability testing then we can tailor the no results wording to have more specific next steps.
- Show in field before user starts typing and always show in dropdown.
- Usability test this and consider rewording to something like "View facilities in the area" (Michelle's comment) or changing the help text to "Filter search results by..." if it doesn't test well.
- Current users are able to select "View all health services" from dropdown and search for everything. (Relevant ticket)
Design
- Remove placeholder and dropdown and add hint text.
- Placeholder text is not great for accessibility because it goes away once they start typing.
- When a user first clicks into the field, a dropdown appears that says "Search for an available service." This also isn't ideal because it's very inconsistent on if/when it's read by a screen reader.
- Community providers and VA health will need different help text.
- Community provider hint text: "Begin typing to search for a service, like Chiropractor or Optometrist."
- VA health hint text: "Begin typing to search for a service, like vision or dental." (TBD)
- Use the combo box component
- This is a USWDS component that has been added to the component library. The DST is working on adding it to the DS in their upcoming sprint and expect it to be ready in February.
- Jordan and Dave went to the Design office hours on 1/6/2025 to confirm that we can use the combo box.
Error states
- On enter or clicking search button: If nothing is selected, "Start typing and select a service type." error is displayed.
- Error message in Figma
- No results message in Figma
- Show "No results found. Search for a different service." in dropdown
- Error message in Figma
Miscellaneous
- No.
- Removed from mockups
- The Contention Classification team own the 526EZ form
- To test their autosuggest field, use this staging link to their prototype.
- Since looking at this a year ago, they have updated designs in Figma and conducted a research study on the autosuggest input field
Tech feasibility questions
- From Eli: Well, not really, because we're not doing fuzzy search. So the "best bet" is generally the pattern that Michelle and Michael came up with which is match in the name, if not secondary matches in the common conditions from the start of one of the conditions, if not match something that's in the description. If we wanted to do fuzzy search, we'd need to bring in a library for that where if someone typed "dyalisys" rather than "dialysis" it'd match that.
- From Eli: We could definitely add analytics to show when no results come back from a search
Acceptance Criteria
The text was updated successfully, but these errors were encountered: