Commit Graph

77 Commits

Author SHA1 Message Date
blam 8fbcbd34b6 chore: this is always going to be present
Signed-off-by: blam <ben@blam.sh>
2023-02-21 12:39:37 +01:00
blam be99a4ddd6 feat: added the ability to grab the schema for the field definition in the validator
Signed-off-by: blam <ben@blam.sh>
2023-02-21 12:31:25 +01:00
blam dd266650aa chore: fix small alignment issue with owner
Signed-off-by: blam <ben@blam.sh>
2023-02-16 20:38:17 +01:00
github-actions[bot] 25b57cc07f Version Packages 2023-02-14 13:41:52 +00:00
Fredrik Adelöw 55df43ac8a Merge pull request #16295 from backstage/blam/scaffolder/next/editor
scaffolder/next: `TemplateEditorPage` support
2023-02-14 13:50:06 +01:00
blam 7c145f21ec chore: make the new TemplateEditor journey work with the new form work
Signed-off-by: blam <ben@blam.sh>
2023-02-10 14:40:13 +01:00
bnechyporenko 5a2faa801f Incorporated feedback
Signed-off-by: bnechyporenko <bnechyporenko@bol.com>
2023-02-10 14:29:04 +01:00
blam 3ab1485354 chore: added FieldOverrides to the scaffolder form
Signed-off-by: blam <ben@blam.sh>
2023-02-10 12:56:15 +01:00
github-actions[bot] b2a73c984a Version Packages (next) 2023-02-07 15:03:45 +00:00
blam 5ec4f1c308 chore: fixing api-reports
Signed-off-by: blam <ben@blam.sh>
2023-02-07 14:38:18 +01:00
blam 33b6ed5a5a chore: moving the outputs around and fixing some navigation]
Signed-off-by: blam <ben@blam.sh>
2023-02-07 14:38:18 +01:00
blam 2b27e58084 chore: change order of hooks
Signed-off-by: blam <ben@blam.sh>
2023-02-07 14:38:18 +01:00
Paul Cowan 70ae2c3634 fix stepper hasErrors to not bottom out at first error
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-02-07 11:33:05 +00:00
Ben Lambert 3afbe3362f Merge pull request #16196 from dagda1/create-async-validators-nested-schema
update createAsyncValidators to work with nested schemas
2023-02-07 12:09:34 +01:00
Paul Cowan ccbf91051b bump @rjsf v5 dependencies to 5.1.0
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-02-07 07:36:23 +00:00
Paul Cowan ba1f98a038 move isObject into utils
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-02-06 20:38:31 +00:00
Paul Cowan 79dac4ac1e rename guards to utils
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-02-06 20:38:30 +00:00
Paul Cowan 18fd021979 refactor types
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-02-06 20:38:29 +00:00
Paul Cowan 65cffff8d0 refactor types
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-02-06 20:38:29 +00:00
Paul Cowan ba437049cc rename isInvalid to hasErrors
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-02-06 20:38:28 +00:00
Paul Cowan 5555e17313 refactor createAsyncValidators to be recursive
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-02-06 20:38:28 +00:00
Paul Cowan f3af36dc31 add failing test to createAsyncValidators
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-02-06 20:38:27 +00:00
github-actions[bot] 675324ed19 Version Packages (next) 2023-01-31 14:45:37 +00:00
blam f2212009f0 chore: bump to v5-stable instead
Signed-off-by: blam <ben@blam.sh>
2023-01-31 10:42:18 +01:00
blam f4f93a57ee chore: bump the rjsf deps
Signed-off-by: blam <ben@blam.sh>
2023-01-31 10:40:53 +01:00
Patrik Oldsberg 0e4c640d06 scaffolder-react: refert FormProps back to alpha
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-01-29 19:51:14 +01:00
Patrik Oldsberg acd4f9b20b scaffolder-react: refactor for cleaner separation between stable and next
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-01-29 14:35:34 +01:00
Paul Cowan ee9081a1fa bump @rjsf v5 dependencies to beta.18
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-01-25 10:58:36 +00:00
Paul Cowan 346d6b6630 Upgrade @rjsf v5 dependencies to beta.17
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-01-25 10:58:35 +00:00
github-actions[bot] 12a7b316ee Version Packages (next) 2023-01-24 12:01:10 +00:00
Paul Cowan 8fdc9ab3b4 add layouts to Workflow
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-01-23 14:16:54 +00:00
Paul Cowan 969b9ae616 deprecate scaffolder layout components
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-01-23 14:16:54 +00:00
Paul Cowan 493cdc6533 run api-report
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-01-23 14:16:53 +00:00
Paul Cowan ff2277eafe move layouts into scaffolder-react
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-01-23 14:16:53 +00:00
Paul Cowan 6e82e68b94 move ui:ObjectFieldTemplate resolution to useTransformSchemaToProps
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-01-23 14:16:53 +00:00
Paul Cowan a772d50bcd move layouts prop out of FormProps
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-01-23 14:16:52 +00:00
Paul Cowan d2ddde2108 add ScaffolderLayouts to NextScaffolderPage
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-01-23 14:16:51 +00:00
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 95d9773be2 run api-reports
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-01-17 20:37:45 +00: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 7e6fdc0146 rename ReviewStateWrapper to ReviewStateComponent
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 2f0c9d9ca0 make FormProps public
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-01-17 20:37:43 +00:00
Paul Cowan aeff4e6b5a FormProps export
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-01-17 20:37:42 +00:00
Paul Cowan e78ba09f8b FormProps export
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-01-17 20:37:42 +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 b965a83a1f add tests to scaffoler-react
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 809c4c0686 fix api-reports
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-01-17 20:37:37 +00:00