π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Update social profile link behavior
Anand Baburajanbc62d9a07ce4
diff --git a/web/apps/social/src/pages/index.tsx b/web/apps/social/src/pages/index.tsxindex 23fc62a1d7..e407e70238 100644--- a/web/apps/social/src/pages/index.tsx+++ b/web/apps/social/src/pages/index.tsx@@ -320,7 +320,9 @@ const Page: React.FC = () => {setProfile(null);setOnboardingEntrySource("direct");setSelectedFriendID(null);- setFriends(showMockFriends ? sampleFriends : []);+ setFriends(+ showMockFriends ? sampleFriends : [],+ );setScreen("onboarding");}}/>diff --git a/web/apps/social/src/screens/CreateAccountScreen.tsx b/web/apps/social/src/screens/CreateAccountScreen.tsxindex 7cb62b2251..f1931b7d72 100644--- a/web/apps/social/src/screens/CreateAccountScreen.tsx+++ b/web/apps/social/src/screens/CreateAccountScreen.tsx@@ -359,11 +359,7 @@ export const CreateAccountScreen: React.FC<CreateAccountScreenProps> = ({}}><Box- className={- acceptedTerms- ? "green-bg"- : undefined- }+ className={acceptedTerms ? "green-bg" : undefined}sx={{alignItems: "center",bgcolor: acceptedTerms ? green : "transparent",@@ -450,11 +446,7 @@ export const CreateAccountScreen: React.FC<CreateAccountScreenProps> = ({}}><Box- className={- canCreateAccount- ? "green-bg"- : undefined- }+ className={canCreateAccount ? "green-bg" : undefined}component="button"type="button"disabled={!canCreateAccount}diff --git a/web/apps/social/src/screens/LoginScreen.tsx b/web/apps/social/src/screens/LoginScreen.tsxindex a2de044446..80fb226bec 100644--- a/web/apps/social/src/screens/LoginScreen.tsx+++ b/web/apps/social/src/screens/LoginScreen.tsx@@ -315,11 +315,7 @@ export const LoginScreen: React.FC<LoginScreenProps> = ({}}><Box- className={- canContinue- ? "green-bg"- : undefined- }+ className={canContinue ? "green-bg" : undefined}component="button"type="button"disabled={!canContinue}diff --git a/web/apps/social/src/screens/ProfileScreen.tsx b/web/apps/social/src/screens/ProfileScreen.tsxindex c3066d73c7..02bc948d71 100644--- a/web/apps/social/src/screens/ProfileScreen.tsx+++ b/web/apps/social/src/screens/ProfileScreen.tsx@@ -405,12 +405,23 @@ export const ProfileScreen: React.FC<ProfileScreenProps> = ({>{isPublicProfile ? (<Box+ component="a"+ href="https://ente.com/"+ aria-label="Go to ente.com"sx={{alignSelf: "center",+ color: "inherit",+ cursor: "pointer",justifySelf: "flex-start",lineHeight: 0,overflow: "visible",+ textDecoration: "none",width: 58,+ "&:focus-visible": {+ borderRadius: "4px",+ outline: `2px solid ${green}`,+ outlineOffset: 3,+ },"& svg": {display: "block",overflow: "visible",diff --git a/web/apps/social/src/screens/SetupProfileScreen.tsx b/web/apps/social/src/screens/SetupProfileScreen.tsxindex aa638ac6d4..3007f61736 100644--- a/web/apps/social/src/screens/SetupProfileScreen.tsx+++ b/web/apps/social/src/screens/SetupProfileScreen.tsx@@ -445,11 +445,7 @@ export const SetupProfileScreen: React.FC<SetupProfileScreenProps> = ({}}><Box- className={- canContinue- ? "green-bg"- : undefined- }+ className={canContinue ? "green-bg" : undefined}component="button"type="button"disabled={!canContinue}diff --git a/web/apps/social/src/screens/VerifyEmailScreen.tsx b/web/apps/social/src/screens/VerifyEmailScreen.tsxindex 85352b851b..752d647a73 100644--- a/web/apps/social/src/screens/VerifyEmailScreen.tsx+++ b/web/apps/social/src/screens/VerifyEmailScreen.tsx@@ -433,11 +433,7 @@ export const VerifyEmailScreen: React.FC<VerifyEmailScreenProps> = ({}}><Box- className={- canVerify- ? "green-bg"- : undefined- }+ className={canVerify ? "green-bg" : undefined}component="button"type="button"disabled={!canVerify}