Commit Graph

23016 Commits

Author SHA1 Message Date
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
Patrik Oldsberg ecbb373f59 Merge pull request #9464 from backstage/dependabot/npm_and_yarn/rollup-2.67.2
chore(deps): bump rollup from 2.60.2 to 2.67.2
2022-02-16 19:18:58 +01:00
Fredrik Adelöw 69ad9e1e7b Merge pull request #9560 from backstage/freben/location-by-ref
Removed `CatalogApi.geLocationByEntity` and `CatalogApi.getOriginLocationByEntity`, and replaced them with `CatalogApi.getLocationByRef`.
2022-02-16 18:58:14 +01:00
Patrik Oldsberg d99c3c2177 Merge pull request #9254 from backstage/rugvip/add-roles
packages: add roles to all packages
2022-02-16 18:40:37 +01:00
Ben Lambert 529814d02d Merge pull request #9576 from backstage/blam/deprecations/scaffolder-backend
deprecations: remove deprecated `ctx.token`
2022-02-16 18:32:09 +01:00
Patrik Oldsberg 40af72b95d Merge pull request #9568 from RoadieHQ/remove-react-use
remove react-use from core-plugin-api
2022-02-16 17:42:18 +01: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 af32e5b10e Merge pull request #9545 from emalihin/patch-1
remove duplicate ingress.class annotation
2022-02-16 17:25:31 +01:00
Patrik Oldsberg 847ba7f606 Merge pull request #9543 from RoadieHQ/gcp-projects-use-react-hookz
Gcp projects use react hookz
2022-02-16 17:23:29 +01:00
Patrik Oldsberg 08140a4eac Merge pull request #9542 from awanlin/topic/update-empty-flag
Updated EmptyFlags code example
2022-02-16 17:17:47 +01:00
blam 5a1594330e chore: added changeset
Signed-off-by: blam <ben@blam.sh>
2022-02-16 17:07:14 +01:00
blam d93ac29500 chore: updating some smaller code refactor, and updating api-report
Signed-off-by: blam <ben@blam.sh>
2022-02-16 17:05:04 +01:00
blam b6925bb66d chore: removing the entityClient and using a helper instead to fetch the matching Templates
Signed-off-by: blam <ben@blam.sh>
2022-02-16 17:02:01 +01:00
Patrik Oldsberg b42ccffafe cli: fix for backend bundle build ignoring building of the app
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-16 16:51:19 +01:00
Patrik Oldsberg ba5ea41f9e cli: rename app role to frontend
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-16 16:13:30 +01:00
Fredrik Adelöw a31cdf9c85 put back the actual implementation, to not break old clients
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-16 15:51:51 +01:00
Fredrik Adelöw 0a033351be catalog: clean up api reports
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-16 15:45:36 +01:00
Karan Shah f5e370e0c3 Make the Airbrake backend plugin public
Signed-off-by: Karan Shah <karan.shah@simplybusiness.co.uk>
2022-02-16 14:26:41 +00:00
blam 91f6be833e chore: fixing test
Signed-off-by: blam <ben@blam.sh>
2022-02-16 14:55:30 +01:00
Himanshu Mishra 0cfbec9b79 Merge pull request #9577 from backstage/emmaindal-patch-1
[Docs] fix broken storybook link
2022-02-16 14:11:03 +01:00
Patrik Oldsberg eae833a780 Merge pull request #9487 from andrewthauer/home-toolkit-accordian
feat: add accordian home page toolkit support
2022-02-16 13:58:55 +01:00
Patrik Oldsberg 08b9b4db86 Merge pull request #9363 from richardluong/rluong-dominant-baseline
Change to Avatar in ShortcutIcon
2022-02-16 13:49:57 +01:00
Emma Indal eca5c79447 fix broken storybook link
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-16 13:28:37 +01:00
blam 79c500e10e chore: updating changeset
Signed-off-by: blam <ben@blam.sh>
2022-02-16 13:18:24 +01:00
blam 0df5389f2f chore: remove from ActionsContext too
Signed-off-by: blam <ben@blam.sh>
2022-02-16 13:17:54 +01:00
blam 8db2b671c6 chore: added changeset
Signed-off-by: blam <ben@blam.sh>
2022-02-16 13:09:23 +01:00
blam 7bed999eb6 chore: updating api-report with removed token
Signed-off-by: blam <ben@blam.sh>
2022-02-16 13:09:23 +01:00
blam 3d0dc89b76 chore: removed the token from actions, it's now backstageToken
Signed-off-by: blam <ben@blam.sh>
2022-02-16 13:09:23 +01:00
Patrik Oldsberg 64da85d7aa shortcuts: remove unused import
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-16 13:09:05 +01:00
Himanshu Mishra e4709d570e Merge pull request #9394 from backstage/orkohunter/homepage-getting-started
Docs: Tutorial on adding a Backstage home page
2022-02-16 12:43:41 +01:00
Patrik Oldsberg c8d1f915e7 shortcuts: remove unnecessary test
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-16 12:39:27 +01:00
Himanshu Mishra 1208397ea6 Home page -> homepage for consistency
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2022-02-16 12:33:35 +01:00
Patrik Oldsberg 1aa2828a81 Merge pull request #9289 from moltenice-forks/airbrake-api
Airbrake Plugin API connectivity
2022-02-16 12:15:05 +01:00
Fredrik Adelöw a1c6fa32f3 Merge pull request #9488 from backstage/freben/move-template
move `TemplateEntityV1beta2` to `@backstage/plugin-scaffolder-common`
2022-02-16 10:58:20 +01:00
Ben Lambert 6be27046e3 Merge pull request #9572 from backstage/blam/deprecations/remove-provider-config
deprecation: Remove `scaffolder.provider` config
2022-02-16 10:56:30 +01:00
blam 7d3471db94 chore: added changeset
Signed-off-by: blam <ben@blam.sh>
2022-02-16 10:24:46 +01:00
blam 65e0322e0d chore: remove the deprecated provider config
Signed-off-by: blam <ben@blam.sh>
2022-02-16 10:19:17 +01:00
Brian Fletcher 2c5caf4e05 fixes typo in changeset
Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-02-16 09:11:06 +00:00
Patrik Oldsberg 6bc4a0a7a4 Merge pull request #9553 from danilosoarescardoso/master
adding adopter
2022-02-16 10:07:31 +01:00
Patrik Oldsberg 373dfd4054 Merge pull request #9566 from backstage/dependabot/npm_and_yarn/css-loader-6.6.0
chore(deps): bump css-loader from 6.5.1 to 6.6.0
2022-02-16 10:05:13 +01:00
Patrik Oldsberg 752e6217ab Merge pull request #9562 from backstage/rugvip/secpol
cli,codemods: update security policies
2022-02-16 10:04:40 +01:00
Brian Fletcher 2714145cf5 Adds a changeset
Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-02-16 09:02:58 +00:00
Brian Fletcher 126074a04b ports core-components to react-hookz..
..as far as possible.

