1
0
Fork 0
Commit graph

67 commits

Author SHA1 Message Date
Maxime Locqueville
6bba640e57 feat(dom): better handling of simple design 2016-06-14 20:06:39 +02:00
Maxime Locqueville
0e40b5473c v2.0.1
<a name="2.0.1"></a>
## [2.0.1](https://github.com/algolia/docsearch/compare/v2.0.0...v2.0.1) (2016-06-14)
2016-06-14 17:21:56 +02:00
Maxime Locqueville
5f1fd192f7 update(searchbox): update dom and js 2016-06-14 17:20:53 +02:00
Maxime Locqueville
fd5123546f v2.0.0
<a name="2.0.0"></a>
# [2.0.0](https://github.com/algolia/docsearch/compare/v1.3.0...v2.0.0) (2016-06-14)

### Features

* **v2:** modification for v2 (#112) ([f0a7e6b](https://github.com/algolia/docsearch/commit/f0a7e6b))
2016-06-14 16:56:36 +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
Maxime Locqueville
b70cf94564 v1.3.0
<a name="1.3.0"></a>
# [1.3.0](https://github.com/algolia/docsearch/compare/1.2.0...v1.3.0) (2016-06-12)
2016-06-12 19:51:57 +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
Maxime Locqueville
16e2b70580 publish new version 2016-06-10 17:49:21 +02:00
maxiloc
94218977bc feat(DOM): add an align class (#108) 2016-06-10 17:43:55 +02:00
Sylvain UTARD
89e31873d7 v1.1.3
<a name="1.1.3"></a>
## [1.1.3](https://github.com/algolia/docsearch/compare/v1.1.2...v1.1.3) (2016-04-04)

### Bug Fixes

* **autocomplete.js:** upgrade the underlying autocomplete.js to ensur… ([4d7022e](https://github.com/algolia/docsearch/commit/4d7022e))
2016-04-04 19:57:12 +02:00
Sylvain UTARD
0f4a4c5062 v1.1.2
<a name="1.1.2"></a>
## [1.1.2](https://github.com/algolia/docsearch/compare/v1.1.1...v1.1.2) (2016-03-24)

### Features

* **website:** React 🙌, popped out on the top with React ([db9c100](https://github.com/algolia/docsearch/commit/db9c100))
2016-03-24 21:13:39 +01:00
Sylvain UTARD
e4705b34bd chore(groupBy): consider lowercase forms of keys
Fix #85
2016-03-24 16:09:47 +01:00
Sylvain UTARD
1d7930a90a v1.1.1
<a name="1.1.1"></a>
## [1.1.1](https://github.com/algolia/docsearch/compare/v1.1.0...v1.1.1) (2016-03-16)

### Bug Fixes

* **algoliaOptions:** ensure we keep default options ([b284dda](https://github.com/algolia/docsearch/commit/b284dda)), closes [#78](https://github.com/algolia/docsearch/issues/78)
* **autocomplete:** auto select top result ([473824a](https://github.com/algolia/docsearch/commit/473824a)), closes [#81](https://github.com/algolia/docsearch/issues/81)
* **dev:** Fixed the dev example, targeting an existing index ([df13e34](https://github.com/algolia/docsearch/commit/df13e34))
* **website:** responsive logo ([b856d67](https://github.com/algolia/docsearch/commit/b856d67))

### Features

* **serve:** Add `npm run serve` to expose js and css locally ([31e5d13](https://github.com/algolia/docsearch/commit/31e5d13))
* **website:** community header ([366cc0d](https://github.com/algolia/docsearch/commit/366cc0d))
* **website:** Logo Update - Og screen + favicon ([c7eb54a](https://github.com/algolia/docsearch/commit/c7eb54a))
* **website:** removed demos ([6d8eb34](https://github.com/algolia/docsearch/commit/6d8eb34))
* **website:** update ([9498e3b](https://github.com/algolia/docsearch/commit/9498e3b))
* **website:** updated logo ([fa413d9](https://github.com/algolia/docsearch/commit/fa413d9))
2016-03-16 17:02:47 +01: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
665dab64a9 v1.1.0
<a name="1.1.0"></a>
# [1.1.0](https://github.com/algolia/docsearch/compare/v1.0.2...v1.1.0) (2016-02-01)

### Bug Fixes

* **dropdown:** Visually group suggestions together ([592c8f2](https://github.com/algolia/docsearch/commit/592c8f2))

### Features

* **website:** ensure the inputs are mandatory ([e59d132](https://github.com/algolia/docsearch/commit/e59d132))
2016-02-01 14:52:49 +01:00
Alexandre C
592c8f27cd fix(dropdown): Visually group suggestions together 2016-01-29 17:33:36 +01:00
Pixelastic
7135ccc140 chore(lint): Make the js linter happy 2016-01-20 16:14:09 +01:00
Alexandre Stanislawski
c6aa2e3d04 v1.0.2
<a name="1.0.2"></a>
## [1.0.2](https://github.com/algolia/docsearch/compare/v1.0.1...v1.0.2) (2015-12-28)

### Bug Fixes

* **debut:** do not enable debug by default ([188f49e](https://github.com/algolia/docsearch/commit/188f49e))
* **url:** Removes concatenation of URL with hash if it contains a hash ([348df1c](https://github.com/algolia/docsearch/commit/348df1c)), closes [#53](https://github.com/algolia/docsearch/issues/53)
* **usage:** fixed usage to match the latest prototype version ([f6edc9e](https://github.com/algolia/docsearch/commit/f6edc9e))
2015-12-28 13:59:10 +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
90f054d893 v1.0.1
<a name="1.0.1"></a>
## [1.0.1](https://github.com/algolia/docsearch/compare/v1.0.0...v1.0.1) (2015-12-24)

### Bug Fixes

* **handleSelected:** ensure we're calling setVal on the right object ([31abbd7](https://github.com/algolia/docsearch/commit/31abbd7)), closes [#51](https://github.com/algolia/docsearch/issues/51)
2015-12-24 11:07:26 +01:00
Sylvain UTARD
283e9c8a9e Merge branch 'develop' 2015-12-24 11:06:35 +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
Sylvain UTARD
177d701b00 v1.0.0
<a name="1.0.0"></a>
# [1.0.0](https://github.com/algolia/docsearch/compare/v0.0.7...v1.0.0) (2015-12-24)

### Bug Fixes

* **isSubCategoryHeader:** ensure we hide the content of the left column if this flag is not set ([0e04ce4](https://github.com/algolia/docsearch/commit/0e04ce4)), closes [#47](https://github.com/algolia/docsearch/issues/47)
2015-12-24 01:11:02 +01:00
Sylvain Utard
ca98a9d9ad Merge pull request #42 from algolia/no-important
chore(css): ensure the menu is wide enough, but no !important here
2015-12-23 18:08:17 +01:00
Sylvain Utard
b88521f048 Merge pull request #48 from algolia/fix-isSubCategoryHeader
fix(isSubCategoryHeader): ensure we hide the content of the left column if this flag is not set
2015-12-23 18:08:01 +01:00
Sylvain UTARD
0e04ce4880 fix(isSubCategoryHeader): ensure we hide the content of the left column if this flag is not set
Fix #47
2015-12-23 17:31:17 +01:00
Sylvain UTARD
641e62106e chore(css): ensure the menu is wide enough, but no !important here 2015-12-23 15:18:52 +01:00
Sylvain UTARD
957defc07c chore(naming): use docsearch everywhere
Fix #40
2015-12-23 15:00:37 +01:00
Pixelastic
ae4a8810f8 test(getSuggestionTemplate): Add tests for the suggestion template 2015-12-22 21:46:10 +01:00
Pixelastic
e7b3a11d7b v0.0.7
<a name="0.0.7"></a>
## [0.0.7](https://github.com/algolia/docsearch/compare/v0.0.6...v0.0.7) (2015-12-22)

### Bug Fixes

* **appId:** Allow passing a custom appId ([e1777d3](https://github.com/algolia/docsearch/commit/e1777d3)), closes [#21](https://github.com/algolia/docsearch/issues/21)
* **css:** Renaming all `ads-` prefix to `algolia-docsearch-` ([c6fc53f](https://github.com/algolia/docsearch/commit/c6fc53f))
2015-12-22 10:56: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
Tim Carry
1c6e4a41e0 Merge pull request #18 from algolia/add-branding
Add branding footer
2015-12-17 21:24:19 +01:00
Sylvain UTARD
0a8ad2cee9 chore(style): lighter default colors
I've also suffixed all background colors by `-background` and text
colors by `-text`, it was not the case everywhere.

Fix #11
2015-12-16 21:42:53 +01:00
Sylvain UTARD
b24a4495c9 chore(branding): add footer with the Algolia logo 2015-12-16 21:42:22 +01:00
vvo
12cfbe7625 v0.0.6
<a name="0.0.6"></a>
## [0.0.6](https://github.com/algolia/docsearch/compare/v0.0.5...v0.0.6) (2015-12-16)
2015-12-16 12:13:30 +01:00
vvo
28dc614433 v0.0.5
<a name="0.0.5"></a>
## [0.0.5](https://github.com/algolia/docsearch/compare/v0.0.4...v0.0.5) (2015-12-16)
2015-12-16 12:10:27 +01:00
vvo
e07c414980 v0.0.4
<a name="0.0.4"></a>
## [0.0.4](https://github.com/algolia/docsearch/compare/v0.0.3...v0.0.4) (2015-12-16)
2015-12-16 12:05:40 +01:00