Skip to content

Changelog - Dev - 02.01.2026

All notable changes to this project for February 1, 2026 will be documented in this file.

The format is based on Keep a Changelog.


[Unreleased] - 2026-02-01

Added

  • Enhanced Self-Hosted Docs Sidebar Toolbar: Added comprehensive icon-based toolbar to the documentation editor sidebar. Features include:

    • Search Icon - Toggles expandable search input for file filtering
    • New Page Icon - Placeholder for creating new documentation pages (TODO)
    • New Folder Icon - Placeholder for creating new documentation folders (TODO)
    • Sort Icon - Toggles between sorting files by name and date
    • Collapse/Expand All Icon - Quickly expands or collapses all folders in the sidebar
    • Refresh Icon - Forces a refresh of the file list from the server
    • Visual Separators - Divides toolbar into logical sections
  • Folder Expand/Collapse UI: Added individual toggle buttons to each folder header, allowing users to expand/collapse folders individually without affecting others. Folder toggle state is properly tracked and rendered.

  • Lucide React Icons: Integrated comprehensive icon set (Search, FilePlus, FolderPlus, SortAsc, ChevronUp, ChevronDown, RefreshCw) for a modern, intuitive user interface.

Changed

  • Sidebar Search Display: Converted from persistent search input to icon-triggered expandable search, freeing up space in the sidebar and creating a cleaner initial state.
  • Folder Navigation: Enhanced folder rendering with interactive toggle buttons instead of static folder labels for better usability.

Technical Details

  • Modified: admin/src/components/SelfHostedDocsEditor.jsx

    • Added state for showSearch, sortOrder, expandedFolders, and filterType
    • Added handler functions: handleToggleAllFolders(), toggleFolder(), handleCreateNewPage(), handleCreateNewFolder(), handleRefresh()
    • Updated sidebar rendering with new toolbar component and folder toggle buttons
  • Modified: admin/src/styles.css

    • Added comprehensive toolbar styling: .docs-editor-toolbar, .docs-editor-toolbar__search-group, .docs-editor-toolbar__icon-btn, .docs-editor-toolbar__actions, .docs-editor-toolbar__separator
    • Added folder toggle button styling: .docs-editor-folder__toggle
    • Ensured consistent hover/active states with smooth transitions

Notes

  • Future implementation tasks flagged with TODO comments:
    • handleCreateNewPage() - Implement file creation functionality
    • handleCreateNewFolder() - Implement folder creation functionality
  • All toolbar buttons are fully functional except for the create page/folder buttons which currently show placeholder alerts
  • Folder expand/collapse state persists during the current session (will reset on page reload - can be enhanced with localStorage if needed)

Built with VitePress