Commit graph

5 commits

Author SHA1 Message Date
b84cd37c44 refactor(formlist): streamline ItemsList component and clean up unused code
- Removed unused imports, including `Element`, `Node`, and `ActiveCell` struct.
- Consolidated signal management for `active_cell_position` and `active_row_index`.
- Improved focus handling by adding a reusable `handle_focus` function.
- Optimized EditableCell's event handlers for better maintainability.
2024-12-30 16:10:13 +03:00
40140b40c4 feat(EditableCell): add signal disposal handling and logging
- Introduced `is_disposed` signal to track component disposal state.
- Added `on_cleanup` hook to set disposal flag and log when the component is disposed.
- Enhanced signal access with `log_signal_get` to prevent usage after disposal.
- Improved input, focus, and blur handlers to respect disposal state.
- Ensured robust handling of signals during the component's lifecycle.

This improves resilience and debugging for EditableCell, especially in dynamic UI contexts.
2024-12-30 14:20:50 +03:00
9da8b03de2 feat(maintain focus on cells): maintain focus while typing in cells; in progress 2024-12-24 14:27:32 +03:00
e9b4c12a6d feat(autocomplete name): autofill name with wikidata suggestions 2024-12-23 17:56:34 +03:00
16b04fcc1e feat(cells): make cells editable (debugging) 2024-12-20 18:24:20 +03:00