WS7: Company Search panel (Companies House)
Backend: extract getCompanyBundle from the chat tool so the new
/companies routes (search, profile+officers+PSCs bundle, paginated
filing history) share one implementation; requireAuth + try/catch on
every handler, fixed friendly error details (401->409 key-missing code,
404/429 mapped, else generic 502); new researchLimiter
(RATE_LIMIT_RESEARCH_WINDOW_MINUTES/RATE_LIMIT_RESEARCH_MAX, documented
in .env.example and CLAUDE.md).
Frontend: Research > Company Search page (320px master list / flex-1
detail, Overview/Officers/PSCs/Filing history tabs per approved
mock-up), reusing PageHeader, TableToolbar, skeletons and the existing
CompanyPanel (new optional `section` prop); new FilingHistoryList
(lazy-fetched, 25/page, DD/MM/YYYY, Companies House register link);
Research sidebar group with Building2 icon; mikeApi chSearchCompanies /
chGetCompany / chGetFilingHistory; sessionStorage assistant-prefill
handoff ("Continue in Assistant" -> ChatInput initialValue).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
| Repository | Sloth-ninja/JessicaOSS |
|---|---|
| Author | sloth-ninja <ezanahaddis@gmail.com> |
| Authored | |
| Parents | 13aaf3a7 |
| Stats | 15 files changed , +1203 , -20 |
| Part of | WS7: Company Search panel + saves/status trains |
Capture this commit into my fork
Download a Markdown prompt that tells Claude how to port this
exact commit into your working tree. Run it via
claude -p < capture-commit-bcbb4469.md
from inside the repo you want the change in.