Commit Graph

1978 Commits

Author SHA1 Message Date
Oliver Sand da546ce005 Support gridItem variant for EntityLinksCard
This makes it similar to other cards.

Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-04-28 09:12:25 +02:00
Patrik Oldsberg f72aa8116a Merge pull request #5435 from ougfh/add-filtering-to-apis-explorer
Filter returned fields in apis explorer
2021-04-28 01:19:05 +02:00
Tim Hansen a1783f3060 Add nebula-preview
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-04-27 11:07:15 -06:00
Mathias Åhsberg b219821a01 Expose BitbucketRepositoryParser
Signed-off-by: Mathias Åhsberg <mathias.ahsberg@resurs.se>
2021-04-27 15:54:19 +00:00
Patrik Oldsberg 61fdfd70a3 Merge pull request #5353 from backstage/rugvip/plugins-docs
docs,READMEs: updates for composability changes
2021-04-27 17:47:13 +02:00
Anastasia Rodionova 07a7806c31 Filter returned fields in apis explorer
Signed-off-by: Anastasia Rodionova <argali96@gmail.com>
2021-04-27 14:55:34 +02:00
Patrik Oldsberg f9d077f5f6 Merge pull request #5483 from backstage/rugvip/notgreet
catalog: switch out time-based greeting for plain title
2021-04-27 14:26:06 +02:00
Patrik Oldsberg e746688bd8 Merge pull request #5363 from ilyamkin/ilyal/pass-navlinkprops
Pass NavLinkProps to SidebarItem
2021-04-27 13:01:09 +02:00
Brian Fox cdb3426e56 fix(proxy-backend): prefix routes with / if not present in config
This commit ensures that the default `pathRewrite` configuration for a proxy element is more resilient to the combination of whether:
- `route` is prefixed with `/`
- `pathPrefix` on the plugin is suffixed with `/` (which at present it will never be - see comments).

Signed-off-by: Brian Fox <brianhfox@gmail.com>
2021-04-27 12:40:15 +02:00
Patrik Oldsberg 73f3f5d78d create-app: update app template to check for new catalog index page title
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-27 12:29:53 +02:00
Patrik Oldsberg 8b43d5f8a2 catalog: remove home page clocks
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-27 12:22:33 +02:00
Patrik Oldsberg 1a142ae8a4 catalog: switch out time-based greeting for plain title
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-27 12:22:32 +02:00
Eric Peterson ec056c1e81 Merge pull request #5450 from backstage/emmaindal/search-index-refresh-schedule
[Search] Extend search backend with scheduler
2021-04-27 11:38:11 +02:00
Andrew Shirley 4c42ecca2d Wrap EmptyState in a Card
This prevents it overflowing onto subsequent content

Signed-off-by: Andrew Shirley <andrew@als-bi.com>
2021-04-27 09:27:04 +01:00
Victor Perera f6efa71ee7 Adding Changeset
Signed-off-by: Victor Perera <v-vperera@expediagroup.com>
2021-04-26 19:04:52 -05:00
Eric Peterson 47037a2197 Merge pull request #5477 from SDA-SE/feat/techdocs-flicker2
TechDocs: Rework state management to avoid rendering multiple while navigating between pages
2021-04-26 18:57:42 +02:00
Eric Peterson 935c447d04 Merge pull request #5478 from SDA-SE/feat/techdocs-flicker
TechDocs: Disable color transitions on links to avoid issues in dark mode
2021-04-26 18:22:09 +02:00
Emma Indal e1e757569f prefix changeset with search
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2021-04-26 17:32:54 +02:00
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 17915e29b3 Rework state management to avoid rendering multiple while navigating between pages
Closes #5184

Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-04-26 16:59:14 +02:00
Emma Indal fafd804364 update changeset
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2021-04-26 16:49:32 +02:00
Patrik Oldsberg 19a4dd7103 plugins: removed unused swr dependency
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-26 16:00:09 +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
Taras f4af06ebe3 Add changeset
Signed-off-by: Taras <tarasm@gmail.com>
2021-04-24 11:34:41 -04: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
Phil Kuang e0c9ed759d feat(EntityLayout): add 'if' prop to Route component
Signed-off-by: Phil Kuang <pkuang@factset.com>
2021-04-23 16:18:07 -04:00
Dominik Henneke 23769512a3 Support anyOf schemas in the scaffolder template
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-04-23 15:24:46 +02:00
Emma Indal f5ba99d61c add changeset
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2021-04-23 15:07:12 +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 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
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
Ryan Vazquez 6f1b82b141 changeset
Signed-off-by: Ryan Vazquez <ryanv@spotify.com>
2021-04-22 15:04:15 -04:00
Patrik Oldsberg c614ede9a5 docs: update plugin installation docs
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-22 18:32:54 +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
Oliver Sand 6fbd7beca5 Rename changeset
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-04-22 15:50:34 +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
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