Commit Graph

2765 Commits

Author SHA1 Message Date
Patrik Oldsberg 484385c658 Merge pull request #3283 from backstage/rugvip/retree
backend-common: refactor readTree to only accept URL and options + add response helper
2020-11-13 10:53:53 +01:00
Patrik Oldsberg bd1cef1847 backend-common: review comments for readTree + switch archive return type to a stream 2020-11-13 00:43:20 +01:00
Patrik Oldsberg b672492e21 backend-common: make .readTree required 2020-11-12 13:59:10 +01:00
Patrik Oldsberg 6417d966bb backend-common,techdocs-backend: refactor .readTree to accept options and implement GitHub reader with response utils 2020-11-12 13:53:22 +01:00
Patrik Oldsberg e1057d9a50 backend-common: provide a ReadTreeResponseFactory instance to all ReaderFactories 2020-11-12 13:52:18 +01:00
Patrik Oldsberg 5bc30d262f backend-common: make ReadTreeResponse.dir() accept an options object instead 2020-11-12 12:31:23 +01:00
Patrik Oldsberg 73231427e1 backend-common: add top-level archive filtering to ArchiveResponse + fix files() 2020-11-12 12:27:33 +01:00
Patrik Oldsberg 1b632b5aa7 backend-common: add archive tree reading utilities 2020-11-12 12:27:33 +01:00
Patrik Oldsberg e74422b4d8 backend-common: make ReadTreeResponse.files async 2020-11-12 12:27:33 +01:00
github-actions[bot] 76a8099029 Version Packages 2020-11-12 10:52:23 +00:00
Fredrik Adelöw 9090739a53 storybook: fix broken stories that lack a router parent (#3273) 2020-11-11 14:42:08 +01:00
Mateusz Lewtak b4204066f0 Feat: Add BuildKite CI/CD Plugin to sample app (#3248)
* Feat: Add BuildKite CI/CD Plugin to sample app

* Feat: Add EntityPage test, bump plugin version

* Feat: update package.json

* feat: run prettier

* Feat: update test code after CR
2020-11-10 16:02:13 +01:00
Oliver Sand 0c0798f082 Persist Table Filters in the API Explorer (#2936)
* fix: allow changing the categories of a checkbox tree

* feat: allow setting the current selection in the checkbox tree

* feat: allow setting the current selection in the select

* feat: add a way to access the tables internal state (filters, search, ...)

* feat: add useQueryParams hook

* feat: persist the table state of the api explorer in the url

* Use react-use instead of writing own hooks

* Resolve review comments

* Rename selectedChilds to selecetedChildren

* Add changesets

* Support passing a separate state name to useQueryParamState

This allows to use the useQueryParamState hook multiple time per route and have a separate state.

* refactor: fix typo...
2020-11-09 18:19:47 +01:00
Sebastian Qvarfordt f059eaf755 readTree method on UrlReader (#2925)
* Basic implementation of readTree on github and use it in techdocs

* Added a UrlPreparer and cleaned up some minor things

* Download entire archive and filter out the wanted files in readTree

* Added test for dir output of tree reader

* Fixed formatting

* Fixed formatting

* Some cleanups and fixes

* Fix typing issues

* Fix prettier

* Fix prettier

* Removed unused dependency

* Fixed comments on PR

* Prettier

* Moved @types/fs-extra to devDeps

* Fixed another PR comment

* Added a test for getDocFilesFromRepository

* Prettier
2020-11-09 16:28:51 +01:00
Mateusz Lewtak 9e336a57a5 Feat: update GitHub Pull Request plugin version (#3265) 2020-11-09 15:48:56 +01:00
Adam Harvey 00b7b66bd8 Fix typo in support button example (#3262) 2020-11-07 12:30:16 +01:00
Oliver Sand 33b7300ebe Capture plugin name under the /api/ prefix for http metrics (#3259) 2020-11-06 20:21:36 +01:00
Jesko Steinberg e8f69ba936 feat: add internal routing to BottomLink (#3258)
* feat(core): Link component detect whether it's an external link or not

* fix: make BottomLink using backstage/core Link component
2020-11-06 20:17:17 +01:00
Mikaela Grundin 199237d2fb core: DependencyGraph component (#3236)
* add dependency graph files

* add stories for DependencyGraph

* add changeset

* add margin and border to storybook examples

* support dark theme in default label

* add transition to nodes, edges and labels

* move @types to devDependencies

* clean up DependencyGraph test

* don't use default exports

* change padding format

* change marginX/Y to paddingX/Y

* fix types export

* fix storybook

* move @types/dagre from devDependencies to dependencies
2020-11-06 09:27:34 +01:00
Patrik Oldsberg c56e28375f create-app: add missing @backstage/plugin-api-docs entry to plugins.ts (#3257) 2020-11-06 00:33:10 +01:00
dependabot[bot] a16780d833 chore(deps): bump @gitbeaker/core from 23.5.0 to 25.2.0 (#3210)
* chore(deps): bump @gitbeaker/core from 23.5.0 to 25.2.0

Bumps [@gitbeaker/core](https://github.com/jdalrymple/gitbeaker) from 23.5.0 to 25.2.0.
- [Release notes](https://github.com/jdalrymple/gitbeaker/releases)
- [Changelog](https://github.com/jdalrymple/gitbeaker/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jdalrymple/gitbeaker/compare/23.5.0...25.2.0)

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

* bump the other package too

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
2020-11-05 18:54:26 +01:00
Oliver Sand 4577e377be Improve styling of outlined chips in dark mode (#3252) 2020-11-05 18:41:49 +01:00
Iain Billett 4aca74e089 Load config from window in default config loader (#3238)
Support setting config through the window object. The config
should be set in window.__APP_CONFIG__ which should be an
object.
2020-11-05 16:05:06 +01:00
Himanshu Mishra e677dbd3c0 Move techdocs-cli to backstage/techdocs-cli repository 2020-11-05 15:27:14 +01:00
Philipp Hugenroth 728f772d15 CLI: Bypass build error to complete plugin creation (#3242)
* Bypass build error to complete plugin creation

* Stop building and linting plugin if error occures
2020-11-05 15:05:29 +01:00
Patrik Oldsberg e156211f3b Merge pull request #3247 from RoadieHQ/feat/update-sample-app-plugins-versions
Feat: update plugins to new versions
2020-11-05 15:02:10 +01:00
Himanshu Mishra 47a611f115 TechDocs: Remove techdocs-container package from mono-repo (#3230)
* Move techdocs-container package to backstage/techdocs-container

* Clean up codeowners

* Remove unnecessary GitHub CI workflow

* Modify path in docs for techdocs-container

* Fix techdocs-cli URL

* Remove techdocs packages from docs/support/packages
2020-11-05 14:58:48 +01:00
Mateusz Lewtak e24e46b0b9 Feat: update plugins to new versions 2020-11-05 13:40:25 +01:00
Tim 6627b626f8 Fix double divider on InfoCard (#3240)
Changeset

Co-authored-by: Tim Hansen <timbonicush@spotify.com>
2020-11-05 12:11:00 +01:00
Patrik Oldsberg 64b0d9d7e0 Merge pull request #2881 from Marvin9/chore/use-catalog-api
chore: use catalog API to fetch entity in scaffolder-backend
2020-11-05 11:17:34 +01:00
Patrik Oldsberg 3d07745b82 Merge pull request #2863 from SDA-SE/feat/default-scope-auth-providers
feat: configurable default scopes of auth providers
2020-11-05 10:53:43 +01:00
Patrik Oldsberg 33a9025dc0 Merge pull request #3204 from mcalus3/patch-1
Bump travis-ci plugin version in example app
2020-11-04 18:54:09 +01:00
Fredrik Adelöw 42b0dbddcb feat(catalog-client): create a basic catalog client (#3166) 2020-11-04 13:18:03 +01:00
Patrik Oldsberg 5bf4267ae2 Merge pull request #3157 from SDA-SE/feat/formatted-react-markdown
feat: add MarkdownContent component to @backstage/core
2020-11-04 11:14:49 +01:00
Jesko Steinberg c5bab94aba refactor: use OAuthApiCreateOptions 2020-11-04 11:07:59 +01:00
github-actions[bot] 715bb76fb5 Version Packages 2020-11-03 20:50:42 +00:00
Himanshu Mishra d5c74f0415 Merge pull request #3216 from backstage/orkohunter/remove-techdocs-core-from-mono-repo 2020-11-03 15:51:22 +01:00
Jesko Steinberg a963b59b04 refactor: use markdown dialects (gfm as default) 2020-11-03 14:51:12 +01:00
Patrik Oldsberg 8360d9f7e2 Merge pull request #3140 from backstage/rugvip/release
Release v0.1.1
2020-11-03 13:28:03 +01:00
Himanshu Mishra b8e67816c9 Remove mkdocs-techdocs-core from backstage mono-repo
New home: https://github.com/backstage/mkdocs-techdocs-core
2020-11-03 11:45:43 +01:00
Patrik Oldsberg 474bb5b57f rewrite other references to spotify/backstage and sorrounding things 2020-11-03 11:39:27 +01:00
Patrik Oldsberg 606625d672 Merge pull request #3213 from backstage/rugvip/url-rewrite
rewrite repo location urls
2020-11-03 11:39:19 +01:00
Himanshu Mishra 7450c5eabb Release new version of techdocs-container (#3208)
Includes upgrade of mkdocs-techdocs-core package from 0.0.10 to 0.0.11:
2020-11-03 11:06:26 +01:00
Patrik Oldsberg af141c0766 rewrite repo location urls 2020-11-03 11:03:49 +01:00
Himanshu Mishra 4703305bc6 Release new version of mkdocs-techdocs-core (#3207) 2020-11-03 10:51:43 +01:00
Patrik Oldsberg 5aaeeb03b5 Merge pull request #3205 from spotify/rugvip/lintbump
cli: bump @spotify/eslint-* packages to v9
2020-11-03 10:22:13 +01:00
Patrik Oldsberg d53ecd6dc6 core-api: fix outdated eslint ignore 2020-11-03 00:39:44 +01:00
Patrik Oldsberg 0cae71fa22 Merge pull request #3146 from abhishekjakhar/fix/header-tabs-export
chore: make export of HeaderTabs consistent like other components export
2020-11-03 00:32:20 +01:00
Patrik Oldsberg 1249cbb07a cli: disable lint rules that depend on @typescript-eslint v4 2020-11-03 00:29:09 +01:00
Patrik Oldsberg 8635aec734 cli: bump @spotify/eslint-* packages to v9 2020-11-02 19:16:12 +01:00