Commit Graph

297 Commits

Author SHA1 Message Date
blam 46d264c023 chore: updating beta link now the post is live and making scaffolder beta instead of alpha
Signed-off-by: blam <ben@blam.sh>
2021-07-26 21:03:29 +02:00
chicoribas c87f271a52 Code Review
Signed-off-by: chicoribas <chico.bribas@gmail.com>
2021-07-14 09:23:55 -03:00
chicoribas 6b5c0c3fcf Review fix
Signed-off-by: chicoribas <chico.bribas@gmail.com>
2021-07-13 20:05:49 -03:00
Francisco Ribas 49d814226c Update plugins/scaffolder/src/components/MultistepJsonForm/MultistepJsonForm.tsx
Co-authored-by: Andrea Falzetti <andreafalzetti@users.noreply.github.com>
Signed-off-by: chicoribas <chico.bribas@gmail.com>
2021-07-12 11:29:52 -03:00
Francisco Ribas fe10391180 Update plugins/scaffolder/src/components/MultistepJsonForm/MultistepJsonForm.test.tsx
Co-authored-by: Andrea Falzetti <andreafalzetti@users.noreply.github.com>
Signed-off-by: chicoribas <chico.bribas@gmail.com>
2021-07-12 11:29:52 -03:00
chicoribas d2e4012f45 Change ui:options to ui:backstage
Signed-off-by: chicoribas <chico.bribas@gmail.com>
2021-07-09 14:34:33 -03:00
chicoribas ac96bc7975 Add ui:options to mask and hide
Signed-off-by: chicoribas <chico.bribas@gmail.com>
2021-07-09 11:42:18 -03:00
Ben Lambert a43e5d1de6 Merge pull request #6150 from backstage/mob/use-entity-list-provider-in-scaffolder-page
Use `EntityListProvider` in `ScaffolderPage`
2021-07-08 16:50:55 +02:00
Oliver Sand 549628aac7 Fix export type of ScaffolderFieldExtensions
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-07-07 19:54:16 +02:00
Himanshu Mishra 4588aede97 Merge remote-tracking branch 'origin/master' into mob/use-entity-list-provider-in-scaffolder-page
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-07-07 17:35:39 +02:00
Fredrik Adelöw 02b962394b Added a context parameter to validator functions, letting them have access to the API holder
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-07-07 14:32:26 +02:00
Ben Lambert bbd2ab80a3 Merge pull request #6376 from JosiahCraw/fix/scaffolder-support-uiSchema-for-dependent-forms
Fix/scaffolder support UI schema for dependent forms
2021-07-07 13:20:50 +02:00
blam a41b024a0f feat: removing the last parts of v1alpha1 and fixing up TypeScript
Signed-off-by: blam <ben@blam.sh>
2021-07-07 11:25:37 +02:00
blam a02ea1e4e1 breaking: some more changes in the frontend. removing support for v1alpha1
Signed-off-by: blam <ben@blam.sh>
2021-07-07 11:25:37 +02:00
Jos Craw 538ada54ef fix: add uiSchema support for dependent forms
Signed-off-by: Jos Craw <jos@joscraw.net>
2021-07-07 21:21:01 +12:00
Tim Hansen 9ba647b7f1 Merge branch 'master' into mob/use-entity-list-provider-in-scaffolder-page 2021-07-06 13:28:57 -06:00
Erik Larsson 3a55daf7b6 Authorize scaffolder list actions request
Signed-off-by: Erik Larsson <erik.larsson@schibsted.com>
2021-07-05 23:03:36 +02:00
Tim Hansen d31c048fab Fix TypePicker tests
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-06-29 10:36:25 -06:00
Tim Hansen 315deb8544 entityTypeFilter improvements
- Supports selecting multiple types
- Switch TemplateTypePicker to FormGroup instead of List

