Skip to content

Commit 06955ba

Browse files
committed
refactor: architectural improvements and visual polish
- Extract custom hooks (useDocuments, useSearch, useActiveTab) from App.tsx - Create design system primitives (Button, Card, Badge, Spinner) - Centralize constants (tabs, fileTypes, processing stages) - Refactor App.tsx from 329 to 180 lines for better maintainability - Install Framer Motion for future animation enhancements - Fix tab navigation auto-switch loop with hasAutoSwitched flag - Replace Tailwind v4 gradient classes with inline styles for reliability - Enhance ProcessingProgress with gradient backgrounds, spinning loader, and polished styling - Improve AppHeader with gradient logo, better spacing, enhanced badges - Redesign SearchInterface with larger input, better focus states, enhanced button - Update AppNavigation with cleaner tab indicators - Enhance PageLayout headers with gradient icons and improved typography - Update EmptyStates with inline gradient backgrounds All 34 tests passing, zero TypeScript errors maintained
1 parent cd0185b commit 06955ba

22 files changed

Lines changed: 844 additions & 369 deletions

package-lock.json

Lines changed: 43 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"dependencies": {
1717
"@lancedb/lancedb": "^0.22.3",
1818
"@xenova/transformers": "^2.17.2",
19+
"framer-motion": "^12.23.24",
1920
"mammoth": "^1.11.0",
2021
"pdfjs-dist": "^5.4.394",
2122
"react": "^19.2.0",

0 commit comments

Comments
 (0)