Commit Graph

113 Commits

Author SHA1 Message Date
Patrik Oldsberg 1e9b8cbce8 Merge pull request #17739 from Andy2003/bugfix/ui-schema-on-conditionals
scaffolder: extract `ui:*` fields from conditional fields.
2023-06-01 00:07:51 +02:00
Ben Lambert c7a4fc6263 Merge pull request #17952 from backstage/blam/scaffolder-md-fields
`scaffolder/next`: Provide a default `FieldTemplate` and `DescriptionFieldTemplate`
2023-05-30 15:27:18 +02:00
blam 9cd726a0e7 chore: fix typescript definitions
Signed-off-by: blam <ben@blam.sh>
2023-05-30 15:08:03 +02:00
Ben Lambert 5943b7e349 Merge pull request #17951 from backstage/blam/scaffolder-filtering
`scaffolder/next`: Keep the same filtering behaviour as the current
2023-05-29 11:35:53 +02:00
blam 29affaf4b9 chore: fix api-reports
Signed-off-by: blam <ben@blam.sh>
2023-05-24 15:23:41 +02:00
blam 0c38c55f14 feat: support markdown for field descriptions, and export a new ScaffolderField component
Signed-off-by: blam <ben@blam.sh>
2023-05-24 14:54:59 +02:00
blam ed5d7c2ecb lint: fix
Signed-off-by: blam <ben@blam.sh>
2023-05-24 14:33:59 +02:00
blam 1b1a04de06 feat: use the old way of filtering
Signed-off-by: blam <ben@blam.sh>
2023-05-24 14:29:59 +02:00
Oleg S 74b216ee4e set PropsWithChildren as explicit type on components
Signed-off-by: Oleg S <97077423+RobotSail@users.noreply.github.com>
2023-05-24 12:47:27 +02:00
Rogerio Angeliski 84a5c7724c fix: corrected the disconnection behavior to get stream logs Close #15002
Signed-off-by: Rogerio Angeliski <angeliski@hotmail.com>
2023-05-17 08:18:34 -03:00
Andreas Berger cf34311cdb scaffolder: extract ui:* fields from conditional fields.
With this change the `ui:*` schema config is extracted also for the `then` and `else` branch of a conditional schema

Signed-off-by: Andreas Berger <andreas@berger-ecommerce.com>
2023-05-10 15:48:14 +02:00
Zander 977aa91300 feat(scaffolder): DefaultTemplateOutputs test
Signed-off-by: Zander <me@zanderf.net>
2023-05-05 11:55:25 -05:00
Zander Franks b779e98756 fix(scaffolder): requested changes
Signed-off-by: Zander Franks <zander@zanderf.net>
2023-05-04 12:37:35 -05:00
Zander Franks 906dc9223c feat(scaffolder): support text outputs from templates
Signed-off-by: Zander Franks <zander@zanderf.net>
2023-05-03 17:35:16 -05:00
Andre Wanlin 7a55e5d809 Upddated Stepper
Signed-off-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
2023-04-18 07:16:46 -05:00
Andre Wanlin ad1a1429de Improvements to the scaffolder/next buttons UX
Signed-off-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
2023-04-18 07:16:46 -05:00
Fredrik Adelöw c355768f32 Merge pull request #17279 from backstage/a11y/software-templates
[Accessibility] fix accessibility issues for software templates
2023-04-13 15:03:12 +02:00
blam a4cab5b914 chore: some feedback
Signed-off-by: blam <ben@blam.sh>
2023-04-11 16:27:32 +02:00
blam d2488f5e54 chore: added changeset
Signed-off-by: blam <ben@blam.sh>
2023-04-11 14:48:02 +02:00
blam 032d21caa3 feat: added progress bar and disable buttons when async validation is running
Signed-off-by: blam <ben@blam.sh>
2023-04-11 14:46:07 +02:00
Emma Indal eb8df1dd8b fix label for template type picker
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2023-04-06 14:56:54 +02:00
Emma Indal 90560e118d fix invalid aria attributes for context menu
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2023-04-06 14:53:32 +02:00
Jack Palmer a64eae0d31 fix: Flip templateFilter to match Array.filter
Signed-off-by: Jack Palmer <jackpalmer@spotify.com>
2023-04-04 10:07:13 +01:00
Patrik Oldsberg 2898b6c8d5 fixes for TypeScript 5.0
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-03-29 12:24:19 +02:00
blam 50c480ae18 chore: fix typescript and updating api-reports
Signed-off-by: blam <ben@blam.sh>
2023-03-21 06:15:28 -04:00
blam 5765e4e4df chore: reworking the TemplatePage to use the new one from -react
Signed-off-by: blam <ben@blam.sh>
2023-03-21 06:15:28 -04:00
blam 57fb2aecbc chore: move template groups to react instead
Signed-off-by: blam <ben@blam.sh>
2023-03-21 06:15:28 -04:00
Min Kim e5ad1bd61e Add changesets and the new api report
Signed-off-by: Min Kim <minkimcello@gmail.com>
Co-authored-by: Taras Mankovski <taras@frontside.com>
2023-03-21 06:15:28 -04:00
Min Kim 2cfd03d737 Update ScaffolderPageContextMenu props to take callbacks
Signed-off-by: Min Kim <minkimcello@gmail.com>
2023-03-20 14:39:20 -04:00
Min Kim 259d3407b9 Add changesets and update api report
Signed-off-by: Min Kim <minkimcello@gmail.com>
2023-03-20 13:36:37 -04:00
Min Kim 7b315f5917 Move and rename ContextMenu to -react/ScaffolderPageContextMenu
Signed-off-by: Min Kim <minkimcello@gmail.com>
2023-03-20 13:36:37 -04:00
Min Kim 7d51e8cb0a Move CategoryPicker to scaffolder-react
Signed-off-by: Min Kim <minkimcello@gmail.com>
2023-03-20 13:36:10 -04:00
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
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
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
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