Root cause: loadDomains() always hit /api/domains (DuckDB 72M rows) and filtered niche/site_type/prescreen_status client-side on a random page of 100 domains — virtually none had been classified, so Live+Beauty+Ecommerce always returned 0. - loadDomains() now routes to /api/enriched when any enrichment filter is active (prescreen_status, niche, site_type, country) — all filters are server-side SQLite - Falls back to /api/domains only when no enrichment filters are set (discovery mode) - alpha_only and no_sld supported in both modes: - DuckDB: existing regex support - SQLite: LIKE patterns (no hyphens/digits) + dot-count (no SLD) - Add alpha_only/no_sld params to /api/enriched endpoint and get_enriched() - Fix stale d.classified reference in prescreenOne toast Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
14 KiB
14 KiB