π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Adjust social feed header actions
Anand Baburajan501f993ae40b
diff --git a/web/apps/social/src/screens/HomeScreen.tsx b/web/apps/social/src/screens/HomeScreen.tsxindex 746640298d..71041118f6 100644--- a/web/apps/social/src/screens/HomeScreen.tsx+++ b/web/apps/social/src/screens/HomeScreen.tsx@@ -489,6 +489,75 @@ export const HomeScreen: React.FC<HomeScreenProps> = ({onChange={handlePostPhotoSelect}sx={{ display: "none" }}/>+ <Box+ component="button"+ type="button"+ aria-label={+ isPostActionPosting+ ? "Posting photo"+ : isPostActionPosted+ ? "Photo posted"+ : "Post photo"+ }+ disabled={postActionPhase != null}+ onClick={openPostPhotoPicker}+ sx={{+ appearance: "none",+ alignItems: "center",+ bgcolor: "transparent",+ border: 0,+ boxSizing: "border-box",+ color: isPostActionPosted ? green : textBase,+ cursor:+ postActionPhase == null ? "pointer" : "default",+ display: "flex",+ fontSize: 0,+ height: 32,+ justifyContent: "center",+ justifySelf: "flex-start",+ lineHeight: 0,+ opacity: 1,+ p: 0,+ placeSelf: "center start",+ width: 28,+ transition: `color ${socialActionTransition}`,+ "& svg": {+ display: "block",+ transform: "translateX(-2px)",+ },+ "&:focus-visible": {+ borderRadius: "6px",+ outline: `2px solid ${green}`,+ outlineOffset: 2,+ },+ }}+ >+ <SocialActionFeedbackIcon+ idleIcon={+ <HugeiconsIcon+ icon={AddSquareIcon}+ size={28}+ strokeWidth={1.8}+ />+ }+ phase={postActionFeedbackPhase}+ size={28}+ />+ </Box>+ <Box+ sx={{+ alignSelf: "center",+ color: textBase,+ justifySelf: "center",+ lineHeight: 0,+ overflow: "visible",+ placeSelf: "center",+ width: 58,+ "& svg": { display: "block", overflow: "visible" },+ }}+ >+ <EnteLogo height={18} />+ </Box><Boxcomponent="button"type="button"@@ -508,9 +577,9 @@ export const HomeScreen: React.FC<HomeScreenProps> = ({display: "flex",height: 28,justifyContent: "center",- justifySelf: "flex-start",+ justifySelf: "flex-end",lineHeight: 0,- placeSelf: "center start",+ placeSelf: "center end",overflow: "hidden",p: 0,width: 28,@@ -549,72 +618,6 @@ export const HomeScreen: React.FC<HomeScreenProps> = ({</Box>)}</Box>- <Box- sx={{- alignSelf: "center",- color: textBase,- justifySelf: "center",- lineHeight: 0,- overflow: "visible",- placeSelf: "center",- width: 58,- "& svg": { display: "block", overflow: "visible" },- }}- >- <EnteLogo height={18} />- </Box>- <Box- component="button"- type="button"- aria-label={- isPostActionPosting- ? "Posting photo"- : isPostActionPosted- ? "Photo posted"- : "Post photo"- }- disabled={postActionPhase != null}- onClick={openPostPhotoPicker}- sx={{- appearance: "none",- alignItems: "center",- bgcolor: "transparent",- border: 0,- boxSizing: "border-box",- color: isPostActionPosted ? green : textBase,- cursor:- postActionPhase == null ? "pointer" : "default",- display: "flex",- fontSize: 0,- height: 32,- justifyContent: "center",- justifySelf: "flex-end",- lineHeight: 0,- opacity: 1,- p: 0,- placeSelf: "center end",- width: 32,- transition: `color ${socialActionTransition}`,- "& svg": { display: "block" },- "&:focus-visible": {- borderRadius: "6px",- outline: `2px solid ${green}`,- outlineOffset: 2,- },- }}- >- <SocialActionFeedbackIcon- idleIcon={- <HugeiconsIcon- icon={AddSquareIcon}- size={28}- strokeWidth={1.8}- />- }- phase={postActionFeedbackPhase}- size={28}- />- </Box></Box><Boxsx={{