Implement in-context search bar for tech docs. (#6651)

* Implement in-context search bar for tech docs

* Add in-context search functionality to tech docs
* Use the existing backend search functionality with tech docs specific filters
* Use material-ui autocomplete to display 10 first search results
* Add tests

Signed-off-by: Jussi Hallila <jussi@hallila.com>

* Remove context and replace it with `withSearch` prop.

Signed-off-by: Jussi Hallila <jussi@hallila.com>

* Bump search-common devp to latest

Signed-off-by: Jussi Hallila <jussi@hallila.com>

* Rename types file to not conflict with hardcoded types.d.ts.

Signed-off-by: Jussi Hallila <jussi@hallila.com>
This commit is contained in:
Jussi Hallila
2021-08-27 12:21:48 +02:00
committed by GitHub
parent c5cdf03063
commit 30ed662a35
18 changed files with 468 additions and 50 deletions
+1
View File
@@ -36,6 +36,7 @@
"@backstage/core-components": "^0.3.3",
"@backstage/core-plugin-api": "^0.1.6",
"@backstage/errors": "^0.1.1",
"@backstage/plugin-search": "^0.4.5",
"@backstage/integration": "^0.6.2",
"@backstage/integration-react": "^0.1.7",
"@backstage/plugin-catalog": "^0.6.13",