Commit Graph

192 Commits

Author SHA1 Message Date
Heikki Hellgren 10f0efdcb7 test: fix failing template card test
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2024-02-06 08:34:51 +02:00
Alec Jacobs d530f574da fix(scaffolder-react): always display a single divider below template description
Signed-off-by: Alec Jacobs <cajacobs5401@gmail.com>
2024-02-02 15:08:24 +01:00
Alec Jacobs 2985186160 fix(scaffolder-react): prevent erroneous render when empty links are provided
Signed-off-by: Alec Jacobs <cajacobs5401@gmail.com>
2024-02-02 15:08:24 +01:00
Ben Lambert 387f51cca0 Merge pull request #22404 from awanlin/topic/template-context-menu
Added context menu to scaffolder pages
2024-01-30 10:00:42 +01:00
blam a8b0c802b0 chore: make sure to keep the existing uiSchema when parsing dependencies
Signed-off-by: blam <ben@blam.sh>
2024-01-29 14:12:36 +01:00
Ben Lambert c73ce21018 Merge pull request #22566 from acierto/issue-20256
Fix for issue 20256: Bug Report: converting circular structure to JSON error
2024-01-29 11:52:50 +01:00
bnechyporenko 4131bd2724 Fix for issue 20256: Bug Report: converting circular structure to JSON error
Signed-off-by: bnechyporenko <bnechyporenko@bol.com>
2024-01-27 22:59:17 +01:00
Patrick Jungermann b07ec70c90 feat(scaffolder): Use more distinguishable icons for link and text output
Use more distinguishable icons for link (`Link`) and text output (`Description`).

Currently, both use the same icon `Web` (until specified explicitly at the template).
For a user, it is not really clear which of these will open more output below it
vs open a URL/a new tab.

Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2024-01-27 17:21:25 +01:00
Andre Wanlin 30c212f11b Removed commented out code
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2024-01-26 13:09:50 -06:00
Andre Wanlin 31f0a0a2da Added context menu to scaffolder pages
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2024-01-26 13:08:31 -06:00
Ben Lambert b5f81613b1 Merge pull request #22236 from acierto/rec-tasks-version-1
Recoverable tasks [version 1]
2024-01-23 14:52:03 +01:00
bnechyporenko 49268c38da Merge remote-tracking branch 'origin/master' into rec-tasks-version-1 2024-01-20 15:22:55 +01:00
Heikki Hellgren 0b0c6b6dcb feat: allow defining the default text output in template
the previous #22243 did not even work as the output.text is not defined
when mounting the component. but this fixes that and also allows to
define the default output text for scaffolder template.

Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2024-01-19 13:38:53 +02:00
blam 029295cd94 chore: remove the legacy exports from alpha
Signed-off-by: blam <ben@blam.sh>
2024-01-19 10:05:48 +01:00
bnechyporenko 8e221cfc48 Merge remote-tracking branch 'origin/master' into rec-tasks-version-1
# Conflicts:
#	plugins/scaffolder-common/src/Template.v1beta3.schema.json
2024-01-16 13:05:00 +01:00
Ben Lambert 3b986e39bd Merge pull request #22243 from drodil/scaffolder_default_output_text
feat: show first scaffolder output text by default
2024-01-16 10:38:05 +01:00
Heikki Hellgren d16f85f237 feat: show first scaffolder output text by default
usually there's only one output text that could be shown automatically
when the output is shown.

Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
2024-01-15 14:40:59 +02:00
bnechyporenko 11b9a08e92 Recoverable tasks [version 1]
Signed-off-by: Bogdan Nechyporenko <bnechyporenko@bol.com>
Signed-off-by: bnechyporenko <bnechyporenko@bol.com>
2024-01-14 16:24:05 +01:00
bnechyporenko ce30118cf0 Scaffolder: Fix for a step with no properties
Signed-off-by: Bogdan Nechyporenko <bnechyporenko@bol.com>
Signed-off-by: bnechyporenko <bnechyporenko@bol.com>
2024-01-05 08:46:52 +01:00
Ben Lambert 9667fc0840 Merge pull request #21878 from NeuralEvolution/feat/21476-scaffolder-custom-error-list
feat(Stepper): adds custom error list for the top of the form
2023-12-19 16:25:44 +01:00
blam 583c362cd7 bug: Fix the issue with the secrets not being taken into account properly
Signed-off-by: blam <ben@blam.sh>
2023-12-19 14:12:29 +01:00
blam 734c40811c chore: update comment and api-reprots
Signed-off-by: blam <ben@blam.sh>
2023-12-19 11:02:28 +01:00
blam 2fa5f646b2 feat: Stepper needs to be wrapped in the SecretsContext
Signed-off-by: blam <ben@blam.sh>
2023-12-19 10:29:33 +01:00
blam c963bcee4c chore: improve the implementation a little bit
Signed-off-by: blam <ben@blam.sh>
2023-12-18 17:22:02 +01:00
Matthew Prinold 2f0a55bce5 fix(errorListTemplate.test): updates import
Signed-off-by: Matthew Prinold <matthewprinold@gmail.com>
2023-12-15 10:20:26 +00:00
Matthew Prinold 51df92199d feat(Stepper): adds custom error list for the top of the form
Signed-off-by: Matthew Prinold <matthewprinold@gmail.com>
2023-12-15 10:05:16 +00:00
blam b548f02fbf chore: fix a bug that properties is set to empty object when it should not be present when parsing template schema
Signed-off-by: blam <ben@blam.sh>
2023-12-15 09:42:32 +01:00
solimant c8908d4b62 Use new option from RJSF 5.15
Signed-off-by: solimant <solimant@users.noreply.github.com>
2023-12-07 16:48:55 +00:00
Jasper Boeijenga 5bb52409ee Fixed issue for showing undefined for hidden form items
Signed-off-by: Jasper Boeijenga <jboeijenga@gmail.com>
2023-11-30 09:10:18 +01:00
Federico Morreale f4f4c33912 Revert "refactor: apply overflow on default theme"
This reverts commit 418e6bc133.

