Vanilla Breeze

trust-filter

Filter pages by provenance, review level, status, and signed state. Interactive checkbox chips drive a live results list.

Overview

Reads pages.json and presents four orthogonal dimensions as checkbox groups: provenance, review level, status, and signed state. Multiple chips combine with OR within a dimension and AND across dimensions.

This is the most direct expression of the meta-tag contract from a reader's perspective — it answers questions like show me every page that's AI-generated and editor-reviewed and signed.

Attributes

AttributeTypeDefaultDescription
data-lens-srcstringURL to pages.json
srcstringAlias for data-lens-src

Events

EventDetailWhen
trust-filter:change{ selected, count }Reader changes any chip; selected is a per-dimension array of values

Provenance composition

The vb:provenance attribute is space-composable (e.g., "ai-generated translated"). The trust-filter splits each page's tokens and matches against any selected chip. A page tagged "ai-generated translated" matches both the ai-generated chip and the translated chip independently.