Commit Graph

419 Commits

Author SHA1 Message Date
Patrik Oldsberg 1606bc104d Merge pull request #26245 from backstage/blam/namespace-be-gone
NFS: Introduce `createFrontendModule` as a replacement for `createExtensionOverrides`
2024-08-28 15:04:39 +02:00
blam e0ca667207 chore: smol updates from pr review
Signed-off-by: blam <ben@blam.sh>
2024-08-28 14:16:45 +02:00
blam 3530a64deb chore: api-reports
Signed-off-by: blam <ben@blam.sh>
2024-08-28 10:06:05 +02:00
blam f1e08f7dd8 chore: created a frontend module
Signed-off-by: blam <ben@blam.sh>
2024-08-28 08:52:27 +02:00
blam d103f216b0 chore: cleanup
Signed-off-by: blam <ben@blam.sh>
2024-08-27 17:08:16 +02:00
blam fe0046150a chore: some renames and supporting both formats
Signed-off-by: blam <ben@blam.sh>
2024-08-27 16:15:20 +02:00
blam 8a1ed67ba2 chore: updating api-reports
Signed-off-by: blam <ben@blam.sh>
2024-08-27 16:15:06 +02:00
blam 860f6e7a3f feat: introduced createFrontendModule and deprecating createExtensionOverrides
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: blam <ben@blam.sh>
2024-08-27 15:44:13 +02:00
blam 6780a49d36 chore: deprecate id from createFrontendPlugin
Signed-off-by: blam <ben@blam.sh>
2024-08-27 14:03:52 +02:00
github-actions[bot] 911bbe0d92 Version Packages (next) 2024-08-27 11:41:57 +00:00
blam 1f8012619f chore: remove un-used imports
Signed-off-by: blam <ben@blam.sh>
2024-08-27 13:17:31 +02:00
blam 03e9125c0e chore: fixing tests for RouterBlueprint
Signed-off-by: blam <ben@blam.sh>
2024-08-27 13:11:00 +02:00
blam 85d86bcbc4 chore: small final cleanup
Signed-off-by: blam <ben@blam.sh>
2024-08-27 11:28:22 +02:00
blam e1ea702eca chore: fix some tests
Signed-off-by: blam <ben@blam.sh>
2024-08-27 11:24:38 +02:00
blam 1ca243ddc4 chore: fixing tests for AppRootWrapperBlueprint
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: blam <ben@blam.sh>
2024-08-27 11:24:38 +02:00
blam f66f603ef5 chore: fix some tests
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Signed-off-by: blam <ben@blam.sh>
2024-08-27 11:24:38 +02:00
blam 1a76c4c9ca chore: app runs correctly 🎉
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Signed-off-by: blam <ben@blam.sh>
2024-08-27 11:24:38 +02:00
Patrik Oldsberg 00b9e8c010 update test snapshots for new structure of ExtensionDefinition
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-08-27 10:39:45 +02:00
Patrik Oldsberg 0a317137c5 frontend-plugin-api: use undefined instead of null for extension definition .T
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-08-27 10:39:45 +02:00
Patrik Oldsberg 4f59435848 frontend-plugin-api: make output type parameter optional
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-08-27 10:27:22 +02:00
Patrik Oldsberg ee454fdf53 frontend-plugin-api: refactor ExtensionDefinition and ExtensionBlueprint type params
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-08-27 10:27:21 +02:00
Patrik Oldsberg e6e488cf20 frontend-test-utils: remove render method
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2024-08-27 09:39:08 +02:00
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