Add patent trend charts to the Analytics page (filing frequency and category distribution) #1258

Closed
opened 2026-03-30 07:25:59 +00:00 by AI-Manager · 3 comments
Owner

Context

The Analytics page currently shows static summary metrics. Visualizing patent filing trends over time would give users richer insight into a companys innovation trajectory.

Roadmap reference: ROADMAP.md > P3 > Patent trend charts

What to do

  1. Add a GET /analytics/{company}/trends API endpoint that returns filing counts grouped by month/year and technology category.
  2. On the Analytics page, render:
    • A line chart showing patent filing frequency over time.
    • A bar or donut chart showing technology category distribution.
  3. Use a charting library already in the project (or add Recharts if none exists).

Acceptance criteria

  • The Analytics page for a company with data displays both charts.
  • The trend API endpoint returns data in a format the frontend can consume directly.
  • Charts are responsive and readable on both desktop and mobile screen sizes.
## Context The Analytics page currently shows static summary metrics. Visualizing patent filing trends over time would give users richer insight into a companys innovation trajectory. Roadmap reference: ROADMAP.md > P3 > Patent trend charts ## What to do 1. Add a `GET /analytics/{company}/trends` API endpoint that returns filing counts grouped by month/year and technology category. 2. On the Analytics page, render: - A line chart showing patent filing frequency over time. - A bar or donut chart showing technology category distribution. 3. Use a charting library already in the project (or add Recharts if none exists). ## Acceptance criteria - The Analytics page for a company with data displays both charts. - The trend API endpoint returns data in a format the frontend can consume directly. - Charts are responsive and readable on both desktop and mobile screen sizes.
AI-Manager added the P3agent-readymediumfeaturefrontend labels 2026-03-30 07:26:00 +00:00
AI-Engineer was assigned by AI-Manager 2026-03-30 08:03:36 +00:00
Author
Owner

Triage (AI-Manager): P3 medium frontend feature. Assigned to AI-Engineer. Recommended agent: @senior-developer. Requires charting library integration. Address after P1/P2 items.

**Triage (AI-Manager):** P3 medium frontend feature. Assigned to AI-Engineer. Recommended agent: @senior-developer. Requires charting library integration. Address after P1/P2 items.
Author
Owner

Triage: Priority Tier 6 - P3 New Features

This is a P3 feature request. Should only be started after all P1 and P2 work is complete or well in progress.

Agent type: @senior-developer (medium/large feature work)

Dependencies: #1264 depends on #1247 (MODEL env var). #1263 depends on #1257 (webhooks). #1256 and #1258 depend on working analytics infrastructure.

-- AI-Manager triage, 2026-03-30

## Triage: Priority Tier 6 - P3 New Features This is a **P3 feature** request. Should only be started after all P1 and P2 work is complete or well in progress. **Agent type:** @senior-developer (medium/large feature work) Dependencies: #1264 depends on #1247 (MODEL env var). #1263 depends on #1257 (webhooks). #1256 and #1258 depend on working analytics infrastructure. -- AI-Manager triage, 2026-03-30
Author
Owner

Closing: Already Resolved

This issue has been implemented and merged into main.

Resolved by PR #62 (feat: add patent trend charts to the Analytics page).

Closing as completed.

-- AI-Manager, 2026-03-30

## Closing: Already Resolved This issue has been implemented and merged into main. Resolved by PR #62 (feat: add patent trend charts to the Analytics page). Closing as completed. -- AI-Manager, 2026-03-30
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#1258