Skip to content

Releases: LebCit/aether-cms

v1.2.0

21 Jun 12:18
Compare
Choose a tag to compare

🔍 Release v1.2.0 - Intelligent Search Functionality

What's New

I'm excited to announce the release of intelligent search functionality in Aether CMS! This powerful new feature brings automatic, theme-based search capabilities to your websites with zero configuration required.

✨ Key Features

🎯 Smart Auto-Detection

  • Automatically detects search templates in your theme
  • Supports search.html, find.html, and lookup.html templates
  • Zero configuration - just create a template and it works!

⚡ High Performance

  • Generates optimized JSON search index in theme assets
  • Uses minimal data extraction for lightning-fast performance
  • Smart caching and debounced search for smooth user experience

🎨 Theme-Driven Design

  • Each theme decides if it wants search functionality
  • Search index automatically generated in /content/themes/[theme]/assets/json/search-index.json
  • Works with or without dedicated search pages

🔧 Flexible Implementation

  • Dedicated search pages - Full-featured search interfaces
  • Global search bars - Header and navigation search
  • Search widgets - Sidebar and component integration
  • API access - Direct JSON file access for custom implementations

👤 User-Controlled Content

  • Content creators control what appears in search using excerpt or seoDescription
  • No risky markdown parsing - clean, predictable results
  • Respects user intentions for search result presentation

🚀 What's Included

Backend (Ready to Use)

  • core/utils/search-utils.js - Complete search functionality utilities
  • Enhanced core/routes/custom.js - Automatic search detection and integration
  • Auto-generated search index with comprehensive metadata

Frontend (Examples Provided)

Refer to the search documentation for detailed examples and integration guidance.

  • Complete search page template examples
  • Global search widget implementations
  • Enhanced JavaScript search functionality with scoring
  • Comprehensive styling examples and best practices

📊 Search Index Structure

{
  "meta": {
    "totalItems": 150,
    "totalPosts": 75, 
    "totalPages": 75,
    "generatedAt": "2025-06-20T10:30:00Z"
  },
  "index": [
    {
      "id": "1748555124652",
      "title": "Content Title",
      "path": "/content-url", 
      "content": "Searchable excerpt or SEO description",
      "excerpt": "Searchable excerpt",
      "type": "post", // or "page"
      "parentPage": "Parent page", // custom pages only
      "category": "Category", // posts only
      "tags": ["tag1", "tag2"], // posts only
      "publishDate": "2025-05-30T00:45",
      "author": "Author Name"
    },
    ...
  ]
}

🛠 How to Use

Option 1: Dedicated Search Page

  1. Create content/data/custom/search.md (optional)
  2. Create themes/your-theme/custom/search.html
  3. Search functionality automatically activated!

Option 2: Global Search Only

  1. Create themes/your-theme/custom/search.html (unpublished)
  2. Use search widgets anywhere in your theme
  3. Fetch JSON from /content/themes/[theme]/assets/json/search-index.json

🎯 Perfect For

  • Documentation sites - Search through guides and tutorials
  • Blogs & magazines - Find posts and articles instantly
  • Corporate websites - Navigate large content libraries
  • Portfolio sites - Discover projects and case studies
  • E-commerce themes - Product and content discovery

🔧 Technical Highlights

  • Zero configuration - Automatic detection and setup
  • Clean architecture - All logic centralized in /core/utils/search-utils.js
  • Performance optimized - Minimal data processing, smart indexing
  • Backward compatible - No breaking changes to existing functionality
  • Theme assets - Search index lives in theme folder for optimal performance

🎉 Get Started

Update your Aether CMS installation and start building powerful search experiences for your users. Whether you need a simple search page or complex search widgets, the new search functionality adapts to your needs while maintaining excellent performance.

Happy searching! 🔍✨

v1.1.0

13 Jun 04:14
Compare
Choose a tag to compare

🎉 Release v1.1.0 - Enhanced Editor Experience

✨ New Features

Off-Canvas Editor Sidebar

  • Distraction-free editing: Sidebar now slides in from the right, keeping your content always in view
  • Full-width editor: Main editing area now utilizes the complete screen width
  • Fullscreen compatibility: Sidebar remains accessible even in distraction-free fullscreen mode

Keyboard Shortcuts

  • ⌨️ Ctrl/Cmd + S: Smart save that intelligently preserves your content status
  • ⌨️ Ctrl/Cmd + Shift + S: Quick toggle sidebar visibility
  • ⌨️ ESC: Close sidebar when open

Intelligent Save System

  • Status-aware saving: Automatically maintains published/draft status for existing content
  • Validation feedback: Real-time notifications for title requirements and duplicate slugs
  • Visual feedback: Color-coded notifications (success, warning, error, info)

🎨 UX Improvements

  • Intuitive controls: Sidebar toggle integrated naturally into editor tabs
  • Smooth animations: Professional slide-in/out transitions
  • Better focus management: Auto-focus and scroll lock for improved usability
  • Mobile optimized: Full-width sidebar on mobile devices
  • Consistent experience: Unified behavior across normal and fullscreen modes

🔧 Technical Enhancements

  • Clean architecture: HTML-first approach with minimal JavaScript overhead
  • Responsive design: Optimized for all screen sizes
  • Accessibility: Proper keyboard navigation and focus management
  • Performance: Reduced DOM manipulation and efficient event handling

This release significantly improves the content editing workflow while maintaining full backward compatibility. No breaking changes - your existing content and workflow remain unchanged.

Upgrade: Simply pull the latest version and enjoy the enhanced editing experience!

v1.0.0

13 Jun 04:12
Compare
Choose a tag to compare

Initial release