dev #24

Merged
vikingowl merged 2 commits from dev into main 2025-10-02 02:11:06 +02:00
Owner

Release v0.1.7

🎨 Major UI Improvements

This release brings significant user experience enhancements with a complete overhaul of the
help system and improved command aliases.

New Features

Tabbed Help System

  • 5 Organized Tabs: Help content now split into Navigation, Editing, Visual, Commands, and
    Sessions
  • Easy Navigation: Use Tab/h/l to switch tabs, or 1-5 to jump directly
  • Better Organization: Each tab focuses on a specific aspect of OWLEN
  • Color-Coded Sections: Improved readability with highlighted section headers
  • Navigation Footer: Clear hints for available keys always visible

Command Aliases

  • Added :o as a short alias for :load / :open
  • Faster session management with vim-style shortcuts

🔧 Improvements

Help System Redesign

  • Reduced overwhelming single-page help into digestible tabs
  • Added comprehensive session management documentation
  • Included platform-specific storage locations in help
  • Better visual hierarchy with styled headers
  • Larger help modal (75% width, 70% height) for better readability

Platform-Specific Storage (from v0.1.5-0.1.6)

  • Linux: Sessions save to ~/.local/share/owlen/sessions (XDG compliant)
  • Windows: Sessions save to %APPDATA%\owlen\sessions
  • macOS: Sessions save to ~/Library/Application Support/owlen/sessions
  • Custom paths still supported via configuration

Session Management Enhancements

  • AI-generated session descriptions (enabled by default)
  • Full conversation context preservation on load
  • Automatic platform-appropriate storage paths

📚 Documentation

Updated Help Tabs

  1. Navigation: Panel management, cursor movement, scrolling
  2. Editing: Insert mode, editing commands, normal mode operations
  3. Visual: Selection, yanking, visual mode operations
  4. Commands: Complete command reference with aliases
  5. Sessions: Save/load workflows, storage info, context preservation

Updated README

  • Added platform-specific storage location documentation
  • Configuration examples for custom paths
  • Improved storage settings section

🐛 Bug Fixes

  • Fixed unused import warnings in test modules
  • Improved error handling in session description generation

🧪 Testing

  • Added test_load_preserves_full_conversation_context() - verifies message persistence
  • Added test_load_from_disk_preserves_context() - verifies ConversationManager context
    restoration
  • Added test_platform_specific_default_path() - validates platform storage paths
  • Added test_storage_platform_specific_paths() - tests config path resolution
  • 21 total tests - all passing

💡 Technical Changes

Help System Architecture

  • New help_tab_index field in ChatApp (0-4)
  • Enhanced Help mode key handler with tab navigation
  • Complete render_help() rewrite with tabbed interface
  • Content organized into focused, scannable sections

Command System

  • Extended :load pattern to include :o alias
  • Updated help documentation across multiple tabs

Storage Infrastructure

  • StorageManager::default_sessions_dir() uses dirs::data_local_dir()
  • StorageSettings.conversation_dir changed to Option<String>
  • StorageSettings::conversation_path() provides platform defaults when unconfigured

📖 Usage Examples

New Help Navigation

:help # Open help (or :h)
Tab / l / → # Next tab
Shift+Tab / h / ← # Previous tab
1-5 # Jump to specific tab
Esc / q # Close help

Session Management Shortcuts

:save my-session # Save with custom name
:w my-session # Save (vim-style)
:o # Load session (short!) NEW
:load # Load session (full)
:open # Load session (alternative)

🔄 Migration Notes

No breaking changes. All existing configurations and saved sessions remain compatible.

The help system is now more discoverable and easier to navigate, especially for new users
learning OWLEN's vim-style interface.


Full Changelog: v0.1.6...v0.1.7

