Hub Popularity, Feedback & Analytics QA Suite
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.
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:
โก Test 2: Edge Functions API Endpoint Runner
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:
Dispatches form with article context: "Glimmers of Hope: Building Credit, Building Independence".
Dispatches form with severity checklist and resource context: "2025 Highlights #4 - Nourishing the Neighborhood".
