Promote on detection

Signed-off-by: Émile Ré <emile@probo.com>
This commit is contained in:
Émile Ré
2026-05-26 16:01:01 +02:00
parent ceb98740a5
commit 27a9f83825
6 changed files with 194 additions and 4 deletions

View File

@@ -232,8 +232,8 @@ export default function CookieBannerTrackersPage({
>
<Thead>
<Tr>
<SortableTh field="NAME">{__("Name")}</SortableTh>
<Th>{__("Type")}</Th>
<SortableTh field="NAME">{__("Name")}</SortableTh>
<SortableTh field="SOURCE">{__("Source")}</SortableTh>
<Th>{__("Category")}</Th>
<SortableTh field="LAST_MATCHED_AT">{__("Last Matched")}</SortableTh>

View File

@@ -301,6 +301,9 @@ export function TrackerPatternRow({ patternKey, connectionId }: TrackerPatternRo
return (
<Tr to={pattern.id} className={pattern.excluded ? "bg-txt-quaternary opacity-80 line-through" : undefined}>
<Td>
<Badge variant={typeBadge.variant}>{typeBadge.label}</Badge>
</Td>
<Td>
<div className="flex flex-col min-w-0 max-w-xs">
<span className={pattern.excluded ? undefined : "font-medium"}>{pattern.displayName}</span>
@@ -311,9 +314,6 @@ export function TrackerPatternRow({ patternKey, connectionId }: TrackerPatternRo
)}
</div>
</Td>
<Td>
<Badge variant={typeBadge.variant}>{typeBadge.label}</Badge>
</Td>
<Td>
{srcBadge
? <Badge variant={srcBadge.variant}>{srcBadge.label}</Badge>