The archive's search fetched the entire recency-windowed matching set (thousands of rows once "Include older" is on) and substring-filtered it in memory, taking several seconds per keystroke; it now delegates to the same ranked pushdown search service the main /quotes list uses. Also fixes pagination being hidden while searching (results past page 1 were unreachable) and the match count showing the current page's size instead of the true total. Adds the chevron item-preview toggle to archive rows (extracted into a shared QuoteItemsExpanded component, backed by a new GET /api/v1/quotes/[id]/items route), removes a duplicate "Customer or Company" label in the new-quote form, and drops the stray warning-colored search box styling that leaked from DataTable onto every list page that uses it. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| app | ||
| components | ||
| lib | ||
| styles | ||
| middleware.ts | ||
| test-setup.ts | ||