Signed-off-by: Federico Morreale <frc.morreale@gmail.com>
2023-11-28 10:19:59 +01:00
Federico Morreale 418e6bc133 refactor: apply overflow on default theme
Signed-off-by: Federico Morreale <frc.morreale@gmail.com>
2023-11-27 17:17:31 +01:00
Federico Morreale 2aee53bbeb fix: add slider if stepper overflows
Signed-off-by: Federico Morreale <frc.morreale@gmail.com>
2023-11-27 16:17:46 +01:00
Ben Lambert 406a95b4f6 Merge pull request #21439 from nabiltntn/change-enum-review-display
Display enum label from enumNames in review if used
2023-11-27 10:42:11 +01:00
nabiltntn fa66d1b5b3 Display enum label from enumNames in review if used
Signed-off-by: nabiltntn <zouabi.nabil@live.com>
2023-11-21 21:47:58 +01:00
Patrik Oldsberg b70b16c5b6 Merge pull request #21425 from backstage/freben/themeee
remove even more BackstageTheme usages
2023-11-21 11:38:22 +01:00
Fredrik Adelöw 1d7c989db2 remove even more BackstageTheme usages
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-11-20 15:52:05 +01:00
Ben Lambert 89faef0e7a Merge pull request #21261 from fedy97/feature/steps-clickable
feat: step titles are now clickable
2023-11-20 13:34:50 +01:00
Fredrik Adelöw 11a24e8a3a Merge pull request #21256 from backstage/renovate/typescript-5.x
chore(deps): update dependency typescript to v5.2.2
2023-11-16 13:57:35 +01:00
Fredrik Adelöw aaa6fb3bc9 fix types
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-11-16 12:04:48 +01:00
Federico Morreale 64358b0980 fix: review changes
Signed-off-by: Federico Morreale <frc.morreale@gmail.com>
2023-11-14 10:32:59 +01:00
Ben Lambert b651259971 Merge pull request #20281 from tperehinets/scaffolder
[scaffolder] - Support filtering out of `steps` and `fields` based on `featureFlags`
2023-11-14 10:06:17 +01:00
blam 108bbb7858 tests: fixing the tests
Signed-off-by: blam <ben@blam.sh>
2023-11-14 09:48:25 +01:00
Federico Morreale e516bf4da8 feat: step titles are now clickable
Signed-off-by: Federico Morreale <frc.morreale@gmail.com>
2023-11-13 18:34:00 +01:00
blam e420b5af5a chore: updating the api for hiding icons
Signed-off-by: blam <ben@blam.sh>
2023-11-13 12:33:03 +01:00
blam 8966c44b64 chore: fix last things
Signed-off-by: blam <ben@blam.sh>
2023-11-13 11:32:14 +01:00
blam 3f3977dcb0 chore: rebase and fix
Signed-off-by: blam <ben@blam.sh>
2023-11-13 11:22:30 +01:00
tperehinets 13d3d18297 added tests
Signed-off-by: tperehinets <tetiana.perehinets@gmail.com>
2023-11-13 11:12:26 +01:00
tperehinets 1944b1f5b9 Added tests
Signed-off-by: tperehinets <tetiana.perehinets@gmail.com>
2023-11-13 11:12:23 +01:00
tperehinets 367e15404a Moved sorting function to hooks
Signed-off-by: tperehinets <tetiana.perehinets@gmail.com>
2023-11-13 11:11:51 +01:00
tperehinets 407ab6fa86 Fixed featureFlag in scaffolder/next
Signed-off-by: tperehinets <tetiana.perehinets@gmail.com>
2023-11-13 11:10:43 +01:00