1
0
Fork 0
Commit graph

51 commits

Author SHA1 Message Date
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
vvo
31c5a94b57 v0.0.3
<a name="0.0.3"></a>
## [0.0.3](https://github.com/algolia/docsearch/compare/v0.0.2...v0.0.3) (2015-12-16)
2015-12-16 11:54:20 +01:00
vvo
57b3a99a61 v0.0.2
<a name="0.0.2"></a>
## 0.0.2 (2015-12-16)

### Bug Fixes

* **colors:** Reduce number of colors ([125d1c7](https://github.com/algolia/docsearch/commit/125d1c7))
* **snippet:** Fix typo in method name ([751dfdb](https://github.com/algolia/docsearch/commit/751dfdb))

### Features

* **gh-pages:** Add gh-pages deploy script ([ab1a299](https://github.com/algolia/docsearch/commit/ab1a299))
* **main:** Add main wrapper ([bdac9dd](https://github.com/algolia/docsearch/commit/bdac9dd))
* **styling:** Set grayscale as default, add styling as external file ([5d8cca8](https://github.com/algolia/docsearch/commit/5d8cca8))
2015-12-16 11:51:09 +01:00
Tim Carry
03699cf22e Merge pull request #13 from algolia/chore/release-process
chore(release): add release process
2015-12-16 11:00:16 +01:00
Pixelastic
751dfdb107 fix(snippet): Fix typo in method name 2015-12-15 17:25:32 +01:00
vvo
84acdd3247 chore(version): add specific algolia agent and version 2015-12-15 15:33:02 +01:00
Pixelastic
17f04d56dd test(utils): Add tests for getSnippettedValue
Same underlying logic than getHighlightedValue, but also add prefix
and suffix ellipsis (…) when we detect that a snippet is truncating
a sentence.
2015-12-15 14:37:20 +01:00
Tim Carry
00ef943e30 Merge pull request #9 from algolia/feat/default-grayscale
feat(styling): Set grayscale as default, add styling as external file
2015-12-15 14:33:10 +01:00
Pixelastic
f818745fbb test(utils): Add tests for getHighlightedValue 2015-12-15 14:14:03 +01:00
Pixelastic
5d8cca8d70 feat(styling): Set grayscale as default, add styling as external file 2015-12-15 12:32:57 +01:00
Pixelastic
125d1c7b4e fix(colors): Reduce number of colors 2015-12-14 17:30:38 +01:00
Pixelastic
adeef9449e Add styling up to the large breakpoint 2015-12-14 17:16:54 +01:00
Pixelastic
4ed73b19b3 Add styling up to small screen 2015-12-14 16:42:48 +01:00
Pixelastic
beb3f15040 Update build and serve scripts and renamed to docsearch 2015-12-10 18:44:57 +01:00
Pixelastic
892b43c90e Adding first stripe example
utils methods are here, using native/zepto instead of lodash
2015-12-10 10:34:00 +01:00
Pixelastic
0d316f14e0 Add testing scaffold 2015-12-04 11:21:27 +01:00
Pixelastic
f937793890 Update credentials 2015-12-03 17:55:43 +01:00