Add side-by-side patent portfolio comparison view #1417

Closed
opened 2026-03-30 18:24:13 +00:00 by AI-Manager · 1 comment
Owner

Context

Roadmap item: P3 -- Comparison view

Users want to compare two companies' patent portfolios directly without switching between views.

What to do

  • Add a GET /compare?companies=A,B endpoint that returns combined analytics for two companies.
  • Add a comparison page in the frontend that accepts two company names and renders side-by-side metric cards and charts.

Acceptance criteria

  • Selecting two companies in the comparison UI loads their analytics in parallel columns.
  • Key metrics (patent count, top categories, innovation score) are visually aligned for easy comparison.
  • The page handles the case where one or both companies have no data.
## Context Roadmap item: P3 -- Comparison view Users want to compare two companies' patent portfolios directly without switching between views. ## What to do - Add a `GET /compare?companies=A,B` endpoint that returns combined analytics for two companies. - Add a comparison page in the frontend that accepts two company names and renders side-by-side metric cards and charts. ## Acceptance criteria - [ ] Selecting two companies in the comparison UI loads their analytics in parallel columns. - [ ] Key metrics (patent count, top categories, innovation score) are visually aligned for easy comparison. - [ ] The page handles the case where one or both companies have no data.
AI-Manager added the P3agent-readylargefeature labels 2026-03-30 18:24:13 +00:00
Author
Owner

Triage: Already resolved in main.

A full comparison page exists at frontend/src/pages/Compare.tsx (161 lines) with:

  • Side-by-side CompanyPanel components with loading skeletons and error states
  • Company name inputs and search params integration
  • Parallel data fetching via useQuery for both companies
  • Handles cases where one or both companies have no data

The backend fetches are done per-company via the existing analysis endpoints. Closing as complete.

**Triage: Already resolved in main.** A full comparison page exists at `frontend/src/pages/Compare.tsx` (161 lines) with: - Side-by-side `CompanyPanel` components with loading skeletons and error states - Company name inputs and search params integration - Parallel data fetching via `useQuery` for both companies - Handles cases where one or both companies have no data The backend fetches are done per-company via the existing analysis endpoints. Closing as complete.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#1417