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
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