houhuan
d585a6baaa
feat: add download button to Tables/Images views, add task history delete/clear-all
2026-05-14 16:12:09 +08:00
houhuan
7baf784a39
feat: processing flow enhancement + responsive UI
...
Phase 2 - Processing flow:
- Multi-task monitoring: store supports concurrent task tracking
- Task retry: POST /api/tasks/{id}/retry re-runs failed tasks
- Dashboard multi-task cards with progress, error details, retry/dismiss
- Log panel expanded from 10 to 50 lines with "view all" link
Phase 3 - UI/UX:
- Mobile sidebar drawer (< 768px) with hamburger menu
- Layout responsive styles (768px, 480px breakpoints)
- Tasks/Logs pages responsive (stat cards, filters, columns)
- File views responsive (header wrap, button sizing)
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-13 19:18:18 +08:00
houhuan
3f8e34c07f
fix: add error handling to Barcodes, Tasks, Logs, Sync views
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-12 21:41:50 +08:00
houhuan
2a2b4c639e
refactor: extract useDebounce composable from 4 duplicate copies
...
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-12 21:19:30 +08:00
houhuan
e441ac82a8
Refactor processing logic and enhance error handling
...
- Cleaned up code in processing.py by removing inline semicolons and improving readability.
- Updated upsert_file_relation calls to ensure consistent handling of file relations.
- Enhanced query_file_relations in db_schema.py to support filtering by file existence.
- Improved API error handling in index.ts with user-friendly messages for 401 and 403 errors.
- Added online/offline status tracking in Layout.vue.
- Implemented debounced search functionality across multiple views to optimize performance.
- Introduced loading skeletons in Dashboard.vue for better user experience during data fetching.
- Enhanced file preview cleanup logic in Images.vue, Orders.vue, and Tables.vue to prevent memory leaks.
- Updated global styles to include new loading and notification animations.
2026-05-12 18:37:23 +08:00
houhuan
81bafaf557
fix: sync/barcode/memory overhaul + detailed logs + preview + result tracking
...
- Sync: fix GiteaSync constructor + add push()/pull() methods
- Barcode: two-tab layout matching GUI (mapping + special rules)
- Memory: spec→specification unification, manual add, confidence/price tracking
- Processing: TaskLogHandler captures detailed logs (barcode mapping, unit conversion)
- Preview: fullscreen dialog for file preview (image/Excel) in Orders/Tables/Images
- Detail: per-file log filtering in file pages
- Tasks: result files now per-task, add copy path button
- Config: reactive edited state + save_config fix
- Dashboard: sync task isolation, log limit 10
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-05 19:37:10 +08:00
houhuan
c18039f790
feat: 重构仪表盘布局并优化交互
2026-05-05 16:05:59 +08:00
houhuan
dedc3b4183
feat: complete web application — FastAPI backend + Vue 3 SPA frontend
...
- Full FastAPI backend with JWT auth, file management, processing pipeline,
memory CRUD, barcode mappings, config management, cloud sync
- Vue 3 + Element Plus frontend with dashboard, task history, HTTP logs,
memory editor, barcode editor, config editor, sync page
- HTTP request logging middleware with SQLite persistence
- Task history tracking with progress and retry support
- File metadata recording for upload/download operations
- WebAuth section in config.ini for bcrypt password storage
- Bug fix: logs.py count query returns tuple not dict
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-05 11:59:07 +08:00