Commit Graph

5844 Commits

Author SHA1 Message Date
Camila Belo 94a9e16a31 Merge pull request #7717 from backstage/rugvip/winfix2
techdocs-common: fix helper tests on windows
2021-10-21 09:12:41 +02:00
Fredrik Adelöw 00da5e919f Merge pull request #7715 from backstage/freben/reports1
Add public tags and documentation in the `error` and `config-loader` packages
2021-10-21 08:07:43 +02:00
Patrik Oldsberg e3ebb03833 Merge pull request #7701 from yousifalraheem/master
fixed invalid wrap in dismissablebanner component
2021-10-21 00:36:23 +02:00
Patrik Oldsberg 5abca9201a Merge pull request #7610 from jluk-box/catalog-model-doc
Improve API docs in @backstage/catalog-model
2021-10-20 23:58:05 +02:00
Patrik Oldsberg 1455f4e693 techdocs-common: fix helper tests on windows
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-10-20 23:53:29 +02:00
Fredrik Adelöw 7e97d0b8c1 Add public tags and documentation in the error and config-loader packages
Part of #7688

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-10-20 22:48:08 +02:00
Camila Belo 4a7d47c020 Merge pull request #7080 from backstage/vinzscam/techdocs-use-readme-as-fallback
techdocs: use README.md as index fallback
2021-10-20 22:04:46 +02:00
Yousif Al-Raheem 2023a9683f fixed invalid wrap in dismissablebanner component
Signed-off-by: Yousif Al-Raheem <yousifalraheem@gmail.com>
2021-10-20 14:46:51 +02:00
Patrik Oldsberg 8238c8998f Merge pull request #7685 from backstage/rugvip/backability
cli: add in a redirect for jestEsmTransform for compatibility
2021-10-20 14:01:08 +02:00
Vincenzo Scamporlino 59b45a4396 Add checks for warnings
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
2021-10-20 13:34:00 +02:00
Vincenzo Scamporlino 2bc10af8a4 fix comments
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
2021-10-20 13:12:31 +02:00
Patrik Oldsberg de48939447 Merge pull request #7461 from backstage/rugvip/errors
[PRFC] errors: add isError, assertError and ErrorLike type
2021-10-20 13:07:49 +02:00
Patrik Oldsberg a10ff21d59 cli: add in a redirect for jestEsmTransform for compatibility
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-10-20 10:45:23 +02:00
Crevil be59619212 Detect GitHub rate limits in GithubUrlReader
Currently there is no way of knowing whether a 403 error from the
GithubUrlReader is due to bad credentials or GitHub rate limits.

This change appends the text " (rate limit exceeded)" to the thrown error to
help operators understand that this is the case.

