- {t("cloud:taskSyncManagedByOrganization")}
+ {userInfo.name && (
+
{userInfo.name}
+ )}
+ {userInfo?.email && (
+
{userInfo?.email}
+ )}
+ {userInfo?.organizationName && (
+
+ {userInfo.organizationImageUrl && (
+
+ )}
+
{userInfo.organizationName}
+
+ )}
)}
- {/* Remote Control Toggle - Only shown when both extensionBridgeEnabled and featureRoomoteControlEnabled are true */}
- {userInfo?.extensionBridgeEnabled && featureRoomoteControlEnabled && (
- <>
-
- {t("cloud:remoteControlDescription")}
- {!taskSyncEnabled && (
-
- {t("cloud:remoteControlRequiresTaskSync")}
-
- )}
+ {/* Task Sync Toggle - Always shown when authenticated */}
+
+
+
+ {t("cloud:taskSync")}
+
+
+ {t("cloud:taskSyncDescription")}
+
+ {userInfo?.organizationId && (
+
+ {t("cloud:taskSyncManagedByOrganization")}
- >
- )}
+ )}
- {/* Info text about usage metrics */}
-
- {t("cloud:usageMetricsAlwaysReported")}
-
+ {/* Remote Control Toggle - Only shown when both extensionBridgeEnabled and featureRoomoteControlEnabled are true */}
+ {userInfo?.extensionBridgeEnabled && featureRoomoteControlEnabled && (
+ <>
+
+
+
+ {t("cloud:remoteControl")}
+
+
+
+ {t("cloud:remoteControlDescription")}
+ {!taskSyncEnabled && (
+
+ {t("cloud:remoteControlRequiresTaskSync")}
+
+ )}
+
+ >
+ )}
-
-
+ {/* Info text about usage metrics */}
+
+ {t("cloud:usageMetricsAlwaysReported")}
+
-
-
- {t("cloud:visitCloudWebsite")}
-
-
- {t("cloud:logOut")}
-
-
- >
- ) : (
- <>
-
-
{renderCloudBenefitsContent(t)}
+
+
- {!authInProgress && (
-
- {t("cloud:connect")}
+
+
+ {t("cloud:visitCloudWebsite")}
- )}
+
+ {t("cloud:logOut")}
+
+
+ >
+ ) : (
+ <>
+
+
{renderCloudBenefitsContent(t)}
- {/* Manual entry section */}
- {authInProgress && !showManualEntry && (
- // Timeout message with "Having trouble?" link
-
-
-
- {t("cloud:authWaiting")}
+ {!authInProgress && (
+
+ {t("cloud:connect")}
+
+ )}
+
+ {/* Manual entry section */}
+ {authInProgress && !showManualEntry && (
+ // Timeout message with "Having trouble?" link
+
+
+
+ {t("cloud:authWaiting")}
+
+ {!showManualEntry && (
+
+ {t("cloud:havingTrouble")}
+
+ )}
- {!showManualEntry && (
-
- {t("cloud:havingTrouble")}
-
- )}
-
- )}
+ )}
- {showManualEntry && (
- // Manual URL entry form
-
-
- {t("cloud:pasteCallbackUrl")}
-
-
-
- or{" "}
-
- {t("cloud:startOver")}
-
-
-
- )}
-
- >
- )}
- {cloudApiUrl && cloudApiUrl !== PRODUCTION_ROO_CODE_API_URL && (
-
-
-
-
{t("cloud:cloudUrlPillLabel")}:
-
- {cloudApiUrl}
-
+ {showManualEntry && (
+ // Manual URL entry form
+
+
+ {t("cloud:pasteCallbackUrl")}
+
+
+
+ or{" "}
+
+ {t("cloud:startOver")}
+
+
+
+ )}
+
+ >
+ )}
+ {cloudApiUrl && cloudApiUrl !== PRODUCTION_ROO_CODE_API_URL && (
+
+
+
+ {t("cloud:cloudUrlPillLabel")}:
+
+ {cloudApiUrl}
+
+
-
- )}
-
+ )}
+
+
)
}