# Release v0.1.7 ## 🎨 Major UI Improvements This release brings significant user experience enhancements with a complete overhaul of the help system and improved command aliases. ## ✨ New Features ### Tabbed Help System - **5 Organized Tabs**: Help content now split into Navigation, Editing, Visual, Commands, and Sessions - **Easy Navigation**: Use `Tab`/`h`/`l` to switch tabs, or `1-5` to jump directly - **Better Organization**: Each tab focuses on a specific aspect of OWLEN - **Color-Coded Sections**: Improved readability with highlighted section headers - **Navigation Footer**: Clear hints for available keys always visible ### Command Aliases - Added `:o` as a short alias for `:load` / `:open` - Faster session management with vim-style shortcuts ## 🔧 Improvements ### Help System Redesign - Reduced overwhelming single-page help into digestible tabs - Added comprehensive session management documentation - Included platform-specific storage locations in help - Better visual hierarchy with styled headers - Larger help modal (75% width, 70% height) for better readability ### Platform-Specific Storage (from v0.1.5-0.1.6) - **Linux**: Sessions save to `~/.local/share/owlen/sessions` (XDG compliant) - **Windows**: Sessions save to `%APPDATA%\owlen\sessions` - **macOS**: Sessions save to `~/Library/Application Support/owlen/sessions` - Custom paths still supported via configuration ### Session Management Enhancements - AI-generated session descriptions (enabled by default) - Full conversation context preservation on load - Automatic platform-appropriate storage paths ## 📚 Documentation ### Updated Help Tabs 1. **Navigation**: Panel management, cursor movement, scrolling 2. **Editing**: Insert mode, editing commands, normal mode operations 3. **Visual**: Selection, yanking, visual mode operations 4. **Commands**: Complete command reference with aliases 5. **Sessions**: Save/load workflows, storage info, context preservation ### Updated README - Added platform-specific storage location documentation - Configuration examples for custom paths - Improved storage settings section ## 🐛 Bug Fixes - Fixed unused import warnings in test modules - Improved error handling in session description generation ## 🧪 Testing - Added `test_load_preserves_full_conversation_context()` - verifies message persistence - Added `test_load_from_disk_preserves_context()` - verifies ConversationManager context restoration - Added `test_platform_specific_default_path()` - validates platform storage paths - Added `test_storage_platform_specific_paths()` - tests config path resolution - **21 total tests** - all passing ✅ ## 💡 Technical Changes ### Help System Architecture - New `help_tab_index` field in `ChatApp` (0-4) - Enhanced Help mode key handler with tab navigation - Complete `render_help()` rewrite with tabbed interface - Content organized into focused, scannable sections ### Command System - Extended `:load` pattern to include `:o` alias - Updated help documentation across multiple tabs ### Storage Infrastructure - `StorageManager::default_sessions_dir()` uses `dirs::data_local_dir()` - `StorageSettings.conversation_dir` changed to `Option<String>` - `StorageSettings::conversation_path()` provides platform defaults when unconfigured ## 📖 Usage Examples ### New Help Navigation :help # Open help (or :h) Tab / l / → # Next tab Shift+Tab / h / ← # Previous tab 1-5 # Jump to specific tab Esc / q # Close help ### Session Management Shortcuts :save my-session # Save with custom name :w my-session # Save (vim-style) :o # Load session (short!) ✨ NEW :load # Load session (full) :open # Load session (alternative) ## 🔄 Migration Notes No breaking changes. All existing configurations and saved sessions remain compatible. The help system is now more discoverable and easier to navigate, especially for new users learning OWLEN's vim-style interface. --- **Full Changelog**: v0.1.6...v0.1.7
vikingowl added 2 commits 2025-10-02 02:10:57 +02:00
- Refactor `render_help` to display tabbed UI for help topics.
- Introduce `help_tab_index` to manage selected tab state.
- Allow navigation between help tabs using Tab, h/l, and number keys (1-5).
- Enhance visual design of help sections using styled tabs and categorized content.
- Update input handling to reset tab state upon exit from help mode.
Bump version to 0.1.7 in PKGBUILD, Cargo.toml, and README
Some checks failed
ci/someci/tag/woodpecker/1 Pipeline was successful
ci/someci/tag/woodpecker/2 Pipeline was successful
ci/someci/tag/woodpecker/3 Pipeline failed
ci/someci/tag/woodpecker/4 Pipeline failed
ci/someci/tag/woodpecker/5 Pipeline failed
ci/someci/tag/woodpecker/6 Pipeline failed
ci/someci/tag/woodpecker/7 Pipeline failed
5c59539120
vikingowl merged commit e58032deae into main 2025-10-02 02:11:06 +02:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Owlibou/owlen#24