Signed-off-by: Crevil <bjoern.soerensen@gmail.com>
2021-10-19 15:34:39 +02:00
Patrik Oldsberg f316d05889 Merge pull request #7649 from backstage/rugvip/noglobals
techdocs-common: avoid global type declarations
2021-10-19 12:53:46 +02:00
Vincenzo Scamporlino bca27b3662 techdocs: use README.md as index fallback
Signed-off-by: Vincenzo Scamporlino <me@vinzscam.dev>
2021-10-19 10:47:29 +02:00
Camila Belo 7f7057eb6a docs(techdocs-common): update api reports
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2021-10-18 19:39:38 +02:00
Camila Belo dfd03b5aa6 chore(techdocs-common): bump default docker image
A new release of `techdocs-container` has been published and as recommended [here](https://github.com/backstage/techdocs-container#release) the default container image used by the Techdocs Generator has been changed.

Signed-off-by: Camila Belo <camilaibs@gmail.com>
2021-10-18 18:38:23 +02:00
Fredrik Adelöw 315539e3f3 fix api changes
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-10-18 11:32:38 +02:00
dependabot[bot] 0344015f4c chore(deps): bump remark-gfm from 1.0.0 to 2.0.0
Bumps [remark-gfm](https://github.com/remarkjs/remark-gfm) from 1.0.0 to 2.0.0.
- [Release notes](https://github.com/remarkjs/remark-gfm/releases)
- [Commits](https://github.com/remarkjs/remark-gfm/compare/1.0.0...2.0.0)

---
updated-dependencies:
- dependency-name: remark-gfm
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-18 11:29:24 +02:00
Patrik Oldsberg b81299a332 techdocs-common: avoid global type declarations
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-10-17 15:25:57 +02:00
Patrik Oldsberg 59714af079 errors: document and update API report for new assertion helpers
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-10-17 15:09:06 +02:00
Patrik Oldsberg 381381bd2b errors: avoid [object Object] as cause + fix ForwardedError name
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-10-17 15:09:06 +02:00
Patrik Oldsberg 36e67d2f24 more strict error type checking in most packages and backend plugins
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-10-17 15:09:05 +02:00
Patrik Oldsberg 028938b73e core-components: fix MardownContent test
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-10-17 13:57:55 +02:00
Patrik Oldsberg e535ea766a core-components: use built-in async react-syntax-highlighter component
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-10-17 13:09:42 +02:00
Patrik Oldsberg 9d18bc8ba4 errors: added ForwardedError, unknown cause, and unknown fields in ErrorLike
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-10-16 14:59:52 +02:00
Patrik Oldsberg afb67603b3 errors: added new assertion APIs
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-10-16 14:59:52 +02:00
Patrik Oldsberg 3e2b3e99e4 config-loader: unit tests for error visibility filtering + fixes
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-10-15 14:49:37 +02:00
Patrik Oldsberg 8f30ac386b config-loader: filter out schema errors that aren't visible
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-10-15 14:49:36 +02:00
Patrik Oldsberg b31daba201 config-loader: collect visibility paths both by data and schema path
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-10-15 14:49:35 +02:00
Patrik Oldsberg 35b7a0bbd5 Merge pull request #7569 from backstage/rugvip/transformers
cli: rework how we handle ESM transforms for tests
2021-10-15 10:28:53 +02:00
Patrik Oldsberg 72be1cf988 Merge pull request #7614 from backstage/rugvip/e2e-fix
e2e-test: improve page content checking resilience
2021-10-14 19:33:58 +02:00
Patrik Oldsberg 6a7e90c6ca e2e-test: improve page content checking resilience
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-10-14 19:01:29 +02:00
Jarek Łukow ab2df3be33 Improve API docs in @backstage/catalog-model
Signed-off-by: Jarek Łukow <jlukow@box.com>
2021-10-14 15:17:13 +02:00
github-actions[bot] 4c840cebfa Version Packages 2021-10-14 12:45:08 +00:00
Dominik Henneke 82fbda923e Introduce a new StarredEntitiesApi that is used in the useStarredEntities hook
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-10-14 12:08:42 +02:00
Dominik Henneke 54bbe25c34 Store the namespaced bucket storage for each instance that was created with MockStorage.create() instead of global variable
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-10-14 12:08:41 +02:00
Connor Younglund dd9cf64dd5 replace \n with newline for GitHub App private key
Signed-off-by: Connor Younglund <younglund_connor@bah.com>
2021-10-13 15:15:55 -04:00
Patrik Oldsberg 4050e33f03 cli: remove old jest ESM transform
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-10-13 18:37:05 +02:00
Patrik Oldsberg b486adb8c6 cli: rework jest ESM handling by transforming by default
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-10-13 18:37:05 +02:00
Iain Billett b488d8b69f Set catalog table search field placeholder to "Filter"
Full reasoning is in the changeset but in short this is to avoid
confusion with the search plugin. The icon is also updated.

Signed-off-by: Iain Billett <iain@roadie.io>
2021-10-13 11:41:56 +01:00
Fredrik Adelöw d2bf8ca90d Merge pull request #7484 from awanlin/awanlin/azure-devops-frontend-plugin
Adding Azure DevOps frontend plugin
2021-10-13 12:30:39 +02:00
Fredrik Adelöw 8c754968d9 Merge pull request #7373 from livetocode/feature/k8s-add-factory
Add a factory class for customizing the services used by the kubernetes backend plugin
2021-10-12 22:21:13 +02:00
Fredrik Adelöw 273014dd10 Merge pull request #7537 from backstage/dependabot/npm_and_yarn/mini-css-extract-plugin-2.4.2
build(deps): bump mini-css-extract-plugin from 1.4.1 to 2.4.2
2021-10-12 21:20:55 +02:00
Andre Wanlin 0a47212b42 Another round of improvements
Signed-off-by: Andre Wanlin <awanlin@rapidrtc.com>
2021-10-12 14:06:04 -05:00
Andre Wanlin 2435d7a49b Move HomepageTimer and use props over config (#7533) 2021-10-12 19:54:44 +02:00
Andre Wanlin e1f5307ae3 Merge branch 'backstage:master' into awanlin/azure-devops-frontend-plugin 2021-10-12 12:44:13 -05:00
Fredrik Adelöw e4ab91cf57 Merge pull request #7416 from johanhammar/firefox-search
Fix handling of search term when performing searches from the sidebar
2021-10-12 15:59:06 +02:00
Fredrik Adelöw 9e5005a4cf fix build error
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-10-12 12:19:51 +02:00