Commit Graph

216 Commits

Author SHA1 Message Date
Fredrik Adelöw 301955efb0 Merge pull request #22160 from dweber019/fix/api-docs-asyncapi
fix: fix custom http resolvers for AsyncAPI widget
2024-01-10 16:11:44 +01:00
David Weber 8a69cc95b2 fix: fix custom http resolvers for AsyncAPI widget
Signed-off-by: David Weber <david.weber@w3tec.ch>
2024-01-10 15:52:47 +01:00
rui ma 062b8f2611 feat: Add permission check to Register Existing API button
Signed-off-by: rui ma <ruima@alauda.io>
2024-01-08 19:04:43 +08:00
Fredrik Adelöw 1d7c989db2 remove even more BackstageTheme usages
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-11-20 15:52:05 +01:00
Fredrik Adelöw 607bf05f0a fix
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-11-16 10:58:59 +01:00
Camila Belo c3753c78b5 Merge pull request #20850 from GuillaumeRahbari/fix-oauth2RedirectUrl
fix(api-docs): override oauth2RedirectUrl
2023-11-09 15:03:18 +01:00
Patrik Oldsberg e209c0ac3e Merge pull request #20743 from thefrontside/tm/use-graphiql-docs-explorer
Replaced GraphiQL in Api Docs with DocExplorer
2023-11-01 13:50:17 +01:00
Guillaume Rahbari 62310404b7 fix(api-docs): override oauth2RedirectUrl
Signed-off-by: Guillaume Rahbari <guillaume.rahbari@protonmail.com>
2023-10-27 11:54:36 +02:00
Fredrik Adelöw 62b5922916 remove unnecessary usage of deprecated BackstageTheme
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-10-26 16:58:59 +02:00
Taras Mankovski 0ac0e10822 Replaced GraphiQL in Api Docs with DocExplorer
Signed-off-by: Taras Mankovski <taras@frontside.com>
2023-10-24 10:11:18 -04:00
Vincenzo Scamporlino db647a72fe api-docs: fix flaky tests
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
2023-10-21 11:54:03 +02:00
Fredrik Adelöw 82262e4d7d encoding too, are ya
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-10-09 10:49:23 +02:00
Patrik Oldsberg 7accd01a2c Merge pull request #19260 from nthings/master
Adding requestInterceptor option to `api-docs` plugin and pass it to SwaggerUI
2023-09-26 13:43:58 +02:00
PIYUSH NEGI e77ecb6e9d Update plugins/api-docs/src/components/ApisCards/presets.tsx
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: PIYUSH NEGI <43876655+npiyush97@users.noreply.github.com>
2023-09-25 17:55:34 +05:30
PIYUSH NEGI 199f54def4 Update presets.tsx
Signed-off-by: PIYUSH NEGI <43876655+npiyush97@users.noreply.github.com>
2023-09-25 16:49:24 +05:30
npiyush97 18f1756908 added aria label for better a11y score
Signed-off-by: npiyush97 <npiyush35@gmail.com>
2023-09-25 16:10:53 +05:30
Fredrik Adelöw ab6474579f use renderInTestApp
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-09-14 22:14:14 +02:00
Mauricio Martinez d457253de9 Comments
Signed-off-by: Mauricio Martinez <mauricio.martinez@premise.com>
2023-09-04 10:57:23 -06:00
Mauricio Martinez 915b6ba4af Building api docs
Signed-off-by: Mauricio Martinez <mauricio.martinez@premise.com>
2023-08-21 09:35:03 -06:00
Mauricio Martinez 0117a6b47e Adding requestInterceptor
Signed-off-by: Mauricio Martinez <mauricio.martinez@premise.com>
2023-08-17 12:09:20 -06:00
Patrik Oldsberg bc51b8b7a0 Merge pull request #18199 from backstage/vinzscam/entity-owner-picker-introduce-modes
EntityOwnerPicker: add owners-only and all modes
2023-06-13 21:25:37 +02:00
Jordan Snow 1345664b5c Streamlining title and fixing external component tests
Signed-off-by: Jordan Snow <jordans@spotify.com>
2023-06-12 11:25:23 -04:00
Vincenzo Scamporlino 842c2bedfe api-docs: remove warnings in test
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
2023-06-12 13:37:29 +02:00
Vincenzo Scamporlino df3abef640 api-docs: mock facets endpoint
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
2023-06-12 13:37:29 +02:00
Fredrik Adelöw 8afb3dcf0a fix tests
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-06-02 14:04:41 +02:00
Andre Wanlin 83bdc3a555 Replace theme.palette.theme.hint with theme.palette.text.secondary
Signed-off-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
2023-05-28 14:37:11 -05:00
Oleg S 74b216ee4e set PropsWithChildren as explicit type on components
Signed-off-by: Oleg S <97077423+RobotSail@users.noreply.github.com>
2023-05-24 12:47:27 +02:00
Aramis Sennyey c2fbe4b145 Fix test cases.
Signed-off-by: Aramis Sennyey <sennyeya@amazon.com>
2023-04-06 19:10:21 +02:00
Justin Edelson ca50c3bbea fix(api-docs): Corrected styling of nested objects in AsyncAPI to avoid inappropriate uppercasing of nested objects
Fixes #16848

