Added unidentified actors and actor count filters.

This commit is contained in:
2026-11-11 22:23:50 +01:00
parent 10ac366e87
commit 76ccd3729f
24 changed files with 575 additions and 70 deletions
+11 -1
View File
@@ -33,7 +33,7 @@ const aliasTooltipId = useId();
>
<div class="avatar-container">
<Link
:href="`/actor/${actor.id}/${actor.slug}`"
:href="actor.isUnknown ? null : `/actor/${actor.id}/${actor.slug}`"
class="avatar-link no-link"
>
<img
@@ -101,10 +101,16 @@ const aliasTooltipId = useId();
<span class="label">
<span
v-if="actor.name"
class="name ellipsis"
:style="{ 'font-size': `${Math.max(0.9 + Math.min((17 - actor.name.length), 0) * 0.06, 0.65)}rem` }"
>{{ actor.name }}</span>
<span
v-else
class="name unknown"
>Unknown {{ actor.gender }}</span>
<img
v-if="actor.entity"
v-tooltip="{ content: actor.entity.name, ariaId: entityTooltipId }"
@@ -179,6 +185,10 @@ const aliasTooltipId = useId();
.name {
padding: 0 .25rem 0 .5rem;
&.unknown {
font-weight: normal;
}
}
.favicon {