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

Try using the wporg/query-filter block on the plugin directory #202

Draft
wants to merge 35 commits into
base: trunk
Choose a base branch
from

Conversation

dd32
Copy link
Member

@dd32 dd32 commented Feb 14, 2024

This is a work-in-progress draft attempt at seeing if it's possible to integrate the wporg/query-filter block into the plugin directory, and how that would look.

See https://meta.trac.wordpress.org/ticket/2753

  • This PR is not a guarantee of seeing it on w.org/plugins anytime soon.
  • The code is not intended to be production ready.
  • The filtering most likely doesn't work with search, due to no conversion to Jetpack ES args happening (Test with a /tag/.../ url, or possibly /author/)
  • It's likely that we wouldn't want this sorting/filtering hitting WP_Query => DB ever, as it uses meta_queries, which are most likely not performant for our scale. Thats to suggest, that we'd probably want to limit this to ES-backed views only.
Before After
Screenshot 2024-02-14 at 6 45 36 pm Screenshot 2024-02-14 at 6 40 18 pm
  • Yes, The count is wrong
  • Yes, The screenshots are of two different queries
  • Yes, The search is duplicated
  • Yes, The whitespace is off

bazza pushed a commit that referenced this pull request Mar 14, 2024
…-content query filter bar, with filters, search, & sort.

See #202


git-svn-id: https://meta.svn.wordpress.org/sites/trunk@13333 74240141-8908-4e6f-9713-ba540dce6ec7
@dd32 dd32 mentioned this pull request May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant