Commit Graph

  • 0344a48f20 docs: add v4.0.0 changelog amitwh 2026-03-04 16:33:38 +05:30
  • 3c11ac15ce feat: update application menu with all v4 features amitwh 2026-03-04 16:33:00 +05:30
  • c5a9881d8d feat: update preload.js with all v4 IPC channels amitwh 2026-03-04 16:31:28 +05:30
  • 15903e782a test: add comprehensive tests for v4 features amitwh 2026-03-04 16:28:36 +05:30
  • 336b24365d feat: add welcome tab, presentation/publishing exports, and spell checking amitwh 2026-03-04 16:23:49 +05:30
  • b5409b7754 feat: add developer format support (JSON, YAML, XML, TOML) amitwh 2026-03-04 16:23:37 +05:30
  • d3afd7ad86 feat: wire up sidebar panels and REPL with IPC handlers, preload channels, and CSS amitwh 2026-03-04 16:17:38 +05:30
  • 59ef2028f8 feat: add code execution REPL with JS, Python, Bash support amitwh 2026-03-04 16:17:34 +05:30
  • f62a6b7e59 feat: add code snippets sidebar panel with CRUD amitwh 2026-03-04 16:17:30 +05:30
  • f650b04685 feat: add Git sidebar panel (status, stage, commit, log) amitwh 2026-03-04 16:17:26 +05:30
  • 04480c1243 feat: add File Explorer sidebar panel amitwh 2026-03-04 16:17:22 +05:30
  • 81a78412fd feat: add PlantUML diagram support alongside Mermaid amitwh 2026-03-04 16:10:47 +05:30
  • 12dcd2d1a3 feat: add document templates library with 10 templates amitwh 2026-03-04 16:10:24 +05:30
  • ae7b333cea feat: add image paste and drag-drop support amitwh 2026-03-04 16:08:55 +05:30
  • e2703d8c57 feat: add markdown extensions (footnotes, admonitions, TOC) amitwh 2026-03-04 16:08:22 +05:30
  • ca0b250506 feat: add custom print preview dialog with configurable options amitwh 2026-03-04 16:04:51 +05:30
  • 9348b2bd1d security: add file size validation, error sanitization, and rate limiting amitwh 2026-03-04 16:00:57 +05:30
  • 200e800eb2 security: add Content Security Policy meta tag amitwh 2026-03-04 16:00:53 +05:30
  • a6456a7b4c feat: add breadcrumb bar showing current file path amitwh 2026-03-04 15:56:55 +05:30
  • 3908df8b1d feat: add command palette (Ctrl+Shift+P) amitwh 2026-03-04 15:56:24 +05:30
  • 72ee803a95 feat: reorganize toolbar into grouped sections with separators amitwh 2026-03-04 15:50:36 +05:30
  • 37502fb733 feat: enhanced status bar with word count, char count, line/col, encoding amitwh 2026-03-04 15:50:31 +05:30
  • affe1a7e33 feat: add sidebar panel system with icon strip and panel toggle amitwh 2026-03-04 15:45:34 +05:30
  • ed48f254f1 feat: migrate find/replace to use CodeMirror search amitwh 2026-03-04 15:42:09 +05:30
  • 0c2b6fe5cc feat: migrate undo/redo to CodeMirror built-in history amitwh 2026-03-04 15:41:33 +05:30
  • 233225f12c feat: replace textarea with CodeMirror 6 editor amitwh 2026-03-04 15:38:33 +05:30
  • 47f3b7557e feat: add CodeMirror 6 wrapper module amitwh 2026-03-04 15:31:42 +05:30
  • 7678c61602 chore: add v4 dependencies (CodeMirror extensions, simple-git, marked plugins) amitwh 2026-03-04 15:30:01 +05:30
  • 6e7460def7 chore: update html2pdf.js and pdfkit amitwh 2026-03-04 15:29:22 +05:30
  • bf67156b9c feat: upgrade pdfjs-dist from 3.x to 5.x for improved PDF viewer amitwh 2026-03-04 15:28:07 +05:30
  • 824f659e13 feat: upgrade marked to v17 with marked-highlight extension amitwh 2026-03-04 15:24:46 +05:30
  • e7eff01db6 chore: update non-breaking dependencies (dompurify, docx, highlight.js, pdf-lib) amitwh 2026-03-04 15:22:18 +05:30
  • 7b15b2808e chore: bump version to 4.0.0 amitwh 2026-03-04 15:20:25 +05:30
  • 16c0e00201 Normalize line endings and remove rpm from Linux build targets windows amitwhandClaude Opus 4.5 2026-01-12 17:58:55 +05:30
  • 5f43fd2b30 Add bundled Inter and JetBrains Mono fonts for offline use dev amitwh 2026-01-07 00:08:18 +05:30
  • f92e69d5ea Add .vs folder to gitignore amitwh 2026-01-06 23:31:06 +05:30
  • 99eeafcaf3 Fix HTML entities in README.md amitwhandGitHub 2026-01-06 23:19:59 +05:30
  • b49abe48e8 Add images to README for features illustration amitwhandGitHub 2026-01-06 23:19:32 +05:30
  • dc7ee420f5 Merge branch 'windows' amitwh 2026-01-06 23:13:35 +05:30
  • 521da774b2 Remove AI development files from repository amitwh 2026-01-06 23:09:45 +05:30
  • 69218dfecf Merge branch 'windows' amitwh 2026-01-06 19:34:36 +05:30
  • 2c13a73284 Remove unused assets and update local settings amitwh 2026-01-06 19:31:44 +05:30
  • 1c57270599 Update README: Rename to MarkdownConverter, add open-source section v3.0.0 amitwh 2026-01-06 19:02:47 +05:30
  • 9727a7fc2d Update .gitignore to exclude temp files and screenshots amitwh 2026-01-06 19:01:34 +05:30
  • da3301bdcf Fix: Use docico1 as app icon, optimize loading by removing Google Fonts amitwh 2026-01-06 18:36:55 +05:30
  • 7887b96ca1 Merge windows into master for v3.0.0 release amitwh 2026-01-06 18:29:31 +05:30
  • b96a6e5bd2 Release v3.0.0: PDF Viewer & Editor Integration amitwhandClaude 2026-01-06 18:28:55 +05:30
  • 2b99cdd80a Merge branch 'windows' amitwh 2026-01-06 14:11:27 +05:30
  • 3a3f0b9ac1 Add PanConverter improvement plan document Introduces IMPROVEMENT_PLAN.md outlining a comprehensive roadmap for PanConverter v3.0, including security hardening, testing infrastructure, code refactoring, developer experience, performance optimization, new features, and community building. The plan details phased implementation, success metrics, risk assessment, and resource requirements. amitwh 2026-01-06 14:08:15 +05:30
  • 4a908382ce Update CLAUDE.md with v2.1.0 documentation amitwh 2025-12-14 10:34:12 +05:30
  • d23ce91506 Release v2.1.0: UI Enhancements & Comprehensive Format Support v2.1.0 amitwhandClaude Sonnet 4.5 2025-12-14 10:27:36 +05:30
  • c2b77e110f Release v2.1.0: UI Enhancements & Comprehensive Format Support 🎨 UI/UX Improvements: - Subtle & small preview popout button with minimalist design - Simplified table headers with light gray background - Better readability and cleaner appearance 📥 Enhanced Import: - Support for 30+ formats: RST, Textile, MediaWiki, Org-mode, AsciiDoc, CSV, JSON, and more - Format-specific conversion optimizations - Improved error messages 🎨 Exhaustive ASCII Art Generator: - 5 text banner styles: Standard, Banner, Block, Bubble, Digital - 19 professional templates organized in 4 categories - Flowcharts, sequence diagrams, network diagrams, hierarchy trees - Note boxes, warning boxes, decorative elements 📝 Documentation: - Added UPDATES.md with comprehensive changelog - Updated version to 2.1.0 in all files 🤖 Generated with Claude Code (https://claude.com/claude-code) amitwh 2025-12-14 10:27:36 +05:30
  • b281255e90 Release v2.0.0: Major Feature Update v2.0.0 amitwhandClaude Sonnet 4.5 2025-12-13 19:40:30 +05:30
  • e63a0ec1bf Release v2.0.0: Major Feature Update New Features: • Export Profiles - Save and load export configurations • Mermaid.js diagram support - Render flowcharts, sequence diagrams, and more • Command Palette (Ctrl+Shift+P) - Quick access to all commands • GitHub Light/Dark preview themes - Beautiful code preview styling • Table Generator - Interactive table creation tool • ASCII Art Generator - Create text banners, boxes, and templates • Resizable Preview Pane - Drag divider to adjust editor/preview sizes • Pop-out Preview Window - Open preview in separate window with live sync UI/UX Improvements: • Fixed advanced export dialog visibility (added .hidden CSS class) • GitHub-style table headers with light grey background • Removed gradients from table headers • Clean, professional preview rendering Technical Changes: • Updated all UI components for new features • Enhanced TabManager to support resizable panes • Added MutationObserver for live preview sync in pop-out window • Improved CSS styling consistency 🤖 Generated with Claude Code (https://claude.com/claude-code) amitwh 2025-12-13 19:40:30 +05:30
  • d8e0748037 Release v1.9.2: Full-width background for code blocks v1.9.2 amitwhandClaude 2025-12-12 09:10:18 +05:30
  • f197acb960 Release v1.9.2: Full-width background for code blocks Fixed code block and ASCII art background to extend full paragraph width: 🔧 Background Fix: - Moved shading (w:shd) from run level (<w:rPr>) to paragraph level (<w:pPr>) - Background now extends full width like in the preview - Applied to both createCodeBlockXml() and createAsciiArtXml() functions 📝 Technical Changes: - src/wordTemplateExporter.js: Paragraph-level shading for full-width backgrounds - Added w:ind with left="284" right="284" for consistent margins - Removed redundant w:shd from run properties 🤖 Generated with [Claude Code](https://claude.com/claude-code) amitwh 2025-12-12 09:10:18 +05:30
  • cb98549db8 Release v1.9.1: ASCII Art & Code Block Preservation v1.9.1 amitwhandClaude 2025-12-12 09:01:17 +05:30
  • 4966c671de Release v1.9.1: ASCII Art & Code Block Preservation Fixed export of ASCII art, charts, tables, and flowcharts to match preview exactly: 🎨 ASCII Art Preservation: - Code blocks now export exactly as shown in preview - Each line rendered separately to preserve exact spacing and alignment - Monospace font (Consolas) used consistently across all export formats - Line breaks, spacing, and box-drawing characters preserved perfectly 📝 Word Template Exporter Improvements: - createCodeBlockXml: Renders each line as separate paragraph with exact spacing - Added <w:keepLines/> and <w:wordWrap w:val="0"/> for no-wrap behavior - Enhanced isAsciiArt detection with more Unicode box-drawing characters - Added support for rounded corners (╭╮╯╰), heavy box chars, more arrows 📄 PDF Export Enhancements: - Added -V monofont="Consolas" for proper code block rendering - Added --highlight-style=tango for syntax highlighting - Applied to main export, fallback engines, and CLI conversion 🖨️ HTML/Electron PDF Improvements: - Enhanced CSS: white-space: pre, word-wrap: normal - font-family: Consolas, Monaco, 'Courier New', monospace - Print media queries preserve code block formatting - overflow: visible prevents content truncation 🔧 Technical Changes: - src/wordTemplateExporter.js: Enhanced code block and ASCII art rendering - src/main.js: Added monofont settings to all PDF export paths - Updated version to 1.9.1 🤖 Generated with [Claude Code](https://claude.com/claude-code) amitwh 2025-12-12 09:01:17 +05:30
  • ff651e9b21 Update Claude Code permissions settings amitwh 2025-11-08 17:39:14 +05:30
  • 5e5fcf3172 Update Claude Code permissions settings amitwh 2025-11-08 17:39:14 +05:30
  • e013e5fd69 Fix v1.9.0 logo upload and add MiKTeX PATH support amitwhandClaude 2025-10-28 19:33:36 +05:30
  • bcbc82e36b Fix v1.9.0 logo upload and add MiKTeX PATH support This commit fixes the logo upload issue and adds MiKTeX to the app's PATH for LaTeX/PDF support. **Logo Upload Fix:** - Replaced file input with Browse button that uses dialog.showOpenDialog - Added browse-header-footer-logo IPC handler in main process - Now gets reliable file paths without depending on file.path property - Added browse-btn CSS styling **MiKTeX PATH Addition:** - Automatically adds MiKTeX bin directory to process.env.PATH on Windows - Enables XeLaTeX/PDFLaTeX for PDF exports with headers/footers - Logs PATH addition for debugging **Files Changed:** - src/main.js: Added MiKTeX PATH setup, browse logo IPC handler - src/renderer.js: Changed to browseForLogo() function, updated event listeners - src/index.html: Replaced file inputs with browse buttons - src/styles.css: Added .browse-btn styling **Testing Notes:** - Logo upload now works without "path undefined" errors - DOCX exports with headers/footers confirmed working - PDF exports should now use Pandoc+XeLaTeX with MiKTeX in PATH - Requires MiKTeX installation and PC restart for full functionality 🤖 Generated with [Claude Code](https://claude.com/claude-code) amitwh 2025-10-28 19:33:36 +05:30
  • f7362bec46 Fix v1.9.0 header/footer visibility issues amitwhandClaude 2025-10-28 17:41:37 +05:30
  • 53871d788b Fix v1.9.0 header/footer visibility issues This commit fixes two critical issues in the v1.9.0 header/footer feature: 1. **Logo Upload Error Fix**: - Fixed "path undefined" error when uploading logos - Added validation in main.js to check filePath before processing - Added fallback in renderer.js to use webUtils.getPathForFile if file.path is undefined - Added file existence check before copying 2. **Header/Footer Visibility Fix**: - Added header/footer support to tryPdfFallback function (PDF fallback engines) - Previously, only performExportWithOptions had header/footer logic - Now all PDF export paths include headers/footers when enabled - Fallback engines now generate fancyhdr LaTeX code for headers/footers Technical details: - src/main.js:667-709: Enhanced logo upload handler with error checking - src/main.js:1289-1319: Added header/footer to tryPdfFallback function - src/renderer.js:2661-2678: Fixed logo file path handling 🤖 Generated with [Claude Code](https://claude.com/claude-code) amitwh 2025-10-28 17:41:37 +05:30
  • 5a11a9af75 Release v1.9.0: Custom Headers & Footers for Professional Document Exports v1.9.0 amitwhandClaude 2025-10-28 17:34:32 +05:30
  • 6db204796f Release v1.9.0: Custom Headers & Footers for Professional Document Exports Comprehensive header and footer customization system for all standard export formats with dynamic field support and persistent settings. Major Features: - Custom Headers & Footers for PDF, DOCX, ODT, and PowerPoint exports - Three-column layout (Left/Center/Right) for both headers and footers - Dynamic field support: $PAGE$, $TOTAL$, $DATE$, $TIME$, $TITLE$, $AUTHOR$, $FILENAME$ - Logo/image upload UI for header and footer branding - Enable/disable toggle with persistent settings across sessions - Field insertion helper dialog for quick dynamic field selection - Complete dark theme support for all 22 themes 🎯 Export Format Support: - PDF (Standard): LaTeX fancyhdr package with automatic page numbering - DOCX (Standard): Word XML manipulation with PAGE and NUMPAGES fields - ODT: OpenDocument format with Pandoc integration - PowerPoint (PPTX): Footer text with dynamic field replacement - Batch Converter: Full header/footer support for all formats 💡 Technical Implementation: - processDynamicFields() function for field replacement - LaTeX header generation with fancyhdr and lastpage packages - Word XML manipulation using PizZip for DOCX headers/footers - addHeaderFooterToDocx() function for post-processing DOCX exports - buildPandocCommand() enhanced with header/footer parameters - IPC handlers for dialog communication and settings management 🎨 User Interface: - New "Header & Footer Settings..." menu option in File menu - Professional configuration dialog with field previews - Logo upload with file path display and clear buttons - Dynamic field picker popup dialog - Responsive grid layout for three-column design - Smooth transitions and animations 📦 Integration Points: - Menu system (File → Header & Footer Settings...) - Standard export functions (PDF, DOCX, ODT, PPTX) - Batch converter with full format support - Settings persistence via electron-store - Logo file management in userData directory 🔧 Code Changes: - src/main.js: Added header/footer IPC handlers, state management, processDynamicFields(), addHeaderFooterToDocx(), enhanced buildPandocCommand() and performBatchConversion() - src/index.html: Added header/footer dialog and field picker dialog - src/renderer.js: Added dialog management, logo handling, field insertion - src/styles.css: Added comprehensive dialog styling with dark theme support - package.json: Updated version to 1.9.0 - CLAUDE.md: Documented v1.9.0 features and implementation details 📝 Note: Enhanced exports (DOCX Enhanced, PDF Enhanced) use Word templates with pre-configured headers/footers. This feature specifically targets standard (non-templated) exports. 🚀 Impact: Users can now add professional headers and footers to all document exports with custom branding, dynamic page numbers, dates, and titles - significantly improving document presentation for business and academic use cases. 🤖 Generated with Claude Code amitwh 2025-10-28 17:34:32 +05:30
  • 8b52635032 Update CLAUDE.md: Add v1.9.0 header/footer feature planning amitwh 2025-10-28 17:12:40 +05:30
  • 8fbfe68823 Update CLAUDE.md: Add v1.9.0 header/footer feature planning - Added comprehensive pending tasks section for v1.9.0 - Documented header & footer customization feature requirements - Detailed implementation plan with technical specifications - Updated current version to v1.8.3 - Added recent release summary and previous releases section amitwh 2025-10-28 17:12:40 +05:30
  • 7e11176290 Release v1.8.3: Major UI and Export Enhancements v1.8.3 amitwhandClaude 2025-10-28 16:59:15 +05:30
  • c5d310b465 Release v1.8.3: Major UI and Export Enhancements This release includes significant improvements to PDF Editor UI, enhanced PDF/Word export functionality, print fixes, and configurable template settings. 🎯 v1.8.1 - Streamlined PDF Editor UI: - Clean, focused interface showing only the selected PDF operation - Smooth fade-in animations when switching between functions - Optimized dialog sizing (max-width 600px, max-height 85vh) - Enhanced file list styling with better contrast - Complete dark theme support for all PDF editor components - Better scrolling behavior for long forms 📄 v1.8.2 - Enhanced PDF Export & Print Fix: - New "PDF (Enhanced)" export option using Word template + LibreOffice conversion - Added to both single-file export and batch converter - Keyboard shortcut: Ctrl+Shift+P for enhanced PDF export - Fixed print preview showing blank output issue - Simplified print handler using CSS @media print rules - Better print styling with proper element hiding/showing ⚙️ v1.8.3 - Configurable Template Settings: - Added "Template Settings..." menu option - Configurable start page for Word template content insertion - Choose from Pages 1-5 or custom page number (1-100) - Settings persisted across sessions - Updated WordTemplateExporter to use configurable start page - Works with both DOCX (Enhanced) and PDF (Enhanced) export - Applied to single-file and batch conversion workflows 🔧 Technical Improvements: - Enhanced WordTemplateExporter constructor to accept startPage parameter - Updated insertContentAfterPage method for flexible page insertion - Added Template Settings dialog with quick-select buttons - IPC communication for custom page number input - Settings stored in userData/settings.json - Improved CSS specificity with PDF editor-specific classes - Fixed @media print rules to ensure preview content is visible 🎨 UI/UX Enhancements: - PDF Editor sections now animate smoothly when switching - File lists for merge operations styled with proper contrast - Remove buttons styled with danger color (#dc3545) - Template settings dialog shows current template and start page - All enhancements support all 22 existing themes The application now provides professional-grade PDF editing, enhanced export capabilities with full control over template-based generation, and a streamlined user interface that makes complex operations simple and intuitive. 🤖 Generated with Claude Code amitwh 2025-10-28 16:59:15 +05:30
  • 4d5e552741 Release v1.8.1: Streamlined PDF Editor UI v1.8.1 amitwhandClaude 2025-10-28 16:43:13 +05:30
  • f6116d7008 Release v1.8.1: Streamlined PDF Editor UI Enhanced PDF Editor user experience with cleaner, more intuitive interface: UI Improvements: - Streamlined PDF Editor dialog to show only selected function - Removed cluttered "all functions at once" display - Added smooth fade-in animation when showing function-specific sections - Improved dialog sizing: max-width 600px, max-height 85vh - Better visual separation with compact section spacing 🎨 Styling Enhancements: - Added PDF editor-specific CSS classes for better organization - Enhanced file list styling with better contrast - Improved remove button styling with danger color - Complete dark theme support for all PDF editor components - Better scrolling behavior for long forms 🔧 Technical Improvements: - Maintained existing show/hide logic (already working correctly) - Enhanced CSS specificity with .pdf-editor-content and .pdf-editor-body classes - Added @keyframes fadeIn animation for smooth transitions - Improved overflow handling for better UX on smaller screens 🌙 Theme Support: - Full dark mode styling for file lists and entries - Proper color contrast for all interactive elements - Consistent styling across all 22 themes The PDF Editor now provides a clean, focused interface showing only the relevant controls for each operation (merge, split, compress, rotate, delete, reorder, watermark, encrypt, decrypt, permissions). 🤖 Generated with Claude Code amitwh 2025-10-28 16:43:13 +05:30
  • 58314efc7a Release v1.8.0: Enhanced Word Export in Batch Converter v1.8.0 amitwhandClaude 2025-10-27 08:00:05 +05:30
  • 1d89a91de0 Release v1.8.0: Enhanced Word Export in Batch Converter Added enhanced Word export with template support to the batch file converter, enabling batch conversion of markdown files to professionally-styled DOCX documents using custom templates. New Features: - Added "DOCX (Enhanced)" option to batch converter format selection - Integrated WordTemplateExporter with batch conversion workflow - Batch converter now supports template-based Word export with: * Custom template preservation * Professional table styling (orange headers, white data rows) * Perfect ASCII art and flowchart alignment * Red-colored arrows in flowcharts * Markdown numbering stripped from headings and lists Technical Changes: - Modified performBatchConversion() to handle 'docx-enhanced' format - Async/await pattern for WordTemplateExporter in batch processing - Proper error handling and progress tracking for enhanced exports - Updated version to v1.8.0 in package.json, main.js, and README.md 🤖 Generated with [Claude Code](https://claude.com/claude-code) amitwh 2025-10-27 08:00:05 +05:30
  • 478b404135 Release v1.7.9: Enhanced Word Export with Template Support v1.7.9 amitwhandClaude 2025-10-27 00:31:38 +05:30
  • ffbde12281 Release v1.7.9: Enhanced Word Export with Template Support Major Features: - Template-based Word export with custom template selection - File menu option to select and persist Word templates - Table styling with orange headers and white data rows - ASCII art and flowchart rendering with perfect alignment - Red-colored arrows in flowcharts for enhanced visibility - Markdown numbering stripped from headings and lists Technical Improvements: - Enhanced ASCII art detection for arrows and flowchart patterns - Line-by-line rendering with no-wrap properties - Arrow character detection and red coloring (↓→←↑) - Template path persistence across sessions - Word XML manipulation using PizZip Files Modified: - src/wordTemplateExporter.js: Enhanced ASCII art rendering, table styling - src/main.js: Template selection function and menu integration - CLAUDE.md: Comprehensive v1.7.9 documentation - package.json: Version bump to 1.7.9 🤖 Generated with [Claude Code](https://claude.com/claude-code) amitwh 2025-10-27 00:31:38 +05:30
  • 8be2651b0e Add Enhanced Word Export with native DOCX generation (v1.7.9) amitwhandClaude 2025-10-26 23:54:00 +05:30
  • bbb51f4ca2 Add Enhanced Word Export with native DOCX generation (v1.7.9) - Created wordTemplateExporter.js module using docx npm package - Added "DOCX (Enhanced)" option in File → Export menu - Keyboard shortcut: Ctrl+Shift+W - Full markdown support: headings, formatting, code, lists, tables - No external dependencies (Pandoc/Python not required) - Proper numbering configuration for lists - Professional Word document output 🤖 Generated with [Claude Code](https://claude.com/claude-code) amitwh 2025-10-26 23:54:00 +05:30
  • 922e74d671 Fix print preview to properly hide toolbar and show only markdown content amitwhandClaude 2025-10-26 23:36:28 +05:30
  • cd06909e2c Fix print preview to properly hide toolbar and show only markdown content - Rewrote handlePrintPreview to explicitly hide all UI elements - Store and restore original display values for clean restoration - Make preview pane absolute positioned and full width for printing - Hide toolbar, tab bar, status bar, editor pane, and dialogs - Added proper timing for DOM updates before printing 🤖 Generated with [Claude Code](https://claude.com/claude-code) amitwh 2025-10-26 23:36:28 +05:30
  • 7e67667035 Fix critical bugs in v1.7.8: file association and print preview v1.7.8 amitwhandClaude 2025-10-26 21:22:36 +05:30
  • fc6bfb3003 Fix critical bugs in v1.7.8: file association and print preview - Fixed command-line argument parsing for packaged apps using app.isPackaged - Fixed print preview to show markdown content instead of toolbar - Rewrote print handler to rely on CSS @media print rules - Enhanced CSS with attribute selectors for dynamic preview panes - Removed DevTools auto-open for production build - Updated version to 1.7.8 across all files 🤖 Generated with [Claude Code](https://claude.com/claude-code) amitwh 2025-10-26 21:22:36 +05:30
  • 7783fbf622 Fix print null errors and add main process logging to renderer console amitwhandClaude 2025-10-26 21:05:24 +05:30
  • d114308fc4 Fix print null errors and add main process logging to renderer console - Added null checks for toolbar, tab-bar, status-bar before accessing .style - Prevents TypeError when elements don't exist - Added executeJavaScript to send main process logs to renderer console - Now we can see main process state in DevTools - Print should now work without errors 🤖 Generated with [Claude Code](https://claude.com/claude-code) amitwh 2025-10-26 21:05:24 +05:30
  • 458a387c15 Add comprehensive debugging logging for file loading and print issues amitwhandClaude 2025-10-26 20:45:24 +05:30
  • 2999882318 Add comprehensive debugging logging for file loading and print issues - Added console.log statements throughout file loading flow - Traces: command-line args → pendingFile → renderer-ready → openFileFromPath → file-opened - Added logging to print-preview handlers - Added logging to theme-changed and renderer-ready - Enabled DevTools automatically for debugging - Backup renderer-ready timeout (100ms) in case theme-changed doesn't fire This debugging build will help identify exactly where the flow breaks. 🤖 Generated with [Claude Code](https://claude.com/claude-code) amitwh 2025-10-26 20:45:24 +05:30
  • 72677698d2 Fix print preview, file loading, and PDF export - complete code analysis and fixes amitwhandClaude 2025-10-26 20:30:30 +05:30
  • 80bf533483 Fix print preview, file loading, and PDF export - complete code analysis and fixes CRITICAL PRINT PREVIEW FIX: - FOUND: Redundant ipcMain handlers creating message loop at lines 1171-1182 - Menu sends 'print-preview' to renderer - ipcMain.on('print-preview') was re-sending to renderer (REMOVED) - Renderer hideUI, waits 300ms, sends 'do-print' to main - Main process prints immediately (no extra delay needed) - Print now correctly captures hidden UI and shows preview content FILE LOADING ON DOUBLE-CLICK FIX: - FOUND: theme-changed handler waiting 1500ms was too long - Changed from setTimeout 1500ms to requestAnimationFrame (respects browser rendering) - renderer-ready signal sent after next animation frame - openFileFromPath now sends file-opened immediately when rendererReady - Files now load and render quickly on first double-click - Proper async timing: DOMContentLoaded → theme request → theme applied → ready PDF EXPORT FALLBACK FIX: - When Pandoc PDF engines (XeLaTeX, PDFLaTeX, LuaLaTeX) unavailable - System now falls back to Electron's built-in PDF export - Users get working PDF export even without LaTeX installed - No error dialog, seamless fallback to working solution Code Analysis Summary: 1. Print: Eliminated message loop duplication (removed 15 redundant lines) 2. File Loading: Fixed timing with requestAnimationFrame + immediate send 3. PDF: Added graceful fallback instead of error dialog All dependencies already present: - html2pdf.js - pdf-lib - pdfkit 🤖 Generated with [Claude Code](https://claude.com/claude-code) amitwh 2025-10-26 20:30:30 +05:30
  • 59c6513b49 Fix PDF export geometry error and improve print/file loading timing amitwhandClaude 2025-10-26 20:15:52 +05:30
  • 2d4d5802b6 Fix PDF export geometry error and improve print/file loading timing PDF Export Fix: - Fixed ReferenceError: geometry is not defined in PDF export - Removed hardcoded undefined geometry variable from pandoc command - Geometry option now properly extracted from options object when present - PDF export now works without errors Print Preview Timing: - Changed from requestAnimationFrame to setTimeout for more reliable rendering - Increased delay from 0ms to 300ms before sending print command - Post-print UI restoration after 500ms to ensure printer captured output - More reliable toolbar hiding before print dialog opens File Loading Timing: - Increased delay from 500ms to 2000ms (2 seconds) for file-opened message - Ensures complete theme application and preview pane initialization - Files now load and render consistently on first double-click All timing issues related to browser rendering and DOM updates resolved. 🤖 Generated with [Claude Code](https://claude.com/claude-code) amitwh 2025-10-26 20:15:52 +05:30
  • c305789428 FINAL FIX: Proper print preview and file loading with correct DOM timing amitwhandClaude 2025-10-26 14:36:05 +05:30
  • 7dc1cc048e FINAL FIX: Proper print preview and file loading with correct DOM timing Print Preview - FIXED: - Eliminated race condition: renderer now waits for DOM to render before telling main to print - Uses double requestAnimationFrame to ensure browser has repainted - Main process only waits 50ms (DOM already rendered by renderer) - Renderer hides UI elements, applies print-mode class, THEN signals main to print - This ensures print dialog captures the properly rendered preview, not toolbar File Loading - FIXED: - Fixed critical bug in openFile(): updatePreview was called BEFORE editor value was set - When reusing current tab, preview now updates AFTER editor content is loaded - Ensures preview always has content to render - Both tab reuse and new tab creation now properly update preview Technical Details: Print flow: 1. User clicks Print Preview 2. Menu sends 'print-preview' to renderer 3. Renderer: hide UI, set print-mode class 4. Renderer: requestAnimationFrame x2 (waits for repaints) 5. Renderer: sends 'do-print' to main (DOM fully rendered) 6. Main: small 50ms delay, then prints 7. Result: prints preview content, not toolbar! File loading flow: 1. User double-clicks .md file (or file association) 2. Main process stores file path 3. Renderer signals ready after theme loads 4. Main sends file-opened message 5. Renderer openFile() called 6. Editor value set 7. THEN updatePreview() called (content exists) 8. Preview renders correctly! 🤖 Generated with [Claude Code](https://claude.com/claude-code) amitwh 2025-10-26 14:36:05 +05:30
  • fefb299e6d CRITICAL FIX: Print preview and file loading - complete rewrite of timing logic amitwhandClaude 2025-10-26 14:27:17 +05:30
  • bd94b9fa81 CRITICAL FIX: Print preview and file loading - complete rewrite of timing logic Print Preview Fix: - Changed to hide only editor-pane instead of entire editor-container - Preview was inside editor-container, so hiding it hid the preview too! - Now correctly shows preview-pane-{tabId} with print-mode class - Hide all dialogs including find-dialog during print - Preview now displays correctly for printing File Loading Fix - Completely Rewritten: - Root cause: renderer-ready was sent BEFORE theme was applied - Solution: Moved renderer-ready signal INTO theme-changed handler - Now waits 1500ms AFTER theme is applied before signaling ready - Main process delay increased to 500ms for extra safety - Ensures complete UI render cycle: DOMContentLoaded -> theme request -> theme applied -> wait -> renderer-ready -> file opens - Files now load and render properly on first double-click Technical Flow: 1. DOMContentLoaded fires, TabManager initializes 2. get-theme request sent to main 3. theme-changed received, theme applied to body 4. After 1500ms delay, renderer-ready sent 5. Main process waits 500ms more, then sends file-opened 6. Total delay: ~2 seconds ensures rock-solid first-load rendering 🤖 Generated with [Claude Code](https://claude.com/claude-code) amitwh 2025-10-26 14:27:17 +05:30
  • 3f3bdf5637 Fix print preview to show content and improve file loading timing amitwhandClaude 2025-10-26 14:19:59 +05:30
  • 416afce88a Fix print preview to show content and improve file loading timing Print Preview Fixes: - Fixed print preview to show actual preview content instead of formatting menu - Changed from generic 'preview' ID to active tab's 'preview-{tabId}' element - Added CSS positioning to make preview fixed and full-screen during print - Hide all dialog overlays (export, batch, PDF, converter) during print - Restore dialogs after print completes - Enhanced print-mode CSS with z-index and positioning for proper display File Loading Timing Improvements: - Increased renderer-ready delay from 500ms to 1000ms for slower first loads - Increased openFileFromPath delay from 100ms to 300ms - Ensures UI fully initializes before files are displayed - Files now render correctly on first double-click launch 🤖 Generated with [Claude Code](https://claude.com/claude-code) amitwh 2025-10-26 14:19:59 +05:30
  • 2ab8deffeb Fix file rendering timing on first launch - delay initialization until UI fully loads amitwhandClaude 2025-10-26 14:02:49 +05:30
  • 3ccf8d102e Fix file rendering timing on first launch - delay initialization until UI fully loads - Added 500ms delay to renderer-ready signal to ensure all UI initialization completes before opening files - Added 100ms delay in openFileFromPath to ensure main process doesn't send file before renderer is fully prepared - Prevents race condition where files would open before theme is applied and interface is ready - Files now render properly on first launch regardless of app startup time - Improved startup UX by ensuring smooth file rendering 🤖 Generated with [Claude Code](https://claude.com/claude-code) amitwh 2025-10-26 14:02:49 +05:30
  • cc471d4101 Fix print preview functionality and set GitHub as default theme amitwhandClaude 2025-10-26 13:58:36 +05:30
  • b326772518 Fix print preview functionality and set GitHub as default theme - Fixed print-preview event handling by adding missing ipcRenderer listeners - Renderer now properly relays print-preview and print-preview-styled events to main process - Changed default theme from 'light' to 'github' for better visual appearance - Rebuilt release with v1.7.7 fixes 🤖 Generated with [Claude Code](https://claude.com/claude-code) amitwh 2025-10-26 13:58:36 +05:30