navidocs/client
ggq-admin bb01284ba8 Add image display functionality to document viewer
This commit implements comprehensive image extraction display for PDF documents:

1. Created useDocumentImages.js composable:
   - fetchPageImages() function to retrieve images for specific page
   - getImageUrl() helper to generate full image URLs
   - Proper loading states and error handling

2. Created ImageOverlay.vue component:
   - Positioned absolutely over PDF canvas at correct coordinates
   - Semi-transparent border to indicate image location
   - Hover tooltip displaying extracted OCR text with confidence level
   - Click handler to open full-size image modal
   - Accessibility support (keyboard navigation, ARIA labels)
   - Responsive positioning with smooth hover effects

3. Modified DocumentView.vue:
   - Imported and integrated useDocumentImages composable
   - Added ImageOverlay components for each extracted image
   - Integrated FigureZoom modal for full-size image viewing
   - Automatically fetches images when page changes
   - Displays image count in header
   - Tracks canvas dimensions for proper image positioning

Features:
- Images overlay at exact PDF coordinates using scale conversion
- OCR text displayed in tooltip on hover
- Full-size image view on click with zoom/pan controls
- Reduced motion and high contrast mode support
- Seamless integration with existing PDF viewer

Generated with Claude Code (https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-19 19:52:16 +02:00
..
src Add image display functionality to document viewer 2025-10-19 19:52:16 +02:00
index.html feat(ui): Meilisearch-style polish (badges, glass, grid, skeleton) + theme color\n\n- Add accessible focus ring and kbd styling\n- Add badge/glass/section/accent-border/bg-grid/skeleton utilities\n- Update theme-color + OG meta\n- Ignore sensitive handover file\n\nSee docs/ui/CHANGELOG_UI.md for details 2025-10-19 16:52:02 +02:00
package.json feat: NaviDocs MVP - Complete codebase extraction from lilian1 2025-10-19 01:55:44 +02:00
postcss.config.js feat: NaviDocs MVP - Complete codebase extraction from lilian1 2025-10-19 01:55:44 +02:00
tailwind.config.js feat: Complete frontend UI polish with Meilisearch-inspired design 2025-10-19 16:40:48 +02:00
vite.config.js feat: Complete frontend UI polish with Meilisearch-inspired design 2025-10-19 16:40:48 +02:00