Commit Graph

397 Commits

Author SHA1 Message Date
blam a5ee952079 feat: simplify the extension redirects
Signed-off-by: blam <ben@blam.sh>
2024-08-23 17:03:40 +02:00
blam ba3d5357cd chore: small api change for allowing the replace option for createExtensionInput
Signed-off-by: blam <ben@blam.sh>
2024-08-22 17:39:40 +02:00
blam 757d8d704d chore: added a replaces option to the extensionInput wrapper
Signed-off-by: blam <ben@blam.sh>
2024-08-22 16:20:26 +02:00
blam e8bf80d8ae chore: fixing attachment point tests
Signed-off-by: blam <ben@blam.sh>
2024-08-22 13:36:56 +02:00
blam 8f93c021bd chore: update api reports
Signed-off-by: blam <ben@blam.sh>
2024-08-22 13:36:56 +02:00
blam a062f02556 chore: move to having a root extension with apis and app inputs
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>
Signed-off-by: blam <ben@blam.sh>
2024-08-22 13:36:54 +02:00
Patrik Oldsberg 142731f19e Merge pull request #26144 from backstage/rugvip/sparklng
frontend-plugin-api: clean up internal createExtension{,Input,Blueprint} types
2024-08-22 13:34:37 +02:00
Patrik Oldsberg c5d2530000 frontend-plugin-api: clean up internal createExtension{,Input,Blueprint} types
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-08-21 22:40:00 +02:00
blam cbe3ad7a1e chore: fixing tests and components
Signed-off-by: blam <ben@blam.sh>
2024-08-21 14:52:26 +02:00
blam 66736f9e7d feat: move some implementations from the app setup to extensions instead
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.se>
Signed-off-by: blam <ben@blam.sh>
2024-08-21 14:38:54 +02:00
Patrik Oldsberg acf0e68263 frontend-plugin-api: update test snapshots for createExtensionOverrides
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-08-20 12:15:09 +02:00
Patrik Oldsberg 28311eb02f update API reports for v1 extension removal
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-08-20 12:15:09 +02:00
Patrik Oldsberg 7fb8102c0c frontend-plugin-api: remove deprecated extension creators
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-08-20 12:15:09 +02:00
Patrik Oldsberg 613e199390 frontend-plugin-api: remove deprecations from createComponentExtension
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-08-20 12:15:08 +02:00
Patrik Oldsberg 9727678a7b frontend-plugin-api: stop exporting createSchemaFromZod
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-08-20 12:15:08 +02:00
Patrik Oldsberg af5796f5c3 frontend-plugin-api: remove support for v1 extensions
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-08-20 12:15:08 +02:00
github-actions[bot] 2a2c84ba68 Version Packages 2024-08-20 08:56:34 +00:00
blam 8753a47f5e chore: added deprecation for createComponentExtension
Signed-off-by: blam <ben@blam.sh>
2024-08-19 12:10:18 +02:00
Fredrik Adelöw ebe7c4df7c apply in more places
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-08-16 14:47:49 +02:00
blam 813cac4bf2 introduce ExtensionBoundary.lazy
Signed-off-by: blam <ben@blam.sh>
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
2024-08-16 14:27:27 +02:00
Fredrik Adelöw c32f621931 declare data refs in the blueprints instead of extension creators
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-08-16 14:08:19 +02:00
Patrik Oldsberg d52ed1a562 frontend-plugin-api: store extension ID parts in an object type parameter
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-08-15 22:44:38 +02:00
blam 9afc8a6000 chore: updating the frontend-* packages
Signed-off-by: blam <ben@blam.sh>
2024-08-15 14:37:56 +02:00
blam f149bfc4f8 chore: remove the needless thing
Signed-off-by: blam <ben@blam.sh>
2024-08-15 13:47:45 +02:00
blam 1d58ff6425 chore: update the types a little bit to help with parsing
Signed-off-by: blam <ben@blam.sh>

