Commit Graph

128 Commits

Author SHA1 Message Date
Fredrik Adelöw 217f919f0a Minor cleanup in gh actions - do not unpack in the signature
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-06-14 14:21:42 +02:00
Patrik Oldsberg 2262fe19c9 removed deprecated entity props
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-18 13:54:33 +01:00
KaemonIsland 0268d91b78 Change getProjectName to getProjectNameFromEntity
Signed-off-by: KaemonIsland <kaemonlovendahl@outlook.com>
2022-02-16 11:31:18 -07:00
KaemonIsland 03af89706c use new Error and change useProjectName to getProjectName
Signed-off-by: KaemonIsland <kaemonlovendahl@outlook.com>
2022-02-16 11:25:24 -07:00
KaemonIsland 6cc710c84c Change useProjectName to synchronous code
Signed-off-by: KaemonIsland <kaemonlovendahl@outlook.com>
2022-02-16 09:26:49 -07:00
KaemonIsland 7efee0f94c Prevent error message when owner/repo has not been set
The owner/repo variables are set to undefined during the first render of the WorkflowRunDetails component.

These undefined values are then passed to the useWorkflowRunsDetails hook and are returned as an error.

This causes a false error message to show for a split second.

The next render succesfully triggers when the owner/repo values get set, updating the details variable and returning the correct react component.

A new "loading" variable has been added that checks for loading values in addition to the details value existing.

I've also added an extra check for the error.message value considering it's used within the error message.

This prevents the false error message from displaying.

Signed-off-by: KaemonIsland <kaemonlovendahl@outlook.com>
2022-02-16 09:26:49 -07: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
Fredrik Adelöw d0523cec56 Merge pull request #8156 from WarlenRodrigues/fixing_link_somponents_usage
Fixed Link components usage. Now, all links use the Backstage's Link c…
2021-12-21 08:10:15 +01:00
Fredrik Adelöw 2847cd8234 some final cleanup
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-12-20 19:23:47 +01:00
WarlenRodrigues 22bf2da934 Fied Link components usage. Now, all links use the Backstage's Link component
Signed-off-by: WarlenRodrigues <warlen.cesarrodrigues@gmail.com>
2021-12-20 19:18:04 +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
Tim Hansen 89bd772b00 Show empty state only when done loading
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-12-09 13:08:34 -07:00
Patrik Oldsberg 85ee184e68 core-components: LogViewer prop className -> classes
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-12-09 12:02:53 +01:00
Patrik Oldsberg cbd20c46f1 github-actions: switch to using LogViewer
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-12-08 13:38:39 +01:00
Patrik Oldsberg 8a96019a39 Merge branch 'master' into rugvip/test-port 2021-11-22 17:33:10 +01: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
blam 610e3c979d chore: remove occurrences of FC
Signed-off-by: blam <ben@blam.sh>
2021-11-18 10:35:49 +01:00
blam f029733d13 chore: remove occurrences of the rule of hooks to favour wrapping the components instead
Signed-off-by: blam <ben@blam.sh>
2021-11-18 10:17:15 +01:00
blam bd98d4f457 chore: more deprecations and reworking more routeRefs to subRouteRefs
Signed-off-by: blam <ben@blam.sh>
2021-11-17 20:26:01 +01:00
blam 1332a98a01 chore: fixing deprecation warnings for all the things that are in the monorepo
Signed-off-by: blam <ben@blam.sh>
2021-11-17 20:24:20 +01:00
Oliver Sand e849f9cc0a Use <Progress> instead of <LinearProgress /> in combination with Suspense
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-11-11 09:55:05 +01: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
blam a9ce6d8892 chore: updating typescript and api-reports
Signed-off-by: blam <ben@blam.sh>
2021-07-27 23:44:43 +02:00
Joe Porpeglia 58e19478ef Use __fixtures__ for static json test data
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2021-06-28 13:26:57 -04:00
Joe Porpeglia d000f29ee5 Replace moment with luxon
Signed-off-by: Joe Porpeglia <josephp@spotify.com>
2021-06-25 11:36:56 -04:00
Patrik Oldsberg 9258c54f87 Merge branch 'master' into rugvip/mod 2021-06-22 10:07:18 +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
yafanasiev 288a2595b7 chore: update import, fix linter issues
Signed-off-by: yafanasiev <y.afanasiev@easygenerator.com>
2021-06-07 10:16:20 +03:00
yafanasiev 9bdd2cca89 fix: add missing token on job list call to Github API
Signed-off-by: yafanasiev <y.afanasiev@easygenerator.com>
2021-06-06 14:13:32 +03:00
jrusso1020 65e6c45410 Remove circular dependencies
In reference to issue #5563 this does the initial work to remove
all the circular dependencies that we have encountered while
building backstage using bazel. The next step will be to implement
a method to catch these circular dependencies before they get
merged in

Signed-off-by: jrusso1020 <jrusso@brex.com>
2021-05-15 11:17:05 -06:00
Fredrik Adelöw 38ca051682 The default @octokit/rest dependency was bumped to "^18.5.3".
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-05-03 11:15:22 +02:00
Andrew Shirley 16a4ffb871 Eliminate EmptyState usage
Signed-off-by: Andrew Shirley <andrew@als-bi.com>
2021-04-27 09:27:04 +01:00
Andrew Shirley 50701f32cb Use InfoCard not Card
Signed-off-by: Andrew Shirley <andrew@als-bi.com>
2021-04-27 09:27:04 +01:00
Andrew Shirley 4c42ecca2d Wrap EmptyState in a Card
This prevents it overflowing onto subsequent content

Signed-off-by: Andrew Shirley <andrew@als-bi.com>
2021-04-27 09:27:04 +01:00
Tim Hansen 2c29611a0e Make source commit url optional
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-03-30 14:02:26 -06:00
Oliver Sand 01ccef4c7f Introduce useRouteRefParams to core-api to retrieve typed route params
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-03-18 15:55:31 +01:00
erdoganoksuz 9ca0e40094 locale added all case conversion
Signed-off-by: erdoganoksuz <erdoganoksuz95@gmail.com>
2021-03-12 15:06:01 +03:00
Phil Kuang 13fb84244b feat(github-actions-plugin): default links to GitHub host in app config if defined
Signed-off-by: Phil Kuang <pkuang@factset.com>
2021-03-08 11:22:47 -05:00
Ben Lambert d13f519f35 Merge pull request #4864 from tadashi0713/show_workflow_name_github_actions
Show workflow name in GitHub Actions
2021-03-08 09:58:15 +01:00
Tadashi Nemoto 7216416d67 Add workflow
Signed-off-by: Tadashi Nemoto <tadashi.nemoto@exwzd.com>
2021-03-08 16:09:17 +09:00
Woody Rousseau b2a5320a4b Use Breadcrumbs from @backstage/core 2021-02-25 20:19:04 +01:00
Woody Rousseau 04667f5712 Use Breadcrumb from @backstage/core 2021-02-24 19:31:28 +01:00
Oliver Sand f4c2bcf54b Use a more strict type for variant of cards
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-02-17 11:41:53 +01:00
Patrik Oldsberg 8e1789e0c3 circleci,cloudbuild,github-actions,jenkins: rename internal entity conditional 2021-02-07 23:49:08 +01:00
Patrik Oldsberg 3eb1b1bacc github-actions: GitHub -> Github 2021-02-07 23:49:07 +01:00
Patrik Oldsberg f20f046514 github-actions: fix card tests 2021-02-03 00:03:07 +01:00
Patrik Oldsberg f5f45744e3 github-actions: migrate to new composability API 2021-02-02 23:11:22 +01:00