Commit Graph

12554 Commits

Author SHA1 Message Date
Eric Peterson 38f076c0df Tweak search code ownership.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-04-23 14:34:33 +02:00
Eric Peterson 74a5b00eb6 Merge pull request #5371 from adrianke77/techdocs-landing-page-customization
Add TechDocs landing page customization and exported components
2021-04-23 11:50:15 +02:00
Eric Peterson 46d0d04ee7 Merge pull request #5430 from SDA-SE/feat/search-experiments
Use `RouteRef` to generate path to search page
2021-04-23 11:22:54 +02:00
Eric Peterson 2f9dc47c91 Merge pull request #5428 from SDA-SE/feat/techdocssss-header
TechDocs: Use `EntityRefLink` in header and use relations to reference the owner of the document
2021-04-23 09:52:34 +02:00
Johan Haals 039dbb4e20 Merge pull request #5434 from onematchfox/helm-fix
Fix typo in basic k8s example
2021-04-23 09:31:05 +02:00
Fredrik Adelöw a00d4f3c79 Merge pull request #5445 from backstage/dependabot/npm_and_yarn/serialize-error-8.1.0
chore(deps): bump serialize-error from 8.0.1 to 8.1.0
2021-04-23 08:06:08 +02:00
dependabot[bot] e363f6103e chore(deps): bump serialize-error from 8.0.1 to 8.1.0
Bumps [serialize-error](https://github.com/sindresorhus/serialize-error) from 8.0.1 to 8.1.0.
- [Release notes](https://github.com/sindresorhus/serialize-error/releases)
- [Commits](https://github.com/sindresorhus/serialize-error/compare/v8.0.1...v8.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-23 04:14:11 +00:00
Chongyang Adrian, Ke 813a4a04f5 fix DocsTable rendering of EmptyState
Signed-off-by: Chongyang Adrian, Ke <ftt.adrian.ke@grabtaxi.com>
2021-04-23 11:38:09 +08:00
Chongyang Adrian, Ke 7dd94b0750 add CSSProperties type for panelCSS
Signed-off-by: Chongyang Adrian, Ke <ftt.adrian.ke@grabtaxi.com>
2021-04-23 11:20:46 +08:00
Adrian Ke Chongyang 4666ddb275 Update plugins/techdocs/src/home/components/TechDocsHome.tsx
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>

Co-authored-by: Eric Peterson <iamEAP@users.noreply.github.com>
Signed-off-by: Chongyang Adrian, Ke <ftt.adrian.ke@grabtaxi.com>
2021-04-23 11:07:18 +08:00
Adrian Ke Chongyang 64ade20227 Update plugins/techdocs/src/home/components/TechDocsHome.tsx
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>

Co-authored-by: Eric Peterson <iamEAP@users.noreply.github.com>
Signed-off-by: Chongyang Adrian, Ke <ftt.adrian.ke@grabtaxi.com>
2021-04-23 11:07:18 +08:00
Adrian Ke Chongyang 7a3b3b2be6 Update docs/features/techdocs/how-to-guides.md
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>

Co-authored-by: Eric Peterson <iamEAP@users.noreply.github.com>
Signed-off-by: Chongyang Adrian, Ke <ftt.adrian.ke@grabtaxi.com>
2021-04-23 11:07:18 +08:00
Adrian Ke Chongyang f5dab83b59 Update docs/features/techdocs/how-to-guides.md
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>

Co-authored-by: Eric Peterson <iamEAP@users.noreply.github.com>
Signed-off-by: Chongyang Adrian, Ke <ftt.adrian.ke@grabtaxi.com>
2021-04-23 11:07:18 +08:00
Chongyang Adrian, Ke cb321bae90 change naming from widget to panel
Signed-off-by: Chongyang Adrian, Ke <ftt.adrian.ke@grabtaxi.com>
2021-04-23 11:07:18 +08:00
Chongyang Adrian, Ke 9f7d5662e3 update how-to-guides.md
Signed-off-by: Chongyang Adrian, Ke <ftt.adrian.ke@grabtaxi.com>
2021-04-23 11:07:17 +08:00
Adrian Ke Chongyang 6db5564af6 Update docs/features/techdocs/how-to-guides.md
Co-authored-by: Himanshu Mishra <himanshu@orkohunter.net>
Signed-off-by: Chongyang Adrian, Ke <ftt.adrian.ke@grabtaxi.com>
2021-04-23 11:07:17 +08:00
Adrian Ke Chongyang 74c91998bf Update docs/features/techdocs/how-to-guides.md
Co-authored-by: Himanshu Mishra <himanshu@orkohunter.net>
Signed-off-by: Chongyang Adrian, Ke <ftt.adrian.ke@grabtaxi.com>
2021-04-23 11:07:17 +08:00
Adrian Ke Chongyang 10579c3d0d Update docs/features/techdocs/how-to-guides.md
Co-authored-by: Himanshu Mishra <himanshu@orkohunter.net>
Signed-off-by: Chongyang Adrian, Ke <ftt.adrian.ke@grabtaxi.com>
2021-04-23 11:07:17 +08:00
Chongyang Adrian, Ke 39bdaa0046 Add TechDocs landing page customization and exported components
Signed-off-by: Chongyang Adrian, Ke <ftt.adrian.ke@grabtaxi.com>
2021-04-23 11:07:17 +08:00
Brian Fox c6a5acfc2a Fix typo - Service should be only be enabled when backend is enabled
Signed-off-by: Brian Fox <brianhfox@gmail.com>
2021-04-22 17:47:21 +02:00
Oliver Sand dcd54c7cd1 Use RouteRef to generate path to search page
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-04-22 16:47:45 +02:00
Patrik Oldsberg 08a022fcdf Merge pull request #5429 from backstage/changeset-release/master
Version Packages
2021-04-22 16:16:32 +02:00
Oliver Sand 6fbd7beca5 Rename changeset
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-04-22 15:50:34 +02:00
Patrik Oldsberg f218637d08 create-app: release version 0.3.19
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-22 15:23:09 +02:00
github-actions[bot] 034998d537 Version Packages 2021-04-22 13:19:35 +00:00
Emma Indal b9b2b4b766 [Search] Lunr search engine support (#5290)
* add lunr package

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* add search translator type and search engine interface

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* (wip) add support for lunr search engine

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* lunr search engine support

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* clean up todo comments

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* typing and cleanups

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* move lunr type package from dev deps to deps

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* check if documents exist to index

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* test fixup

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* changeset

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* move LunrSearchEngine.ts to /engines and add tests

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* update imports

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* update error message

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* add comment to index rotation

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* Update plugins/search-backend-node/src/types.ts

Signed-off-by: Fredrik Adelöw freben@gmail.com

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* Update plugins/search-backend-node/src/engines/LunrSearchEngine.ts

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

Co-authored-by: Fredrik Adelöw <freben@gmail.com>

* Update plugins/search-backend-node/src/engines/LunrSearchEngine.ts

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

Co-authored-by: Fredrik Adelöw <freben@gmail.com>

* fix imports

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* use type assertion to specify more specific ConcreteLunrQuery type

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* fix imports

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* consistent naming

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* change search engine to be parameter of constructor in indexBuilder

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* make engine required in router options and pass it through in createRouter used in standalone server

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* fix tests

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* delete import

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* add types to SearchQuery interface to make it possible to scope to specific index + test

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* clean up tests

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* handle case when a filter is added on a field that does not exist on all documents + test

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
2021-04-22 15:03:10 +02:00
Patrik Oldsberg 47d511b976 Merge pull request #4596 from RoadieHQ/entity-tabs-customizability
Exposing Material-UI extension point from tab components on HeaderTabs
2021-04-22 14:01:53 +02:00
Oliver Sand 23afdba96f Use EntityRefLink in header and use relations to reference the owner of the document
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-04-22 13:26:07 +02:00
Jussi Hallila d8cc7e67a3 Exposing Material-UI extension point from tab components on HeaderTabs so additional information can be added to them
Signed-off-by: Jussi Hallila <jussi@hallila.com>
2021-04-22 11:22:36 +02:00
Fredrik Adelöw d203c9e901 Merge pull request #5418 from alde/master
[code-coverage] fix so tests work in windows
2021-04-22 10:29:21 +02:00
Fredrik Adelöw 3cc097b5ab Merge pull request #5424 from backstage/freben/splel
Fix some spleling
2021-04-22 10:19:25 +02:00
Fredrik Adelöw 747a4714b5 Merge pull request #5421 from backstage/timbonicus/template-type-required
Template `spec.type` is not optional
2021-04-22 10:00:17 +02:00
Fredrik Adelöw 49574a8a3e Fix some spleling
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-04-22 09:51:37 +02:00
Fredrik Adelöw f741ed7327 Merge pull request #5422 from backstage/dependabot/npm_and_yarn/types/jest-26.0.22
chore(deps-dev): bump @types/jest from 26.0.15 to 26.0.22
2021-04-22 07:36:34 +02:00
dependabot[bot] b9028d0f0c chore(deps-dev): bump @types/jest from 26.0.15 to 26.0.22
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.15 to 26.0.22.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-22 04:32:34 +00:00
Tim Hansen 938b266b86 Template spec.type is not optional
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-04-21 15:36:34 -06:00
alde 55b2fc0c0f create changeset
Signed-off-by: alde <r.dybeck@gmail.com>
2021-04-21 14:59:56 -04:00
alde d0addca860 [code-coverage] fix so tests work in windows
Use path.resolve, and trim end of scmFiles

Signed-off-by: alde <r.dybeck@gmail.com>
2021-04-21 13:14:57 -04:00
Patrik Oldsberg 22312d1fca Merge pull request #5411 from backstage/rugvip/exterr
core-api: fixed confusion around wrong error thrown from routable extensions
2021-04-21 19:13:43 +02:00
Fredrik Adelöw 491d519c5f Merge pull request #5413 from SDA-SE/feat/moin
Add low german greeting
2021-04-21 17:39:20 +02:00
Fredrik Adelöw b5372224ba Merge pull request #5395 from backstage/freben/ldap-set
Fix the schema / code mismatch in LDAP `set` config
2021-04-21 17:21:56 +02:00
Fredrik Adelöw 5fe62f124e Fix the schema / code mismatch in LDAP set config
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-04-21 16:33:06 +02:00
Oliver Sand 87c4f59dea Add low german greeting
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-04-21 15:21:02 +02:00
Fredrik Adelöw 5eafc14dc5 Merge pull request #5412 from wrighbr/patch-1
Australian Greeting
2021-04-21 14:57:18 +02:00
Fredrik Adelöw fae747b513 Merge pull request #5350 from alde/master
Create code-coverage plugin
2021-04-21 13:55:14 +02:00
Fredrik Adelöw 87a82498b9 final fixup
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-04-21 13:30:21 +02:00
alde 5fa7f67933 remove src/dev/ folder
Signed-off-by: alde <r.dybeck@gmail.com>
2021-04-21 12:58:20 +02:00
alde 50bd7ce58a align dependency versions
Signed-off-by: alde <r.dybeck@gmail.com>
2021-04-21 12:58:20 +02:00
alde 7f521339b9 fix test fixture
Signed-off-by: alde <r.dybeck@gmail.com>
2021-04-21 12:58:20 +02:00
Fredrik Adelöw 22a9a88b46 move to devdependencies
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-04-21 12:58:19 +02:00