1
0
Fork 0
Commit graph

796 commits

Author SHA1 Message Date
Pixelastic
1ae421346d v2.6.0\n\n# [2.6.0](https://github.com/algolia/docsearch/compare/v2.5.2...v2.6.0) (2018-11-07)
### Bug Fixes

* **deps:** update dependency algolia-aerial to v1.3.4 ([7e72fe0](https://github.com/algolia/docsearch/commit/7e72fe0))
* **deps:** update dependency algolia-aerial to v1.5.3 ([665438e](https://github.com/algolia/docsearch/commit/665438e))
* **deps:** update dependency algolia-frontend-components to v0.0.35 ([bd5c03f](https://github.com/algolia/docsearch/commit/bd5c03f))
* **deps:** update dependency autocomplete.js to ^0.30.0 ([21eb76a](https://github.com/algolia/docsearch/commit/21eb76a))
* **deps:** update dependency autocomplete.js to ^0.31.0 ([6c65eb2](https://github.com/algolia/docsearch/commit/6c65eb2))
* **deps:** update dependency chalk to v2 ([#323](https://github.com/algolia/docsearch/issues/323)) ([f8962bd](https://github.com/algolia/docsearch/commit/f8962bd))
* **deps:** update dependency deepmerge to v2 ([#324](https://github.com/algolia/docsearch/issues/324)) ([db212d0](https://github.com/algolia/docsearch/commit/db212d0))
* **deps:** update dependency progress to v2 ([#325](https://github.com/algolia/docsearch/issues/325)) ([a99347a](https://github.com/algolia/docsearch/commit/a99347a))
* **wording:** fixed case of DocSearch ([#262](https://github.com/algolia/docsearch/issues/262)) ([d451545](https://github.com/algolia/docsearch/commit/d451545))

### Features

* **css:** Update menu on small screen ([b5733d2](https://github.com/algolia/docsearch/commit/b5733d2))
* **docsearch:** Add custom classes on titles for better crawling ([fc79098](https://github.com/algolia/docsearch/commit/fc79098))
2018-11-07 15:11:41 +01:00
Pixelastic
799c1a335f Updating release script
Script was mentioning an update to shrinkwrap that we no longer use.
Also it was calling `yarn run doctoc` that had been remove in an old
commit, and re-added.
2018-11-07 15:11:10 +01:00
Pixelastic
7cfee31a98 Use yarn for building instead of npm 2018-11-07 15:00:28 +01:00
Pixelastic
de96a43c2c WIP: Disabling check on branch 2018-11-07 14:59:23 +01:00
Pixelastic
37d39a0297 Replace printf with echo
`printf` displays everything on the same line, and with the way yarn
itself outputs its error messages, it would override our custom
messages on the terminal, preventing us to know why things failed.

Using echo instead fixes the issue.

Other fixes are `shellcheck` warnings (`read` without `-r` will fail
on input containing `\`).
2018-11-07 14:56:41 +01:00
Pixelastic
ca8ac2c760 Allow release from yarn run
Running `yarn run release` causes issues as it can't communicate with
the proper npm registry. This happens because yarn overrides the
`npm_config_registry` variable, on which the publishing depends.

In this commit I revert the value to its default, allowing the release
script to be run either with `npm run release` or `yarn run release`.
2018-11-07 14:50:23 +01:00
Pixelastic
58a6aa0fc4 Update yarn.lock 2018-11-07 14:49:18 +01:00
Tim Carry
c0f64d2c76
Adding new logo (#526)
* Adding new logo

I reverted to the previous way of displaying the logo, as a background
SVG image. Adding a new `<svg>` inline element to the markup could
break people implementation relying on our markup, so better play safe
and keep the markup the same.

I used the SVG available on our
https://www.algolia.com/press#resources page, but trimmed it through
SVGO (50% compression) before adding it to the background.

* Updating logo to version validated by design team

Original dimensions are 168x24, but this is substancially bigger than what we
used to have (130x19px). InstantSearch used a 134x20px ratio, and
I re-used the same. Slightly bigger than what we had before, but
keeping the correct ratio.
2018-11-07 14:36:24 +01:00
Sylvain Pace
2c6e6bc240
[doc content] Enhancement of the recommendation section (#528)
* enhance recommendation

* Update docs/src/recommended-configuration.md

Co-Authored-By: s-pace <sylvain.pace@algolia.com>
2018-11-06 11:24:20 +01:00
Tim Carry
f7162b3663
Updating autocomplete to 0.32 (#527)
Also moving `parallelshell` as a `devDependencies` as it should be.
2018-11-06 11:22:27 +01:00
Tim Carry
cc0d501012
Add test that normal click is disable with custom handleSelected (#523) 2018-11-06 09:32:34 +01:00
Tim Carry
4d3fa94ff7
Remove package-lock.json (#525)
We are using yarn, along with `yarn.lock`, so we don't need the
`package-lock.json` file.
2018-11-06 08:59:14 +01:00
Tim Carry
6d74eecd2b
Remove git markers in file (#524) 2018-11-06 08:59:01 +01:00
Renovate Bot
c9eb46418f chore(deps): update dependency eslint-plugin-jest to v21.27.1 2018-11-05 12:15:11 +00:00
s-pace
c3cabb13cf Merge branch 'feat/v3' 2018-11-05 11:10:23 +01:00
s-pace
46d293cb1a Merge branch 'master' into feat/v3 2018-11-05 11:09:56 +01:00
s-pace
fe530ca282 add the proper version 2018-11-05 11:04:16 +01:00
s-pace
bbeb2f4cee Merge branch 'feat/v3' of github.com:algolia/docsearch into feat/v3 2018-11-05 11:01:35 +01:00
Pixelastic
5e85d7b2ec Add tests (still one test WIP) 2018-11-05 10:22:29 +01:00
Pixelastic
89313450dc Disable links with handleSelected is defined 2018-11-05 10:22:29 +01:00
Pixelastic
6442e032d8 Serve playground 2018-11-05 10:22:29 +01:00
Renovate Bot
4961506401 chore(deps): update dependency tailwindcss to v0.7.0 2018-11-04 03:14:01 +00:00
Renovate Bot
99237f50c3 chore(deps): update dependency stylelint to v9.7.1 2018-11-04 02:19:25 +00:00
Renovate Bot
d14ad28424 chore(deps): update dependency conventional-changelog-cli to v2.0.11 2018-11-04 01:12:26 +00:00
s-pace
e0b8b7a435 overridde instead of replace 2018-11-02 17:58:01 +01:00
Renovate Bot
c0569af3cb chore(deps): update dependency webpack-cli to v3.1.2 2018-11-02 11:11:00 +00:00
Sylvain Pace
0fa387cdf8
Feat/prettier (#516)
* undo prettier and eslint

* use prettier with md files

* avoid scss confusion

* use glob instead of find

Co-Authored-By: s-pace <sylvain.pace@algolia.com>

* use prettier straight away

Co-Authored-By: s-pace <sylvain.pace@algolia.com>
2018-11-02 11:45:56 +01:00
Tim Carry
dd6f2f1611
Better explanation of playground
Co-Authored-By: s-pace <sylvain.pace@algolia.com>
2018-11-02 11:40:54 +01:00
s-pace
b3c057e95c should listen to the selected and shown event of autocomplete is still failing 2018-11-02 11:25:49 +01:00
s-pace
bb1e19d58f compatibility with multiple input 2018-11-02 10:54:35 +01:00
s-pace
e0c72a7c4e handleSelected test 2018-11-02 10:28:57 +01:00
s-pace
3979e4fe8e compatibility with multiple input 2018-11-02 10:27:50 +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
b5abdce7e0 test compatibility with multi selectors 2018-11-02 10:05:11 +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
b211630cc2 removing unused URL 2018-11-02 09:50:17 +01:00
s-pace
e517eb0599 use inputs instead of input 2018-11-02 09:47:38 +01:00
s-pace
04a4470e92 update getInputFromSelector 2018-11-02 09:45:28 +01:00
s-pace
12a64cb365 better a tags handling for result 2018-11-02 09:42:43 +01:00
s-pace
99d69e6ee1 svg footer 2018-11-02 09:36:57 +01:00
s-pace
9e80e72db7 change args.inputSelector as a string 2018-11-02 09:30:05 +01:00
Tim Carry
afa72ddd65
better use of aria
Co-Authored-By: s-pace <sylvain.pace@algolia.com>
2018-11-02 08:14:06 +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
9c6ef3d6a0 avoid issue with scss 2018-11-01 22:09:51 +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
s-pace
8e52c20a02 add a playground to use served assets 2018-11-01 15:21:03 +01:00
s-pace
71fd398044 simple eslint reformat 2018-11-01 14:51:21 +01:00
s-pace
02ac68fb5e after npm install 2018-11-01 14:48:18 +01:00