Signed-off-by: blam <ben@blam.sh>
2024-08-15 13:26:47 +02:00
blam f1e9c08f97 chore: code review comments
Signed-off-by: blam <ben@blam.sh>
2024-08-15 13:26:47 +02:00
blam 9eec064aaf chore: small refactor
Signed-off-by: blam <ben@blam.sh>
2024-08-15 13:26:47 +02:00
blam 4bc4cd969c chore: wip
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>
Co-authored-by: Camila Belo <camilaibs@users.noreply.github.com>
Co-authored-by: Johan Haals <johan@haals.se>
Signed-off-by: blam <ben@blam.sh>
2024-08-15 13:26:46 +02:00
Patrik Oldsberg 1d40a3316f Merge pull request #26011 from backstage/rugvip/frontend-plugin
frontend-plugin-api: renamed createPlugin to createFrontendPlugin
2024-08-14 16:38:14 +02:00
Patrik Oldsberg 9b356dcaac frontend-plugin-api: renamed createPlugin to createFrontendPlugin
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-08-14 16:01:25 +02:00
Fredrik Adelöw a376559a2d Correct the TConfig type
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-08-14 15:56:12 +02:00
github-actions[bot] 003494838b Version Packages (next) 2024-08-13 13:59:06 +00:00
blam 6caed7f675 chore: fix spelling mistake
Signed-off-by: blam <ben@blam.sh>
2024-08-13 09:59:46 +02:00
Ben Lambert bccbcf23bc Merge pull request #25981 from backstage/mob/nfs/plugin-overrides
NFS: Support `plugin.withOverrides` to override extensions from existing plugins
2024-08-13 09:37:09 +02:00
blam b0ef2dc0ba chore: restructure tests and fix api-report
Signed-off-by: blam <ben@blam.sh>
2024-08-13 09:12:21 +02:00
Patrik Oldsberg 4b6301fbae frontend-plugin-api: improved forwarding of inputs
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-08-12 18:41:30 +02:00
blam d0ab4d3356 feat: implementing plugin overrides
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>
Co-authored-by: Camila Belo <camilaibs@users.noreply.github.com>
Co-authored-by: Johan Haals <johan@haals.se>
Signed-off-by: blam <ben@blam.sh>
2024-08-12 17:15:30 +02:00
Patrik Oldsberg b3702ea91b frontend-plugin-api: move out resolveInputOverrides
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-08-12 15:10:16 +02:00
Patrik Oldsberg 4e1ff3407e frontend-plugin-api: refactor createDataContainer -> createExtensionDataContainer
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-08-12 14:22:23 +02:00
blam e2eeb1dde1 chore: wip some things
Signed-off-by: blam <ben@blam.sh>
2024-08-12 14:21:23 +02:00
Patrik Oldsberg d71c7469c7 frontend-plugin-api: clean up output mismatch error message
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-08-12 13:49:41 +02:00
Patrik Oldsberg fb317712fa frontend-plugin-api: fix and update API report
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-08-12 10:09:10 +02:00
Patrik Oldsberg cf3de79c24 frontend-plugin-api: allow clearing multi inputs
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-08-12 09:52:43 +02:00
Patrik Oldsberg 3d7d38d94f frontend-plugin-api: clean up error messages for input overrides
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-08-11 20:04:48 +02:00
Patrik Oldsberg cea81165f4 frontend-plugin-api: add support for overriding input values when overriding extensions
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-08-11 19:57:42 +02:00
Patrik Oldsberg 9f476d1687 frontend-plugin-api: refactor out blueprint input overrides
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-08-11 12:54:01 +02:00
Patrik Oldsberg 51b271f4d3 frontend-plugin-api: validate blueprint original factory output
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-08-10 17:48:36 +02:00
Patrik Oldsberg eab84be933 frontend-plugin-api: validate input override values
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-08-10 13:56:03 +02:00
Patrik Oldsberg c33f8df6eb frontend-plugin-api: initial support for blueprint input overrides
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-08-10 13:45:11 +02:00
blam 0e61507685 chore: updating api-reports and documentation for exported blueprints
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>
Co-authored-by: Camila Belo <camilaibs@users.noreply.github.com>
Signed-off-by: blam <ben@blam.sh>
2024-08-09 15:45:57 +02:00