Add interactive "How Snowplow works" walkthrough - #1788
Add interactive "How Snowplow works" walkthrough#1788Greg Thomson (gthomson31) wants to merge 3 commits into
Conversation
Adds a new docs page at /docs/how-it-works/ with an embedded interactive demo. A single event animates through Track → Collect → Validate → Enrich → Load → Model with the JSON payload growing and a pipeline log streaming alongside. Bad-event path demonstrates the schema-violation flow into the bad stream. Each stage is clickable to revisit its state after a run. The demo lives as a single self-contained HTML file under static/demo/, embedded via a height-fitting iframe wrapper so the docs page scrolls naturally with no inner scrollbar. Page sits in the docs sidebar (sidebar_position 1.5) so customers can still navigate the rest of the docs while exploring it. Homepage gains a CTA card linking to the walkthrough.
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
documentation | a1d869e | May 18 2026, 08:43 AM |
- Use /docs/how-it-works/index.md link form (CLAUDE.md rule). - "context" → "entity" / "entities" in prose; protocol field `contexts` left unchanged. - "bad stream" / "RT Bad Stream" → "failed events stream". - "3rd party" → "Third party"; "Backends & jobs" → "and"; "GTM Server-Side & native" → "and". - "one collector" → "the Collector"; "hit" → "select". - Rewrite the marketing-flavored copy on pipeline subhead, sources intro, and signals bullets in a factual, descriptive register. - Link "event" to /docs/fundamentals/events/index.md on first use.
Style reviewMost of this PR is the standalone HTML demo, but the user-facing copy still needs to follow the style guide. Suggestions, grouped by file:
|
Walkthrough page (docs/how-it-works/index.md): - Rewrite lede in technical tone, use "Snowplow CDI" short form to match the homepage CTA. - Add inline links to entities, schemas, and failed events per "Link to concepts in /docs/fundamentals/" rule. - Mention "Send an invalid event" so readers discover the failed- events path. - Tighten frontmatter description. Homepage CTA (docs/introduction.md): - Rewrite description in factual register. Demo (static/demo/how-it-works.html): - Drop emoji glyphs from buttons and pipeline log; rely on existing bad/good tag colors and button styling. - Converge stream naming on Real-Time Good Stream / Real-Time Bad Stream (proper-noun components) and "failed events" (the concept), matching docs/fundamentals/. - Rephrase the contexts/entities sentence; wrap the JSON field name in <code>, use "entities" everywhere in prose. - Use "20+ tracker SDKs" to match surrounding docs style. - "Pipeline in your cloud account · AWS · GCP · Azure" → "Pipeline runs in your cloud (AWS, GCP, or Azure)". - "Schema Registry (Iglu)" → "Iglu Schema Registry". - "agentic applications" → "AI agents and assistants". - Heading: "Signals — real-time attributes" → "Serve real-time attributes with Signals" (imperative voice).
| @@ -0,0 +1,742 @@ | |||
| <!DOCTYPE html> | |||
There was a problem hiding this comment.
How was this produced, and how will we maintain it?
Summary
Adds a new docs page at
/docs/how-it-works/with an embedded interactive demo that walks a single event through the full Snowplow pipeline. Aimed at both technical evaluators and less-technical buyers — it tells the value story visually instead of asking them to read the architecture page cold.Highlights:
docs/fundamentals/sidebar_position: 1.5) so the rest of the docs nav is always one click awayFiles
static/demo/how-it-works.html— the demo asset (single file, no dependencies, also embeds an auto-resizepostMessageso the iframe fits its content)src/components/ResizingIframe.tsx— Docusaurus-friendly height-fitting iframe wrapper that listens for those resize messagesdocs/how-it-works/index.md— short MDX wrapper with title, lede, and the embedded demodocs/introduction.md— adds a CTA card on the docs homepageTest plan
yarn start— page loads at http://localhost:3000/docs/how-it-works//docs/links here/demo/how-it-works.html(works without docs chrome — useful for embeds elsewhere)Notes / follow-ups