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

feat(numericRefinementList) #454

Merged
merged 1 commit into from
Nov 4, 2015
Merged

Conversation

maxiloc
Copy link
Contributor

@maxiloc maxiloc commented Nov 4, 2015

Created a new PR, did some mess with the first one.

  • I updated the documentation (it will need a version of instant search which include this commit to actually work)
  • I changed link by label + radio button for the default template

@vvo vvo added the in progress label Nov 4, 2015
@@ -35,7 +35,14 @@ class RefinementList extends React.Component {
[this.props.cssClasses.active]: facetValue.isRefined
});

let key = facetValue[this.props.facetNameKey] + '/' + facetValue.isRefined + '/' + facetValue.count;
let key = facetValue[this.props.facetNameKey];
if (facetValue.count !== undefined) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Bad copy/paste, you want to test facetValue. isRefined here.

@redox
Copy link
Contributor

redox commented Nov 4, 2015

I did 2 comments, but overall very nice @maxiloc 👍

@vvo
Copy link
Contributor

vvo commented Nov 4, 2015

Wait what is docs/js/instantsearch.js? It looks like a dist/ you commited.

Remove and add it to gitignore if relevant, we tried no to have dist files.

@redox
Copy link
Contributor

redox commented Nov 4, 2015

Wait what is docs/js/instantsearch.js? It looks like a dist/ you commited.

Ah right, that was a temporary; need to be removed.

@maxiloc maxiloc force-pushed the new-numeric-refinement-list-3 branch from 9e6f82a to a29e9c7 Compare November 4, 2015 22:03
@maxiloc
Copy link
Contributor Author

maxiloc commented Nov 4, 2015

I rebased with the 3 fix

@@ -12453,4 +12453,4 @@
}
}
}
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

:trollface:

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Weird I did not touch this file,
Should I add the newline again ?

Copy link
Contributor

Choose a reason for hiding this comment

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

No we are good, the next shrinkwrap will just do it

@vvo
Copy link
Contributor

vvo commented Nov 4, 2015

Looks..Like.. LGTM! :shipit: 🚀

@vvo
Copy link
Contributor

vvo commented Nov 4, 2015

@redox I am good here, since you added comments I'll let you merge, again awesome feature :D

@redox
Copy link
Contributor

redox commented Nov 4, 2015

👍

redox added a commit that referenced this pull request Nov 4, 2015
@redox redox merged commit 6dbe645 into develop Nov 4, 2015
@redox redox deleted the new-numeric-refinement-list-3 branch November 4, 2015 22:23
@redox redox removed the in progress label Nov 4, 2015
aymeric-giraudet pushed a commit that referenced this pull request Dec 8, 2022
This avoids `@babel/preset-env` compatibility issue.
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.

3 participants