You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 89ce3ef
Browse filesBrowse the repository at this point in the historyBrowse files
fix(mosaic): let account section controllers own row pending state
Connected accounts now disables account menus while a connection starts,
so removal can no longer begin mid-connect, and removal shares the
section lock. Enterprise accounts moves onto the shared pending action,
so a connect error clears when any connection starts.
Copy file name to clipboardExpand all lines: packages/mosaic/src/features/user-profile/user-profile-connected-accounts-section/__tests__/user-profile-connected-accounts.connect.feature.test.tsx
Copy file name to clipboardExpand all lines: packages/mosaic/src/features/user-profile/user-profile-connected-accounts-section/user-profile-connected-account-row.view.tsx
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -19,13 +19,11 @@ import type {
19
19
20
20
exportfunctionUserProfileConnectProviderRowView({
21
21
provider,
22
-
isPending,
23
22
isDisabled,
24
23
onConnect,
25
24
triggerRef,
26
25
}: {
27
26
provider: UserProfileConnectionProvider;
28
-
isPending: boolean;
29
27
isDisabled: boolean;
30
28
onConnect: (id: string)=>void;
31
29
triggerRef?: Ref<HTMLButtonElement>;
@@ -58,8 +56,8 @@ export function UserProfileConnectProviderRowView({
Copy file name to clipboardExpand all lines: packages/mosaic/src/features/user-profile/user-profile-connected-accounts-section/user-profile-connected-accounts-section.controller.ts
Copy file name to clipboardExpand all lines: packages/mosaic/src/features/user-profile/user-profile-connected-accounts-section/user-profile-connected-accounts-section.types.ts
Copy file name to clipboardExpand all lines: packages/mosaic/src/features/user-profile/user-profile-connected-accounts-section/user-profile-connected-accounts-section.view.tsx
+3-5Lines changed: 3 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ export function UserProfileConnectedAccountsSectionView({
18
18
accounts,
19
19
sectionRef,
20
20
availableProviders =[],
21
-
pendingId,
21
+
isDisabled =false,
22
22
onConnect,
23
23
onReconnect,
24
24
registerTrigger,
@@ -31,7 +31,6 @@ export function UserProfileConnectedAccountsSectionView({
Copy file name to clipboardExpand all lines: packages/mosaic/src/features/user-profile/user-profile-enterprise-accounts-section/user-profile-enterprise-account-row.view.tsx
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -14,12 +14,10 @@ import type { UserProfileEnterpriseAccount } from './user-profile-enterprise-acc
Copy file name to clipboardExpand all lines: packages/mosaic/src/features/user-profile/user-profile-enterprise-accounts-section/user-profile-enterprise-accounts-section.controller.ts
Copy file name to clipboardExpand all lines: packages/mosaic/src/features/user-profile/user-profile-enterprise-accounts-section/user-profile-enterprise-accounts-section.types.ts
Copy file name to clipboardExpand all lines: packages/mosaic/src/features/user-profile/user-profile-enterprise-accounts-section/user-profile-enterprise-accounts-section.view.tsx
0 commit comments