Co-authored-by: Joe Porpeglia <josephp@spotify.com>
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-06-28 16:04:43 -06:00
Mike Lewis e5abca34f6 Use new TemplateTypePicker component in ScaffolderPage
Co-authored-by: Tim Hansen <timbonicus@gmail.com>
Co-authored-by: Chase Rutherford-Jenkins <chaseajen@users.noreply.github.com>
Co-authored-by: Himanshu Mishra <himanshum@spotify.com>
Co-authored-by: Joe Porpeglia <josephp@spotify.com>
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-06-28 18:29:57 +01:00
Mike Lewis 2669b41f2f Introduce initial TemplateTypePicker component in scaffolder
Co-authored-by: Tim Hansen <timbonicus@gmail.com>
Co-authored-by: Chase Rutherford-Jenkins <chaseajen@users.noreply.github.com>
Co-authored-by: Himanshu Mishra <himanshum@spotify.com>
Co-authored-by: Joe Porpeglia <josephp@spotify.com>
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-06-28 18:29:24 +01:00
Tim Hansen 8631f422d4 Add tag filter to ScaffolderPage
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-06-24 20:52:14 -06:00
Tim Hansen d5b3c9c7ec Set useEntityListProvider initial loading state
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-06-24 20:43:10 -06:00
Tim Hansen 89749bc2ef Move template list to a separate component
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-06-24 20:15:44 -06:00
Tim Hansen 5f97433a9d Remove deprecated code
Signed-off-by: Tim Hansen <timbonicus@gmail.com>
2021-06-24 20:07:07 -06:00
Chase Rutherford-Jenkins c019accb18 move into catalog-react and rename
Co-authored-by: Tim <timbonicus@gmail.com>
Signed-off-by: Chase Rutherford-Jenkins <chaseajen@users.noreply.github.com>
2021-06-24 19:48:22 -06:00
Chase Rutherford-Jenkins bc2c35b2e1 move search logic into SearchToolbar
Co-authored-by: Tim <timbonicus@gmail.com>
Signed-off-by: Chase Rutherford-Jenkins <chaseajen@users.noreply.github.com>
2021-06-24 19:48:21 -06:00
Mike Lewis f3a53bf046 Start working on refactoring the ScaffolderPage to use the useEntityListProvider hook
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
Co-authored-by: Tim Hansen <timbonicush@spotify.com>
Co-authored-by: Himanshu Mishra <himanshum@spotify.com>
2021-06-24 19:48:19 -06:00
Patrik Oldsberg 9258c54f87 Merge branch 'master' into rugvip/mod 2021-06-22 10:07:18 +02:00
Patrik Oldsberg fb5746cae5 catalog,scaffolder: fixups for failed codemod migrations
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-19 15:33:10 +02:00
Patrik Oldsberg d453c05dc3 apply core-imports codemod to all packages and plugins
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-19 15:33:08 +02:00
Fredrik Adelöw a88073c29a Update copyright headers
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-06-18 20:26:42 +02:00
blam 359a118902 chore: reworking some thigns
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:26 +02:00
blam 969c6750af feat: writing some tests and have a nicer api now
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>

Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:25 +02:00
blam 78ccf9ea98 feat: replace implementations of children introspection with our new thing
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>

Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:25 +02:00
blam d7f0b0bed6 chore: working through beginning API
Signed-off-by: blam <ben@blam.sh>
2021-06-15 12:09:25 +02:00
Oliver Sand 429f9c0bf1 Merge pull request #5957 from SDA-SE/feat/scaffolder-source
Show link to template source on template card
2021-06-10 10:19:02 +02:00
Oliver Sand 9b4010965c Provide a link to the template source on the TemplateCard
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-06-08 14:07:08 +02:00
Oliver Sand 4dba3594ae Deprecate entityRef in output and move it into links, filter empty links
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-06-04 17:19:54 +02:00
Oliver Sand bdcd994160 Display skipped steps
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-06-04 16:30:32 +02:00
Dominik Henneke 76f99a1a0b Export createScaffolderFieldExtension to enable the creation of new field extensions
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-06-03 11:13:45 +02:00
Dominik Henneke 4358d5a1b1 Merge pull request #5882 from SDA-SE/feat/trailing-space
Remove the trailing space from a the aria-label of the Template "CHOOSE" button
2021-06-02 11:03:17 +02:00
Dominik Henneke 3772de8ba3 Remove the trailing space from a the aria-label of the Template "CHOOSE" button
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-06-02 09:49:44 +02:00
Oliver Sand 221ddf1d90 Reuse the EntityPicker inside the OwnerPicker
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-06-01 09:53:03 +02:00
Oliver Sand d9f7774ec4 Fix warning about missing key in looped component
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-06-01 08:55:24 +02:00
Oliver Sand 1157fa3075 Add a <EntityPicker> field to the scaffolder
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-06-01 08:55:24 +02:00
blam c2c83f46a7 chore: making the changes backwards compatible with default extensions being rendered when nothing supplied, and updating changeset to reflect This
Signed-off-by: blam <ben@blam.sh>
2021-05-31 10:59:08 +02:00
blam f0cfac64d2 chore: rename to ScaffolderFieldExtensions
Signed-off-by: blam <ben@blam.sh>
2021-05-31 10:35:54 +02:00
blam b35d36ccc1 chore: fixing tests
Signed-off-by: blam <ben@blam.sh>
2021-05-31 10:31:02 +02:00
blam 5a744b6b6a chore: reworking how the tests work and testing the validation seperately
Signed-off-by: blam <ben@blam.sh>
2021-05-31 10:30:16 +02:00