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
Kiss Miklos
8edc66257a
add dedicated grpc api widget
...
Signed-off-by: Kiss Miklos <miklos@roadie.io >
2022-04-07 12:47:34 +02:00
Patrik Oldsberg
c689d7a94c
catalog: group, rename, and move filter components to catalog-react
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-03-16 15:10:41 +01:00
Johan Haals
d3e9ec43b7
catalog-model: Remove target from EntityRelation type.
...
Signed-off-by: Johan Haals <johan.haals@gmail.com >
2022-03-10 16:15:12 +01:00
Fredrik Adelöw
899f196af5
update to use getEntityByRef
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-03-03 13:27:25 +01:00
Patrik Oldsberg
c077b432b8
catalog-react: moved DefaultStarredEntitiesApi implementation to catalog plugin
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-02-28 13:52:46 +01:00
Fredrik Adelöw
d0582b2d0f
stitch targetRef and backwards compat inject it on read
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-02-23 09:38:40 +01:00
Patrik Oldsberg
2262fe19c9
removed deprecated entity props
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-02-18 13:54:33 +01:00
Patrik Oldsberg
209fd128e6
removed all references to the removed SCM-specific location types
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-02-17 17:46:04 +01:00
Fredrik Adelöw
deaf6065db
Removed CatalogApi.geLocationByEntity and CatalogApi.getOriginLocationByEntity, and replaced them with CatalogApi.getLocationByRef.
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-02-15 19:47:34 +01:00
Fredrik Adelöw
cc33f8d8cb
Merge pull request #8782 from akz08/reroute-register-api
...
Reroute register api
2022-01-19 11:39:37 +01:00
Kamil Zainal
027bc50cc5
Rename registerComponent to registerApi to better communicate intent
...
Signed-off-by: Kamil Zainal <gh@akza.dev >
2022-01-18 18:12:36 +00:00
David Weber
6f4f3422d8
Export GraphQlDefinitionWidget
...
This is important for reuse of the widget.
Signed-off-by: David Weber <david.weber@baloise.ch >
2022-01-16 12:41:14 +01:00
Dominik Schwank
cd4e3c4d4e
fix(api-docs): set url explicitly to an empty string
...
The url argument is undefined when it is not explicitly set to an empty string. An undefined url is
causing the swagger UI to fail on match checks.
fixes #8895
Signed-off-by: Dominik Schwank <dominik.schwank@sda.se >
2022-01-14 18:19:25 +01:00
Kamil Zainal
a9f1c704dc
Route 'Register Existing API' on API page to /catalog-import
...
The 'Register Existing API' button on /api-docs was routing to /create but APIs can't be created. Changing to route to /catalog-import where an API can be registered instead.
Signed-off-by: Kamil Zainal <gh@akza.dev >
2022-01-06 15:39:19 +00:00
Phil Kuang
11b81683a9
feat(customization): support customizing catalog and api index pages via outlets
...
Signed-off-by: Phil Kuang <pkuang@factset.com >
2021-12-30 12:40:20 -05:00
Phil Kuang
de81b7455e
feat(ApiDefinitionCard): display entity title if defined
...
Signed-off-by: Phil Kuang <pkuang@factset.com >
2021-12-28 20:23:14 -05:00
Colton Padden
345dcea560
release-2021-06-01 packages/core-plugin-api/src/apis/system/ApiRef.ts:27
...
Signed-off-by: Colton Padden <colton.padden@fastmail.com >
2021-12-17 15:04:34 -05:00
Kai Szybiak
089a6157ff
Merge backstage/master
...
Signed-off-by: Kai Szybiak <kaiszybiak@gmail.com >
2021-12-06 12:08:54 +01:00
Lorenzo Orsatti
4b284fe9e5
apply review comments
...
Signed-off-by: Lorenzo Orsatti <49567430+lorsatti@users.noreply.github.com >
2021-12-01 13:37:16 +01:00
Lorenzo Orsatti
752a53d94e
adapt Swagger style to the main theme
...
Signed-off-by: Lorenzo Orsatti <49567430+lorsatti@users.noreply.github.com >
2021-11-28 22:31:09 +01:00