client review by episode filter added
Deploy / deploy (push) Failing after 47s

This commit is contained in:
twotalesanimation
2026-06-24 11:20:33 +02:00
parent 1a5a56cf4c
commit bb7368ab06
7 changed files with 388 additions and 16 deletions
+16 -2
View File
@@ -2,7 +2,7 @@
import { useState } from "react";
import { useRouter } from "next/navigation";
import { ExternalLink, Copy, Check, Trash2, Clock } from "lucide-react";
import { ExternalLink, Copy, Check, Trash2, Clock, Film } from "lucide-react";
import { Button } from "@/components/ui/button";
import { useToast } from "@/components/ui/use-toast";
import { cn, formatRelativeDate } from "@/lib/utils";
@@ -15,6 +15,7 @@ interface ReviewSession {
expiresAt: Date | string | null;
accessCount: number;
isActive: boolean;
allowedEpisodes: string[];
project: { name: string };
}
@@ -101,7 +102,20 @@ export function ReviewSessionList({ sessions }: ReviewSessionListProps) {
</>
)}
</div>
<p className="font-mono text-xs text-zinc-600 truncate mt-1">{portalUrl}</p>
<div className="font-mono text-xs text-zinc-600 truncate mt-1">{portalUrl}</div>
{session.allowedEpisodes && session.allowedEpisodes.length > 0 && (
<div className="flex items-center gap-1.5 mt-1.5 flex-wrap">
<Film className="h-3 w-3 text-violet-400 shrink-0" />
{session.allowedEpisodes.map((ep) => (
<span
key={ep}
className="text-xs px-1.5 py-0.5 rounded bg-violet-500/10 text-violet-300 border border-violet-500/20"
>
{ep}
</span>
))}
</div>
)}
</div>
<div className="flex items-center gap-1.5 shrink-0">