Tags: hk-qa/ambitqa
Tags
feat: add top-nav button to launch Evaluator standalone (v1.3.9) Adds a "🔬 Evaluate Artifact" button to the top nav bar, next to "⌂ Home", so someone can open the Evaluator directly to score a previously created artifact — without needing to first generate a new response in the chatbot to get the per-response "Evaluate" button. - Reuses the existing openEvaluator(rawMd) function; called with no argument, so it simply opens evaluator.html in a new tab without touching sessionStorage (evaluator's own paste/upload flow handles the rest) - Styled to match the existing .home-badge pill (added font-family: inherit and line-height reset since this one's a <button>, not an <a>, to avoid default browser button styling bleeding through) - No changes to evaluator.html - Version pill bumped v1.3.8 → v1.3.9 Syntax verified clean on both inline <script> blocks.
feat: dedicated Cloudflare Worker for target-page CORS fetch (v1.3.8) Replaces dependence on flaky free public CORS proxies for the Target Application URL fetch feature. Across today's debugging we confirmed 403s, 429s, 500s, and CORS-header errors from api.allorigins.win and corsproxy.io — reproducible specifically on ambitqa.com even after adding a third fallback proxy and auto-retry logic, most likely due to per-referrer rate-limiting on those free services from heavy test traffic during debugging. Changes: - Deployed new Cloudflare Worker (ambitqa-cors-proxy.hkapur-qa.workers.dev) that fetches the target URL server-side and returns it with proper CORS headers — fully within our control, no third-party rate limits - Worker restricts requests to an origin allowlist (ambitqa.com, hk-qa.github.io) so it can't be discovered/abused as an open proxy - chatbot.html: Worker is now the first proxy tried in the fetch chain; the three free public proxies (allorigins.win, corsproxy.io, codetabs.com) remain as fallback in case the Worker ever has an issue - Version pill bumped v1.3.7 → v1.3.8 Verified: confirmed 200 OK via DevTools Network tab, Request URL matching the Worker's hostname exactly, on ambitqa-dev. Syntax verified clean on both inline <script> blocks. New files (not part of the deployed site, kept for reference/ops): - ambitqa-cors-worker.js — the Worker source - DEPLOY_INSTRUCTIONS.md — dashboard deployment steps