Commit Graph

9316 Commits

Author SHA1 Message Date
github-actions[bot] e4791789d1 Version Packages 2022-02-10 11:06:33 +00:00
Fredrik Adelöw 8819f97d1c Merge pull request #9444 from backstage/freben/vm2
scaffolder: bump vm2
2022-02-10 11:27:20 +01:00
Fredrik Adelöw 09ecd921af Merge pull request #9408 from backstage/freben/node-common-again
Add the `@backstage/plugin-auth-node` package
2022-02-10 11:08:32 +01:00
Ben Lambert c64f48741e Merge pull request #9375 from backstage/freben/inspect
catalog: add an entity inspection dialog
2022-02-10 10:49:41 +01:00
Fredrik Adelöw 898a56578c scaffolder: bump vm2
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-10 10:44:49 +01:00
Fredrik Adelöw 3c9aed1b16 review comments
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-10 10:36:45 +01:00
Gustaf Räntilä ad136d1c87 chore: go back to @date-io/luxon 1 for mui pickers...
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:56:17 +01:00
Gustaf Räntilä 29302d39db fix(cicd-statistics): @types/react -> devDependencies
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:56:17 +01:00
blam 476c4c52fc chore: api-reports 😅
Signed-off-by: blam <ben@blam.sh>
2022-02-09 19:56:17 +01:00
blam c2cbcaf234 chore: de-dedupe dependencies and make the build green 🤞
Signed-off-by: blam <ben@blam.sh>
2022-02-09 19:56:17 +01:00
Gustaf Räntilä 07faca1f27 fix(cicd-statistics): Fixed test issue after refactoring
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:55:49 +01:00
Gustaf Räntilä 365e3f87ad feat(cicd-statistics): Allow multi-step progress when loading statistics
Loading can take a pretty long time, and often in several steps, such as "loading builds" followed by "loading pipelines per build".

Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:55:49 +01:00
Gustaf Räntilä d5acd9f035 feat(cicd-statistics): Added zoom capability to the charts
Since loading of build information can take a long time, being able to zoom "client-side", using the fetched data, is very useful.

