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

fix: facets selection #1026

Merged
merged 1 commit into from
Nov 17, 2021
Merged

fix: facets selection #1026

merged 1 commit into from
Nov 17, 2021

Conversation

tlgimenes
Copy link
Contributor

@tlgimenes tlgimenes commented Nov 17, 2021

What's the purpose of this pull request?

API had a problem where it only accepted one type of facet being selected. When multiple were selected it chose one.

How it works?

This PR fixes this issue by not merging the facets, but using another algorithm.

How to test it?

Go to base.store and select multiple sizes in the plp for instance. Compare with both my preview and master. I my preview it should be working as expected.

vtex-sites/base.store#113

Before after in the same path:
image

@tlgimenes tlgimenes requested a review from a team as a code owner November 17, 2021 13:23
@netlify
Copy link

netlify bot commented Nov 17, 2021

✔️ Deploy Preview for faststoreui ready!

🔨 Explore the source changes: fcd21c6

🔍 Inspect the deploy log: https://app.netlify.com/sites/faststoreui/deploys/6195025c7ddb600007252aef

😎 Browse the preview: https://deploy-preview-1026--faststoreui.netlify.app

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit fcd21c6:

Sandbox Source
Store UI Typescript Configuration

@tlgimenes tlgimenes merged commit 1fd82e6 into master Nov 17, 2021
@tlgimenes tlgimenes deleted the fix/facets branch November 17, 2021 13:53
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.

2 participants