π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[space][web] Show first names in likes and reorder viewer actions (#14332)
Anand7e80272bb757
diff --git a/web/apps/space/src/components/FileViewer.tsx b/web/apps/space/src/components/FileViewer.tsxindex 3619b862e7..acf9c6be65 100644--- a/web/apps/space/src/components/FileViewer.tsx+++ b/web/apps/space/src/components/FileViewer.tsx@@ -2908,6 +2908,12 @@ export const SpaceFileViewer: React.FC<SpaceFileViewerProps> = ({justifyContent: "flex-end",}}>+ {canComment && (+ <SpaceCommentsButton+ count={commentCount}+ onClick={() => setCommentsOpen(true)}+ />+ )}{showPostLikes &&activePhoto.spaceId &&activePhoto.postId && (@@ -2924,12 +2930,6 @@ export const SpaceFileViewer: React.FC<SpaceFileViewerProps> = ({}/>)}- {canComment && (- <SpaceCommentsButton- count={commentCount}- onClick={() => setCommentsOpen(true)}- />- )}</Box>) : null}</Box>diff --git a/web/apps/space/src/components/PostLikes.tsx b/web/apps/space/src/components/PostLikes.tsxindex b8bb6f4e7b..26bf258a25 100644--- a/web/apps/space/src/components/PostLikes.tsx+++ b/web/apps/space/src/components/PostLikes.tsx@@ -20,6 +20,7 @@ import {spaceTextMuted,} from "styles/colors";import { spaceTouchTargetSize } from "styles/touch-targets";+import { firstNameFrom } from "utils/display";const LikeRow = ({actor,@@ -75,7 +76,7 @@ const LikeRow = ({overflowWrap: "anywhere",}}>- {actor.fullName.trim() || actor.username}+ {firstNameFrom(actor.fullName.trim() || actor.username)}</Box><HugeiconsIconaria-hidden