Commit Graph

8373 Commits

Author SHA1 Message Date
Himanshu Mishra 8e083f41f3 fix(scaffolder): Allow user to retry creating a new software without refreshing the page
This is more of a bug fix than a new feature. The commit fixes 2 problems mainly.

1. When user clicks the close button on the JobStatusModal, it does not set the `modalOpen` state of its parent component. Thus, even after closing, JobStatusModal still persists in DOM, and modalOpen is still set to true. That is why, retrying by clicking on "Submit" again does not open the modal.

2. The useJobPolling hook does not consider starting the timer again when Job changes. Even if jobId changes, the logic to set `shouldBeRunningInterval` still uses a previous value of `currentJob` since it was never reset since the timer stopped. Using a effect hook and having jobId as a dependency to reset currentJob is the way to fix this.
2020-12-29 00:24:27 +01:00
Fredrik Adelöw de9a7c84dd Merge pull request #3847 from adamdmharvey/cost-insights-rewording
fix(cost-insights): Update instruction examples to fix links and rewording
2020-12-28 23:09:48 +01:00
Adam Harvey 8a53d92299 Change Link to use backstage/core 2020-12-28 16:25:28 -05:00
Himanshu Mishra 231b55b874 Merge remote-tracking branch 'origin/master' into blam/isomorphic-git 2020-12-28 22:02:46 +01:00
Himanshu Mishra ffb157dc16 Merge remote-tracking branch 'origin/master' into blam/isomorphic-git 2020-12-28 21:55:52 +01:00
Himanshu Mishra ede29f55c7 Merge pull request #3813 from backstage/orkohunter/use-@backstage-integration 2020-12-28 21:45:35 +01:00
Himanshu Mishra 8804e89811 techdocs: Add changeset for @backstage/integration changes 2020-12-28 21:18:18 +01:00
Himanshu Mishra c91e4d6b04 techdocs: Use @backstage/integration for scm tokens and request options 2020-12-28 21:08:54 +01:00
Himanshu Mishra bd3bc94ff8 Merge pull request #3799 from keshann93/plugins/techdocs 2020-12-28 20:52:53 +01:00
blam e203b56d13 chore: fix typescript issues with scaffolder-backend now the publishers require a logger :) 2020-12-28 17:41:25 +01:00
blam f60b02bec4 Merge branch 'master' of github.com:backstage/backstage into blam/isomorphic-git
* 'master' of github.com:backstage/backstage: (23 commits)
  cli: fix windows tests
  Introduce slight bias towards positive trend in cost insights mock data
  core-api: rename BackstageRoutes to FlatRoutes
  Update plugins/catalog/src/hooks/useEntity.ts
  Fix parameter name in docstring for duration#inclusiveStartDateOf
  Adjust test
  Add changeset
  fix: token expiration in s, not ms
  Create loud-days-breathe.md
  Create polite-glasses-occur.md
  dev-utils: add a small label with the entity name to EntityGridItems
  dev-utils: add EntityGridItem for easily displaying various entity cards
  dev-utils: use dev index module as root for hot reloading
  dev-utils: add .registerPage for use with extensions
  catalog: rename EntityProvider to EntityLoaderProvider, and add new EntityProvider
  reduce close timeout to 100 ms
  changeset: add changeset for core-api RouteRef deprecations
  core-api: use typescript workaround for using private constructor instead of a runtime one
  core-api: deprecate RouteRef path and remove deprecated createSubRoute
  delay window close by 200 ms
  ...
