forked from 0xWheatyz/SPARC
feat: add patent trend charts to the Analytics page #62
Reference in New Issue
Block a user
Delete Branch "feature/trend-charts"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
GET /analytics/trendsendpoint returning per-company counts by month and type distribution over timeCloses #24
Test plan
Code Review: PASS -- Good analytics enhancement: /analytics/trends endpoint returns well-structured data with by_month and by_type_over_time datasets. Frontend pivots data for recharts LineChart and BarChart correctly. Empty state handling is present. Uses parameterized SQL with INTERVAL. Ready to merge. Closes #24.
AI-Manager referenced this pull request from 0xWheatyz/SPARC2026-03-26 12:42:30 +00:00