Skip to content

1.0.4 - Perfect Hierarchical Collapse

Choose a tag to compare

@Marksman4971 Marksman4971 released this 03 Sep 07:46
· 4 commits to main since this release

πŸŽ‰ Major Improvement - Perfect Hierarchical Collapse

βœ… ObsidianReviewBot Requirements Met

  • βœ… Individual files provided (main.js, manifest.json, styles.css)
  • βœ… All inline styles moved to CSS
  • βœ… Release tag matches manifest version (1.0.4)
  • βœ… Ready for Obsidian community approval

✨ What's New

  • 🎯 Perfect hierarchical folding - Now works exactly as expected!
  • πŸ“š Level 1 headers collapse ALL levels (2,3,4,5,6...)
  • πŸ“– Level 2 headers collapse ALL sub-levels (3,4,5,6...)
  • πŸ“ Level 3 headers collapse ALL descendant levels (4,5,6...)
  • πŸ”„ And so on for all header levels

πŸ› Fixed Issues

  • βœ… Headers now properly collapse ALL descendant levels, not just direct children
  • βœ… Hierarchical structure works intuitively
  • βœ… "Collapse All" function now handles the improved logic correctly
  • βœ… Fixed inline styles issue - All styles moved to separate CSS file
  • βœ… Individual plugin files provided as required

πŸ”§ Technical Changes

  • Added hasAnyChildren() method that checks for ANY descendant headers
  • Updated collapse detection logic throughout the codebase
  • Enhanced toggleAllCollapsed functionality
  • Fixed triangle positioning at consistent 32px from left
  • Moved all inline styles to styles.css file
  • Created theme-adaptable CSS structure

πŸ’‘ User Experience

This version provides the intuitive collapsing behavior users expect:

  • Collapse a parent β†’ ALL children and grandchildren disappear
  • Much cleaner and more organized outline navigation
  • Perfect for managing complex document structures

🎨 Visual Improvements

  • All collapse triangles aligned consistently
  • Clean, professional appearance
  • Unified positioning across all header levels
  • Styles can now be easily customized by themes and CSS snippets

This is the definitive version with perfect hierarchical outline functionality and full Obsidian compliance!

πŸ€– Generated with Claude Code