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
Vincenzo Scamporlino
b768dde9c6
github-actions: fix status sorting in runs table
...
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com >
2023-11-06 22:30:43 +01:00
blam
1c8b7a4b17
chore: change usage of the component
...
Signed-off-by: blam <ben@blam.sh >
2023-10-26 22:26:30 +02:00
Patrik Oldsberg
80a79cc1e7
plugins: rtl 13 fixes for tests
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2023-10-18 09:37:03 +02:00
Fredrik Adelöw
ab6474579f
use renderInTestApp
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2023-09-14 22:14:14 +02:00
Adam Letizia
b8744e53ff
chore: return undefined when entity is missing url location annotation
...
Signed-off-by: Adam Letizia <LetiziaAdam@JohnDeere.com >
2023-05-17 10:02:19 -05:00
Adam Letizia
7515edff7e
chore: add hostname test update dev entity annotations
...
Signed-off-by: Adam Letizia <LetiziaAdam@JohnDeere.com >
2023-05-11 16:06:15 -05:00
Adam Letizia
96e1004e2a
feat(github-actions): add support for GHES hosted repos
...
Signed-off-by: Adam Letizia <LetiziaAdam@JohnDeere.com >
2023-05-11 16:06:15 -05:00
Mike Ball
9ccf4bebd7
remove errant and unnecessary 'await's
...
Signed-off-by: Mike Ball <mikedball@gmail.com >
2023-02-05 08:02:39 -05:00
Mike Ball
bff35c4d98
fix github-actions plugin dev environment
...
This ensures the mockGithubActionsApi used by the plugin in dev returns
the necessary mock data to meaningfully render the plugin.
Signed-off-by: Mike Ball <mikedball@gmail.com >
2023-02-05 08:02:21 -05:00
Carlos Esteban Lopez
2bdd1f92c1
fix: Add paragraph prop for bottom margin
...
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com >
2023-01-10 16:08:53 -05:00
Carlos Esteban Lopez
e75f39e603
feat: Lint paragraphs except in test files & fix
...
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com >
2023-01-10 16:08:53 -05:00
Fredrik Adelöw
c04f3658ac
fixup
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-12-21 10:49:50 +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
Fredrik Adelöw
d3fea4ae0a
avoid globals
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-11-22 15:42:29 +01:00
Brian Fletcher
ed438a3ba5
add more specific error handling for github actions
...
Previously the errorApi would post a message to the page. However it was
unclear which plugin was causing the error. Instead this renders a panel with
the full error.
Signed-off-by: Brian Fletcher <brian@roadie.io >
2022-10-27 11:21:21 +01:00
Dmitry Lobanov
f905853ad6
refactor: replace @material-ui Link
...
Signed-off-by: Dmitry Lobanov <lobanov.dmitry.s@gmail.com >
2022-10-25 13:05:18 +02:00
Patrick Jungermann
c1784a4980
chore(integration): use consistent naming of [gG]ithub in code
...
Relates to the discussion at PR #14039 .
Relates-to: PR #14039
Relates-to: PR #14174
Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com >
2022-10-19 16:11:53 +02:00
Jussi Hallila
3d184f1713
Add routes to tests.
...
Signed-off-by: Jussi Hallila <jussi@hallila.com >
2022-09-12 09:56:52 +02:00
Jussi Hallila
1bdb0bf24b
Modify RecentWorkflowRunsCard use constructed routeRef instead of hardcoded route.
...
Signed-off-by: Jussi Hallila <jussi@hallila.com >
2022-09-12 09:49:19 +02:00
Fredrik Adelöw
22022c45d0
github-actions
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-08-19 16:33:27 +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
Crevil
7e7fd4c153
Use nullish coalescing operator instead of OR
...
Signed-off-by: Crevil <bjoern.soerensen@gmail.com >
2022-07-09 19:36:11 +02:00
Crevil
9de15a41d7
Upgrade @octokit/rest to 19.0.3
...
This upgrade contains changes to the API types which leads to several changes
around the code base handling the now more precise types.
Signed-off-by: Crevil <bjoern.soerensen@gmail.com >
2022-07-09 09:13:07 +02:00
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