Commit Graph

86 Commits

Author SHA1 Message Date
Patrik Oldsberg 77f009b35d frontend-plugin-api: return output from extension factories instead
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-10-27 14:57:48 +02:00
Taras Mankovski 57fda44b90 Upgrade GraphiQL to 3.0.6
Signed-off-by: Taras Mankovski <taras@frontside.com>
2023-10-20 13:04:59 -04:00
Patrik Oldsberg d84f5efa60 plugins: updates to convert legacy route refs to new system
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-10-17 11:57:52 +02:00
Patrik Oldsberg 9c9a9100b0 plugins: updates to remove usage of .icon.svg
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-10-09 01:02:39 +02:00
Patrik Oldsberg 06432f900c frontend-plugin-api: refactor extension "at" option to "attachTo"
Co-authored-by: Camila Belo <camilaibs@gmail.com>
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: Vincenzo Scamporlino <vincenzos@spotify.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-10-06 15:30:53 +02:00
Patrik Oldsberg 6d9ab41ab4 updates to use createExtensionInput
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-09-18 17:50:06 +02:00
Johan Haals 2c39b7d57a Set routeRef id
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2023-09-18 10:41:25 +02:00
Johan Haals 0edd307a69 Fix exports and api reports
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2023-09-18 10:41:25 +02:00
Johan Haals 1807df9dbd Add support for Pages and Sidebar items in existing app
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Camila Belo <camilaibs@gmail.com>
Co-authored-by: Philipp Hugenroth <philipph@spotify.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2023-09-18 10:41:24 +02:00
Gustaf Räntilä b2fbeed540 Allow using FetchApi in graphiql api setup
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2023-09-13 16:58:44 +02:00
Patrik Oldsberg 5fb348af52 frontend-plugin-api: refactor coreExtensionData.reactComponent -> .reactElement
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-09-13 13:45:48 +02:00
Patrik Oldsberg 46b4845a7b graphiql: stop disabling endpoint extensions by default + configure in app-next
Co-authored-by: Camila Belo <camilaibs@gmail.com>
Co-authored-by: Philipp Hugenroth <philipph@spotify.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-09-08 15:43:19 +02:00
Patrik Oldsberg f55667b7a0 graphiql: update API reports
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-09-07 18:45:02 +02:00
Patrik Oldsberg 4c5d0c6a8c graphiql: add alpha api extensions
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Co-authored-by: Camila Belo <camilaibs@gmail.com>
Co-authored-by: Philipp Hugenroth <philipph@spotify.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-09-07 15:07:14 +02:00
Patrik Oldsberg cf950c3b6e plugins/graphiql: initial migration to new system
Co-authored-by: Camila Belo <camilaibs@gmail.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Co-authored-by: Philipp Hugenroth <philipph@spotify.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-09-07 13:42:52 +02:00
Dmitriy Lazarev 8b9e8ece40 Allow to pass lazy GraphQL endpoint url to graphiql plugin
Signed-off-by: Dmitriy Lazarev <w@kich.dev>
2023-03-22 17:58:50 +04:00
Patrik Oldsberg 0f50c7c754 refactor tests to use renderInTestApp
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-12-31 19:14:29 +01:00
Fredrik Adelöw d3fea4ae0a avoid globals
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-11-22 15:42:29 +01:00
Patrik Oldsberg 3a8ab72248 graphiql: avoid using dynamic default import
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-08-13 11:16:23 +02:00
Patrik Oldsberg 464c33f932 graphiql: fix headers not being included in requests
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-05-20 16:55:24 +02:00
Fredrik Adelöw 99063c39ae just some more api report cleanup
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-04-01 14:59:50 +02:00
Patrik Oldsberg 4ce51ab0f1 use precise imports of react-use
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-12-30 12:53:16 +01:00
Patrik Oldsberg b191e1737a packages,plugins: avoid usage of react-dom in tests
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-12-07 17:40:51 +01:00
Patrik Oldsberg 68eddf88a0 Merge pull request #8118 from backstage/rugvip/test-port
packages,plugins: migrate to using TestApiProvider and TestApiRegistry
2021-11-23 13:47:51 +01:00
Chad Jensen c844898a73 fixing another prettier issue
Signed-off-by: Chad Jensen <Chad.Jensen@c2fo.com>
2021-11-22 08:22:36 -06:00
Chad Jensen 0f7665a10b fixing other prettier issue
Signed-off-by: Chad Jensen <Chad.Jensen@c2fo.com>
2021-11-19 22:13:16 -06:00
Patrik Oldsberg 29ef695410 packages,plugins: migrate to using TestApiProvider and Registry
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-11-18 11:28:46 +01:00
Chad Jensen c4ed75622b Letting GraphiQL use headers
Letting GraphiQL use headers in browser

