Skip to content

v2.15.0

Choose a tag to compare

@Arelius-D Arelius-D released this 14 Aug 09:27
· 60 commits to main since this release

Added

  • Multi-Format In-Browser Document & File Import Engine: Added client-side parsing and Markdown conversion for .md, .txt, .markdown, .docx, .doc, .html, .htm, .xml, .csv, and .json files using vendored turndown (v7.2.4) and mammoth (v1.12.1) libraries. Converts documents 100% in browser RAM prior to client-side AES-256-GCM vault encryption.
  • Authentic Iconsax Linear Vector Import Glyphs: Downloaded and registered lin-document-upload.svg, lin-document-cloud.svg, lin-document-1.svg, and lin-document-sketch.svg for dynamic import state transitions (idle → importing → success / error).
  • Footer Card Import Placement: Formatted #btn-import-drop as a .lock-action-btn element positioned in .footer-top-right-corner of .e2ee-card directly above the Lock button.

Changed

  • Documentation & Dependency Manifest Refresh: Updated README.md to document the 10-format in-browser document import engine, added turndown (v7.2.4) and mammoth (v1.12.1) to the vendored browser dependencies manifest table, updated Phase 3 roadmap milestones, and credited library maintainers in Acknowledgments.
  • Footer Control Micro-Animations & Visual Identity: Refined #btn-import-drop as a receptive dashed dropzone target and #btn-lock-vault as a solid security posture action in styles.css, eliminating container box hover scaling while animating inner glyph icons.

Fixed

  • File Import Filtering: Added .json to #file-import-input accept filter attribute in index.html to allow native OS file dialog selection of JSON files.
  • Touch Target Accessibility: Expanded .btn-tag-add target size from 20px to 24px (1.5rem) in styles.css to satisfy WCAG 2.2 AA target size minimum requirements.
  • Accessibility Parity: Aligned aria-label with title on #btn-fontsize to include operational click region instructions for screen reader users.
  • Runtime Indicator Accessibility: Harmonized #runtime-indicator with #save-indicator by adding aria-live="polite" and a visually-hidden text node for live connection status announcements.
  • Design System Token Architecture: Replaced hardcoded 0.625rem literals in .e2ee-card with canonical --space-sm and --radius-md design tokens in styles.css.
  • Stylesheet Consolidation: Merged redundant consecutive CSS selector blocks for status badges and lock status components in styles.css.
  • Editor Accessibility: Added explicit aria-label="Markdown note editor" to #markdown-textarea for WCAG 2.1 AA screen reader accessibility compliance.
  • Accessibility & Semantic Markup: Refactored clickable status indicators (#save-indicator, #runtime-indicator) from non-semantic div tags to native button elements.
  • Stylesheet Hygiene: Removed obsolete unreferenced .import-row and .import-confinement-card CSS rules from styles.css.
  • Stylesheet Utility Architecture: Consolidated scattered element-scoped visibility rules into a single global .hidden utility declaration in styles.css.
  • Import Button Drag-and-Drop State Styling: Fixed missing .import-action-btn CSS class on #btn-import-drop button in index.html, ensuring drag-over, importing, and error state highlight styles trigger properly during file drop operations.
  • Cryptographic Serialization Stack Overflow: Replaced spread-argument String.fromCharCode(...payload) with 32 KB chunked bytesToBase64 serialization in encryptText(), preventing RangeError: Maximum call stack size exceeded when encrypting files or imports larger than ~64 KB into the vault.
  • Import Engine State & Pipeline Alignment: Replaced non-existent persistStore() with standard saveStore() vault persistence pipeline, populated state.decryptedTitleCache, and assigned default live target folder (ensureLiveFolderId()).
  • Import UI State & Vector Icons: Added checkmark path to documentDone vector SVG icon, added isImportingInProgress re-entrancy lock, prevented synthetic click propagation from drop events, and added window-level drag/drop guards to prevent browser tab file navigation.