π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Adjust space post feedback states
Anand Baburajan6c067693df00
diff --git a/web/apps/space/src/components/SpaceFileViewer.tsx b/web/apps/space/src/components/SpaceFileViewer.tsxindex b69b6e2724..3c77f010a2 100644--- a/web/apps/space/src/components/SpaceFileViewer.tsx+++ b/web/apps/space/src/components/SpaceFileViewer.tsx@@ -46,6 +46,7 @@ const captionInputMinHeight = 40;const replyInputMinHeight = 48;const replyInputPadding = 14;const replyInputPaddingLeft = 18;+const replyActionDoneDurationMs = 1000;const captionInputMaxHeight = 112;const defaultPhotoWidth = 900;const defaultPhotoHeight = 680;@@ -512,7 +513,7 @@ export const SpaceFileViewer: React.FC<SpaceFileViewerProps> = ({const timeoutID = window.setTimeout(() => {setReplyActionPhase(null);setIsReplyFocused(false);- }, spaceActionDoneDurationMs);+ }, replyActionDoneDurationMs);return () => window.clearTimeout(timeoutID);}, [replyActionPhase]);diff --git a/web/apps/space/src/screens/HomeScreen.tsx b/web/apps/space/src/screens/HomeScreen.tsxindex 7825ef3d0f..039a189137 100644--- a/web/apps/space/src/screens/HomeScreen.tsx+++ b/web/apps/space/src/screens/HomeScreen.tsx@@ -810,19 +810,17 @@ const FeedItem: React.FC<FeedItemProps> = ({component="span"aria-label={timestampStatus == "posting"- ? "Posting"+ ? "posting": timestampStatus == "failed"? "Failed"- : "Posted"+ : "posted"}sx={{alignItems: "center",color:- timestampStatus == "posted"- ? green- : timestampStatus == "failed"- ? dangerColor- : "rgba(255, 255, 255, 0.86)",+ timestampStatus == "failed"+ ? dangerColor+ : "rgba(255, 255, 255, 0.86)",display: "inline-flex",fontSize: 12,fontWeight: 500,@@ -831,12 +829,12 @@ const FeedItem: React.FC<FeedItemProps> = ({}}>{timestampStatus == "posted" ? (- <Box component="span">Posted</Box>+ <Box component="span">posted</Box>) : timestampStatus == "failed" ? (<Box component="span">Failed</Box>) : (<>- <Box component="span">Posting</Box>+ <Box component="span">posting</Box><Boxcomponent="span"aria-hidden