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:
@@ -153,6 +153,8 @@ type CookieBanner implements Node {
|
||||
|
||||
latestVersion: CookieBannerVersion @goField(forceResolver: true)
|
||||
|
||||
policyDocument: Document @goField(forceResolver: true)
|
||||
|
||||
consentRecords(
|
||||
first: Int
|
||||
after: CursorKey
|
||||
|
||||
Reference in New Issue
Block a user