Commit Graph

2847 Commits

Author SHA1 Message Date
Patrik Oldsberg 051e0fd17e config-loader: hasApp -> hasFrontend 2020-11-18 11:31:13 +01:00
Patrik Oldsberg c18769cc00 config-loader: visibilities -> visiblity 2020-11-18 11:31:12 +01:00
Patrik Oldsberg eff7b6e3ba cli: remove debug print 2020-11-18 11:31:12 +01:00
Patrik Oldsberg 7f95e40fbb app-backend,cli: add support for injecting full config based on serialized schema 2020-11-18 11:31:12 +01:00
Patrik Oldsberg 2e4de99338 config-loader: switch to ajv v6 2020-11-18 11:31:12 +01:00
Patrik Oldsberg e43aa0dc60 cli: write serialized config schema to app output 2020-11-18 11:31:11 +01:00
Patrik Oldsberg 3849e24112 config-loader: add support for serializing and deserializing schema 2020-11-18 11:31:11 +01:00
Patrik Oldsberg 564f438edd cli: load config schema and use to filter config + add --frontend flag to print 2020-11-18 11:31:11 +01:00
Patrik Oldsberg 7298f8b265 config-loader: remove support for conditionally reading secrets 2020-11-18 11:31:10 +01:00
Patrik Oldsberg f4af5d1dce config-loader: consider all deps when discovering schema and parallelize processing 2020-11-18 11:31:10 +01:00
Patrik Oldsberg 4ccba1aa96 config-loader: remove debugging output in schema lib 2020-11-18 11:31:10 +01:00
Patrik Oldsberg a533c15b09 config-loader: document schema lib 2020-11-18 11:31:09 +01:00
Patrik Oldsberg b652ebc4e7 config-loader: add visibility filtering tests + fix filtering logic 2020-11-18 11:31:09 +01:00
Patrik Oldsberg 8c65cec932 config-loader: split up config schema implementation and move into separate lib 2020-11-18 11:31:09 +01:00
Patrik Oldsberg 4795278039 config-loader: add config filtering by visibility 2020-11-18 11:31:08 +01:00
Patrik Oldsberg 6fec95079a config-loader: initial incomplete config schema implementation 2020-11-18 11:31:08 +01:00
Patrik Oldsberg ddb5a38f77 backend-common,core,auth-backend: added initial config schemas 2020-11-18 11:31:08 +01:00
Emma Indal 7d680c075e [Search] Search frontend plugin (#3086)
* feat(search) search plugin

* feat(search): search page components

* feat(search): api

* feat(search): filters wip

* feat(search): wip filters

* fix(search): delete unused useParams hook

* fix(search): update docs

* fix(search): use latest versions of dependencies

* fix(search): change version of catalog plugin

* fix(search api): pass instance of catalog api to search api

* fix(filters): rename component from FilterButton to FiltersButton

* fixup

* fix(filters): use list of checkboxes to match style of catalog page filters

* fix(styles): use theme spacing for margins and paddings, delete unused styles

* fix(search): change terminology of search input to be more consistent and clear

* fix(search): restructure component exports according to ADR

* fix(search): replace sm with xs on Grid components to support smaller screens

* fix(search): add types

* fixup

* fix(search): bump backstage core

* change versions of backstage theme and dev-utils
2020-11-18 11:20:37 +01:00
Joel Low 9023404510 feat(cli): Support specifying listen host/port for frontend 2020-11-18 14:24:55 +08:00
Andrew Thauer 3efd03c0e8 chore: remove obsolete circleci proxy config 2020-11-17 22:11:16 -05:00
Himanshu Mishra 2723a60791 Update template app to use new API params for LocalPublish 2020-11-17 21:17:19 +01:00
Himanshu Mishra 3b314807c6 TechDocs: Use discovery instead of config to read base url 2020-11-17 21:03:56 +01:00
Himanshu Mishra 65edcdee22 TechDocs: Remove hardcoded backend URL from techdocs-backend 2020-11-17 20:03:44 +01:00
Mateusz Lewtak 53b1a29968 Feat: bump GitHub Insights Plugin version 2020-11-17 12:20:27 +01:00
Remi ba985b1357 feat(core): remove data-testid 2020-11-16 16:18:50 +01:00
Fredrik Adelöw 7b37e68348 integrations: move common integration concerns to a separate package (#3295) 2020-11-16 16:15:09 +01:00
Patrik Oldsberg 90acea0a25 Merge pull request #3302 from backstage/rugvip/noexport
cli: remove plugin:export
2020-11-16 15:11:36 +01:00
Remi 5f54542ef4 fix(core): LinearGauge tooltip + test 2020-11-16 13:51:55 +01:00
Remi 2d255052f0 feat(core): add missing tests 2020-11-16 13:51:55 +01:00
Patrik Oldsberg 05ae2a4e52 cli: remove plugin:export 2020-11-16 13:17:35 +01:00
Patrik Oldsberg e4cf4342c2 cli: work around race condition while packing dependencies of the CLI 2020-11-16 00:57:36 +01:00
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