Link cookie policy doc and revamp tracker rows

Expose the generated cookie policy Document on the CookieBanner
GraphQL type through a nullable policyDocument field and resolver,
and surface a link to it from the banner configuration header next
to the origin and ID. The link is hidden until a banner version is
published and the document exists.

Rework the tracker table rows: drop the Source column in favour of
a tracker Type badge, and move each tracker's description inline
beneath its name (and into the add/edit row inputs) instead of a
separate Description column.

Signed-off-by: Émile Ré <emile@probo.com>
This commit is contained in:
Émile Ré
2026-06-02 15:46:42 +02:00
parent e9b36bed14
commit 9c4b6aff18
7 changed files with 103 additions and 53 deletions

View File

@@ -153,6 +153,8 @@ type CookieBanner implements Node {
latestVersion: CookieBannerVersion @goField(forceResolver: true)
policyDocument: Document @goField(forceResolver: true)
consentRecords(
first: Int
after: CursorKey