Commit Graph
4 Commits
Author SHA1 Message Date
Jarvis a1380d88a0 fix: address Obsidian Review Bot feedback for plugin submission
- Replace hardcoded '.obsidian' paths with Vault#configDir for proper config directory support
- Move inline styles to CSS classes for better theme compatibility
- Remove unnecessary type casting by using proper type predicates
- Add proper TypeScript type narrowing for filtered arrays

This addresses all required issues identified by the Obsidian Review Bot:
* TempDirectoryManager now accepts configDir parameter from app.vault.configDir
* PdfToImageConverter uses configDir instead of hardcoded '.obsidian'
* ExportConfigModal uses CSS classes (.export-progress-visible, .export-form-hidden) instead of inline styles
* Progress bar width controlled via CSS custom property --progress-width
* Removed 'as TFile[]' casting by implementing isMarkdownFile type predicate

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-06 23:10:31 +02:00
AlexKucera e6c6cca5b8 Adds export modal display utilities
Adds CSS classes to control the visibility of the export modal and styles the progress bar.

This allows for dynamically showing and hiding the modal and provides a visual cue for export progress.
2025-09-04 22:55:00 +02:00
Jarvis 7312575588 feat: implement dependency checker and external tool management (task 3)
Add comprehensive dependency checking system for external tools:

- Create DependencyChecker class with cross-platform executable detection
- Implement version validation for Pandoc (3.0.0+) and Typst (0.11.0+)
- Add timeout handling and robust error management for external processes
- Integrate dependency checking with plugin lifecycle and settings interface
- Create DependencyStatusModal with detailed status display and installation guides
- Add platform-specific installation instructions (Windows/Mac/Linux)
- Include user-friendly error messages and troubleshooting guidance
- Add dependency status section to settings with "Check Dependencies" button
- Style dependency modal with Obsidian theme-aware CSS
- Update TypeScript config to exclude reference files from compilation

The dependency checker provides non-blocking startup validation,
export workflow integration, and comprehensive user guidance for
missing or outdated external tools.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-29 17:41:42 +02:00
AlexKucera 57c155d7cd Initial commit 2025-08-29 15:27:09 +02:00