Commit Graph

889 Commits

Author SHA1 Message Date
Ben Lambert 61043bc1ac Merge pull request #15162 from dagda1/workflow-execution-poc
Embed Scaffolder create flow into Catalog entity page
2023-01-18 14:43:39 +01:00
Paul Cowan 72ea4f64b3 consolidate props in Stepper and Workflow
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-01-17 20:37:44 +00:00
Paul Cowan 9081955021 revert FormProps imports
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-01-17 20:37:43 +00:00
Paul Cowan 693695ee46 run api-report
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-01-17 20:37:41 +00:00
Paul Cowan d6be4ae291 keep only Workflow component and move it into scaffolder-react
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-01-17 20:37:41 +00:00
Paul Cowan f19d51fa4d @backstage/plugin-scaffolder-react fixes
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-01-17 20:37:40 +00:00
Paul Cowan 880ee2f353 add EmbeddedScaffolderWorkflow test
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-01-17 20:37:39 +00:00
Paul Cowan 88abf5378d remove SecurityTab
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-01-17 20:37:39 +00:00
Paul Cowan 408073f401 add initialState
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-01-17 20:37:37 +00:00
Paul Cowan 809c4c0686 fix api-reports
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-01-17 20:37:37 +00:00
Paul Cowan b4dc27c42c move EmbeddedScaffolderWorkflow in to scaffolder
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-01-17 20:37:36 +00:00
Paul Cowan 939ec15a2e api-reports
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-01-17 20:37:36 +00:00
Paul Cowan f95e55efad rename extracted Template components
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-01-17 20:37:35 +00:00
Paul Cowan fa79ce2b59 allow ReviewState component to be replaced as a prop
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-01-17 20:37:35 +00:00
Paul Cowan 5fb19bf12a EmbeddedScaffolderWorkflow component
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-01-17 20:37:35 +00:00
Paul Cowan e2789aea3d prefill template content
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-01-17 20:37:34 +00:00
Paul Cowan 1106b7ee04 wrap TemplateWizardContent in <SecurityProviderContext />
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-01-17 20:37:34 +00:00
Paul Cowan 151f659325 move TemplateWizardPage content into separate component
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-01-17 20:37:33 +00: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
blam 908378f062 Merge remote-tracking branch 'origin/master' into blam/break-up-scaffolder
* origin/master: (55 commits)
  backend-app-api: switch plugin log label pluginId->plugin
  backend-app-api: create a labelled logger for rootHttpRouter
  backend-app-api: remove startHttpServer
  fix(deps): update dependency @rjsf/utils to v5.0.0-beta.16
  backend-app-api: fix infinite loop in http server stop
  remove autoformatting changes
  remove dev file
  use index for key in react fragment
  Minor grammar fix to CONTRIBUTING.md
  backend-app-api: explicit request handler types for MiddlewareFactory
  added changesets for the root API refactor and move from backend-common
  backend-app-api: update API report + fixes
  add highlighting of legend item
  docs(docs/features/software-templates/writing-custom-field-extensions.md): change "kehab" to "kebab".
  backend-app-api: move http dir out of lib
  backend-common: reimplement service builder using backend-app-api
  backend-app-api: move cors and helmet options reader to http folder
  address review comments
  fix picky cli-report
  fix logic
  ...

Signed-off-by: blam <ben@blam.sh>
2023-01-10 14:19:53 +01:00
blam 5d8250cbd3 chore: fix
Signed-off-by: blam <ben@blam.sh>

