Skip to content

Commit 5aebc26

Browse files
committed
Add changeset
1 parent 9edbcab commit 5aebc26

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.changeset/flat-ravens-call.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
'@clerk/clerk-js': minor
3+
'@clerk/shared': minor
4+
'@clerk/clerk-react': minor
5+
'@clerk/vue': minor
6+
---
7+
8+
Introduce in-app development prompt to enable the Organizations feature
9+
10+
In development instances, when using organization components or hooks for the first time, developers will see a prompt to enable the Organizations feature directly in their app, eliminating the need to visit the Clerk Dashboard.

packages/clerk-js/src/core/clerk.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -776,6 +776,8 @@ export class Clerk implements ClerkInterface {
776776
void this.#componentControls
777777
.ensureMounted({ preloadHint: 'EnableOrganizationsPrompt' })
778778
.then(controls => controls.openModal('enableOrganizationsPrompt', props || {}));
779+
780+
this.telemetry?.record(eventPrebuiltComponentMounted('EnableOrganizationsPrompt', props));
779781
};
780782

781783
public __internal_closeEnableOrganizationsPrompt = (): void => {

0 commit comments

Comments
 (0)