MozillaFoundation / foundation.mozilla.org

Mozilla Foundation website
https://foundation.mozilla.org
Mozilla Public License 2.0
384 stars 153 forks source link

[Blog] - [Search] - Render number of results #8773

Open danielfmiranda opened 2 years ago

danielfmiranda commented 2 years ago

The goal of this ticket is to implement a method in the backend that returns the number of entries after a search.

We should then render the number of entries on the new template made in #8772

At this time, styling is not needed, just returning the string "Showing x results:" will suffice!

Dev Steps:

Acceptance Criteria:

┆Issue is synchronized with this Jira Task

cdanfon commented 2 years ago

Hey @nancyt1 we were discussing this ticket in grooming and wondered whether the term 'showing' might be confusing to users as they are going to be displaying the first 6 results by default even if the search query might return 100.

nancyt1 commented 2 years ago

@cdanfon Yes, thank you to whoever brought this up, I also agree that it's confusing! I've now updated all the mockups to say "X results for:".

cdanfon commented 6 months ago

Hey Simon,

I'm pretty out of the loop with regards to features - probably best to check with Kristina/Tyler!

On Fri, 23 Feb 2024 at 13:39, simont-cr @.***> wrote:

Hi @cdanfon https://github.com/cdanfon , is this something that should be kept as an improvement for this year work or has become outdated with latest changes to the platform?

— Reply to this email directly, view it on GitHub https://github.com/MozillaFoundation/foundation.mozilla.org/issues/8773#issuecomment-1961345401, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYRVGKVKKGZNQ3UUVEDYPSTYVCLYVAVCNFSM5WXKUQJKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJWGEZTINJUGAYQ . You are receiving this because you were mentioned.Message ID: @.*** com>