Signed-off-by: Chad Jensen <chadbjensen@gmail.com>
Signed-off-by: Chad Jensen <Chad.Jensen@c2fo.com>
2021-11-17 11:30:42 -06:00
Eric Peterson 81a41ec249 Apply extension-names codemod to monorepo.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-10-04 19:29:43 +02:00
Patrik Oldsberg 8142a8ecb2 packages,plugins: add package documentation
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-14 18:47:53 +02:00
Fredrik Adelöw 923491eece run prettier formatting
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-08-09 11:54:38 +02:00
Patrik Oldsberg 9258c54f87 Merge branch 'master' into rugvip/mod 2021-06-22 10:07:18 +02:00
Patrik Oldsberg 553da2d82c graphiql: mock config api in tests
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-20 15:05:44 +02:00
Patrik Oldsberg e6e36cfc3a graphiql,ilert: narrow icon component type
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-19 18:38:16 +02:00
Patrik Oldsberg d453c05dc3 apply core-imports codemod to all packages and plugins
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-19 15:33:08 +02:00
Fredrik Adelöw a88073c29a Update copyright headers
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-06-18 20:26:42 +02:00
Patrik Oldsberg 04127b3960 components,app-api,plugin-api: prefix package names with core-
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-05-28 00:08:21 +02:00
Patrik Oldsberg 97b59b5821 graphiql: migrate to use plugin-api
Co-authored-by: Juan Lulkin <jmaiz@spotify.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-05-27 23:26:13 +02:00
Patrik Oldsberg 09eb54e014 graphiql,app: export icon and avoid routeRef usage in SidebarItem
Co-authored-by: Juan Lulkin <jmaiz@spotify.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-03-11 16:14:34 +01:00
Patrik Oldsberg f8eefd6c8f graphiql: finalize composability port 2021-02-01 19:19:57 +01:00
Fredrik Adelöw 5a1368ba12 graphiql: update readme 2021-01-13 16:46:36 +01:00
Patrik Oldsberg c35554dc4c core-api: add lazy loading of component extensions
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: blam <ben@blam.sh>
2020-12-18 12:12:53 +01:00
Patrik Oldsberg ad66d1c8c4 core-api,plugins/graphiql: export extension APIs from core-api and port the graphiql plugin
Co-authored-by: blam <ben@blam.sh>
2020-12-17 13:18:14 +01:00
Askar a6a2ca6204 remove React's FC type from codebase (#3527)
* WIP-packages: remove React's FC type from codebase

* remove FC from other directories

* fix build failures

* add types to required packages
2020-12-10 11:23:29 +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
Abhishek Jakhar 782f3b3541 Add test case for Progress component (#2953)
* remove data-testid from div

* add test case for Progress component

* add changeset

* update the GraphiQLPage test cases to handle Progress timeout

* update the RadarComponent and RadarPage test case to handle Progress timeout

* update the TechDocsProgressBar test case to handle Progress timeout

* add changeset
2020-10-19 10:33:30 +02:00
Marvin9 8f0608a5ed chore: refactor 2020-10-15 09:16:39 +05:30
Marvin9 6e3ba7c2c4 chore: resolve conflicts 2020-10-11 19:19:35 +05:30
Marvin9 6d68f6fec1 feat: consume theme provided by Page theme provider 2020-10-11 19:14:23 +05:30
blam a584730e14 chore(graphiql): removing node-fetch and jest-fetch-mock as dependencies 2020-10-09 13:03:16 +02:00