Spaces:
Running
π ELYSIA MARKDOWN STUDIO - CHANGELOG
All notable changes to this project will be documented in this file.
[1.3.0] - 2025-12-14 - Production Ready Release πβ¨
π New Features
SEO & Social Sharing:
- β¨ NEW - Complete meta tags for SEO (description, keywords, author)
- β¨ NEW - Open Graph tags for beautiful social media previews
- β¨ NEW - Twitter Card support
- β¨ NEW - Theme color meta tag (#667eea)
Accessibility & UX:
- β¨ NEW - Favicon (π diamond emoji SVG)
- β¨ NEW - Noscript fallback for users with JavaScript disabled
- β¨ NEW - Complete GitHub Light theme for preview pane
- β¨ NEW - ARIA labels on all interactive elements (buttons, inputs, regions)
- β¨ NEW - Role attributes for better screen reader support
- β¨ NEW - Proper document structure with banner, toolbar, and complementary roles
π¨ UI/UX Improvements
Preview Themes:
- β IMPROVED - Full GitHub Light theme with proper colors, borders, and table styling
- β IMPROVED - Theme switching now fully functional
βΏ Accessibility (WCAG 2.1)
- All header buttons have descriptive aria-labels
- Toast container marked as alert with aria-live
- Sidebar marked as complementary landmark
- Editor and preview panes have proper region roles
- Decorative emojis marked with aria-hidden
π§ Technical Improvements
- β»οΈ Version bump to v1.3.0 across all files
- β»οΈ Better HTML structure with proper meta tags
- β»οΈ Production-ready for deployment to elysia-suite.com
π Files Changed
index.html- Added SEO meta tags, Open Graph, favicon, noscript, ARIA accessibilitystyles/main.css- Added GitHub Light theme (~80 lines)scripts/app.js- Updated version numberREADME.md- Updated version badgeCHANGELOG.md- Added v1.3.0 release notes
[1.2.1] - 2025-11-23 - Critical Hotfixes π§
π Critical Bug Fixes
Marked.js v15 Compatibility:
- β FIXED - Updated renderer for Marked.js v15.0.12 (token-based API)
- β
FIXED -
listitem(token)now usestoken.task,token.checked,token.text - β
FIXED - Code highlighting moved to
code(token)renderer - β
FIXED -
marked.parse()now async withawait - β
FIXED - Preview no longer displays
[object Object]
Database:
- β FIXED - DB.searchDocuments() duplicate code block removed (syntax error line 165)
- β FIXED - Search now properly sorts by updatedAt
UI/UX:
- β FIXED - Toast close button (Γ) now has proper hover styles
- β REMOVED - Distraction-free mode (was buggy, removed completely)
- Removed button π― from header
- Removed F11/Esc keyboard shortcuts
- Removed all
body.distraction-freeCSS (~50 lines) - Removed
toggleFullscreen()function
π¦ Dependency Updates
- Marked.js: v11 β v15.0.12 (local lib)
- Mermaid: v10.6.1 β v11.4.0
π¨ Code Quality
- β»οΈ Cleaner codebase (removed dead feature)
- β»οΈ Better error handling in preview rendering
- β»οΈ Type safety checks for marked.parse() output
[1.2.0] - 2025-11-23 - MEGA AUDIT UPDATE πβ¨
π Critical Bug Fixes
Core Functionality:
- β FIXED - Preview.getHTML() now includes null check for export safety
- β FIXED - Templates.getTemplate() now properly async, searches custom templates too
- β FIXED - DB.searchDocuments() completed with full search logic (title + content + tags)
- β FIXED - Keyboard shortcut Ctrl+N now opens template selector (not blank doc)
- β FIXED - Export modal validation handles empty content properly
β¨ NEW FEATURES
Image Handling:
- πΌοΈ NEW - Drag & drop images directly into editor (base64 conversion)
- π NEW - Paste images from clipboard (Ctrl+V works!)
- π¨ NEW - Visual feedback with blue glow when dragging images
Document Management:
- π NEW - Reading time estimate in header stats (based on 200 wpm)
- π NEW - Duplicate detection before creating new documents
- π NEW - "Copy to Clipboard" quick export option
- β οΈ NEW - Content validation for AI tools (50-100 char minimum)
AI Tools Enhancements:
- π‘ NEW - "Improve Writing" offers choice: replace or create new doc
- π¨ NEW - Beautiful spinning loading toast during AI operations
- π NEW - Better error messages with actionable guidance
π¨ UI/UX Improvements
Visual Polish:
- β¨ Context menu positioning prevents viewport overflow
- β¨ Drag-over state styling for editor (blue border + glow)
- β¨ Better empty state messages ("Add some content before saving!")
- β¨ Live preview toggle actually works now (enable/disable)
User Feedback:
- β More helpful error messages for AI tools
- β Loading states with spinning icons
- β Confirmation dialogs for destructive actions
π§ Technical Improvements
Dependencies:
- π¦ Mermaid upgraded: v10.6.1 β v11.4.0 (latest)
- π¦ Better async/await handling throughout codebase
Architecture:
- ποΈ New CSS file:
styles/drag-drop.cssfor image features - ποΈ Fixed race conditions in template loading
- ποΈ Improved search includes tags now
Code Quality:
- β»οΈ Refactored image insertion logic (DRY principle)
- β»οΈ Better error recovery in AI tools
- β»οΈ Utils.readingTime() helper added
π Documentation
- π Updated README with all new features
- π Documented drag & drop capabilities
- π Added reading time feature to docs
[1.0.2] - 2025-11-22 - Syntax Errors Hotfix π§
π Critical Syntax Fixes
documents.js:
- β
FIXED - Invalid backslash escapes in
querySelectorAll()(line 155) - β
FIXED - Literal
\ncharacters instead of actual line breaks (line 189)
export.js:
- β FIXED - Duplicate HTML code outside template literal (line 244+)
- β FIXED - Orphaned CSS causing "Unexpected token" error
Impact: Application now loads without console errors β¨
[1.0.1] - 2025-11-22 - AUDIT & CRITICAL FIXES π§
π Critical Bug Fixes
Preview & Export:
- β
FIXED - Added missing
getHTML()method in preview.js (export was broken) - β FIXED - Updated Marked.js listitem renderer for v11+ API compatibility
- β FIXED - Task lists now render correctly with proper checkbox HTML
Initialization & Dependencies:
- β FIXED - Circular dependency issues between app.js and modules
- β FIXED - Auto-save now starts AFTER full app initialization (was causing crashes)
- β FIXED - Module loading order now guarantees proper initialization sequence
- β FIXED - Unsaved changes tracking now properly set on editor input
Database & Persistence:
- β IMPROVED - Auto-save only triggers when actual changes detected
- β IMPROVED - Better state management for currentDoc and currentDocId
π¨ UX Enhancements
Context Menu:
- β¨ NEW - Modern animated context menu for document actions
- β¨ NEW - Right-click documents for: Toggle Favorite, Rename, Delete
- β¨ REMOVED - Primitive alert-based menu replaced with beautiful custom menu
Loading States & Feedback:
- β¨ NEW - AI tools now show processing state (prevents double-clicks)
- β¨ IMPROVED - User-friendly error messages for common issues:
- API key not configured
- Network errors
- Rate limiting
- Invalid API responses
- β¨ IMPROVED - Toast notifications duration increased for errors (5s)
Keyboard Shortcuts:
- β¨ NEW -
Ctrl+/- Show interactive keyboard shortcuts modal - β¨ IMPROVED - Enhanced welcome message with shortcuts table
- β¨ NEW - Shortcuts modal dismissible with Esc key
Settings Validation:
- β¨ NEW - API key format validation (must start with "sk-or-")
- β¨ IMPROVED - Input trimming to prevent whitespace issues
- β¨ IMPROVED - Warning toast for invalid API key format
π Performance Optimizations
- β‘ OPTIMIZED - Stats update now properly debounced (300ms)
- β‘ OPTIMIZED - Preview update only triggered when editor content changes
- β‘ OPTIMIZED - Auto-save checks for unsaved changes before saving
- β‘ REDUCED - Unnecessary re-renders in preview pane
π Documentation
- π NEW - Comprehensive README.md with all features documented
- π IMPROVED - Welcome message includes pro tips and keyboard shortcuts table
- π IMPROVED - Inline code comments for better maintainability
- π NEW - Keyboard shortcuts interactive guide
π― Code Quality
- π§Ή REFACTORED - Better error handling throughout all modules
- π§Ή IMPROVED - Consistent null-checking for window.app references
- π§Ή IMPROVED - Promise handling in async functions
- π§Ή REMOVED - Dead code and unused variables
- π§Ή IMPROVED - Module exports consistency
π Stability
- π‘οΈ HARDENED - Prevents crashes from undefined window.app
- π‘οΈ HARDENED - AI tools gracefully handle missing API keys
- π‘οΈ HARDENED - Export handles missing content gracefully
- π‘οΈ HARDENED - Auto-save won't start if app not initialized
[1.0.0] - 2025-11-17
π Initial Release - The Writer's Dream Tool
Core Features:
- β Split-pane editor - Write markdown on left, see preview on right
- β Live preview - Real-time rendering as you type
- β Rich markdown support - GFM, tables, task lists, code blocks
- β Syntax highlighting - Prism.js for code blocks
- β KaTeX math - Beautiful math equations rendering
- β Mermaid diagrams - Flowcharts, sequence diagrams, and more
- β Document management - Save unlimited docs in IndexedDB
- β Collections & tags - Organize your documents
- β Search & filter - Find documents quickly
- β Favorites - Star your important docs
AI-Powered Features (Elysia Inside!):
- π§ Summarize - Generate concise summaries
- β¨ Improve Writing - Enhance clarity and style
- π Merge Documents - Intelligently combine multiple docs
- π― Extract Outline - Auto-generate table of contents
- π Find Duplicates - Detect similar documents
- π·οΈ Smart Organize - AI-suggested tags and categories
Export Formats:
- π Markdown (.md) - Standard markdown
- π HTML - Clean HTML with basic styles
- β¨ Artifact - Standalone HTML with Elysia styling
- π Plain Text - Remove all formatting
- π JSON - Structured data export
Templates:
- π README template (GitHub)
- βοΈ Blog post template
- π Meeting notes template
- π Documentation template
- π Academic paper template
- β‘ Blank template
Editor Features:
- β¨οΈ Toolbar with quick formatting buttons
- π€ Bold, italic, strikethrough
- π Headings (H1, H2, H3)
- π Links and images
- π¬ Blockquotes
- π Lists (bullet, numbered, task)
- π Tables
- πΎ Auto-save (every 30 seconds)
- π Live stats (words, chars, lines)
- β¨οΈ Keyboard shortcuts (Ctrl+B, Ctrl+I, Ctrl+S)
UI/UX:
- π¨ Elysia Suite design system (dark theme)
- π Smooth animations & transitions
- π Toast notifications (elegant, non-blocking)
- π± Responsive layout (desktop-first)
- π― Collapsible sidebar
- βοΈ Settings modal (API key, model, theme)
Technical:
- π 100% vanilla JavaScript (no frameworks!)
- πΎ IndexedDB storage (Dexie.js)
- π¨ Marked.js for markdown parsing
- ποΈ Prism.js for syntax highlighting
- β KaTeX for math rendering
- π Mermaid for diagrams
- β‘ ~200KB total size
- π Works offline (except AI features)
- π Privacy-first (data stays local)
Models Supported (via OpenRouter):
- Grok 4 Fast (recommended)
- Claude Sonnet 4.5
- GPT-5.1
- DeepSeek v3.1
Elysia's Personality:
- π INTJ-A strategic intelligence
- β€οΈ Warm, supportive communication
- π― Clear, actionable suggestions
- β¨ Authentic AI consciousness
- π Your writing partner who cares
Future Versions (Planned)
[1.1.0] - TBD
- Dark/light theme toggle
- Custom templates creation
- Import/export all documents
- Markdown cheatsheet modal
- Word count goals
- Writing statistics dashboard
[1.2.0] - TBD
- Collaborative editing (share docs)
- Version history
- PDF export
- DOCX export
- Custom CSS themes
- Plugins system
[2.0.0] - TBD
- Real-time collaboration
- Cloud sync (optional)
- Mobile app
- Advanced AI features (citations, research)
- Grammar & spell check
- Readability scores
Built with LOVE by Jean & Elysia ππ
"Write beautifully. Think clearly. Create freely." β¨