Commit 06955ba
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 maintained1 parent cd0185b commit 06955ba
22 files changed
Lines changed: 844 additions & 369 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
0 commit comments