Skip to content

feat: Slider widget #86

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

Merged
merged 11 commits into from
Sep 15, 2015
Merged

feat: Slider widget #86

merged 11 commits into from
Sep 15, 2015

Conversation

vvo
Copy link
Contributor

@vvo vvo commented Sep 14, 2015

untitled screencast 4

@vvo vvo changed the title chore: make the dev server running on 0.0.0.0 feat: Slider widget Sep 14, 2015
vvo added 4 commits September 15, 2015 01:40
eyes only, webpack build in error
+ using `algolia/react-nouislider` was able to externalize it even
being written in ES6 (just use babel-cli)
+ moved lib/widget-utils to lib/utils because used in both widgets and
components
so you can access it when on the same network
* Instantiate a slider based on a numeric attribute
* @param {String|DOMElement} options.container Valid CSS Selector as a string or DOMElement
* @param {String} options.facetName Name of the attribute for faceting
* @param {Boolean|Object} [options.tooltips=true] Should we show tooltips or not.
Copy link
Contributor

Choose a reason for hiding this comment

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

What is the default tooltip message if I use only true?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

What is the default tooltip message if I use only true?

We just show the formatted tooltip value. So in the current case it would be "5.99" instead of "$5.99"

Copy link
Contributor

Choose a reason for hiding this comment

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

Would be cool to have some information about that in the doc :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Adding

vvo added 5 commits September 15, 2015 10:40
We now use our style-loader fork to be able to `prepend` a component
`<style>` instead of appending it to the `<head>`.

So that we can now override component style from a stylesheet in the
html page.
@vvo
Copy link
Contributor Author

vvo commented Sep 15, 2015

@algolia/javascript This PR is done on my side, if ok with you, merge!

@bobylito
Copy link
Contributor

LGTM

bobylito added a commit that referenced this pull request Sep 15, 2015
@bobylito bobylito merged commit 5916e4f into develop Sep 15, 2015
@vvo vvo removed the in progress label Sep 15, 2015
@bobylito bobylito deleted the feat/slider branch September 15, 2015 12:51
sarahdayan pushed a commit that referenced this pull request Dec 12, 2022
* feat(CurrentRefinements): add query and remove reset

* feat: includedAttributes
sarahdayan pushed a commit that referenced this pull request Dec 14, 2022
* feat(CurrentRefinements): add query and remove reset

* feat: includedAttributes
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