egg
eff9b0bcd5
feat: refactor dual-track architecture (Phase 1-5)
## Backend Changes
- **Service Layer Refactoring**:
- Add ProcessingOrchestrator for unified document processing
- Add PDFTableRenderer for table rendering extraction
- Add PDFFontManager for font management with CJK support
- Add MemoryPolicyEngine (73% code reduction from MemoryGuard)
- **Bug Fixes**:
- Fix Direct Track table row span calculation
- Fix OCR Track image path handling
- Add cell_boxes coordinate validation
- Filter out small decorative images
- Add covering image detection
## Frontend Changes
- **State Management**:
- Add TaskStore for centralized task state management
- Add localStorage persistence for recent tasks
- Add processing state tracking
- **Type Consolidation**:
- Merge shared types from api.ts to apiV2.ts
- Update imports in authStore, uploadStore, ResultsTable, SettingsPage
- **Page Integration**:
- Integrate TaskStore in ProcessingPage and TaskDetailPage
- Update useTaskValidation hook with cache sync
## Testing
- Direct Track: edit.pdf (3 pages, 1.281s), edit3.pdf (2 pages, 0.203s)
- Cell boxes validation: 43 valid, 0 invalid
- Table merging: 12 merged cells verified
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-07 07:18:27 +08:00
..
2025-11-19 08:36:24 +08:00
2025-11-17 08:55:50 +08:00
2025-11-14 17:19:43 +08:00
2025-11-30 13:21:50 +08:00
2025-12-02 17:50:47 +08:00
2025-12-07 07:18:27 +08:00
2025-11-30 16:22:04 +08:00
2025-11-14 17:19:43 +08:00
2025-11-14 17:19:43 +08:00
2025-11-30 13:21:50 +08:00
2025-11-30 13:21:50 +08:00
2025-11-26 10:56:22 +08:00
2025-12-07 07:18:27 +08:00
2025-11-19 07:29:06 +08:00
2025-12-07 07:18:27 +08:00
2025-12-04 18:00:37 +08:00
2025-11-13 21:00:42 +08:00
2025-12-07 07:18:27 +08:00
2025-12-07 07:18:27 +08:00
2025-11-12 22:53:17 +08:00
2025-12-07 07:18:27 +08:00
2025-11-27 13:27:00 +08:00
2025-12-04 18:00:37 +08:00
2025-11-12 22:53:17 +08:00
2025-12-07 07:18:27 +08:00
2025-12-07 07:18:27 +08:00
2025-11-14 17:19:43 +08:00
2025-12-02 17:50:47 +08:00
2025-11-19 08:36:24 +08:00