Motivation
The legislation search is the most interactive public feature — it mimics senate.gov's approach with search + filters + paginated results. This is a core deliverable for the project.
Deliverables
- Build
/legislation/page.tsx with:
- Search input (searches across title, bill number, summary)
- Filter dropdowns: Status (Introduced, In Committee, Passed, Failed), Type (Bill, Resolution, Nomination), Session number
- Paginated results table: bill number, title, sponsor, status, date introduced
- Each row links to
/legislation/[id]
- Wire to
getLegislation() with search/filter params
- Filters and search should update URL query params (shareable URLs)
- Pagination controls (Previous / Next + page number)
Important Notes
Motivation
The legislation search is the most interactive public feature — it mimics senate.gov's approach with search + filters + paginated results. This is a core deliverable for the project.
Deliverables
/legislation/page.tsxwith:/legislation/[id]getLegislation()with search/filter paramsImportant Notes