Support UI extensions#1392
Conversation
…port-ui-extensions
🦋 Changeset detectedLatest commit: 2719c26 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
…port-ui-extensions # Conflicts: # packages/react/src/components/checkout/form/checkout-form.tsx # packages/react/src/lib/godaddy/checkout-env.ts
|
Thanks for the work here. The runtime shape looks good overall, and the React package checks are green from my local pass after building the workspace dependency. Before approval, I think we should tighten up these three items:
|
Summary
Adds Phase 1 checkout UI extension runtime support to
@godaddy/react.This introduces a production-shaped bridge runtime that can discover enabled store UI extensions, load deterministic CDN-hosted DOM bundles, and mount them into checkout target slots without blocking
checkout. Phase 1 intentionally supports trusted in-page DOM bundles while preserving runtime seams for a future worker/SDK-based UI extension architecture.
Key goals addressed:
cdnUrl,target,applicationId, andreleaseId.initialProps.GoDaddyProviderdebug logging, without changing runtime behavior.Changeset
Test Plan
Validated locally with:
pnpm --filter @godaddy/react typecheck pnpm --filter @godaddy/react test -- --runInBand pnpm --filter @godaddy/react lint pnpm --filter @godaddy/react buildResults:
Additional coverage added for: