feat: replace the starring page with a person page

A credit now opens /person/{id}: portrait, name, department, life dates and
birthplace, the biography, and the full filmography ranked by vote count.
One request carries all of it — combined_credits rides along on the person
call — so the discover based starring query and its with_people filter go.

The biography fills whatever height the portrait leaves and fades where it
is cut, with the whole text in a tooltip on hover; a phone has no height to
respect there, so it simply runs on.

Route level and query level skeletons stand in while it loads, built from
the shadcn primitive.

Development server side fetches go over the loopback rather than SITE_URL,
which is a LAN address meant for other devices: once that address moves the
fetch hangs until undici times out, ten seconds per navigation.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
nerandClaude Opus 5 committed 2026-08-04 22:09:33 +03:00
1 parent 6fc41c0901
commit 3dc2ebfe53
22 files changed
+342 -108

No files matched your search

@@ -39,11 +39,7 @@ const Availability: FC<Props> = ({ availability, className }) => {
const Icon = ICONS[state];
return (
<Hint
lines={getLabels(availability, state)}
className={className}
triggerClassName='text-muted-foreground transition-colors hover:text-foreground'
>
<Hint lines={getLabels(availability, state)} className={className}>
<Icon size={16} />
</Hint>
);
@@ -52,11 +52,7 @@ const components: VirtuosoProps<Actor, Context>['components'] = {
style={{ width: context?.width, height: context?.height }}
className='relative shrink-0 cursor-pointer snap-start self-end bg-card text-card-foreground transition-shadow hover:shadow-lg'
>
<Link
prefetch={false}
href={`/starring?actorId=${actor.id}&title=${encodeURIComponent(actor.name)}`}
onClick={() => context?.onClick?.(actor.id.toString())}
>
<Link prefetch={false} href={`/person/${actor.id}`} onClick={() => context?.onClick?.(actor.id.toString())}>
<div className='overflow-hidden rounded-lg'>
<img height={180} width={120} loading='lazy' src={actor.photoUrl} alt={actor.name} />
</div>