Commit Graph

106 Commits

Author SHA1 Message Date
Fredrik Adelöw 7ec0e2421e Merge pull request #15461 from acierto/abort-task
Cancelling the running task (executing of a scaffolder template)
2023-03-15 14:25:03 +01:00
github-actions[bot] 24632ad94b Version Packages 2023-03-14 14:31:40 +00:00
afalco 8b92574416 Add tests for step timers
Signed-off-by: afalco <afalco@indeed.com>
2023-03-10 09:37:51 -06:00
afalco 9b8c374ace Do not show timer for skipped steps
Signed-off-by: afalco <afalco@indeed.com>
2023-03-09 10:49:34 -06:00
Bogdan Nechyporenko e27ddc36da Cancelling the running task (executing of a scaffolder template)
Signed-off-by: Bogdan Nechyporenko <bnechyporenko@bol.com>
2023-03-09 15:40:47 +01:00
github-actions[bot] 0eceadb950 Version Packages (next) 2023-03-07 17:21:48 +00:00
Axel Hecht 3c96e77b51 Use page theme fontColor consistently in scaffolder headers and cards.
This fixes problems with themes with white header background, which
end up with white-on-white text for card heads and context menus.

Signed-off-by: Axel Hecht <axel@pike.org>
2023-03-06 14:14:41 +01:00
Bogdan Nechyporenko 3ce12b6f0c Fix the scaffolder validator for arrays when the item is a field in the object
Signed-off-by: Bogdan Nechyporenko <bnechyporenko@bol.com>
2023-03-02 15:53:37 +01:00
Bogdan Nechyporenko 6ca13414f2 Fix the scaffolder validator for arrays when the item is a field in the object
Signed-off-by: Bogdan Nechyporenko <bnechyporenko@bol.com>
2023-03-02 15:37:43 +01:00
Fredrik Adelöw d06fc3f3e3 Merge pull request #16614 from backstage/freben/unpack-props
🧹 unpack props inside component bodies
2023-03-02 10:50:51 +01:00
bnechyporenko 65342d3f1c Incorporated feedback
Signed-off-by: bnechyporenko <bnechyporenko@bol.com>
2023-03-01 11:16:29 +01:00
bnechyporenko d9893263ba Fix for next version of template scaffolder for the steps without properties
Signed-off-by: bnechyporenko <bnechyporenko@bol.com>
2023-03-01 09:07:10 +01:00
github-actions[bot] b19b95fc09 Version Packages (next) 2023-02-28 13:04:36 +00:00
Ben Lambert f58483738d Merge pull request #16619 from backstage/blam/ui-schema-in-ctx
scaffolder/next: Move `uiSchema` from `schema` into it's own property
2023-02-28 10:55:38 +01:00
blam e37af07bda cyhore: fixing api reports
Signed-off-by: blam <ben@blam.sh>
2023-02-27 17:11:56 +01:00
blam 8be6a7177d chore: split out the uiSchema in the context to align with components
Signed-off-by: blam <ben@blam.sh>
2023-02-27 17:06:37 +01:00
Fredrik Adelöw 65454876fb unpack props inside component bodies
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-02-27 15:31:15 +01:00
blam 1ec47ea20f chore: fix api reports
Signed-off-by: blam <ben@blam.sh>
2023-02-27 13:08:23 +01:00
blam d7ff48817b chore: moving things around a little
Signed-off-by: blam <ben@blam.sh>
2023-02-27 12:45:56 +01:00
Paul Cowan 8f4d13f21c Move useTaskStream, TaskBorder, TaskLogStream and TaskSteps into scaffolder-react
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-02-26 11:18:15 +00:00
Paul Cowan ca9229805e move useEventStream into scaffolder-react
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-02-26 11:18:15 +00:00
github-actions[bot] b4627f23b2 Version Packages (next) 2023-02-21 15:40:30 +00:00
Patrik Oldsberg 7e259ad643 Merge pull request #15816 from backstage/rugvip/subpath
[PRFC] Add support for subpath exports
2023-02-21 16:32:15 +01:00
Patrik Oldsberg aa5ed47b39 scaffolder-react: fix API report warning
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-02-21 15:04:15 +01:00
Patrik Oldsberg efbd99efd7 remove index entry from typesVersions
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-02-21 14:44:05 +01:00
Patrik Oldsberg c523edfc88 migrate all packages to export package.json
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-02-21 14:43:19 +01:00
Patrik Oldsberg 2113984b96 scaffolder-react: migrate to use exports
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-02-21 14:28:19 +01:00
Paul Cowan 0c219d9c18 remove unused import
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-02-21 13:18:39 +00:00
Paul Cowan c8d78b9ae9 fix bug in hasErrors with empty objects
Signed-off-by: Paul Cowan <paul.cowan@cutting.scot>
2023-02-21 13:18:39 +00:00
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