fecgov / fec-cms

The content management system (CMS) for the new Federal Election Commission website.
https://www.fec.gov
Other
93 stars 38 forks source link

Design: Provide explanation to limited keyword matches being returned #6454

Open JonellaCulmer opened 1 month ago

JonellaCulmer commented 1 month ago

What we're after

When conducting a document keyword search, searches are returned with a maximum number of 6 keyword matches. We need to consider how we might explain the limit to users and make it clearer about how results are being returned.

Completion criteria

Future work

JonellaCulmer commented 4 days ago

@patphongs @AmyKort Proposal for explaining the maximum number of results being returned. Let me know if you have any comments or edits. If we're sure we want to make this change we can combine with Pat's ticket in progress.

Image

AmyKort commented 4 days ago

That looks good to me. Thank you @JonellaCulmer !

patphongs commented 3 days ago

Looks good to me as well @JonellaCulmer, I will add it to my PR.

patphongs commented 3 days ago

@JonellaCulmer A suggestion for the future: When there's more than 5-6 matches, there is a possibility that more matches are found in a document. Do you want the results display to also tell the user that more results may be there in the document when we have 5 or greater hits for a document? It's not guaranteed that there's more, but it's probably a good indication if they've broached the max hits per document.

I was thinking some kind of notification near the MUR highlights or within the accordion of more matches that says "Showing top 5 results. There may be additional matches within the document." Thoughts?

JonellaCulmer commented 2 days ago

@patphongs I like the idea of displaying top results, when we have them prioritized by relevancy. I think that could be really helpful.