There are a couple of hooks that have not been implemented in react-hookz.

 - useWindowSize, useCopyToClipboard, useObservable

I have not changed these. I am not very familiar with the debounce pattern
so I hope I have ported that correctly.

Signed-off-by: Brian Fletcher <brian@roadie.io>
2022-02-16 09:00:21 +00:00
Fredrik Adelöw 5e585bbc7f review comments
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-16 09:49:54 +01:00
Fredrik Adelöw 6fe01cec04 add back the deprecation triangle on cards too
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-16 09:49:54 +01:00
Fredrik Adelöw e53afe448b warn in backend when scaffolding old templates
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-16 09:49:52 +01:00
Fredrik Adelöw e72d371296 move TemplateEntityV1beta2 from @backstage/catalog-model to @backstage/plugin-scaffolder-common
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-02-16 09:49:23 +01:00
dependabot[bot] 7063b7055d chore(deps): bump cronstrue from 1.123.0 to 1.125.0
Bumps [cronstrue](https://github.com/bradymholt/cronstrue) from 1.123.0 to 1.125.0.
- [Release notes](https://github.com/bradymholt/cronstrue/releases)
- [Commits](https://github.com/bradymholt/cronstrue/compare/v1.123.0...v1.125.0)

---
updated-dependencies:
- dependency-name: cronstrue
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-16 08:43:03 +00:00
dependabot[bot] 8fa3bba4a4 chore(deps): bump rollup from 2.60.2 to 2.67.2
Bumps [rollup](https://github.com/rollup/rollup) from 2.60.2 to 2.67.2.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.60.2...v2.67.2)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-16 08:40:07 +00:00