Commit Graph

12575 Commits

Author SHA1 Message Date
Oliver Sand cb8c848a38 Disable color transitions on links to avoid issues in dark mode
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-04-26 17:17:10 +02:00
Oliver Sand 35e32bbf4c Merge pull request #5425 from SDA-SE/feat/techdocssss-api
TechDocs: Use interface and not implementation in ApiRef<T>
2021-04-26 14:21:58 +02:00
Oliver Sand 7aa4308179 Merge pull request #5427 from SDA-SE/feat/fix-guest
Fix owner references to guest user
2021-04-26 14:21:42 +02:00
Oliver Sand d0b6923654 Adjust changeset
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-04-26 14:05:27 +02:00
Himanshu Mishra 769112c63c Merge pull request #5468 from adrianke77/fix-techdocs-landing-page-table-wrong-copied-link
fix techdocs landing page table wrong copied link
2021-04-26 13:36:08 +05:30
Himanshu Mishra de23801e57 Merge pull request #5464 from taras/tm/techdocs-catch-exception 2021-04-26 13:15:04 +05:30
Chongyang Adrian, Ke 15cbe68156 fix techdocs landing page table wrong copied link
Signed-off-by: Chongyang Adrian, Ke <ftt.adrian.ke@grabtaxi.com>
2021-04-26 12:02:44 +08:00
Eric Peterson 415a2a5a99 Merge pull request #5449 from backstage/iameap/search-changesets 2021-04-24 20:43:28 +02:00
Taras f4af06ebe3 Add changeset
Signed-off-by: Taras <tarasm@gmail.com>
2021-04-24 11:34:41 -04:00
Taras f940c38378 Prevent uncaught exception in download of Techdocs Azure Blob Storage publisher
Signed-off-by: Taras <tarasm@gmail.com>
2021-04-24 11:24:08 -04:00
Fredrik Adelöw bf278fe9d1 Merge pull request #5460 from erikxiv/fix/code-coverage-migrations
fix: include migrations in code-coverage-backend plugin
2021-04-24 08:25:21 +02:00
Erik Larsson d47c2628b7 fix: include migrations in code-coverage-backend plugin
Signed-off-by: Erik Larsson <erik.larsson@schibsted.com>
2021-04-24 06:51:24 +02:00
Tim 0870170575 Merge pull request #5456 from backstage/timbonicus/k8s-healthcheck
Add healthcheck to k8s doc
2021-04-23 13:13:36 -06:00
Tim Hansen ba86f0290d Comment health checks with note
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-04-23 12:34:46 -06:00
Tim Hansen 3b3bc4d120 Add healthcheck to k8s doc
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-04-23 12:13:13 -06:00
Eric Peterson 38f076c0df Tweak search code ownership.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-04-23 14:34:33 +02:00
Oliver Sand 92cc589201 Remove duplicate @backstage/test-utils dependency
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-04-23 13:16:21 +02:00
Oliver Sand 21fddf4524 Rename changeset
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-04-23 12:48:14 +02:00
Oliver Sand a3048a3b7f Fix some remaining typing issues
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-04-23 12:48:14 +02:00
Oliver Sand bf905d9bde Comment out datadog configuration
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-04-23 12:48:14 +02:00
Oliver Sand f09f6a166b Use interface and not implementation in ApiRef<T>
Closes #4404

Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-04-23 12:48:13 +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
Oliver Sand 6eaecbd81d Fix owner references to guest user
If the user guest is used as an example value of the owner field, we should make sure to specify it as user:guest instead as the default is group.

Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-04-22 13:21:45 +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