Commit Graph

386 Commits

Author SHA1 Message Date
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
blam 3d60be7c95 chore: fix deps for external depencies now we export some JSX things
Signed-off-by: blam <ben@blam.sh>
2021-05-31 10:30:16 +02:00
blam f487ad12e0 chore: fixing some parts of the build
Signed-off-by: blam <ben@blam.sh>
2021-05-31 10:30:16 +02:00
blam 09fad54e12 tests: added some tests for the new composability helpers
Signed-off-by: blam <ben@blam.sh>
2021-05-31 10:30:16 +02:00
blam 5a6ba065ad chore: reworking a little more to simplify again
Signed-off-by: blam <ben@blam.sh>
2021-05-31 10:30:16 +02:00
blam ca185ff577 feat(scaffolder): added some simple extractors to grab the data
Signed-off-by: blam <ben@blam.sh>
2021-05-31 10:30:16 +02:00
blam bcead6b799 chore: simplify logic a little more and use getComponentData
Signed-off-by: blam <ben@blam.sh>
2021-05-31 10:30:16 +02:00
blam 1124804744 chore: re-add the attachComponentData again, it's a little nicer for now
Signed-off-by: blam <ben@blam.sh>
2021-05-31 10:30:16 +02:00
blam feb0cc5f54 feat(scaffolder/fields): try a simpler way to register
Signed-off-by: blam <ben@blam.sh>
2021-05-31 10:30:16 +02:00
blam 6bba66c0d6 chore: added some more refactor to validate now TODO
Signed-off-by: blam <ben@blam.sh>
2021-05-31 10:30:15 +02:00
blam 73a0f4e52b feat: started some work on making custom fields extensible using the composition API
Signed-off-by: blam <ben@blam.sh>
2021-05-31 10:30:15 +02:00
blam 81e6f5542c chore: starting to addthje scaffolder form extension point
Signed-off-by: blam <ben@blam.sh>
2021-05-31 10:30:15 +02:00
Oliver Sand 2b5b5b54fc Merge pull request #5835 from SDA-SE/feat/scaffolder-support-oneOf
Don't merge with previous from state on form changes
2021-05-28 09:50:16 +02:00
Oliver Sand 1de5d7ef25 Add test for oneOf
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-05-27 14:25:17 +02:00
Oliver Sand f430b6c6fd Don't merge with previous from state on form changes
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-05-27 13:07:08 +02:00
github-actions[bot] b5a0d1c5d7 Version Packages 2021-05-27 10:23:15 +00:00
github-actions[bot] 18285453eb Version Packages 2021-05-20 11:48:46 +00:00
Ben Lambert 31bf41eb65 Merge branch 'master' into blam/deprecate-v1alpha1 2021-05-20 12:08:35 +02:00
Fredrik Adelöw 745b30b081 Merge pull request #5578 from GunnerStraiker1/template-card-owner
Add Owner Field into TemplateCard and ownedBy & ownerOf relations for TemplateEntity
2021-05-20 11:46:44 +02:00
blam 3117288b7b chore: fix formatting and use tooltip instead
Signed-off-by: blam <ben@blam.sh>
2021-05-20 10:33:22 +02:00
blam 9e313e5652 chore: fixing wording for deprecation notice
Signed-off-by: blam <ben@blam.sh>
2021-05-20 09:11:42 +02:00
Victor Perera cefe0447d0 Fixed review corrections
Signed-off-by: Victor Perera <v-vperera@expediagroup.com>
2021-05-19 19:14:08 -05:00
blam 5f53dd2c38 chore: added a UI deprecation too for the templates
Signed-off-by: blam <ben@blam.sh>
2021-05-19 20:39:06 +02:00
github-actions[bot] df31bdca8f Version Packages 2021-05-12 09:39:51 +00:00
dependabot[bot] ee103bc710 chore(deps): bump @testing-library/user-event from 12.8.3 to 13.1.8
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 12.8.3 to 13.1.8.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v12.8.3...v13.1.8)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 14:30:59 +02:00
dependabot[bot] 0b51bcb008 chore(deps): bump react-use from 15.3.8 to 17.2.4
Bumps [react-use](https://github.com/streamich/react-use) from 15.3.8 to 17.2.4.
- [Release notes](https://github.com/streamich/react-use/releases)
- [Changelog](https://github.com/streamich/react-use/blob/master/CHANGELOG.md)
- [Commits](https://github.com/streamich/react-use/compare/v15.3.8...v17.2.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 09:20:46 +00:00
Oliver Sand d6ee183054 Restore for scaffold()
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-05-06 18:28:56 +02:00
Oliver Sand 15e248a107 Migrate all scaffolder API calls to ResponseError
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-05-06 18:22:38 +02:00
Oliver Sand 81ef1d57bf Show error on task page if task does not exist
Signed-off-by: Oliver Sand <oliver.sand@sda-se.com>
2021-05-06 17:51:28 +02:00
github-actions[bot] d397eb470f Version Packages 2021-05-06 08:25:18 +00:00
Victor Perera a23850d4ad spec.owner added into template schema
Signed-off-by: Victor Perera <v-vperera@expediagroup.com>
2021-05-05 14:46:58 -05:00
Victor Perera 0302808d07 Add owner into template card
Signed-off-by: Victor Perera <v-vperera@expediagroup.com>
2021-05-04 19:49:53 -05:00
jrusso1020 9314a85926 Close eventstreams upon completion
Previously we were not closing eventSource's upon completion which
lead to stale eventstream calls persisting across a session in the
scaffolder. This calls eventSource.close() properly in order to
clean up an eventStream once we get completion event

Signed-off-by: jrusso1020 <jrusso@brex.com>
2021-05-03 09:27:44 -06:00
Patrik Oldsberg 79935e2d44 Merge pull request #5505 from backstage/dependabot/npm_and_yarn/json-schema-0.3.0
chore(deps): bump json-schema from 0.2.5 to 0.3.0
2021-04-29 16:39:54 +02:00
github-actions[bot] 44abfaada6 Version Packages 2021-04-29 13:35:03 +02:00
Dominik Henneke 1ca2b94283 Merge remote-tracking branch 'upstream/master' into feat/scaffolder-anyof 2021-04-29 10:38:41 +02:00
Dominik Henneke 08e32cf913 Add support for oneOf and allOf
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-04-29 10:38:33 +02:00
Patrik Oldsberg af95750c5b Merge pull request #5485 from GunnerStraiker1/Starred-templates
Enable Starred templates on Create New Component
2021-04-29 10:35:46 +02:00
dependabot[bot] c04403f619 chore(deps): bump json-schema from 0.2.5 to 0.3.0
Bumps [json-schema](https://github.com/kriszyp/json-schema) from 0.2.5 to 0.3.0.
- [Release notes](https://github.com/kriszyp/json-schema/releases)
- [Commits](https://github.com/kriszyp/json-schema/compare/v0.2.5...v0.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-28 04:26:55 +00:00
Victor Perera 826bcc46b6 Issues/sugestions fixed
Signed-off-by: Victor Perera victorcito001@hotmail.com
Signed-off-by: Victor Perera <v-vperera@expediagroup.com>
2021-04-27 10:36:58 -05:00
Victor Perera b74e3e1efc Enable starred templates on scaffolder
Signed-off-by: Victor Perera <v-vperera@expediagroup.com>
2021-04-26 19:04:51 -05:00
Patrik Oldsberg 19a4dd7103 plugins: removed unused swr dependency
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-26 16:00:09 +02:00
Dominik Henneke 23769512a3 Support anyOf schemas in the scaffolder template
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
2021-04-23 15:24:46 +02:00
github-actions[bot] 034998d537 Version Packages 2021-04-22 13:19:35 +00:00
Fredrik Adelöw 6b0761dbbc Merge pull request #5258 from gtzefrain/accessibility/scaffolder-plugin-headings
Accessibility: Scaffolder Headings adjustments
2021-04-17 14:24:57 +02:00
James Turley cb0206b2b4 Extract top-level UI schema keys in multistep form
Signed-off-by: James Turley <jamesturley1905@googlemail.com>
2021-04-16 13:22:42 +01:00
github-actions[bot] 70be53c939 Version Packages 2021-04-15 15:40:08 +02:00
Patrik Oldsberg 5c725fc763 Merge pull request #5240 from goober/feature/use-external-route-ref-for-scaffolder
Expose the register-component route as an external route from the scaffolder
2021-04-08 16:10:19 +02:00