2020-12-28 17:39:15 +01:00
blam 5c6da874de chore: removing old helper tests 2020-12-28 17:38:52 +01:00
blam 4311d59521 chore: remove nodegit dependency from gitlab publisher 2020-12-28 17:37:11 +01:00
blam 783ac57ce7 chore: removing nodegit dependency on the github publisher 2020-12-28 17:33:04 +01:00
blam 438948f9bb chore: remove nodegit dependency on azure publisher 2020-12-28 17:24:11 +01:00
blam 84e937e324 chore: fix gitlab preparer tests to remove the node-git dependency 2020-12-28 17:08:53 +01:00
blam 9a9604408c chore: removing dependency for githubn preparer 2020-12-28 16:48:02 +01:00
Tim ad821a1463 Merge pull request #3855 from sisidra/sisidra/positive-vibes-in-cost-insights
Introduce slight bias towards positive trend in cost insights mock data
2020-12-28 08:42:46 -07:00
Tim 00867c1dc9 Merge pull request #3853 from sisidra/sisidra/doc-fix-durationts
Fix parameter name in docstring for duration#inclusiveStartDateOf
2020-12-28 08:42:26 -07:00
blam 8022655e0b chore: removing the dependency on the azure preparer for nodegit 2020-12-28 16:42:11 +01:00
blam 5118cb472f test(backend-common/git): Adding tests for all the git helpers in backend common 2020-12-28 16:16:18 +01:00
Fredrik Adelöw 72108829ce Merge pull request #3822 from fidelcoria/fix-login-race
fix(auth): race condition between loginPopup and authFlowHelpers
2020-12-28 15:55:22 +01:00
Patrik Oldsberg b23bc9638f Merge pull request #3854 from backstage/rugvip/flat
core-api: rename BackstageRoutes to FlatRoutes
2020-12-28 13:36:39 +01:00
Patrik Oldsberg b2195fc06c Merge pull request #3844 from backstage/mob/dev-utils
dev-utils: add addPage for use with composability API + EntityGridItem to easily create different card test cases
2020-12-28 12:43:08 +01:00
Fredrik Adelöw f36db36cc5 Merge pull request #3852 from backstage/freben/linked-win32
cli: fix LinkedPackageResolvePlugin windows tests
2020-12-28 12:18:54 +01:00
Fredrik Adelöw 0574a27b7c cli: fix windows tests 2020-12-28 11:43:25 +01:00
Mārtiņš Kalvāns 37b28bad44 Introduce slight bias towards positive trend in cost insights mock data 2020-12-28 11:34:56 +01:00
Patrik Oldsberg 5b6533eb76 core-api: rename BackstageRoutes to FlatRoutes 2020-12-28 11:19:52 +01:00
Patrik Oldsberg 246281b6e3 Merge pull request #3840 from backstage/rugvip/depr
core-api: deprecate RouteRef path and remove deprecated createSubRoute
2020-12-28 11:15:08 +01:00
Patrik Oldsberg 1f26325bee Merge pull request #3845 from backstage/mob/entpro
catalog: rename EntityProvider to EntityLoaderProvider, and add new EntityProvider
2020-12-28 11:14:02 +01:00
Patrik Oldsberg 63f40032ca Update plugins/catalog/src/hooks/useEntity.ts
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
2020-12-28 11:13:50 +01:00
Mārtiņš Kalvāns cff6a9e70f Fix parameter name in docstring for duration#inclusiveStartDateOf 2020-12-28 10:38:49 +01:00
Adam Harvey c2b52d9c5f Add changeset 2020-12-27 23:46:15 -05:00
Adam Harvey 65632b3a36 Add catalog-import plugin 2020-12-27 23:44:51 -05:00
Adam Harvey 48d78aaf19 Clarify local instructions 2020-12-27 23:37:24 -05:00
Fredrik Adelöw 84aa6f4a00 Merge pull request #3849 from erikxiv/fix/token-expiration-bug
fix: id token expiration in s, not ms
2020-12-27 11:32:28 +01:00
Erik Larsson 4975224d8e Adjust test 2020-12-27 10:52:18 +01:00
Erik Larsson cc046682e2 Add changeset 2020-12-27 09:55:19 +01:00
Erik Larsson d63cc1fe52 fix: token expiration in s, not ms 2020-12-27 09:45:06 +01:00
blam cc4a49aaf3 Merge branch 'master' of github.com:backstage/backstage into blam/isomorphic-git
* 'master' of github.com:backstage/backstage: (45 commits)
  Speed up some PRs with paths-ignore
  Remove unnecessary step
  catalog: export EntitySwitch component and conditions
  Apply suggestions from code review
  changeset: add changeset for new catalog composability components
  catalog: fix EntityLayout TabbedLayout route path matching
  catalog: gather all mount points beneath EntityLayout Routes
  catalog: add EntityLayout
  Change to raw Windows Discord hook
  Release plugin-cost-insights 0.5.3
  catalog: add EntitySwitch
  catalog: export new CatalogIndexPage and CatalogEntityPage
  Create dull-seals-march.md
  core-api: add BackstageRoutes
  Fix plugin name
  fixed category lables
  feat(cost-insights): Make alert url field optional
  fossa: Add changeset
  fix(fossa): Bump core packages version to fix failing CI
  Update 2020-12-22-stability-index.md
  ...
2020-12-26 22:22:11 +01:00
Jonah Back b67efe7441 feat: add ingestion processor for indexing AWS accounts
Signed-off-by: Jonah Back <jback@legalzoom.com>
2020-12-23 23:26:46 -08:00
dependabot[bot] 021e40aff6 build(deps): bump rollup-plugin-esbuild from 2.6.0 to 2.6.1
Bumps [rollup-plugin-esbuild](https://github.com/egoist/rollup-plugin-esbuild) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/egoist/rollup-plugin-esbuild/releases)
- [Changelog](https://github.com/egoist/rollup-plugin-esbuild/blob/master/.releaserc.json)
- [Commits](https://github.com/egoist/rollup-plugin-esbuild/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-24 05:04:33 +00:00
Himanshu Mishra db1fafb321 microsite: run prettier on demo page 2020-12-23 21:40:40 +01:00
Adam Harvey 51f55e5105 Return wording 2020-12-23 15:08:13 -05:00
Adam Harvey 3fca9adb97 Add changeset 2020-12-23 14:31:35 -05:00
Adam Harvey f1462655f9 Display links properly in label instructions 2020-12-23 14:28:11 -05:00
Adam Harvey 5f0bb1dfb5 Fix typo and rewording 2020-12-23 14:27:48 -05:00
Jeff Feng 660f646d11 Update demo.js (fixing blog URL) 2020-12-23 14:15:52 -05:00
Jeff Feng 2f2bc1b3f8 Update demos.js 2020-12-23 13:59:29 -05:00
Jeff Feng d4c6feb67b Update microsite's demos page to link to demo site
Updating the intro paragraph on backstage.io/demos to include a link to demo.backstage.io.
2020-12-23 13:50:57 -05:00