Release v1.5.1: Fix insert behavior for collapsed items
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_indexhelper function to properly handle collapsed item boundaries - Modified
insert_line_with_textto respect collapsed state when inserting - Modified
insert_child_with_textto place new children at the end when parent is collapsed
This release improves the user experience when working with collapsed/folded items in HyperList.