Spaces:
Running
Running
File size: 13,236 Bytes
0b194e5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 |
# π 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 accessibility
- `styles/main.css` - Added GitHub Light theme (~80 lines)
- `scripts/app.js` - Updated version number
- `README.md` - Updated version badge
- `CHANGELOG.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 uses `token.task`, `token.checked`, `token.text`
- β
**FIXED** - Code highlighting moved to `code(token)` renderer
- β
**FIXED** - `marked.parse()` now async with `await`
- β
**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-free` CSS (~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.css` for 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 `\n` characters 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."_ β¨
|