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
@@ -42,6 +42,7 @@
"@backstage/catalog-model": "^0.9.0",
"@backstage/config": "^0.1.8",
"@backstage/errors": "^0.1.1",
"@backstage/search-common": "^0.1.3",
"@backstage/integration": "^0.6.2",
"@google-cloud/storage": "^5.6.0",
"@trendyol-js/openstack-swift-sdk": "^0.0.4",