Pixelastic
89313450dc
Disable links with handleSelected is defined
2018-11-05 10:22:29 +01:00
s-pace
3caa399046
better fallback on handle selected
2018-11-02 10:25:55 +01:00
s-pace
b3a140645a
Use Error convention
2018-11-02 10:13:54 +01:00
s-pace
67b64d60ec
better management of selector matching plenty element, we only take the first one
2018-11-02 10:03:22 +01:00
s-pace
9e80e72db7
change args.inputSelector as a string
2018-11-02 09:30:05 +01:00
s-pace
b8c55699ef
adding multi input feature closes #230
2018-11-01 22:50:00 +01:00
s-pace
16790f903e
removing handleSelected properly, make sure backward compatibility
2018-11-01 22:23:05 +01:00
s-pace
a62d19cb3b
Using a tags to have cmd + click feature and URL preview, fix highlighting in lvl1 & lvl0
2018-11-01 21:53:17 +01:00
Tim Carry
f9099dcb3c
chore(lint): Remove .js extension from imports ( #483 )
...
ESLint was complaining about having trailing .js extensions in imports
and suggesting removing them as they are the default.
2018-10-05 12:52:39 +02:00
Pixelastic
b53d269bfe
Update CONTRIBUTING and fix tests
2018-08-20 13:24:55 +02:00
Sylvain Pace
498675f9a3
Revert "Revert "doc(site): Fixed typos ( #277 )" ( #278 )" ( #279 )
...
This reverts commit 883894f963 .
2018-03-12 16:19:09 +01:00
Sylvain Pace
883894f963
Revert "doc(site): Fixed typos ( #277 )" ( #278 )
...
This reverts commit d3f0aaca85 .
2018-03-11 21:17:19 +01:00
Pascal Borreli
d3f0aaca85
doc(site): Fixed typos ( #277 )
2018-03-11 21:01:45 +01:00
David Öhlin
6de70c3e7f
fix(autocompleteOptions): allow cssClasses options ( #246 )
2017-11-27 10:19:22 +01:00
Vincent Voyer
5afc05ecd2
chore(cleaning): upgrade all deps, prepare renovate ( #206 )
2017-10-18 00:43:51 +02:00
Maxime
5f69d42677
add queryHook argument
2017-08-08 10:15:39 -07:00
Vincent Voyer
3c98ea5882
chore(stack update): update the whole docsearch stack ( #173 )
...
* chore(stack update): update the whole docsearch stack
In an effort to reduce our stack diversity I am moving docsearch to:
- latest eslint
- prettier
- webpack 2
- babel 6 (babel 7 is soon to be released, we were on babel 5)
- babel-preset-env (support: IE >=9, Two latest version of evergreen
browsers).
- jest
* chore(contrib): remove develop branch, cc @redox
2017-03-17 16:22:00 +01:00
Kaelig Deloumeau-Prigent
4e75ee7787
Hide separators to screen readers ( #164 )
2017-02-08 12:07:13 +01:00
Maxime Locqueville
bfec481e85
Fix issue with multiple enhanced search input
2016-10-04 16:49:37 +02:00
Sylvain Utard
6ba59acc4e
chore(test+lint): fixed tests & linting ( #134 )
2016-08-03 14:14:29 -07:00
Sylvain Utard
ac2e260391
chore(deps): updated deps & reduce overall lib size using the lite API client ( #133 )
2016-08-03 13:39:14 -07:00
Maxime Locqueville
60db4ed729
fix no result page
2016-07-22 16:08:28 +02:00
maxiloc
b9f7913417
allow to override handleSelected. Fixes #121 ( #123 )
2016-07-07 14:14:49 +02:00
Maxime Locqueville
57c0101459
fix(DOM): potential issue with simple layout if there is lvl0, lvl2 but no lvl1
2016-06-21 23:54:05 +02:00
Maxime Locqueville
2a3b7ebd59
feat(DOM): split simple and collumns template
2016-06-21 23:25:23 +02:00
Maxime Locqueville
b79b43d497
fix input binding when having enhancedSearchBox
2016-06-20 14:23:38 +02:00
Maxime Locqueville
5f1fd192f7
update(searchbox): update dom and js
2016-06-14 17:20:53 +02:00
maxiloc
f0a7e6bc92
feat(v2): modification for v2 ( #112 )
...
- Add a no result screen. Fixes #92
- Change class prefix. Fixes #102
- Add a transformData option
- Add searchBox option
- Add a layout option
2016-06-14 16:54:48 +02:00
maxiloc
4ab69a3b9b
V2 modifs ( #110 )
...
* feat(dom): wrap separator with a span
* feat(option,dom): add debug to root class + add duplicate class on subcategory and title
* fix(dom): do not display content wrapper if there is nothing inside
2016-06-12 19:50:09 +02:00
maxiloc
94218977bc
feat(DOM): add an align class ( #108 )
2016-06-10 17:43:55 +02:00
Sylvain Utard
8d239aa450
Merge pull request #79 from algolia/fix/78
...
fix(algoliaOptions): ensure we keep default options
2016-03-16 16:48:17 +01:00
Sylvain UTARD
473824a574
fix(autocomplete): auto select top result
...
Use autocomplete.js's autoselect=true option to select the top
suggestion on <ENTER> even if you don't move the cursor.
Fix #81
2016-03-15 11:37:53 +01:00
Sylvain UTARD
b284dda7a9
fix(algoliaOptions): ensure we keep default options
...
While overriding the algoliaOptions, we were losing the default
hitsPerPage query parameters.
Fix #78
2016-03-10 22:20:47 +01:00
Pixelastic
7f472baa5d
docs(DocSearch): Quick documentation fix
2016-03-05 00:55:19 +01:00
Pixelastic
7135ccc140
chore(lint): Make the js linter happy
2016-01-20 16:14:09 +01:00
Sylvain Utard
0f20b7c0e6
Merge pull request #60 from algolia/fix/53
...
fix(url): Removes concatenation of URL with hash if it contains a hash
2015-12-28 13:55:04 +01:00
Alexandre Stanislawski
348df1cb1b
fix(url): Removes concatenation of URL with hash if it contains a hash
...
FIX #53
2015-12-28 11:30:50 +01:00
Tim Carry
28698235d3
Merge pull request #57 from algolia/fix/usage
...
fix(usage): fixed usage to match the latest prototype version
2015-12-25 13:34:48 +01:00
Sylvain UTARD
188f49e863
fix(debut): do not enable debug by default
2015-12-24 14:51:58 +01:00
Sylvain UTARD
f6edc9e658
fix(usage): fixed usage to match the latest prototype version
2015-12-24 14:50:50 +01:00
Sylvain UTARD
31abbd7400
fix(handleSelected): ensure we're calling setVal on the right object
...
Fix #51
2015-12-24 10:20:15 +01:00
Pixelastic
ae4a8810f8
test(getSuggestionTemplate): Add tests for the suggestion template
2015-12-22 21:46:10 +01:00
Tim Carry
fc041337ff
Merge pull request #31 from algolia/fix/override-appid
...
fix(appId): Allow passing a custom appId
2015-12-22 10:46:15 +01:00
Pixelastic
c6fc53f6d5
fix(css): Renaming all ads- prefix to algolia-docsearch-
2015-12-21 19:01:31 +01:00
Pixelastic
e1777d31a7
fix(appId): Allow passing a custom appId
...
This should let developpers use it in a dev environment.
Fixes #21
cc @maxiloc
2015-12-21 17:02:33 +01:00
Pixelastic
cfcbe1e261
test(formatHits): Add tests for formatHits
...
The main logic of the library: splitting a set of 5 results into
a neatly ordered array, to be able to display it as two columns in
Hogan.
2015-12-21 16:56:53 +01:00
Pixelastic
7b6c219a7e
test(getAutocompleteSource): Add tests for source
...
I had to change some methods to static to be able to tests them
without instantiating a new DocSearch. I also used better `restore`
methods of sinon.js.
I did not manage to correctly test the promise returned by the method
returned by getAutocompleteSource. I would have like to test that when
resolved it correctly call reformatHits on the data as well as call
the callback on the reformated hits but got confused in
spying/stubbing/mocking the promise.
2015-12-18 16:44:43 +01:00
Pixelastic
6780cbcfb1
test(DocSearch): Add tests for constructor
2015-12-18 16:41:26 +01:00
Pixelastic
be367eb20b
test(DocSearch): Add tests for constructor
2015-12-18 13:17:25 +01:00
Sylvain UTARD
b24a4495c9
chore(branding): add footer with the Algolia logo
2015-12-16 21:42:22 +01:00