Commit Graph

96 Commits

Author SHA1 Message Date
Patrik Oldsberg 26caa8bdc6 Merge pull request #4341 from backstage/rugvip/toptools
plugins: port user-settings, api-docs, and gcp-projects to new composability API
2021-02-02 13:53:40 +01:00
Patrik Oldsberg 00e3c5a574 api-docs: add missing entity card exports 2021-02-01 19:15:30 +01:00
Patrik Oldsberg 6748413692 api-docs: update cards to grab entity from context + composability exports 2021-02-01 18:32:42 +01:00
Patrik Oldsberg d955622e81 api-docs: add basic dev setup with explore page 2021-02-01 17:59:33 +01:00
Patrik Oldsberg fb265bb4fa api-docs: port top-level component to composability API 2021-02-01 17:59:33 +01:00
Oliver Sand 885e695803 Display the namespace of an entity if required 2021-02-01 17:28:36 +01:00
Oliver Sand e646d8065a Change EntityRow to have an entity and a resolved field instead of combining them 2021-02-01 14:29:24 +01:00
Oliver Sand e3d9da115c Correctly set the table value for sort/filtering 2021-02-01 13:53:18 +01:00
Oliver Sand 7fc89bae29 Display owner and system as entity page links in the tables of the api-docs plugin 2021-02-01 12:06:59 +01:00
Oliver Sand c677643afa Rename from @backstage/plugin-catalog-common-react to @backstage/plugin-catalog-react 2021-01-29 10:54:09 +01:00
Oliver Sand 019fe39a08 Createa @backstage/plugin-catalog-common-react package 2021-01-29 10:54:09 +01:00
github-actions[bot] cda741034d Version Packages 2021-01-28 10:46:08 +00:00
github-actions[bot] c5584b62c2 Version Packages 2021-01-21 13:13:05 +00:00
Oliver Sand 8855f61f67 Update @asyncapi/react-component to 0.18.2
The package was also renamed from @kyma-project/asyncapi-react to @asyncapi/react-component which dependabot isn't able to handle.
2021-01-20 10:17:07 +01:00
github-actions[bot] be332e13ea Version Packages 2021-01-14 13:05:31 +00:00
github-actions[bot] 28d7f319f4 Version Packages 2021-01-07 10:31:20 +00:00
github-actions[bot] a1ebbdeee0 Version Packages 2020-12-29 10:59:38 +00:00
Patrik Oldsberg 00d1213620 Merge pull request #3807 from adamdmharvey/deprecate-register-componnet
api-docs: Update register API link, deprecate register-component
2020-12-22 15:20:47 +01:00
github-actions[bot] c3c04658f2 Version Packages 2020-12-22 12:14:20 +00:00
Adam Harvey 4389d4f668 Update link to use catalog-import 2020-12-21 11:24:07 -05:00
github-actions[bot] 6e9f4d4a15 Version Packages 2020-12-17 10:16:33 +00:00
github-actions[bot] cf187484bf Version Packages 2020-12-10 11:25:39 +00:00
Patrik Oldsberg 1603efe7e8 Merge pull request #3479 from SDA-SE/feat/api-docs-relations
API Consumers & Providers
2020-12-08 21:44:46 +01:00
Adam Harvey 1e097d11ca Align optional NPM fields 2020-12-05 22:00:03 -05:00
Oliver Sand 246799c7f2 Show consumers and providers for APIs 2020-12-03 17:48:25 +01:00
github-actions[bot] 01aa774d9a Version Packages 2020-12-03 15:28:22 +00:00
Oliver Sand 8f7576f9a0 Merge pull request #3506 from SDA-SE/feat/update-swagger-ui-react
Update swagger-ui-react to 3.37.2
2020-12-01 16:00:49 +01:00
Oliver Sand 7d1d9a3df3 Add tests for components in the api-docs plugin 2020-12-01 12:42:30 +01:00
Oliver Sand 7eb8bfe4a2 Update swagger-ui-react to 3.37.2 2020-12-01 11:28:31 +01:00
Adam Harvey 74175b988e Refactor typo in variable name (#3486) 2020-11-29 08:50:33 +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
github-actions[bot] 892645b815 Version Packages 2020-11-27 12:51:09 +00: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
Oliver Sand 6f70ed7a95 Replace usage of implementsApis with relations 2020-11-25 17:30:11 +01:00
Oliver Sand fb19e0241d Add providesApis and consumesApis to component spec 2020-11-25 16:01:34 +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
Oliver Sand f3bb55ee31 Make api-docs customizable 2020-11-24 11:53:14 +01:00
github-actions[bot] fefb0e18e0 Version Packages 2020-11-24 10:17:02 +00:00
github-actions[bot] bc0f47b7b7 Version Packages 2020-11-19 15:13:57 +00:00
Fredrik Adelöw 717e43de14 catalog-client: change entities interface, add fields support (#3296) 2020-11-18 19:58:36 +01:00
github-actions[bot] 76a8099029 Version Packages 2020-11-12 10:52:23 +00:00
Oliver Sand 84b654d5de Use dense table style and outlined chips in the API Explorer (#3276)
This matches the styling of the catalog.
2020-11-11 13:34:40 +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
Oliver Sand 803527bd32 Upgrade @kyma-project/asyncapi-react to 0.14.2
There is an intersting fix for displaying async messages in the docs.
2020-11-05 10:45:32 +01:00
github-actions[bot] 715bb76fb5 Version Packages 2020-11-03 20:50:42 +00:00
Patrik Oldsberg 833a652d05 v0.1.1 2020-10-28 10:22:09 +01:00
Patrik Oldsberg 754109ee61 v0.1.1-alpha.26 2020-10-27 12:00:01 +01:00
blam 101978963d Merge branch 'master' of github.com:spotify/backstage into migrate-to-msw
* 'master' of github.com:spotify/backstage: (139 commits)
  Cleanup
  Update PinButton.test.tsx
  feat: update github insights plugin version (#2973)
  Ignore IntelliJ *.iml files (#2971)
  chore(deps): bump rollup-plugin-dts from 1.4.11 to 1.4.13
  fix the plugin card on plugins page
  align 'Add to Marketplace' button on plugins page
  fix the PluginGrid on mobiles sizes
  use getBy query instead of queryBy when asserting for elements present in document (#2951)
  Update PinButton.tsx
  Add test case for Progress component (#2953)
  fix the styling of footer copy on mobile
  add changeset
  handle the case where no entities are available to show
  core-api: work around issue with ApiRef export const declarations
  core-api: move utility api system implementation into apis/system
  Update docs regarding npm config ignore-scripts flag
  Another try
  Fix Core Features configuration id (#2948)
  Fix test?
  ...
2020-10-19 23:57:40 +02:00
Kévin Gomez 014bc250b3 Fix API references parsing
Allows API entities to use a different namespace than the default one.
2020-10-17 23:20:08 +02:00
Dominik Henneke 2e1a0b8c99 feat(api-docs): show a custom error page when no apis are implemented by a component (#2933) 2020-10-16 16:02:08 +02:00