1
0
Fork 0
Commit graph

27 commits

Author SHA1 Message Date
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
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
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
Pixelastic
f818745fbb test(utils): Add tests for getHighlightedValue 2015-12-15 14:14:03 +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
Pixelastic
bdac9dd817 feat(main): Add main wrapper 2015-11-26 16:10:06 +01:00