Commit Graph

7637 Commits

Author SHA1 Message Date
Dominik Henneke 6483e74c0d Setup a devapp for Sentry that shows the different states of the widget 2020-12-08 16:53:51 +01:00
Patrik Oldsberg 23190a8a76 Merge pull request #3532 from SDA-SE/feat/sentry
Refactor the Sentry plugin to use the proxy backend instead of a custom backend
2020-12-08 16:24:51 +01:00
Mikael Östberg e2c3f2864f Update ADOPTERS.md (#3612)
* Update ADOPTERS.md

* Update vocab.txt

* Ran prettier

Co-authored-by: Stefan Ålund <stefan.alund@gmail.com>
2020-12-08 14:43:48 +01:00
Dominik Henneke 04f26f88d0 Export the defaultConfigLoader (#3603) 2020-12-08 14:28:21 +01:00
Patrik Oldsberg e3885c0d4b docs/FAQ: add keeping up to date and dynamic plugin installation Qs (#3615) 2020-12-08 14:22:57 +01:00
Fredrik Adelöw faa7be46e5 Merge pull request #3614 from backstage/freben/master-fix
cost-insights: fix react-hooks/exhaustive-deps error
2020-12-08 13:44:12 +01:00
Fredrik Adelöw 90458fed68 cost-insights: fix react-hooks/exhaustive-deps error 2020-12-08 13:07:25 +01:00
Marek Całus 1e50e1f853 Add argo-cd to plugin marketplace (#3604)
* Add argo-cd to plugin marketplace

* Correct the Argo CD title

* Add tags to Argo CD plugin description
2020-12-08 12:33:44 +01:00
Patrik Oldsberg 9dec42a941 Merge pull request #3605 from backstage/mob/routin
core-api: add another set of composability plumbing
2020-12-08 12:20:17 +01:00
Patrik Oldsberg e437679614 Merge pull request #3601 from backstage/rugvip/noform
cli: fix for node_modules inside local packages being transformed
2020-12-08 12:19:47 +01:00
dependabot[bot] 9a78b2f09c build(deps): bump eslint-plugin-react-hooks from 4.0.4 to 4.2.0 (#3611)
Bumps [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks) from 4.0.4 to 4.2.0.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/master/packages/eslint-plugin-react-hooks/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/HEAD/packages/eslint-plugin-react-hooks)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-08 09:20:01 +01:00
David Tuite 6c1aa70685 Improve SEO of microsite title (#3608)
Many people will be searching for "service catalog" and "developer platform" when they are looking for something like Backstage. They may not have ever heard of Backstage before so they will not know to search for it.

A title which includes the keywords "Service Catalog" and "developer platform" will rank better for those queries. This increases the change of Backstage being found by people who could make good use of it.

[Standard advice](https://moz.com/learn/seo/title-tag) is to keep page titles under 60 chars. The proposed title is 49 chars.
2020-12-08 09:19:08 +01:00
dependabot[bot] fd4a2cc5cb build(deps-dev): bump js-yaml from 3.14.0 to 3.14.1 in /microsite (#3610)
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.14.0 to 3.14.1.
- [Release notes](https://github.com/nodeca/js-yaml/releases)
- [Changelog](https://github.com/nodeca/js-yaml/blob/3.14.1/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.14.0...3.14.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-08 09:12:50 +01:00
Patrik Oldsberg 0873ed2d06 core-api: switch to deprecating routing types rather than removing 2020-12-07 19:53:43 +01:00
Patrik Oldsberg d8d5a17dad changeset: add core-api changeset for RouteRef changes 2020-12-07 18:35:11 +01:00
Fredrik Adelöw 950a3d3828 core-api: pass ReactNode as parent to collectors 2020-12-07 18:27:47 +01:00
Patrik Oldsberg 3e7378953e core-api: add optional typed params for RouteRefs and useRouteRef
Co-authored-by: blam <ben@blam.sh>
2020-12-07 18:17:15 +01:00
Patrik Oldsberg ef63f951ea core-api: dry up routing hooks tests 2020-12-07 18:17:15 +01:00
Patrik Oldsberg 9a91866894 core-api: dry up route collectors 2020-12-07 18:17:15 +01:00
Patrik Oldsberg 30a115d392 core-api: add collector for route objects and use react-router matching to implement relative routing
Co-authored-by: blam <ben@blam.sh>
2020-12-07 18:17:15 +01:00
Patrik Oldsberg e4782fd3b9 core-api: rename routes to routePaths
Co-authored-by: blam <ben@blam.sh>
2020-12-07 18:17:14 +01:00
Patrik Oldsberg db28b524c4 core-api: remove RouteRefRegistry and SubRouteRefs
Co-authored-by: blam <ben@blam.sh>
2020-12-07 18:17:14 +01:00
Patrik Oldsberg 4ef2a8769b core-api: add validation of mounted route parameter uniqueness
Co-authored-by: blam <ben@blam.sh>
2020-12-07 18:17:14 +01:00
Patrik Oldsberg 64993c1dd2 core-api: add naive implementation of param-relative routing
Co-authored-by: blam <ben@blam.sh>
2020-12-07 18:17:14 +01:00
Patrik Oldsberg cf2855dc9e core-api: add initial support for route parameters with useRouteRef
Co-authored-by: blam <ben@blam.sh>
2020-12-07 18:17:13 +01:00
Patrik Oldsberg 57ce2b2dc5 core-api: fix accidental global singletons in collectors
Co-authored-by: blam <ben@blam.sh>
2020-12-07 18:17:13 +01:00
Patrik Oldsberg 5596e8698e core-api: add basic useRouteRef and RouteResolver without support for params
Co-authored-by: blam <ben@blam.sh>
2020-12-07 18:17:13 +01:00
Tim d8eebe10ac Merge pull request #3576 from backstage/cost-insights-entity-breakdowns
[Cost Insights] Add support for multiple types of entity cost breakdown
2020-12-07 09:49:24 -07:00
Dominik Henneke e750f08637 Don't run tests in the deprecated module 2020-12-07 17:38:34 +01:00
Patrik Oldsberg 0117081027 cli: fix for node_modules inside local packages being transformed 2020-12-07 17:31:52 +01:00
Dominik Henneke 075d3dc5ae Refactor the Sentry plugin to use the proxy backend instead of a custom backend 2020-12-07 17:21:59 +01:00
Sebastian Qvarfordt 87a33d2fe8 [TechDocs] Bug fixes and cleanups (#3599)
* Fixed issue with some internal doc links reloading the page and removed modifyCss transformer

* Create silly-kiwis-rest.md

* Formatting in changeset
2020-12-07 16:49:24 +01:00
Mateusz Lewtak 040f453c36 Feat: Org Plugin (#3448)
* Feat: Create Groups plugin

* Feat: update code after CR

* Feat: change routing, replace filters to use relations, modify EntityPageLayout to support users

* Feat: update CLI version

* Feat: add some tests

* Update daily cost data to return groupedCosts

* Add aggregation sum util

* Add top panel breakdown view

* Add top panel tabs

* Add mock data for grouped Costs

* Add comments on groupedCosts

* Update wording to product in cost by product component

* Move cost overview chart legend to separate component

* Move mock data utils

* Add data viz colors for both themes

* Move mock data utils

* Update data viz dark theme colors

* Update bar chart legend type usage

* catalog-backend: gracefully handle missing codeowners

* Derive the owned entities in the catalog from group memberships

* Filter the response headers in the proxy backend

* Make backend-commons tests work on Windows

* backend: remove yarn cache from built docker image

* Refactor the hooks and also support users owning components

* backend,yarnrc: bring yarn network-timeout down to 300s

* Fix another Windows test issue

This one is a bit tricky. Instead of testing at the root folder of the drive, this test is now relative to the current directory. This resolves the difference between "/pkgs/a" and "d:\pkgs\a"

* Drop fill opacity for lighter colors

* Update dark theme colors

* Fix review comments

* techdocs-backend: update Gitlab clone auth

* Use case-insensitive filters

* Add Kubernetes plugin (#3505)

* backend-common: allow port in config to be both a number or a string

* chore: set the port as number if it comes through as a string

* Feat: Bump GitHub Insights plugin version (#3509)

* Feat: groups and components card

* Feat: update Org plugin according to CR

* Feat: update TS stuff

* Feat: change tile titles

* Feat: bump packages

* Code review fixes

Co-authored-by: Brenda Sukh <brendasukh@gmail.com>
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: Dominik Henneke <dominik.henneke@sda-se.com>
Co-authored-by: Oliver Sand <oliver.sand@tentaclelabs.com>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Chongyang Adrian, Ke <ftt.adrian.ke@grabtaxi.com>
Co-authored-by: Adam Harvey <adam.harvey@dxc.com>
Co-authored-by: blam <ben@blam.sh>
Co-authored-by: Marek Calus <marek-calus@wp.pl>
2020-12-07 16:46:15 +01:00
Patrik Oldsberg 9878ec02d5 Merge pull request #3503 from ayshiff/feature/drawer-storybook
Side Panel Component
2020-12-07 15:23:59 +01:00
Patrik Oldsberg ed3bf3e081 Merge pull request #3584 from RoadieHQ/add-pagerduty-to-helm
Add pagerduty config to helm chart
2020-12-07 15:06:16 +01:00
David Tuite 03e264519a Fix techdocs for url locations (#3589)
Pasting a URL like `https://github.com/RoadieHQ/sample-service/blob/master/catalog-info-1.yaml`
into the Register Existing Component input creates an Entity with the
the `backstage.io/managed-by-location` annotation set to the `type` of
`url.

The TechDocs perparer does not handle this type.

```ts
    switch (type) {
      case 'github':
      case 'gitlab':
      case 'azure/api': {
        // ...
      }

      case 'file':
        // ...
      default:
        throw new InputError(`Unable to resolve location type ${type}`);
    }
  }
```

Thus, docs are never generated and we see the following error when
trying to view then in Backstage.

```
InputError: Unable to resolve location type url at DirectoryPreparer.resolveManagedByLocationToDir (webpack-internal:///../../node_modules/@backstage/plugin-techdocs-backend/src/techdocs/stages/prepare/dir.ts:63:15) at DirectoryPreparer.prepare (webpack-internal:///../../node_modules/@backstage/plugin-techdocs-backend/src/techdocs/stages/prepare/dir.ts:73:51) at DocsBuilder.build (webpack-internal:///../../node_modules/@backstage/plugin-techdocs-backend/src/service/helpers.ts:74:45) at eval (webpack-internal:///../../node_modules/@backstage/plugin-techdocs-backend/src/service/router.ts:141:25) at processTicksAndRejections (internal/process/task_queues.js:93:5)
```

This may not be the correct solution. An alternative solution would be
to ensure that pasted URLs end up with the `type` of `github` rather
than `url`.
2020-12-07 11:46:40 +01:00
Stefan Ålund 1665ae8bb8 Slightly more padding in dense tables (#3571)
* Slightly more padding in dense tables

* Added changeset

* Update small-comics-cover.md
2020-12-07 10:17:59 +01:00
Patrik Oldsberg c954485b94 Merge pull request #3595 from backstage/rugvip/dist
app,backend,create-app: add files declaration to package.jsons
2020-12-07 10:15:32 +01:00
Patrik Oldsberg 5fd6b69fb9 Merge pull request #3594 from backstage/rugvip/bundle
cli: update experimental backend:bundle command to output archives to dist/
2020-12-07 10:15:21 +01:00
dependabot[bot] ad6ef68f2b build(deps-dev): bump docusaurus in /microsite (#3543)
Bumps [docusaurus](https://github.com/facebook/docusaurus) from 2.0.0-alpha.66 to 2.0.0-alpha.378053ac5.
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/master/CHANGELOG-2.x.md)
- [Commits](https://github.com/facebook/docusaurus/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-07 09:45:10 +01:00
Adam Harvey b20a63d103 fix(lighthouse): Typo & example code tweaks (#3573)
* Update export example

* Fix typo
2020-12-07 09:44:25 +01:00
dependabot[bot] 2c12b5fc79 build(deps-dev): bump @types/testing-library__jest-dom (#3596)
Bumps [@types/testing-library__jest-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/testing-library__jest-dom) from 5.9.1 to 5.9.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/testing-library__jest-dom)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-07 09:42:58 +01:00
Fredrik Adelöw d2f81dd290 Merge pull request #3373 from backstage/freben/remove-ancestors-descendants
catalog: remove group ancestors and descendants
2020-12-07 09:40:38 +01:00
Patrik Oldsberg 94348441e0 app,backend,create-app: add files declaration to package.jsons 2020-12-06 23:11:39 +01:00
Patrik Oldsberg 06dbe707bf cli: update experimental backend:bundle command to output archives to dist 2020-12-06 22:45:06 +01:00
Fredrik Adelöw a1fffce071 Merge pull request #3592 from backstage/freben/relations-all-at-once
catalog-backend: read all relations at once
2020-12-06 19:49:37 +01:00
Fredrik Adelöw 047c018c91 catalog-backend: read all relations at once 2020-12-06 18:26:09 +01:00
David Tuite d298d50639 Add pagerduty config to helm chart 2020-12-05 21:49:03 +00:00
Tim Hansen 8cc65fec5f The embarrassment
A developer without
A final paren
2020-12-04 20:29:11 -07:00
Tim Hansen 6f7ee993c4 M/M -> Change 2020-12-04 15:38:36 -07:00