Commit c316a6e
Add background thread PDF discovery with progress dialog and archiving
- Add PDFDiscoveryWorker QThread for non-blocking PDF downloads
- Add progress dialog with real-time status updates during discovery
- Implement year-based PDF archiving (same as full BMLibrarian)
- Check for existing local PDFs before attempting download
- Use PDF_BASE_DIR env var or ~/knowledgebase/pdf default
- Update load_from_citation to use async discovery
- Update _do_pdf_discovery (Fetch PDF button) to use async discovery
- Add helper methods: _get_pdf_base_dir, _generate_pdf_path, _find_existing_pdf
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent d0aa6b3 commit c316a6e
1 file changed
Lines changed: 583 additions & 128 deletions
0 commit comments