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

Query filters: Add taxonomy to apply button of query filter block #469

Closed
wants to merge 5 commits into from

Conversation

renintw
Copy link
Contributor

@renintw renintw commented Oct 8, 2023

Closes WordPress/wporg-showcase-2022#225

This PR adds taxonomy to query-filter block apply button as per the discussion here.

Screen Shot 2023-10-09 at 3 59 21 AM

@renintw renintw self-assigned this Oct 8, 2023
@renintw renintw added [Block] Query Filter [Type] Enhancement New feature or request Redesign Related to the wordpress.org redesign project labels Oct 8, 2023
@renintw renintw force-pushed the enhance/add-taxonomy-text branch from bf08c8d to 21453fe Compare October 8, 2023 19:31
@renintw renintw changed the title Add taxonomy to apply button of query filter block Query filters: Add taxonomy to apply button of query filter block Oct 8, 2023
Copy link
Contributor

@adamwoodnz adamwoodnz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great start, there are a few grammatical issues with this though, regarding singular and plural states 🙂

Screenshots

2 tags 1 flavor
Screenshot 2023-10-09 at 2 27 38 PM Screenshot 2023-10-09 at 2 27 02 PM

'Apply (2) popular' doesn't make complete sense without 'tag'. I think we could actually drop the brackets to make the language more natural too. Suggest it should read 'Apply 1 popular tag' if singular, and 'Apply 2 popular tags' if plural.

'Apply (1) flavors' should read 'Apply 1 flavor' if singular, and 'Apply 2 flavors' if plural.

@WordPress/meta-design thoughts please?

@renintw
Copy link
Contributor Author

renintw commented Oct 9, 2023

Apply (2) popular' doesn't make complete sense without 'tag'.

👍 Fixed

drop the brackets

I don't have a strong preference for the brackets. I've pushed the commit and included a screenshot here for reference.

popular tags categories flavors
image image image

@renintw
Copy link
Contributor Author

renintw commented Oct 9, 2023

Suggest it should read 'Apply 1 popular tag' if singular, and 'Apply 2 popular tags' if plural.

👍 Updated in 5d6b80d

Screen Shot 2023-10-09 at 5 42 06 PM image

@renintw renintw requested a review from adamwoodnz October 9, 2023 13:22
@renintw
Copy link
Contributor Author

renintw commented Oct 9, 2023

Note: Based on the discussion in the ticket, this PR might not be needed anymore.

@jasmussen
Copy link
Collaborator

I'll defer to @ndiego and @StevenDufresne on this one!

@renintw renintw added the [Status] In Discussion The implementation of this idea is still being worked out label Oct 10, 2023
@renintw
Copy link
Contributor Author

renintw commented Oct 10, 2023

Drop GIFs here for better decision-making.

Before After
1 2

@ndiego
Copy link
Member

ndiego commented Oct 10, 2023

Thanks for all your hard work here @renintw. Let's stick with WordPress/wporg-showcase-2022#228 for now, and pending any additional user feedback, we could add this PR as well. But hopefully, the term counts is enough.

@renintw renintw closed this Oct 10, 2023
@renintw renintw deleted the enhance/add-taxonomy-text branch October 10, 2023 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Query Filter Redesign Related to the wordpress.org redesign project [Status] In Discussion The implementation of this idea is still being worked out [Type] Enhancement New feature or request
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Add taxonomy counts to the filter dropdowns
4 participants