Signed-off-by: Justin Edelson <jedelson@pagerduty.com>
2023-03-16 08:52:22 -04:00
Carlos Esteban Lopez 8bc7dcec82 fix(plugin-api-docs): Fix dark theme Swagger's clear button font color
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
2023-03-06 12:56:25 -05:00
Johan Haals 2174e3e313 Merge pull request #16469 from blakestoddard/card-prop-extension
Extend RelatedEntitiesCard usages to allow custom columns
2023-02-28 10:38:35 +01:00
Fredrik Adelöw 484542ce26 Merge pull request #16131 from SDA-SE/feat/api-dialog
Add fast access to API's definitions
2023-02-16 09:47:10 +01:00
Blake Stoddard 52af9d25d0 Extend certain entity tables to accept a columns prop
Prevents a user fromhaving to spin out a custom component that is essentially an exact duplicate of the Backstage-provided components just to remove or add columns. Our (Epic) implementation doesn't care about system or description for these cards, but it's annoying to maintain a seperate component for the sole purpose of different columns.

Signed-off-by: Blake Stoddard <blake.stoddard@epicgames.com>
2023-02-03 13:05:27 -05:00
Jasper Herzberg 095e755d9b feat: add api definition dialog
Signed-off-by: Jasper Herzberg <jasper.herzberg@sda.se>
2023-02-03 15:01:38 +01:00
Oleg S d51668882d updates catalog-model changeset to include the tRPC API type
Signed-off-by: Oleg S <97077423+RobotSail@users.noreply.github.com>
2023-02-02 16:48:00 -05:00
Oleg S e4a78a13da add trpc example to development build, ensure syntax highlighting works
Signed-off-by: Oleg S <97077423+RobotSail@users.noreply.github.com>
2023-02-01 15:54:12 -05:00
Oleg S 72a06103d0 add trpc widget
Signed-off-by: Oleg S <97077423+RobotSail@users.noreply.github.com>
2023-01-31 16:09:35 -05:00
Carlos Esteban Lopez 1daac71e74 fix: Apply linter <span> rule
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
2023-01-10 16:07:40 -05:00
Patrik Oldsberg 530a1f1299 plugins: replace react-router mocks with react-router-dom
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-12-12 21:30:57 +01:00
Patrik Oldsberg 2e701b3796 refactor react-router -> react-router-dom
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-12-10 15:17:53 +01:00
Patrik Oldsberg 2e4e6c3500 test fixes to support Jest 29
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-09-20 14:51:19 +02:00
Fredrik Adelöw ef9ab322de it just keeps 🧹 -ing
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-08-18 17:21:00 +02:00
Fredrik Adelöw c8bb0ff8ce just some 🧹 api cleaning
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-08-18 13:30:02 +02:00
Crevil 9432a05cf3 Fix OpenAPI HTML descriptions in darkmode
Currently when an OpenAPI specification contains HTML in the description fields
it is not rendered with the correct theme font colors making the description
unreadable in darkmode.

This change adds an additional selector to the style theme that correctly
selects the description block and ensures colors follows the theme.

Signed-off-by: Crevil <bjoern.soerensen@gmail.com>
2022-07-08 21:49:15 +02:00
David Weber a274fe38b9 feat: add hidden title column to catalog and API table to enable filtering by title
Signed-off-by: David Weber <david.weber@w3tec.ch>
2022-06-30 19:05:28 +02:00
Johan Haals 6712bba20d Merge pull request #10957 from oodamien/dvitrac/gh-10951
Use InfoCardVariants on custom cards variant attribute
2022-04-25 15:46:13 +02:00
David Weber 433a609a15 fix: add fetch resolver to use an url with \$ref
Signed-off-by: David Weber <david.weber@w3tec.ch>
2022-04-21 14:14:14 +02:00
Damien Vitrac 32982bf4b4 Use InfoCardVariants on custom cards variant attribute
Resolves #10951
Signed-off-by: Damien Vitrac <dvitrac@vmware.com>
2022-04-20 17:05:18 +02:00
Patrik Oldsberg f350da6bff api-docs: fix flaky OpenApiWidget rendering in test
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-04-13 16:13:38 +02:00
Kiss Miklos eb85cd5fac use explicit type for props
Signed-off-by: Kiss Miklos <miklos@roadie.io>
2022-04-08 16:09:59 +02:00