Commit Graph

2653 Commits

Author SHA1 Message Date
Moustafa Baiou bcc211a081 refactor(k8s-plugin): update to use annotation based label selector
add changeset
2020-12-01 03:28:04 -05:00
brendasukh 6bc7bb2ffb Merge pull request #3410 from backstage/add-top-panel-breakdown
Add product breakdown view to Cost Insights overview panel.
2020-11-30 16:11:21 -05:00
Brenda Sukh d151d22b95 Update dark theme colors 2020-11-30 15:11:33 -05:00
Brenda Sukh ca71d125d8 Drop fill opacity for lighter colors 2020-11-30 14:49:08 -05:00
Fredrik Adelöw 01f060a8e0 Merge pull request #3487 from adamdmharvey/fix-visibility
fix(config-loader,cli,example-app): Refactor visibility typo in vars/funcs across multiple packages
2020-11-30 14:05:41 +01:00
Fredrik Adelöw 076a506131 Merge pull request #3460 from backstage/alund/app
Add API docs plugin to new apps
2020-11-30 14:04:18 +01:00
Fredrik Adelöw e4d619323c Merge pull request #3462 from SDA-SE/feat/proxy-schema
Add a configuration schema for the proxy plugin
2020-11-30 13:57:24 +01:00
Fredrik Adelöw 257619c1ee Merge pull request #3121 from RoadieHQ/mcalus3/add-catalog-import-plugin
Mcalus3/add catalog import plugin
2020-11-30 11:30:49 +01:00
Adam Harvey 303c5ea171 chore(sentry,welcome): Refactor route registration to remove deprecating code (#3493)
* Refactor route registration

* Reference route RFC

* Refactor example code to remove deprecated call

* Add changeset

* Return feature flag
2020-11-30 09:04:13 +01:00
Himanshu Mishra d40c31339b Merge pull request #3482 from backstage/orkohunter/techdocs-use-EntityName-catalog-model 2020-11-30 08:39:14 +01:00
Adam Harvey 7023b82af5 Merge branch 'master' of github.com:backstage/backstage into fix-visibility 2020-11-29 15:30:46 -05:00
Marek Calus 880ba03d20 Update package.json 2020-11-29 19:05:02 +01:00
Marek Calus 7eaa056201 Merge remote-tracking branch 'upstream/master' into mcalus3/add-catalog-import-plugin 2020-11-29 18:18:11 +01:00
Adam Harvey 74175b988e Refactor typo in variable name (#3486) 2020-11-29 08:50:33 +01:00
Adam Harvey d40eddac9d Refactor visibility typo 2020-11-29 00:22:10 -05:00
Himanshu Mishra 85af34ffd5 techdocs: Use EntityName from catalog-model as Entity type 2020-11-28 20:02:40 +01:00
Peter Colapietro 3f947b70d1 fix(react): use fragment (#3478)
The empty state's description is already wrapped in a Typography component so the one in MissingImplementsApisEmptyState is redundant.

https://github.com/backstage/backstage/blob/bbaadb63f88d0f7d42acb9fa1b1644f85bf1043e/packages/core/src/components/EmptyState/EmptyState.tsx#L57

By wrapping the EmptyState's description in a Typography the following warning is output to the console

```
react-dom.development.js?1930:89 Warning: validateDOMNesting(...): <p> cannot appear as a descendant of <p>.
    in p (created by ForwardRef(Typography))
    in ForwardRef(Typography) (created by WithStyles(ForwardRef(Typography)))
    in WithStyles(ForwardRef(Typography)) (created by MissingImplementsApisEmptyState)
    in p (created by ForwardRef(Typography))
    in ForwardRef(Typography) (created by WithStyles(ForwardRef(Typography)))
    in WithStyles(ForwardRef(Typography)) (created by EmptyState)
    in div (created by ForwardRef(Grid))
    in ForwardRef(Grid) (created by WithStyles(ForwardRef(Grid)))
    in WithStyles(ForwardRef(Grid)) (created by EmptyState)
    in div (created by ForwardRef(Grid))
    in ForwardRef(Grid) (created by WithStyles(ForwardRef(Grid)))
    in WithStyles(ForwardRef(Grid)) (created by EmptyState)
    in div (created by ForwardRef(Grid))
    in ForwardRef(Grid) (created by WithStyles(ForwardRef(Grid)))
    in WithStyles(ForwardRef(Grid)) (created by EmptyState)
    in EmptyState (created by MissingImplementsApisEmptyState)
    in MissingImplementsApisEmptyState (created by Router)
    in Router (at EntityPage.tsx:78)
    in article (created by Content)
    in Content (created by Layout)
    in Layout (created by EntityPageLayout)
    in div (created by Page)
    in ThemeProvider (created by Page)
    in Page (created by EntityPageLayout)
    in EntityPageLayout (at EntityPage.tsx:64)
    in ServiceEntityPage (at EntityPage.tsx:127)
    in EntityPage (created by EntityPageSwitch)
    in EntityPageSwitch (created by Router)
    in EntityProvider (created by Router)
    in Route (created by Router)
    in Routes (created by Router)
    in Router (at App.tsx:46)
    in Route (at App.tsx:44)
    in Routes (at App.tsx:42)
    in div (created by SidebarPage)
    in SidebarPage (at App.tsx:40)
    in Route (created by AppRouter)
    in Routes (created by AppRouter)
    in Router (created by BrowserRouter)
    in BrowserRouter (created by AppRouter)
    in AppRouter (at App.tsx:39)
    in CssBaseline (created by WithStyles(CssBaseline))
    in WithStyles(CssBaseline) (created by AppThemeProvider)
    in ThemeProvider (created by AppThemeProvider)
    in AppThemeProvider (created by Provider)
    in AppContextProvider (created by Provider)
    in ApiProvider (created by Provider)
    in Provider (at App.tsx:36)
    in App (at src/index.tsx:6)
```

Co-authored-by: Peter Colapietro <petercolapietro@gmail.com>
2020-11-27 18:08:37 +01:00
Marek Calus b26e3dacd9 Fixdependency version 2020-11-27 16:37:48 +01:00
Patrik Oldsberg b08351ebb4 plugins: keep plugin package.json in sync 2020-11-27 14:15:08 +01:00
github-actions[bot] 892645b815 Version Packages 2020-11-27 12:51:09 +00:00
Himanshu Mishra d4704d14a0 Merge pull request #3452 from backstage/orkohunter/techdocs-page-edit-button 2020-11-27 13:42:07 +01:00
Dominik Henneke 0e1f240a99 Change the proxy setting to be optional 2020-11-27 11:24:59 +01:00
Dominik Henneke 8432bde46a Use inline type instead of a dedicated interface 2020-11-27 11:11:03 +01:00
Stefan Ålund 0ebfc75b41 Fix docs 2020-11-26 20:50:32 +01:00
Himanshu Mishra dbca620ff9 Use fs-extra and async file read method 2020-11-26 20:41:40 +01:00
Oliver Sand 1ec19a3f4a Handle empty YAML documents
One of our users just run into this. Kubernetes has the same behavior and doesn't complain about an empty document.
2020-11-26 17:36:03 +01:00
Oliver Sand f76626c1c4 Merge pull request #3449 from SDA-SE/feat/provides-consumse-api
Replace implementsApis with providesApis and add consumesApis
2020-11-26 17:27:30 +01:00
Dominik Henneke 1b7a9d7317 Refactor the proxying docs so the paragraph structure makes more sense 2020-11-26 17:01:40 +01:00
Oliver Sand 032aba5920 Apply suggestions from code review
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
2020-11-26 16:40:18 +01:00
Dominik Henneke 3619ea4c47 Add a configuration schema for the proxy plugin 2020-11-26 16:20:34 +01:00
Andrew Thauer 3a201c5d54 feat: add config schema for rollbar plugins (#3404)
* feat: add config schema for rollbar plugins

* remove rollbar from create-app template
2020-11-26 14:30:12 +01:00
Marek Calus 0dedb26e10 Revert catalog-backend version to 0.2.2 2020-11-26 11:54:20 +01:00
Govind 202da8ab36 Allow application to register custom AuthProviderFactory. Refs #1984 (#3329)
* Allow application to register custom `AuthProviderFactory`. Refs #1984

* PR comments: Explicit exports

* Export `OAuth` specific types from the package

* Update documentation on how to use the interfaces

* Re-export from base `index.ts` as per ADR-004

* pass `providerId` as a parameter to `AuthFactory` instead of hardcoding

Co-authored-by: Govindarajan Nagarajan <govindarajan.nagarajan@zalando.de>
2020-11-26 11:27:00 +01:00
Himanshu Mishra 4b53294a6c TechDocs: Update mkdocs.yml with repo_url when possible before building docs 2020-11-26 10:55:38 +01:00
Ben Lambert 8c58337a07 Merge pull request #3430 from jot-hub/bug/issue-3223
detect differing origin and indicate it at auth failure
2020-11-26 10:20:39 +01:00
Marek Calus 8bef6b9a5f Fix after merge 2020-11-26 10:18:45 +01:00
Marek Calus c0061218db Merge remote-tracking branch 'upstream/master' into mcalus3/add-catalog-import-plugin 2020-11-26 08:16:28 +01:00
jothisubaramaniam 039970d710 introduce data.type=config_info for the new postMessage in auth 2020-11-25 16:28:49 -05:00
Himanshu Mishra 266e93b478 TechDocs: Refactor metadata retrieval
1. Don't use mkdocs in name of APIs or variables. It is an implementation detail and liable to change in future.
2. techDocsApi.getMetadata('mkdocs') and techDocsAPI.getMetadata('entity') should be two separate functions just because their responses differ in structure. They should also be type checked.
3. Use either 'techdocs' or 'TechDocs' consistently. 'techDocs' seems like an unnecessary third way to write TechDocs, which can be avoided.
4. Remove unused /plugins/techdocs-backend/src/service/metadata.ts file
2020-11-25 19:39:48 +01:00
Oliver Sand 6f70ed7a95 Replace usage of implementsApis with relations 2020-11-25 17:30:11 +01:00
Oliver Sand ff1301d28f Warn if app-backend can't start-up because missing dir 2020-11-25 17:28:07 +01:00
Oliver Sand fb19e0241d Add providesApis and consumesApis to component spec 2020-11-25 16:01:34 +01:00
Ben Lambert 26f5d6d224 Merge pull request #3409 from bleathem/oidc-provider
Fixed the OIDC token refresh
2020-11-25 14:07:32 +01:00
Oliver Sand d94c70d866 Merge pull request #2987 from SDA-SE/feat/api-page
Make api-docs customizable
2020-11-25 13:44:03 +01:00
Askar 76ff21c2d5 fix(search): compile possible filter options from available entities (#3370)
* load filters from entities

* fix(search): compile possible filter options from available entities

* rename filter state and add text in case no filter can be applied
2020-11-25 11:06:39 +01:00
Fredrik Adelöw 2daf18e809 catalog: emit all common relations based on specs (#3408) 2020-11-25 10:51:22 +01:00
Fredrik Adelöw fae3fafcfa silence some new ts squigglies in the editor (#3435) 2020-11-25 09:57:16 +01:00
Himanshu Mishra 8fd5e64351 TechDocs: Tell users when index.md is missing (better error message) (#3429)
* TechDocs: Logger already prints the name of plugin

* TechDocs: Display a custom error message if provided

* TechDocs: throw custom error message if index.md is not present

* Language improvements. Thanks @freben

Co-authored-by: Fredrik Adelöw <freben@gmail.com>

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
2020-11-25 09:52:19 +01:00
Brenda Sukh a2cfa311ab Update bar chart legend type usage 2020-11-24 18:46:05 -05:00
Brenda Sukh 8972be0232 Update data viz dark theme colors 2020-11-24 18:08:50 -05:00