{"action":"closed","issue":{"url":"https://api.github.com/repos/algolia/algoliasearch-helper-js/issues/141","labels_url":"https://api.github.com/repos/algolia/algoliasearch-helper-js/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/algolia/algoliasearch-helper-js/issues/141/comments","events_url":"https://api.github.com/repos/algolia/algoliasearch-helper-js/issues/141/events","html_url":"https://github.com/algolia/algoliasearch-helper-js/issues/141","id":93481039,"number":141,"title":"API proposal: `algoliasearchHelper.ux` namespace or `algoliasearch-ux-helper-js` module?","user":{"login":"vvo","id":123822,"avatar_url":"https://avatars.githubusercontent.com/u/123822?v=3","gravatar_id":"","url":"https://api.github.com/users/vvo","html_url":"https://github.com/vvo","followers_url":"https://api.github.com/users/vvo/followers","following_url":"https://api.github.com/users/vvo/following{/other_user}","gists_url":"https://api.github.com/users/vvo/gists{/gist_id}","starred_url":"https://api.github.com/users/vvo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vvo/subscriptions","organizations_url":"https://api.github.com/users/vvo/orgs","repos_url":"https://api.github.com/users/vvo/repos","events_url":"https://api.github.com/users/vvo/events{/privacy}","received_events_url":"https://api.github.com/users/vvo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-07T09:14:17Z","updated_at":"2015-07-07T10:21:15Z","closed_at":"2015-07-07T10:21:15Z","body":"Let's say we wanted to provide a programmatic way to:\r\n\r\n- sync the url page with the current state (#138)\r\n- create a slider widget based on one of the facets\r\n- create a hierarchical navigation widget\r\n- create a checkbox list widget\r\n- create an instant search bar\r\n- create an autocomplete search bar\r\n\r\nWhere should we put this? Either in the helper (algoliasearchHelper.ux) or in another module?\r\n\r\n[algolia-ui-kit](https://github.com/algolia/algolia-ui-kit) has already a set of react components you can instantiate with html tags but we rather have the programmatic version also. This is what we will be looking for when building a website search.\r\n\r\nPutting all widgets in the helper would be handy for users since they will only have to load the js client and the helper to build a good search.\r\n\r\nPutting widgets in a separate module is also an option but then when building your search you would have to load 3 files.\r\n\r\nI would go for a new module like `algoliasearch-ux-helper-js` and start from here."}}