Skip to content

Refactor shared app code and load emerging patterns from Supabase - #87

Open
Kulieshova wants to merge 1 commit into
mainfrom
codex/refactor-repo-cleanup
Open

Kulieshova wants to merge 1 commit into
mainfrom
codex/refactor-repo-cleanup

Conversation

@Kulieshova

Copy link
Copy Markdown
Member

What's new

  • Load Emerging patterns from the Supabase trends table used by the dashboard. Derive source counts, platforms, and affected populations from linked intelligence items.
  • Share the extraction taxonomy between Python and TypeScript. Reuse the intelligence-item loader, source-opening form, and auth callback URL logic.
  • Remove the mock and test directories, the retired Python test workflow, and unused code and configuration.

How to review

  • In a development Supabase project, run scripts/seed-emerging-patterns.sql to insert three labeled demo patterns. Open the dashboard and Intelligence Library as an approved user. Check search, date filters, review status, and the switch to Intelligence items.
  • All 63 JavaScript checks and 35 Python scraper checks passed before the test folders were removed. TypeScript, ESLint, Prettier, and Drizzle checks passed. The production build passed using webpack and offline font substitutes.

Follow-up

The demo rows have yet to be applied to Supabase. The configured database was unreachable locally. The full Python suite also remains unverified because the package index was unreachable for us and rapidfuzz.

@vercel

vercel Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
zero-abuse-project Ready Ready Preview Nov 19, 2026 5:32pm UTC

This branch was successfully deployed

1 active deployment
Preview — 23872eab Deployed Nov 19, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant