Skip to content

Release v0.2.1: Single-pane focus functionality

Choose a tag to compare

@cansar cansar released this 14 Jul 19:40
· 3 commits to main since this release

🎯 Single-Pane Focus Functionality

This release adds the ability to hide all but the active pane when multiple panes are open side-by-side, restoring the behavior from the original fullscreen plugin without entering fullscreen mode.

✨ New Features

  • Single-pane focus: Only the active pane is visible when multiple panes are open side-by-side
  • Enhanced UI hiding: Comprehensive hiding of tabs, sidebars, and other UI elements
  • Toggle functionality: Easy on/off via command palette or keyboard shortcut

🔧 Technical Changes

  • Added hideInactiveLeaves() and showAllLeaves() methods to manage pane visibility
  • Uses iterateAllLeaves() to find and hide/show all workspace panes
  • Simplified CSS for better pane management
  • Enhanced documentation and code comments

📁 Installation

  1. Download the release files below
  2. Copy main.js, manifest.json, and styles.css to your vault's .obsidian/plugins/obsidian-focus-mode-plugin/ directory
  3. Enable the plugin in Obsidian Settings > Community plugins

🧪 Testing

Open multiple panes side-by-side and use the "Toggle focus mode" command to test the single-pane focus functionality.

🤖 Generated with Claude Code