Signed-off-by: blam <ben@blam.sh>
2023-01-10 14:01:02 +01:00
blam cacde27e15 chore: tidy up the api-reports with the nextRouteRef exports
Signed-off-by: blam <ben@blam.sh>
2023-01-10 13:28:04 +01:00
blam 1806e0c26e chore: deprecate the routeRef export and favour routes.root instead
Signed-off-by: blam <ben@blam.sh>
2023-01-10 12:15:06 +01:00
blam 8b767113fe chore: deprecated routeRef exports
Signed-off-by: blam <ben@blam.sh>
2023-01-10 11:59:25 +01:00
Brian Fletcher 90f4eb12d5 use index for key in react fragment
Signed-off-by: Brian Fletcher <brian@roadie.io>
2023-01-10 08:05:48 +00:00
Brian Fletcher c95291d14c address review comments
Signed-off-by: Brian Fletcher <brian@roadie.io>
2023-01-09 16:02:57 +00:00
blam 0fbcdfd0d2 chore: fixing warning
Signed-off-by: blam <ben@blam.sh>
2023-01-09 16:46:52 +01:00
blam 68aeea4ba5 chore: fixing the tests
Signed-off-by: blam <ben@blam.sh>
2023-01-09 16:45:43 +01:00
blam 3c72c0be91 chore: fix exporting the SecretsContext
Signed-off-by: blam <ben@blam.sh>
2023-01-09 14:55:05 +01:00
blam 52d6ad7c0f chore: moving some more re-usable logic to the -react package
Signed-off-by: blam <ben@blam.sh>
2023-01-09 13:24:17 +01:00
blam 7e7575409e chore: hook to get the field extensions
Signed-off-by: blam <ben@blam.sh>
2023-01-09 13:24:13 +01:00
blam 912bd110f2 chore: move the routeRefs back into the scaffolder plugin for now, maybe it makes sense to move them later.
Signed-off-by: blam <ben@blam.sh>
2023-01-09 13:24:13 +01:00
blam 3053e582fc fix: workaround the typing issue by duplicating the FormProps type as this is the only exported type from the /alpha imports
Signed-off-by: blam <ben@blam.sh>
2023-01-09 13:24:12 +01:00
blam dc28726211 chore: fixing the deprecated export paths
Signed-off-by: blam <ben@blam.sh>
2023-01-09 13:24:05 +01:00
blam de7e520a13 chore: moving some more things around and updating the api reports
Signed-off-by: blam <ben@blam.sh>
2023-01-09 13:23:56 +01:00
blam becf03a94b chore: moving the scaffolderApiRef and types to -react
Signed-off-by: blam <ben@blam.sh>
2023-01-09 13:23:47 +01:00
blam 016b2238b2 chore: revert exporting the next stuff for now as it's not gonna work with the repo setup
Signed-off-by: blam <ben@blam.sh>

Signed-off-by: blam <ben@blam.sh>
2023-01-09 13:23:44 +01:00
blam 562175cf78 chore: moving the secrets handling to the react package
Signed-off-by: blam <ben@blam.sh>
2023-01-09 13:23:37 +01:00
blam ccba7df9ac chore: fixing the api-report and making things green so far
Signed-off-by: blam <ben@blam.sh>
2023-01-09 13:23:23 +01:00
blam 70beaaaa22 chore: moving smaller components over from the next package
Signed-off-by: blam <ben@blam.sh>
2023-01-09 13:21:10 +01:00
blam c2f1010f3c chore: fixing the re-exporting of the types with the alpha annotation
Signed-off-by: blam <ben@blam.sh>
2023-01-09 13:21:10 +01:00
blam 33f069c805 chore: more moving out into the other packages
Signed-off-by: blam <ben@blam.sh>
2023-01-09 13:21:10 +01:00
blam 5f0fadc610 chore: starting to move some dependencies around a little bit
Signed-off-by: blam <ben@blam.sh>
2023-01-09 13:21:10 +01:00
blam 31f32bbebc chore: moving the routeRefs to the new scaffolder-react package
Signed-off-by: blam <ben@blam.sh>
2023-01-09 13:21:10 +01:00
Brian Fletcher af22bbb647 remove container within container
Signed-off-by: Brian Fletcher <brian@roadie.io>
2023-01-05 14:20:14 +00:00
Brian Fletcher a00234fef7 switch language to yaml in code snippet
Signed-off-by: Brian Fletcher <brian@roadie.io>
2023-01-05 14:12:17 +00:00
Brian Fletcher db0b2b65b1 Merge branch 'master' of github.com:backstage/backstage into scaffolder-examples 2023-01-05 14:07:35 +00:00
Patrik Oldsberg 1cc6eae218 Merge pull request #15454 from webark/fix/adding-children-as-props-for-react-18
Explicitly declaring children as optional props for react 18 upgrade
2023-01-04 22:47:12 +01:00
Mark David Avery b8269de9f1 style(react 18): explicitly declaring children as optional props
This is to facilitate the react 18 upgrade which introduced the requirement to explicily declare children as props
Helps to address #12252

Signed-off-by: Mark David Avery <mark@webark.cc>
2023-01-04 11:21:34 -08:00