diff --git a/.changeset/welcome-cta-autocreate.md b/.changeset/welcome-cta-autocreate.md new file mode 100644 index 000000000..ed4cef79e --- /dev/null +++ b/.changeset/welcome-cta-autocreate.md @@ -0,0 +1,14 @@ +--- +'@object-ui/components': patch +'@object-ui/app-shell': patch +--- + +Welcome-page "Create your environment" deep-links straight into the create +dialog (#844): `action:button` gains a client-side `autoTrigger` flag (runs +the action once on mount — same execute path as a click, so param dialogs / +confirms / entitlement gates still apply), and the environments list consumes +`?runAction=create_environment` to mark its create action once entitlements +resolve (upgrade-locked orgs get the upgrade prompt instead; the param is +stripped after consumption so refresh/back don't re-open). Also localizes the +EnvironmentListToolbar's state-aware label overrides ({en,zh}) — they were +hard-coded English inside a zh console. diff --git a/packages/app-shell/src/console/home/CloudOnboardingNext.tsx b/packages/app-shell/src/console/home/CloudOnboardingNext.tsx index fd685052a..02797d663 100644 --- a/packages/app-shell/src/console/home/CloudOnboardingNext.tsx +++ b/packages/app-shell/src/console/home/CloudOnboardingNext.tsx @@ -161,7 +161,12 @@ export function CloudOnboardingNext({ properties }: CloudOnboardingNextProps) {