Skip to content

Release v1.5.1: Fix insert behavior for collapsed items

Choose a tag to compare

@isene isene released this 14 Sep 21:05
· 30 commits to main since this release

What's Changed

Bug Fixes

  • Fixed 'o' key behavior on collapsed items - now correctly inserts new item after all hidden descendants
  • Fixed 'a' key behavior on collapsed items - now correctly adds new child as the last child

Code Quality

  • Removed debug code and logging statements
  • Fixed version inconsistencies throughout the codebase
  • Cleaned up duplicate comments

Technical Details

  • Added get_last_descendant_index helper function to properly handle collapsed item boundaries
  • Modified insert_line_with_text to respect collapsed state when inserting
  • Modified insert_child_with_text to place new children at the end when parent is collapsed

This release improves the user experience when working with collapsed/folded items in HyperList.