This is built using a provider (ZoomProvider) which keeps zoom state, simplifies rendering a gray area while zooming and has a filter-function which can filter only values within the zoomed time range.

Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:53:10 +01:00
Gustaf Räntilä b8454275c1 fix(cicd-statistics): Fixed progress bar animation, should be throttle, not debounce
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:53:10 +01:00
Gustaf Räntilä fdabd241d2 feat(cicd-statistics): Added trigger reason
Some refactoring and tweaks. The trigger reason is an overlay to the build counts, and is a percentage of manually triggered builds vs all builds. When this is high, it indicates likelyhood of flaky tests.

Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:53:10 +01:00
Gustaf Räntilä ec1ddbd812 docs(cicd-statistics): Made it a bit more clear this plugin requires a custom API implementation
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:53:10 +01:00
Gustaf Räntilä 52756327cf feat(cicd-statistics): Allow custom hiding/collapsing under certain thresholds
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:53:10 +01:00
Gustaf Räntilä 2d7f173e07 feat(cicd-statistics): Added median analysis (alongside average)
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:53:10 +01:00
Gustaf Räntilä cbbab88d9f feat(cicd-statistics): Allow stages to individual status, and added bar charts counts, and some refactoring
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:53:10 +01:00
Gustaf Räntilä ecaa8e7a15 fix(cicd-statistics): date-fns -> luxon
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:53:10 +01:00
Gustaf Räntilä 0a7179538a fix(cicd-statistics): Don't export branchTypes, it's not very useful
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:52:14 +01:00
Gustaf Räntilä b8492f3b14 fix(cicd-statistics): buildType -> branchType
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:52:14 +01:00
Gustaf Räntilä d3d16a2442 fix(cicd-statistics): Don't instanceof, do fuzzy matching for better compat
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:52:14 +01:00
Gustaf Räntilä 6c47447256 fix(cicd-statistics): Export missing component type
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:52:14 +01:00
Gustaf Räntilä 721dca4a14 fix(cicd-statistics): Don't export the routeRef
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:52:14 +01:00
Gustaf Räntilä 37218e495e fix(cicd-statistics): Renamed the exported component
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:52:14 +01:00
Gustaf Räntilä 706817149b fix(cicd-statistics): Made FilterBranchType and FilterStatusType not be parameterized
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:52:14 +01:00
Gustaf Räntilä cf0e970bc2 fix(cicd-statistics): Added entity option to getConfiguration
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:52:14 +01:00
Gustaf Räntilä d82fe02ecf docs(cicd-statistics): Fixed spellings in README
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:52:14 +01:00
Gustaf Räntilä 770c195f34 feat(cicd-statistics): Added CI/CD statistics plugin
Signed-off-by: Gustaf Räntilä <g.rantila@gmail.com>
2022-02-09 19:52:14 +01:00
Ben Lambert c367ddb301 Merge pull request #9440 from backstage/blam/roll-back-bad-dep
Rolling back the `@date-io/luxon` bump
2022-02-09 19:51:28 +01:00
Fredrik Adelöw bf5222bfa1 moved over IdentityClient as well
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-09 19:32:59 +01:00
blam 945ea0d278 chore: roll back the date-io/luxon bump
Signed-off-by: blam <ben@blam.sh>
2022-02-09 19:06:30 +01:00
Patrik Oldsberg 1cabe4264a core-components,catalog-react: update API reports
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-09 17:39:48 +01:00
Patrik Oldsberg 56f20465b7 core-components,catalog-react: override type for forwardRef components
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-09 17:10:50 +01:00
Fredrik Adelöw 86b40d464f move over BackstageSignInResult, BackstageIdentityResponse, BackstageUserIdentity
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-09 17:10:18 +01:00
Ben Lambert e34d4ce277 Merge pull request #9362 from mdb/mdb/new-splunk-on-call-annotation
[Plugin] Splunk On-Call plugin support for 'splunk.com/on-call-routing-key' annotation
2022-02-09 14:00:03 +01:00
Ben Lambert e40e4fce19 Update CHANGELOG.md
Signed-off-by: Ben Lambert <blam@spotify.com>
2022-02-09 10:46:19 +01:00
Fredrik Adelöw b3f3e42036 move IdentityClient.getBearerToken
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-09 10:38:12 +01:00
Fredrik Adelöw 9058bb1b5e add empty @backstage/plugin-auth-node
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-09 10:23:07 +01:00
Fredrik Adelöw 6bc86fcf2d make IdentityClient.listPublicKeys private
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-09 10:23:07 +01:00
github-actions[bot] e74f416a00 Version Packages (next) 2022-02-08 19:38:17 +00:00
Daniel Deloff 3396bc5973 remove option for disabling refresh
Signed-off-by: Daniel Deloff <44780793+rv-ddeloff@users.noreply.github.com>
2022-02-08 14:04:50 -05:00
Fredrik Adelöw cdc4282e3f Merge pull request #9351 from backstage/dependabot/npm_and_yarn/knex-1.0.2
chore(deps): bump knex from 0.95.6 to 1.0.2
2022-02-08 17:05:17 +01:00
Ben Lambert 5f0a20db15 Merge pull request #9391 from snehaljos/issue9157
Fixed bug in UI | Fix for issue #9157
2022-02-08 15:01:28 +01:00
blam 1026f12334 chore: fixing a totally different way and arguably a more simpler way.
Signed-off-by: blam <ben@blam.sh>
2022-02-08 14:36:20 +01:00
Ben Lambert 2c82f6b5dd Merge pull request #9397 from mufaddal7/feature/export-dashboard-component
export DashboardSnapshotComponent from new-relic-dashboard plugin
2022-02-08 10:06:06 +01:00
mufaddal motiwala a7abd5f35b jsDoc comment added
Signed-off-by: mufaddal motiwala <mufaddalmm.52@gmail.com>
2022-02-08 12:09:31 +05:30
Mike Ball 9552df7653 test reflects occurrence of single 'Missing Annotation'
Signed-off-by: Mike Ball <mikedball@gmail.com>
2022-02-07 15:59:32 -05:00
Mike Ball 04365cd213 display only 1 <MissingAnnotationEmptyState />
Per code review feedback, it's arguably unnecessary
to display duplicate `<MissingAnnotationEmptyState />`,
especially given the preceding contextual sentence
noting the supported annotations.

Signed-off-by: Mike Ball <mikedball@gmail.com>
2022-02-07 15:59:32 -05:00