Commit Graph

13677 Commits

Author SHA1 Message Date
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
Erik Engervall 10c9547245 Create getCommit hook
When opening row, calculate diff in days from creating RC to being done with the Release Version

Signed-off-by: Erik Engervall <erik.engervall@gmail.com>
2021-04-23 02:55:10 +02:00
Erik Engervall c865a349e4 Move usePluginApiClientContext & useProjectContext into hooks where applicable
Signed-off-by: Erik Engervall <erik.engervall@gmail.com>
2021-04-23 00:51:23 +02:00
Erik Engervall 5e65ce14ff Improve coverage of plugin.test.ts
Signed-off-by: Erik Engervall <erik.engervall@gmail.com>
2021-04-23 00:44:28 +02:00
Erik Engervall 4101cecb42 Minor adjustments for "components" -> "features" renaming
Signed-off-by: Erik Engervall <erik.engervall@gmail.com>
2021-04-23 00:30:47 +02:00
Erik Engervall c33462b440 Introduce Stats Feature
Create two new API calls, getAllTags & getAllReleases

Rename "components" prop to more suitable "features"

Signed-off-by: Erik Engervall <erik.engervall@gmail.com>
2021-04-23 00:28:53 +02:00
Erik Engervall 5f8bae8779 Rename Cards to Features
Signed-off-by: Erik Engervall <erik.engervall@gmail.com>
2021-04-23 00:12:28 +02:00
Erik Engervall 253f8951c0 Create validateTagName module which validated the tagName before it gets into the Cards
Replace throwing with returning an object with an error property for getXTagParts helpers

Move Transition into its own module

Signed-off-by: Erik Engervall <erik.engervall@gmail.com>
2021-04-23 00:06:00 +02:00
Ryan Vazquez c2abcf91ac lint
Signed-off-by: Ryan Vazquez <ryanv@spotify.com>
2021-04-22 15:41:58 -04:00
Ryan Vazquez 6f1b82b141 changeset
Signed-off-by: Ryan Vazquez <ryanv@spotify.com>
2021-04-22 15:04:15 -04:00
Ryan Vazquez 349c15d9f7 make ratio optional
Signed-off-by: Ryan Vazquez <ryanv@spotify.com>
2021-04-22 15:04:15 -04:00
azhurbilo 041575f257 ability to change components service type
Signed-off-by: azhurbilo <artemzhurbilo@gmail.com>
2021-04-22 21:05:05 +03:00
azhurbilo 8e067f00be add ability to disable some helm lighthouse resources
Signed-off-by: azhurbilo <artemzhurbilo@gmail.com>
2021-04-22 21:05:05 +03: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
Patrik Oldsberg 610619dba0 docs: update install step in plugin architecture docs
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-22 18:30:16 +02: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
Brian Fox 8bd92cff3f Update nginx deployment to use 1.19 features
- There is no need to override the `CMD` on the base image to get the custom scripts to run. This can be done simply by adding the custom configuration script to the `/docker-entrypoint.d` folder. See https://github.com/nginxinc/docker-nginx/blob/master/mainline/debian/docker-entrypoint.sh.
- With the above change made, we can now also reap the benefit of support for `envsubst` having been added in 1.19 -  as long as the config is placed in the folder `/etc/nginx/templates/`. See https://github.com/docker-library/docs/tree/master/nginx#using-environment-variables-in-nginx-configuration-new-in-119 and https://github.com/nginxinc/docker-nginx/blob/master/mainline/debian/20-envsubst-on-templates.sh for more info.

Signed-off-by: Brian Fox <brianhfox@gmail.com>
2021-04-22 17:36:05 +02:00
jrusso1020 5461726742 [Fixes 5420] Update component example in documentation
Currently the entity component example towards the top of the page
has metadata.labels.system set
https://github.com/backstage/backstage/blame/master/docs/features/software-catalog/descriptor-format.md#L47
but further down on the page it's spec.system
https://github.com/backstage/backstage/blame/master/docs/features/software-catalog/descriptor-format.md#L423.

This updates them to both use the correct spec.system key/value,
as well as add an example label to get a sense for what labels
look like as well

Signed-off-by: jrusso1020 <jrusso@brex.com>
2021-04-22 09:11:12 -06: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
Erik Engervall 16230c333a Disable refresh button in ResponseStepDialog while requests are ongoing
Signed-off-by: Erik Engervall <erik.engervall@gmail.com>
2021-04-22 15:16:05 +02: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
Erik Engervall 57d8ea0237 Add condition for displaying current & separator
Signed-off-by: Erik Engervall <erik.engervall@gmail.com>
2021-04-22 14:32:58 +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
Erik Engervall 491af9430a Return objects from contexts to simplify naming
Signed-off-by: Erik Engervall <erik.engervall@gmail.com>
2021-04-22 13:33:43 +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
Marcus Eide e15241ea1d Update README
Signed-off-by: Marcus Eide <eide@spotify.com>
2021-04-22 10:40:10 +02:00
Marcus Eide f8eb7cacc7 Provide implementation of the api in the app instead
Signed-off-by: Marcus Eide <eide@spotify.com>
2021-04-22 10:33:40 +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
Marcus Eide 15067b0566 Add back @material-ui/lab to pass diff check
Signed-off-by: Marcus Eide <eide@spotify.com>
2021-04-22 09:53:55 +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] 0d9d875bc9 chore(deps-dev): bump @graphql-codegen/typescript from 1.21.1 to 1.22.0
Bumps [@graphql-codegen/typescript](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/plugins/typescript/typescript) from 1.21.1 to 1.22.0.
- [Release notes](https://github.com/dotansimha/graphql-code-generator/releases)
- [Changelog](https://github.com/dotansimha/graphql-code-generator/blob/master/packages/plugins/typescript/typescript/CHANGELOG.md)
- [Commits](https://github.com/dotansimha/graphql-code-generator/commits/@graphql-codegen/typescript@1.22.0/packages/plugins/typescript/typescript)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-22 04:33:43 +00: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
Erik Engervall a32d221ab8 Add tests for LinearProgressWithLabel & a test id for it
Signed-off-by: Erik Engervall <erik.engervall@gmail.com>
2021-04-21 22:19:06 +02:00
Erik Engervall 1925246f84 Improve tests for Cards and Info
Signed-off-by: Erik Engervall <erik.engervall@gmail.com>
2021-04-21 21:51:52 +02:00