feat(frontend): followers/following tabs on remote actor profile with lazy loading + pagination
Some checks failed
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Failing after 9m16s
test / unit (pull_request) Successful in 16m12s
test / integration (pull_request) Failing after 16m54s

This commit is contained in:
2026-05-15 00:51:37 +02:00
parent c536cc2cd4
commit 3c6344f954
3 changed files with 163 additions and 42 deletions

View File

@@ -3,14 +3,19 @@
import { useState } from "react";
import { useAuth } from "@/hooks/use-auth";
import Link from "next/link";
import { followUser, RemoteActor } from "@/lib/api";
import { followUser } from "@/lib/api";
import { Button } from "@/components/ui/button";
import { UserAvatar } from "@/components/user-avatar";
import { toast } from "sonner";
import { UserPlus } from "lucide-react";
interface RemoteUserCardProps {
actor: RemoteActor;
actor: {
handle: string;
displayName: string | null;
avatarUrl: string | null;
url: string;
};
}
export function RemoteUserCard({ actor }: RemoteUserCardProps) {