From 3152c66bd2c0e692aa817de0b087d3f779e65e3b Mon Sep 17 00:00:00 2001
From: Jannis Braun <151788261+TheZwiss@users.noreply.github.com>
Date: Fri, 3 Apr 2026 01:02:53 +0200
Subject: [PATCH] fix(web): restore original rounded separator style on friend
rows
---
.../web/src/components/chat/FriendsPage.tsx | 88 +++++++++----------
1 file changed, 42 insertions(+), 46 deletions(-)
diff --git a/packages/web/src/components/chat/FriendsPage.tsx b/packages/web/src/components/chat/FriendsPage.tsx
index a38aad11..8b150e54 100644
--- a/packages/web/src/components/chat/FriendsPage.tsx
+++ b/packages/web/src/components/chat/FriendsPage.tsx
@@ -100,11 +100,11 @@ 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,11 +120,11 @@ 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 => (
cancelFriendRequest(req.id)}
/>
))}
-
+ >
)}
);
@@ -911,43 +911,41 @@ function FriendItem({ friend, onRemove, onDm }: { friend: TaggedFriend, onRemove
const { baseName: friendBaseName } = parseFederatedUsername(friend.username);
const friendDisplayName = friend.displayName ?? friendBaseName;
return (
-
-
-
-
-
-
- {friendDisplayName}
- @{friend.username}
-
-
- {statusLabel[friend.status] ?? friend.status}
- {instanceLabel && (
- via {instanceLabel}
- )}
-
+
+
+
+
+
+ {friendDisplayName}
+ @{friend.username}
+
+
+ {statusLabel[friend.status] ?? friend.status}
+ {instanceLabel && (
+ via {instanceLabel}
+ )}
-
-
-
-
+
+
+
+
);
@@ -967,10 +965,9 @@ function RequestItem({ request, type, onAccept, onDecline, onCancel }: {
const reqDisplayName = user.displayName ?? reqBaseName;
return (
-
-
-
-
+
+
+
{reqDisplayName}
@@ -1017,7 +1014,6 @@ function RequestItem({ request, type, onAccept, onDecline, onCancel }: {
)}
-
);