SPEC-QA-ANALYTICS-001

Hub Popularity, Feedback & Analytics QA Suite

โ† Back to Test Center

This testbed verifies edge-based page view tracking, article helpfulness feedback (with KV persistence / in-memory fallbacks), context-aware Chat-Next triggers (ask_a_question & report_a_problem), and dynamic popularity ranking.

๐Ÿ›ก๏ธ QA & Tester Guidance โ€” Production Data Policy

Zero-Fake-Data Invariant: In production, article view counters and helpfulness badges strictly display verified, live reader engagement and start at 0. The Community Trending Spotlight on /hub remains dynamically hidden until genuine community reads are recorded.

On this test harness, isTest: true flags are enabled so you can simulate article reads, trigger upvotes, test Chat-Next context slots, and verify Edge API payloads without skewing live production metrics.

๐Ÿงช Test 1: Live Article Feedback Bar Component

Below is an embedded instance of ArticleFeedbackBar.astro attached to real catalog story /hub/c000-896:

Article FeedbackWas this information helpful?

Your feedback helps our team keep Street Youth Ministry resources up to date.

โšก Test 2: Edge Functions API Endpoint Runner

Terminal Output / JSON Responses:
System ready. Click an endpoint test or "Run Full API Suite" to begin.

๐Ÿ’ฌ Test 3: Chat-Next Context Triggers (Ask Question & Report Problem)

Clicking these buttons will dispatch a sym:card-selected custom event to test loading the new form schemas with pre-filled article context:

Trigger: "Ask a Question"Form: ask_a_question

Dispatches form with article context: "Glimmers of Hope: Building Credit, Building Independence".

Trigger: "Report a Problem"Form: report_a_problem

Dispatches form with severity checklist and resource context: "2025 Highlights #4 - Nourishing the Neighborhood".