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

Facet by Meta Block #3291

Closed
1 of 4 tasks
felipeelia opened this issue Feb 1, 2023 · 0 comments · Fixed by #3337
Closed
1 of 4 tasks

Facet by Meta Block #3291

felipeelia opened this issue Feb 1, 2023 · 0 comments · Fixed by #3337
Assignees
Labels
enhancement module:facets Issues related to the Facets functionality
Milestone

Comments

@felipeelia
Copy link
Member

Is your enhancement related to a problem? Please describe.

After the foundations of the new Facet by Meta block were merged in #3289, there is still some work to do, mainly related to the frontend side of things:

  • Implement an actual range slider in the block renderer
  • Improve notice in the preview saying the field might not be a numeric field (background, color, etc.)
  • Improve UI for field selection (can be done after 4.5.0)

Until we have an improved UI for the field selection, this feature will be available only by adding this snippet (to be made available as a plugin during the 4.5.0 release):

add_filter(
	'ep_facet_types',
	function ( $types ) {
		$types['meta-range'] = '\ElasticPress\Feature\Facets\Types\MetaRange\FacetType';
		return $types;
	}
);

Designs

No response

Describe alternatives you've considered

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@felipeelia felipeelia added enhancement module:facets Issues related to the Facets functionality labels Feb 1, 2023
@felipeelia felipeelia added this to the 4.5.0 milestone Feb 1, 2023
@JakePT JakePT self-assigned this Feb 22, 2023
@JakePT JakePT assigned felipeelia and unassigned JakePT Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement module:facets Issues related to the Facets functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants