Commit Graph

48 Commits

Author SHA1 Message Date
blam 018553e29f chore: remove cross-fetch dep from plugins
Signed-off-by: blam <ben@blam.sh>
2023-06-13 16:25:53 +02:00
David Weber c03307ded3 fix: the check description is now rendered with markdown
Signed-off-by: David Weber <david.weber@w3tec.ch>
2023-05-12 19:48:18 +02:00
ivgo 22963209d2 Add option to override description in result renderer
Signed-off-by: ivgo <ivgo@spreadgroup.com>
2023-04-26 14:08:15 +02:00
Miguel Alexandre d197f9f782 Include suggested changes
Signed-off-by: Miguel Alexandre <m.alexandrex@gmail.com>
2023-03-15 17:51:54 +01:00
Miguel Alexandre f538b9c5b8 Include the failureMetadata and successMetadata in TechInsightsApi
Signed-off-by: Miguel Alexandre <m.alexandrex@gmail.com>
2023-03-13 18:00:57 +01:00
Fredrik Adelöw 65454876fb unpack props inside component bodies
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-02-27 15:31:15 +01:00
Fernando.Teixeira 4024b37449 feat(tech-inights): adds getFactSchemas method to client
Signed-off-by: Fernando.Teixeira <fernando.Teixeira@traderev.com>
2023-01-25 14:09:15 -05:00
Patrik Oldsberg 9b55b65906 Revert "Set "application/json" content type header in TechInsightsClient"
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-10-20 15:47:08 +02:00
Alex Rybchenko 47ec8b88d5 set application/json header
Signed-off-by: Alex Rybchenko <arybchenko@box.com>
2022-10-19 14:15:59 +02:00
Johan Haals 1603ed99ad Merge pull request #14135 from alissonfabiano/af/fix-content-type-post-request
Fixed bug that when sending data by Post
2022-10-19 13:28:06 +02:00
Alisson Fabiano b8d4ab0e12 fixed reading headers
Signed-off-by: Alisson Fabiano <afabiano@eshopworld.com>
2022-10-19 10:40:28 +01:00
Fredrik Adelöw f3d272cf57 Make sure to reload score card contents when props change
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-10-17 12:08:05 +02:00
Alisson Fabiano 7095e8bc03 Fixed bug that when sending data by Post
Signed-off-by: Alisson Fabiano <afabiano@eshopworld.com>
2022-10-14 11:47:16 +01:00
Alisson Fabiano b102cdbfc6 refactoring some codes, names and dependency
Signed-off-by: Alisson Fabiano <afabiano@eshopworld.com>
2022-09-22 15:07:48 +01:00
Alisson Fabiano 422eee24d9 added get latest facts from tech-insighs
Signed-off-by: Alisson Fabiano <afabiano@eshopworld.com>
2022-09-20 19:09:35 +01:00
Patrik Oldsberg 1e21d126b2 Merge pull request #13093 from kielosz/scorecards
[TechInsights] Use different renderers for each CheckResult in scorecards
2022-08-24 10:06:50 +02:00
Patrik Oldsberg 763fb81e82 refactors to avoid using useParams where possible
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-08-23 18:43:26 +02:00
kielosz beb15973cc Revert adding BOOLEAN_CHECK_RESPONSE_TYPE
Signed-off-by: kielosz <kielosz@gmail.com>
2022-08-18 18:16:46 +02:00
kielosz f7e99ac1d8 Add getCheckResultRenderers
Signed-off-by: kielosz <kielosz@gmail.com>
2022-08-18 16:55:04 +02:00
Fredrik Adelöw 3f739be9d9 more api cleanup
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-08-18 15:16:19 +02:00
Leon fd16617e28 fix api-report warning 2022-05-30 19:58:40 +02:00
Leon 65e760664e removed explicit type because it became a warning in api-report.md
Signed-off-by: Leon <leonvanginneken@gmail.com>
2022-05-24 14:49:59 +02:00
Leon 09d2f4d179 export TechInsightsClient
Signed-off-by: Leon <leonvanginneken@gmail.com>
2022-05-24 14:43:07 +02:00
David Weber aa8db01acb feat: add new component EntityTechInsightsScorecardCard
The `EntityTechInsightsScorecardCard` can be used in the overview of the `EntityPage` page or display multiple individual `EntityTechInsightsScorecardCard` in `EntityLayout.Route`.

Signed-off-by: David Weber <david.weber@w3tec.ch>
2022-04-25 19:57:25 +02:00
Rogerio Angeliski 567b13a84a Add checksId option to EntityTechInsightsScorecardContent component
Signed-off-by: Rogerio Angeliski <angeliski@hotmail.com>
2022-04-07 18:14:44 -03:00
Fredrik Adelöw 36aa63022b deprecate EntityName, introduce CompoundEntityRef
deprecate getEntityName, introduce getCompoundEntityRef

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-03-02 21:54:45 +01:00
blam 8a086d1c36 chore: remove the last occurence of getIdToken
Signed-off-by: blam <ben@blam.sh>
2022-01-13 19:51:31 +01:00
Patrik Oldsberg 51fbedc445 plugins: migrate usage of deprecated IdentityApi methods
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-01-13 19:51:30 +01:00
goenning a60eb0f0dd add checks bulk operation
Signed-off-by: goenning <me@goenning.net>
2022-01-11 15:14:52 +00:00
irma12 ef6c1a13b2 Fix in order to pass tsc
Signed-off-by: irma12 <irma@roadie.io>
2022-01-10 14:20:04 +01:00
irma12 34883f5c9e Add posibility to customize description and title
Signed-off-by: irma12 <irma@roadie.io>
2022-01-10 14:20:04 +01:00
goenning 48580d0fbb add missing react key
Signed-off-by: goenning <me@goenning.net>
2022-01-06 14:16:51 +00:00
Patrik Oldsberg 9c57723c2c Merge pull request #8694 from backstage/rugvip/use
use precise imports of react-use hooks
2022-01-03 11:18:48 +01: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
goenning e4abf18708 replace null with undefined
Signed-off-by: goenning <me@goenning.net>
2021-12-28 14:57:30 +00:00
goenning 462c445892 remove unecessary type
Signed-off-by: goenning <me@goenning.net>
2021-12-28 14:51:15 +00:00
goenning 71998caef9 remove unecessary http request when running all checks
Signed-off-by: goenning <me@goenning.net>
2021-12-28 14:46:44 +00:00
Patrik Oldsberg 0fdac13e7d Merge pull request #8620 from goenning/go/expose-apiref
expose techInsightsApiRef
2021-12-28 14:11:31 +01:00
goenning a69651d69d add documentation to exported types
Signed-off-by: goenning <me@goenning.net>
2021-12-28 10:45:23 +00:00
goenning d83079fc11 expose techInsightsApiRef
Signed-off-by: goenning <me@goenning.net>
2021-12-23 16:04:38 +00:00
Erik Larsson 57a54eaed4 tsc
Signed-off-by: Erik Larsson <erik.larsson@schibsted.com>
2021-12-22 23:09:34 +01:00
Erik Larsson da5751717e tsc
Signed-off-by: Erik Larsson <erik.larsson@schibsted.com>
2021-12-22 23:05:09 +01:00
Erik Larsson a86f5c1701 fixes api auth bug in tech-insights plugin
Signed-off-by: Erik Larsson <erik.larsson@schibsted.com>
2021-12-22 22:48:07 +01:00
Fredrik Adelöw 7a825e14ab Merge pull request #8516 from wejendorp/jsonfc-fix
fix: allow partial evaluation of checks in jsonfc factchecker
2021-12-22 15:46:15 +01: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
Jacob Wejendorp cf7fc2b41a fix: handle empty checks in tech-insights scorecard
Show a warning about missing data instead of crashing if checks return empty.

Signed-off-by: Jacob Wejendorp <jwe@tradeshift.com>
2021-12-16 15:27:48 +01:00
irma12 f4d351d441 Last fixes
Signed-off-by: irma12 <irma@roadie.io>
2021-12-01 10:24:07 +01:00
irma12 1f455f8abb Rename scorecards plugin to tech-insights plugin
Signed-off-by: irma12 <irma@roadie.io>
2021-11-26 13:51:43 +01:00