diff --git a/packages/web/src/components/chat/FriendsPage.tsx b/packages/web/src/components/chat/FriendsPage.tsx index 68e587c8..a38aad11 100644 --- a/packages/web/src/components/chat/FriendsPage.tsx +++ b/packages/web/src/components/chat/FriendsPage.tsx @@ -100,7 +100,7 @@ export function FriendsPage({ mobile }: FriendsPageProps) {

No one's online right now.

) : ( -
+
{onlineFriends.map(friend => ( setPendingUnfriend({ id: friend.id, name: friend.displayName ?? parseFederatedUsername(friend.username).baseName })} onDm={() => handleOpenDm(friend.id, friend.homeUserId ?? undefined, friend.homeInstance)} /> ))} @@ -120,7 +120,7 @@ export function FriendsPage({ mobile }: FriendsPageProps) {

No friends yet — add someone!

) : ( -
+
{friends.map(friend => ( setPendingUnfriend({ id: friend.id, name: friend.displayName ?? parseFederatedUsername(friend.username).baseName })} onDm={() => handleOpenDm(friend.id, friend.homeUserId ?? undefined, friend.homeInstance)} /> ))} @@ -140,7 +140,7 @@ export function FriendsPage({ mobile }: FriendsPageProps) {

No pending requests — Nori is napping.

) : ( -
+
{pendingIncoming.map(req => ( -
- -
-
- {friendDisplayName} - @{friend.username} -
-
- {statusLabel[friend.status] ?? friend.status} - {instanceLabel && ( - via {instanceLabel} - )} +
+
+
+ +
+
+ {friendDisplayName} + @{friend.username} +
+
+ {statusLabel[friend.status] ?? friend.status} + {instanceLabel && ( + via {instanceLabel} + )} +
-
-
- - +
+ + +
); @@ -965,9 +967,10 @@ function RequestItem({ request, type, onAccept, onDecline, onCancel }: { const reqDisplayName = user.displayName ?? reqBaseName; return ( -
-
- +
+
+
+
{reqDisplayName} @@ -1014,6 +1017,7 @@ function RequestItem({ request, type, onAccept, onDecline, onCancel }: { )} +
); diff --git a/packages/web/src/components/layout/ChannelSidebar.tsx b/packages/web/src/components/layout/ChannelSidebar.tsx index 90e2b61a..2b7f5732 100644 --- a/packages/web/src/components/layout/ChannelSidebar.tsx +++ b/packages/web/src/components/layout/ChannelSidebar.tsx @@ -472,7 +472,7 @@ export function ChannelSidebar() {
- Direct Messages + Direct Messages