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

Design user experience for search term updates vs. new search #264

Closed
hackartisan opened this issue Nov 22, 2024 · 8 comments
Closed

Design user experience for search term updates vs. new search #264

hackartisan opened this issue Nov 22, 2024 · 8 comments
Assignees

Comments

@hackartisan
Copy link
Member

hackartisan commented Nov 22, 2024

Summary or User Story

There are two related user stories that we should accommodate in our UI:

  1. As a researcher I need to start a new search after looking through some search results so that I can see results for a different term or phrase.
  2. As a researcher I need to modify my search terms (or a given facet) and retain the same faceting and sorting so that I can continue to hone in on the materials I'm looking for.

We need a UX that accommodates both with clarity and ease of use.

Acceptance Criteria

  • There's a set of wireframes that show how these use cases will be accommodated by the UI
  • We have discussed and accepted the wireframes and created an implementation ticket

First step

Make some drawings

@hackartisan hackartisan changed the title Changing search term should re-set sort to relevance Design user experience for search term updates vs. new search Jan 28, 2025
@hackartisan hackartisan self-assigned this Jan 28, 2025
@sdellis
Copy link
Member

sdellis commented Jan 28, 2025

@hackartisan I don't think this use case requires more discussion as you've articulated it.

However, the details around how different facets are visualized, designed for interaction, and the parameters that are allowed will require more discussion. We started talking about which facets can have multiple values (i.e., Subjects: "Arts and Culture" AND "Motion Pictures") and which cannot, such as Date ranges. We will need to spend some time on each facet to determine what the behavior will look like and the affordances we can provide for exploration, but those would be in separate tickets.

I believe the facet values should change as the user is exploring to provide immediate feedback in the form of search results (as opposed to selecting values and then click "Apply"). This exploration path could also leave breadcrumbs/markers that the explorer can use to retrace their steps (aka, "rewind to"), or provide a way to start over from a blank search or one of the "trailheads" that we may provide as starting points (i.e., "Public Domain").

@hackartisan
Copy link
Member Author

hackartisan commented Jan 29, 2025

Initial thoughts for main search results page.

In this drawing, any changes to the search box would update the search parameter but leave all the others as-is. Changing any parameter would bring the user to page 1 of the new results, regardless of what page they were on.

Image

(file is here)

@sdellis
Copy link
Member

sdellis commented Jan 29, 2025

@hackartisan this looks good!

Q: What happens when you clear the sort option from the current filters? Does it sort by Relevance? Or from Year Newest to Oldest? It's not clear to me what the "off" state is.

And I am not sure I would include sort options in the filters list -- the sort dropdown should be persistent on the search results screen to indicate sort state, so I think having it appear in the list would be redundant and potentially confusing unless you foresee the sort dropdown to be hidden at some point. I think it works for the other facets because there may be several different blocks containing interactive facet UIs that will not be persistent because we can only reasonably display one at a time.

I kind of feel the same about keywords. What if there are multiple keywords? Do they show up in several filter "buttons" or are they all included in one? If the search bar is persistent, then users can directly change the keyword state in the search input field.

Finally, I would also use the word search "filters" over "parameters".

But these are relatively minor points. I think this mockup will be really helpful and is close to done.

@hackartisan
Copy link
Member Author

If sort isn't included in "clear everything" then if I want to do a new search with the default relevance sorting do I have to click "clear everything" then submit a new search then change the sort?

@hackartisan
Copy link
Member Author

To answer your question, relevance is the default. I'm hearing you suggest we need to indicate that?

@tpendragon
Copy link
Contributor

@hackartisan
Copy link
Member Author

Here are 2 new wireframes

search with "start over" button
search with start over.jpg

search with radio select
search with checkboxes.jpg

@hackartisan
Copy link
Member Author

We've decided to prioritize the first use case, and keep the current behavior wherein submitting a search clears the filters that have been applied

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants