Skip to content

Commit 9497c2c

Browse files
committed
Introduce new changeset
1 parent caac240 commit 9497c2c

File tree

6 files changed

+19
-13
lines changed

6 files changed

+19
-13
lines changed

.changeset/brown-garlics-boil.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
'@clerk/tanstack-react-start': patch
3+
'@clerk/localizations': patch
4+
'@clerk/react-router': patch
5+
'@clerk/clerk-js': patch
6+
'@clerk/testing': patch
7+
'@clerk/nextjs': patch
8+
'@clerk/clerk-react': patch
9+
'@clerk/remix': patch
10+
'@clerk/types': patch
11+
---
12+
13+
Introduce `TaskChooseOrganization` component which replaces `TaskSelectOrganization` with a new UI that make the experience similar to the previous `SignIn` and `SignUp` steps

.changeset/five-heads-swim.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

packages/clerk-js/sandbox/template.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,9 @@
157157
<li class="relative">
158158
<a
159159
class="relative isolate flex w-full rounded-md border border-white px-2 py-[0.4375rem] text-sm hover:bg-gray-50 aria-[current]:bg-gray-50"
160-
href="/task-select-organization"
160+
href="/task-choose-organization"
161161
>
162-
TaskSelectOrganization
162+
TaskChooseOrganization
163163
</a>
164164
</li>
165165
<li class="relative">

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ import type {
3030
AuthenticateWithGoogleOneTapParams,
3131
AuthenticateWithMetamaskParams,
3232
AuthenticateWithOKXWalletParams,
33+
Clerk as ClerkInterface,
3334
ClerkAPIError,
3435
ClerkAuthenticateWithWeb3Params,
35-
Clerk as ClerkInterface,
3636
ClerkOptions,
3737
ClientJSONSnapshot,
3838
ClientResource,

packages/clerk-js/src/ui/components/SessionTasks/tasks/TaskChooseOrganization/__tests__/TaskChooseOrganization.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ describe('TaskChooseOrganization', () => {
6767
});
6868
});
6969

70-
it('shows select organization screen when user has existing organizations', async () => {
70+
it('shows choose organization screen when user has existing organizations', async () => {
7171
const { wrapper, fixtures } = await createFixtures(f => {
7272
f.withOrganizations();
7373
f.withForceOrganizationSelection();
@@ -107,7 +107,7 @@ describe('TaskChooseOrganization', () => {
107107
});
108108
});
109109

110-
it('allows switching between select and create organization screens', async () => {
110+
it('allows switching between choose and create organization screens', async () => {
111111
const { wrapper, fixtures } = await createFixtures(f => {
112112
f.withOrganizations();
113113
f.withForceOrganizationSelection();

packages/localizations/src/en-US.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const enUS: LocalizationResource = {
1515
},
1616
chooseOrganization: {
1717
title: 'Choose an organization',
18-
subtitle: 'Select the organization with which you wish to continue',
18+
subtitle: 'Join an existing organization or create a new one',
1919
suggestionsAcceptedLabel: 'Pending approval',
2020
action__createOrganization: 'Create new organization',
2121
action__suggestionsAccept: 'Request to join',

0 commit comments

Comments
 (0)